mfplat: Implement CreatePropertyStore().
[wine.git] / configure
blobed561670a35e6606cb465b7714e293506dae3039
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.12.1.
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.12.1'
584 PACKAGE_STRING='Wine 4.12.1'
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 Z_CFLAGS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 INOTIFY_LIBS
694 INOTIFY_CFLAGS
695 XSLT_LIBS
696 XSLT_CFLAGS
697 XML2_LIBS
698 XML2_CFLAGS
699 PCAP_LIBS
700 X_EXTRA_LIBS
701 X_LIBS
702 X_PRE_LIBS
703 X_CFLAGS
704 XMKMF
705 PTHREAD_LIBS
706 EXTRACROSSCFLAGS
707 CROSSCFLAGS
708 CROSSCC
709 CROSSTARGET
710 LIBWINE_DEPENDS
711 PRELINK
712 WINELOADER_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_SHAREDLIB
715 METAL_LIBS
716 CARBON_LIBS
717 QUICKTIME_LIBS
718 OPENCL_LIBS
719 OPENAL_LIBS
720 COREAUDIO_LIBS
721 SECURITY_LIBS
722 DISKARBITRATION_LIBS
723 APPKIT_LIBS
724 CORESERVICES_LIBS
725 APPLICATIONSERVICES_LIBS
726 FORCEFEEDBACK_LIBS
727 IOKIT_LIBS
728 COREFOUNDATION_LIBS
729 OBJCPP
730 ac_ct_OBJC
731 OBJCFLAGS
732 OBJC
733 DLLTOOL
734 WINELOADER_PROGRAMS
735 CONFIGURE_TARGETS
736 DISABLED_SUBDIRS
737 SUBDIRS
738 READELF
739 OTOOL
741 WINEPRELOADER_LDFLAGS
742 WINELOADER_LDFLAGS
743 TOP_INSTALL_DEV
744 TOP_INSTALL_LIB
745 LDEXECFLAGS
746 LDDLLFLAGS
747 LDRPATH_LOCAL
748 LDRPATH_INSTALL
749 DLLFLAGS
751 OPENGL_LIBS
752 ICOTOOL
753 CONVERT
754 RSVG
755 FONTFORGE
756 PKG_CONFIG
757 MSGFMT
758 LDCONFIG
759 EGREP
760 GREP
761 LN_S
762 RANLIB
763 STRIP
764 ac_ct_AR
766 BISON
767 FLEX
768 TOOLSDIR
769 TARGETFLAGS
771 CPPBIN
772 ac_ct_CXX
773 CXXFLAGS
775 OBJEXT
776 EXEEXT
777 ac_ct_CC
778 CPPFLAGS
779 LDFLAGS
780 CFLAGS
782 SET_MAKE
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 target_alias
792 host_alias
793 build_alias
794 LIBS
795 ECHO_T
796 ECHO_N
797 ECHO_C
798 DEFS
799 mandir
800 localedir
801 libdir
802 psdir
803 pdfdir
804 dvidir
805 htmldir
806 infodir
807 docdir
808 oldincludedir
809 includedir
810 runstatedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_win16
834 enable_win64
835 enable_tests
836 enable_maintainer_mode
837 with_alsa
838 with_capi
839 with_cms
840 with_coreaudio
841 with_cups
842 with_curses
843 with_dbus
844 with_faudio
845 with_float_abi
846 with_fontconfig
847 with_freetype
848 with_gettext
849 with_gettextpo
850 with_gphoto
851 with_glu
852 with_gnutls
853 with_gsm
854 with_gssapi
855 with_gstreamer
856 with_hal
857 with_inotify
858 with_jpeg
859 with_krb5
860 with_ldap
861 with_mingw
862 with_mpg123
863 with_netapi
864 with_openal
865 with_opencl
866 with_opengl
867 with_osmesa
868 with_oss
869 with_pcap
870 with_png
871 with_pthread
872 with_pulse
873 with_sane
874 with_sdl
875 with_tiff
876 with_udev
877 with_v4l2
878 with_vkd3d
879 with_vulkan
880 with_xcomposite
881 with_xcursor
882 with_xfixes
883 with_xinerama
884 with_xinput
885 with_xinput2
886 with_xml
887 with_xrandr
888 with_xrender
889 with_xshape
890 with_xshm
891 with_xslt
892 with_xxf86vm
893 with_zlib
894 with_wine_tools
895 with_wine64
896 enable_largefile
897 with_x
898 enable_acledit
899 enable_aclui
900 enable_activeds
901 enable_actxprxy
902 enable_adsiid
903 enable_adsldp
904 enable_adsldpc
905 enable_advapi32
906 enable_advpack
907 enable_amsi
908 enable_amstream
909 enable_api_ms_win_appmodel_identity_l1_1_0
910 enable_api_ms_win_appmodel_runtime_l1_1_1
911 enable_api_ms_win_appmodel_runtime_l1_1_2
912 enable_api_ms_win_core_apiquery_l1_1_0
913 enable_api_ms_win_core_appcompat_l1_1_1
914 enable_api_ms_win_core_appinit_l1_1_0
915 enable_api_ms_win_core_atoms_l1_1_0
916 enable_api_ms_win_core_bem_l1_1_0
917 enable_api_ms_win_core_com_l1_1_0
918 enable_api_ms_win_core_com_l1_1_1
919 enable_api_ms_win_core_com_private_l1_1_0
920 enable_api_ms_win_core_comm_l1_1_0
921 enable_api_ms_win_core_console_l1_1_0
922 enable_api_ms_win_core_console_l2_1_0
923 enable_api_ms_win_core_crt_l1_1_0
924 enable_api_ms_win_core_crt_l2_1_0
925 enable_api_ms_win_core_datetime_l1_1_0
926 enable_api_ms_win_core_datetime_l1_1_1
927 enable_api_ms_win_core_debug_l1_1_0
928 enable_api_ms_win_core_debug_l1_1_1
929 enable_api_ms_win_core_delayload_l1_1_0
930 enable_api_ms_win_core_delayload_l1_1_1
931 enable_api_ms_win_core_errorhandling_l1_1_0
932 enable_api_ms_win_core_errorhandling_l1_1_1
933 enable_api_ms_win_core_errorhandling_l1_1_2
934 enable_api_ms_win_core_errorhandling_l1_1_3
935 enable_api_ms_win_core_fibers_l1_1_0
936 enable_api_ms_win_core_fibers_l1_1_1
937 enable_api_ms_win_core_file_l1_1_0
938 enable_api_ms_win_core_file_l1_2_0
939 enable_api_ms_win_core_file_l1_2_1
940 enable_api_ms_win_core_file_l1_2_2
941 enable_api_ms_win_core_file_l2_1_0
942 enable_api_ms_win_core_file_l2_1_1
943 enable_api_ms_win_core_file_l2_1_2
944 enable_api_ms_win_core_handle_l1_1_0
945 enable_api_ms_win_core_heap_l1_1_0
946 enable_api_ms_win_core_heap_l1_2_0
947 enable_api_ms_win_core_heap_l2_1_0
948 enable_api_ms_win_core_heap_obsolete_l1_1_0
949 enable_api_ms_win_core_interlocked_l1_1_0
950 enable_api_ms_win_core_interlocked_l1_2_0
951 enable_api_ms_win_core_io_l1_1_0
952 enable_api_ms_win_core_io_l1_1_1
953 enable_api_ms_win_core_job_l1_1_0
954 enable_api_ms_win_core_job_l2_1_0
955 enable_api_ms_win_core_kernel32_legacy_l1_1_0
956 enable_api_ms_win_core_kernel32_legacy_l1_1_1
957 enable_api_ms_win_core_kernel32_private_l1_1_1
958 enable_api_ms_win_core_largeinteger_l1_1_0
959 enable_api_ms_win_core_libraryloader_l1_1_0
960 enable_api_ms_win_core_libraryloader_l1_1_1
961 enable_api_ms_win_core_libraryloader_l1_2_0
962 enable_api_ms_win_core_libraryloader_l1_2_1
963 enable_api_ms_win_core_libraryloader_l1_2_2
964 enable_api_ms_win_core_localization_l1_1_0
965 enable_api_ms_win_core_localization_l1_2_0
966 enable_api_ms_win_core_localization_l1_2_1
967 enable_api_ms_win_core_localization_l2_1_0
968 enable_api_ms_win_core_localization_obsolete_l1_1_0
969 enable_api_ms_win_core_localization_obsolete_l1_2_0
970 enable_api_ms_win_core_localization_obsolete_l1_3_0
971 enable_api_ms_win_core_localization_private_l1_1_0
972 enable_api_ms_win_core_localregistry_l1_1_0
973 enable_api_ms_win_core_memory_l1_1_0
974 enable_api_ms_win_core_memory_l1_1_1
975 enable_api_ms_win_core_memory_l1_1_2
976 enable_api_ms_win_core_misc_l1_1_0
977 enable_api_ms_win_core_namedpipe_l1_1_0
978 enable_api_ms_win_core_namedpipe_l1_2_0
979 enable_api_ms_win_core_namespace_l1_1_0
980 enable_api_ms_win_core_normalization_l1_1_0
981 enable_api_ms_win_core_path_l1_1_0
982 enable_api_ms_win_core_privateprofile_l1_1_1
983 enable_api_ms_win_core_processenvironment_l1_1_0
984 enable_api_ms_win_core_processenvironment_l1_2_0
985 enable_api_ms_win_core_processthreads_l1_1_0
986 enable_api_ms_win_core_processthreads_l1_1_1
987 enable_api_ms_win_core_processthreads_l1_1_2
988 enable_api_ms_win_core_processthreads_l1_1_3
989 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
990 enable_api_ms_win_core_profile_l1_1_0
991 enable_api_ms_win_core_psapi_ansi_l1_1_0
992 enable_api_ms_win_core_psapi_l1_1_0
993 enable_api_ms_win_core_psapi_obsolete_l1_1_0
994 enable_api_ms_win_core_quirks_l1_1_0
995 enable_api_ms_win_core_realtime_l1_1_0
996 enable_api_ms_win_core_registry_l1_1_0
997 enable_api_ms_win_core_registry_l2_1_0
998 enable_api_ms_win_core_registryuserspecific_l1_1_0
999 enable_api_ms_win_core_rtlsupport_l1_1_0
1000 enable_api_ms_win_core_rtlsupport_l1_2_0
1001 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1002 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1004 enable_api_ms_win_core_shutdown_l1_1_0
1005 enable_api_ms_win_core_sidebyside_l1_1_0
1006 enable_api_ms_win_core_string_l1_1_0
1007 enable_api_ms_win_core_string_l2_1_0
1008 enable_api_ms_win_core_string_obsolete_l1_1_0
1009 enable_api_ms_win_core_stringansi_l1_1_0
1010 enable_api_ms_win_core_stringloader_l1_1_1
1011 enable_api_ms_win_core_synch_ansi_l1_1_0
1012 enable_api_ms_win_core_synch_l1_1_0
1013 enable_api_ms_win_core_synch_l1_2_0
1014 enable_api_ms_win_core_synch_l1_2_1
1015 enable_api_ms_win_core_sysinfo_l1_1_0
1016 enable_api_ms_win_core_sysinfo_l1_2_0
1017 enable_api_ms_win_core_sysinfo_l1_2_1
1018 enable_api_ms_win_core_threadpool_l1_1_0
1019 enable_api_ms_win_core_threadpool_l1_2_0
1020 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1021 enable_api_ms_win_core_threadpool_private_l1_1_0
1022 enable_api_ms_win_core_timezone_l1_1_0
1023 enable_api_ms_win_core_toolhelp_l1_1_0
1024 enable_api_ms_win_core_url_l1_1_0
1025 enable_api_ms_win_core_util_l1_1_0
1026 enable_api_ms_win_core_version_l1_1_0
1027 enable_api_ms_win_core_version_l1_1_1
1028 enable_api_ms_win_core_version_private_l1_1_0
1029 enable_api_ms_win_core_versionansi_l1_1_0
1030 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1031 enable_api_ms_win_core_winrt_error_l1_1_0
1032 enable_api_ms_win_core_winrt_error_l1_1_1
1033 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1034 enable_api_ms_win_core_winrt_l1_1_0
1035 enable_api_ms_win_core_winrt_registration_l1_1_0
1036 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1037 enable_api_ms_win_core_winrt_string_l1_1_0
1038 enable_api_ms_win_core_winrt_string_l1_1_1
1039 enable_api_ms_win_core_wow64_l1_1_0
1040 enable_api_ms_win_core_wow64_l1_1_1
1041 enable_api_ms_win_core_xstate_l1_1_0
1042 enable_api_ms_win_core_xstate_l2_1_0
1043 enable_api_ms_win_crt_conio_l1_1_0
1044 enable_api_ms_win_crt_convert_l1_1_0
1045 enable_api_ms_win_crt_environment_l1_1_0
1046 enable_api_ms_win_crt_filesystem_l1_1_0
1047 enable_api_ms_win_crt_heap_l1_1_0
1048 enable_api_ms_win_crt_locale_l1_1_0
1049 enable_api_ms_win_crt_math_l1_1_0
1050 enable_api_ms_win_crt_multibyte_l1_1_0
1051 enable_api_ms_win_crt_private_l1_1_0
1052 enable_api_ms_win_crt_process_l1_1_0
1053 enable_api_ms_win_crt_runtime_l1_1_0
1054 enable_api_ms_win_crt_stdio_l1_1_0
1055 enable_api_ms_win_crt_string_l1_1_0
1056 enable_api_ms_win_crt_time_l1_1_0
1057 enable_api_ms_win_crt_utility_l1_1_0
1058 enable_api_ms_win_devices_config_l1_1_0
1059 enable_api_ms_win_devices_config_l1_1_1
1060 enable_api_ms_win_devices_query_l1_1_1
1061 enable_api_ms_win_downlevel_advapi32_l1_1_0
1062 enable_api_ms_win_downlevel_advapi32_l2_1_0
1063 enable_api_ms_win_downlevel_normaliz_l1_1_0
1064 enable_api_ms_win_downlevel_ole32_l1_1_0
1065 enable_api_ms_win_downlevel_shell32_l1_1_0
1066 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1067 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1068 enable_api_ms_win_downlevel_user32_l1_1_0
1069 enable_api_ms_win_downlevel_version_l1_1_0
1070 enable_api_ms_win_dx_d3dkmt_l1_1_0
1071 enable_api_ms_win_eventing_classicprovider_l1_1_0
1072 enable_api_ms_win_eventing_consumer_l1_1_0
1073 enable_api_ms_win_eventing_controller_l1_1_0
1074 enable_api_ms_win_eventing_legacy_l1_1_0
1075 enable_api_ms_win_eventing_provider_l1_1_0
1076 enable_api_ms_win_eventlog_legacy_l1_1_0
1077 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1078 enable_api_ms_win_mm_joystick_l1_1_0
1079 enable_api_ms_win_mm_misc_l1_1_1
1080 enable_api_ms_win_mm_mme_l1_1_0
1081 enable_api_ms_win_mm_time_l1_1_0
1082 enable_api_ms_win_ntuser_dc_access_l1_1_0
1083 enable_api_ms_win_ntuser_rectangle_l1_1_0
1084 enable_api_ms_win_ntuser_sysparams_l1_1_0
1085 enable_api_ms_win_perf_legacy_l1_1_0
1086 enable_api_ms_win_power_base_l1_1_0
1087 enable_api_ms_win_power_setting_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1090 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1091 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1092 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1094 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1095 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1096 enable_api_ms_win_security_audit_l1_1_1
1097 enable_api_ms_win_security_base_l1_1_0
1098 enable_api_ms_win_security_base_l1_2_0
1099 enable_api_ms_win_security_base_private_l1_1_1
1100 enable_api_ms_win_security_credentials_l1_1_0
1101 enable_api_ms_win_security_cryptoapi_l1_1_0
1102 enable_api_ms_win_security_grouppolicy_l1_1_0
1103 enable_api_ms_win_security_lsalookup_l1_1_0
1104 enable_api_ms_win_security_lsalookup_l1_1_1
1105 enable_api_ms_win_security_lsalookup_l2_1_0
1106 enable_api_ms_win_security_lsalookup_l2_1_1
1107 enable_api_ms_win_security_lsapolicy_l1_1_0
1108 enable_api_ms_win_security_provider_l1_1_0
1109 enable_api_ms_win_security_sddl_l1_1_0
1110 enable_api_ms_win_security_systemfunctions_l1_1_0
1111 enable_api_ms_win_service_core_l1_1_0
1112 enable_api_ms_win_service_core_l1_1_1
1113 enable_api_ms_win_service_management_l1_1_0
1114 enable_api_ms_win_service_management_l2_1_0
1115 enable_api_ms_win_service_private_l1_1_1
1116 enable_api_ms_win_service_winsvc_l1_1_0
1117 enable_api_ms_win_service_winsvc_l1_2_0
1118 enable_api_ms_win_shcore_obsolete_l1_1_0
1119 enable_api_ms_win_shcore_scaling_l1_1_1
1120 enable_api_ms_win_shcore_stream_l1_1_0
1121 enable_api_ms_win_shcore_thread_l1_1_0
1122 enable_api_ms_win_shell_shellcom_l1_1_0
1123 enable_api_ms_win_shell_shellfolders_l1_1_0
1124 enable_apphelp
1125 enable_appwiz_cpl
1126 enable_atl
1127 enable_atl100
1128 enable_atl110
1129 enable_atl80
1130 enable_atl90
1131 enable_atlthunk
1132 enable_atmlib
1133 enable_authz
1134 enable_avicap32
1135 enable_avifil32
1136 enable_avrt
1137 enable_bcrypt
1138 enable_bluetoothapis
1139 enable_browseui
1140 enable_bthprops_cpl
1141 enable_cabinet
1142 enable_capi2032
1143 enable_cards
1144 enable_cdosys
1145 enable_cfgmgr32
1146 enable_clusapi
1147 enable_combase
1148 enable_comcat
1149 enable_comctl32
1150 enable_comdlg32
1151 enable_compstui
1152 enable_comsvcs
1153 enable_concrt140
1154 enable_connect
1155 enable_credui
1156 enable_crtdll
1157 enable_crypt32
1158 enable_cryptdlg
1159 enable_cryptdll
1160 enable_cryptext
1161 enable_cryptnet
1162 enable_cryptui
1163 enable_ctapi32
1164 enable_ctl3d32
1165 enable_d2d1
1166 enable_d3d10
1167 enable_d3d10_1
1168 enable_d3d10core
1169 enable_d3d11
1170 enable_d3d12
1171 enable_d3d8
1172 enable_d3d9
1173 enable_d3dcompiler_33
1174 enable_d3dcompiler_34
1175 enable_d3dcompiler_35
1176 enable_d3dcompiler_36
1177 enable_d3dcompiler_37
1178 enable_d3dcompiler_38
1179 enable_d3dcompiler_39
1180 enable_d3dcompiler_40
1181 enable_d3dcompiler_41
1182 enable_d3dcompiler_42
1183 enable_d3dcompiler_43
1184 enable_d3dcompiler_46
1185 enable_d3dcompiler_47
1186 enable_d3dim
1187 enable_d3drm
1188 enable_d3dx10_33
1189 enable_d3dx10_34
1190 enable_d3dx10_35
1191 enable_d3dx10_36
1192 enable_d3dx10_37
1193 enable_d3dx10_38
1194 enable_d3dx10_39
1195 enable_d3dx10_40
1196 enable_d3dx10_41
1197 enable_d3dx10_42
1198 enable_d3dx10_43
1199 enable_d3dx11_42
1200 enable_d3dx11_43
1201 enable_d3dx9_24
1202 enable_d3dx9_25
1203 enable_d3dx9_26
1204 enable_d3dx9_27
1205 enable_d3dx9_28
1206 enable_d3dx9_29
1207 enable_d3dx9_30
1208 enable_d3dx9_31
1209 enable_d3dx9_32
1210 enable_d3dx9_33
1211 enable_d3dx9_34
1212 enable_d3dx9_35
1213 enable_d3dx9_36
1214 enable_d3dx9_37
1215 enable_d3dx9_38
1216 enable_d3dx9_39
1217 enable_d3dx9_40
1218 enable_d3dx9_41
1219 enable_d3dx9_42
1220 enable_d3dx9_43
1221 enable_d3dxof
1222 enable_davclnt
1223 enable_dbgeng
1224 enable_dbghelp
1225 enable_dciman32
1226 enable_ddraw
1227 enable_ddrawex
1228 enable_devenum
1229 enable_dhcpcsvc
1230 enable_dhtmled_ocx
1231 enable_difxapi
1232 enable_dinput
1233 enable_dinput8
1234 enable_dispex
1235 enable_dmband
1236 enable_dmcompos
1237 enable_dmime
1238 enable_dmloader
1239 enable_dmoguids
1240 enable_dmscript
1241 enable_dmstyle
1242 enable_dmsynth
1243 enable_dmusic
1244 enable_dmusic32
1245 enable_dnsapi
1246 enable_dplay
1247 enable_dplayx
1248 enable_dpnaddr
1249 enable_dpnet
1250 enable_dpnhpast
1251 enable_dpnlobby
1252 enable_dpvoice
1253 enable_dpwsockx
1254 enable_drmclien
1255 enable_dsound
1256 enable_dsquery
1257 enable_dssenh
1258 enable_dswave
1259 enable_dwmapi
1260 enable_dwrite
1261 enable_dx8vb
1262 enable_dxdiagn
1263 enable_dxerr8
1264 enable_dxerr9
1265 enable_dxgi
1266 enable_dxguid
1267 enable_dxva2
1268 enable_esent
1269 enable_evr
1270 enable_explorerframe
1271 enable_ext_ms_win_authz_context_l1_1_0
1272 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1273 enable_ext_ms_win_dwmapi_ext_l1_1_0
1274 enable_ext_ms_win_gdi_dc_create_l1_1_0
1275 enable_ext_ms_win_gdi_dc_create_l1_1_1
1276 enable_ext_ms_win_gdi_dc_l1_2_0
1277 enable_ext_ms_win_gdi_devcaps_l1_1_0
1278 enable_ext_ms_win_gdi_draw_l1_1_0
1279 enable_ext_ms_win_gdi_draw_l1_1_1
1280 enable_ext_ms_win_gdi_font_l1_1_0
1281 enable_ext_ms_win_gdi_font_l1_1_1
1282 enable_ext_ms_win_gdi_render_l1_1_0
1283 enable_ext_ms_win_kernel32_package_current_l1_1_0
1284 enable_ext_ms_win_kernel32_package_l1_1_1
1285 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1286 enable_ext_ms_win_ntuser_draw_l1_1_0
1287 enable_ext_ms_win_ntuser_gui_l1_1_0
1288 enable_ext_ms_win_ntuser_gui_l1_3_0
1289 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1290 enable_ext_ms_win_ntuser_message_l1_1_0
1291 enable_ext_ms_win_ntuser_message_l1_1_1
1292 enable_ext_ms_win_ntuser_misc_l1_1_0
1293 enable_ext_ms_win_ntuser_misc_l1_2_0
1294 enable_ext_ms_win_ntuser_misc_l1_5_1
1295 enable_ext_ms_win_ntuser_mouse_l1_1_0
1296 enable_ext_ms_win_ntuser_private_l1_1_1
1297 enable_ext_ms_win_ntuser_private_l1_3_1
1298 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1299 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1300 enable_ext_ms_win_ntuser_window_l1_1_0
1301 enable_ext_ms_win_ntuser_window_l1_1_1
1302 enable_ext_ms_win_ntuser_window_l1_1_4
1303 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1304 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1305 enable_ext_ms_win_oleacc_l1_1_0
1306 enable_ext_ms_win_ras_rasapi32_l1_1_0
1307 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1308 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1309 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1313 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1314 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1316 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1317 enable_ext_ms_win_security_credui_l1_1_0
1318 enable_ext_ms_win_security_cryptui_l1_1_0
1319 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1320 enable_ext_ms_win_shell_comdlg32_l1_1_0
1321 enable_ext_ms_win_shell_shell32_l1_2_0
1322 enable_ext_ms_win_uxtheme_themes_l1_1_0
1323 enable_faultrep
1324 enable_feclient
1325 enable_fltlib
1326 enable_fltmgr_sys
1327 enable_fntcache
1328 enable_fontsub
1329 enable_fusion
1330 enable_fwpuclnt
1331 enable_gameux
1332 enable_gdi32
1333 enable_gdiplus
1334 enable_glu32
1335 enable_gphoto2_ds
1336 enable_gpkcsp
1337 enable_hal
1338 enable_hhctrl_ocx
1339 enable_hid
1340 enable_hidclass_sys
1341 enable_hlink
1342 enable_hnetcfg
1343 enable_httpapi
1344 enable_iccvid
1345 enable_icmp
1346 enable_ieframe
1347 enable_ieproxy
1348 enable_imaadp32_acm
1349 enable_imagehlp
1350 enable_imm32
1351 enable_inetcomm
1352 enable_inetcpl_cpl
1353 enable_inetmib1
1354 enable_infosoft
1355 enable_initpki
1356 enable_inkobj
1357 enable_inseng
1358 enable_iphlpapi
1359 enable_iprop
1360 enable_irprops_cpl
1361 enable_itircl
1362 enable_itss
1363 enable_joy_cpl
1364 enable_jscript
1365 enable_jsproxy
1366 enable_kerberos
1367 enable_kernel32
1368 enable_kernelbase
1369 enable_ksecdd_sys
1370 enable_ksuser
1371 enable_ktmw32
1372 enable_l3codeca_acm
1373 enable_loadperf
1374 enable_localspl
1375 enable_localui
1376 enable_lz32
1377 enable_mapi32
1378 enable_mapistub
1379 enable_mciavi32
1380 enable_mcicda
1381 enable_mciqtz32
1382 enable_mciseq
1383 enable_mciwave
1384 enable_mf
1385 enable_mf3216
1386 enable_mferror
1387 enable_mfplat
1388 enable_mfplay
1389 enable_mfreadwrite
1390 enable_mfuuid
1391 enable_mgmtapi
1392 enable_midimap
1393 enable_mlang
1394 enable_mmcndmgr
1395 enable_mmdevapi
1396 enable_mountmgr_sys
1397 enable_mp3dmod
1398 enable_mpr
1399 enable_mprapi
1400 enable_msacm32_drv
1401 enable_msacm32
1402 enable_msadp32_acm
1403 enable_msasn1
1404 enable_mscat32
1405 enable_mscms
1406 enable_mscoree
1407 enable_mscorwks
1408 enable_msctf
1409 enable_msctfp
1410 enable_msdaps
1411 enable_msdelta
1412 enable_msdmo
1413 enable_msdrm
1414 enable_msftedit
1415 enable_msg711_acm
1416 enable_msgsm32_acm
1417 enable_mshtml_tlb
1418 enable_mshtml
1419 enable_msi
1420 enable_msident
1421 enable_msimg32
1422 enable_msimsg
1423 enable_msimtf
1424 enable_msisip
1425 enable_msisys_ocx
1426 enable_msls31
1427 enable_msnet32
1428 enable_mspatcha
1429 enable_msports
1430 enable_msrle32
1431 enable_msscript_ocx
1432 enable_mssign32
1433 enable_mssip32
1434 enable_mstask
1435 enable_msvcirt
1436 enable_msvcm80
1437 enable_msvcm90
1438 enable_msvcp100
1439 enable_msvcp110
1440 enable_msvcp120
1441 enable_msvcp120_app
1442 enable_msvcp140
1443 enable_msvcp60
1444 enable_msvcp70
1445 enable_msvcp71
1446 enable_msvcp80
1447 enable_msvcp90
1448 enable_msvcr100
1449 enable_msvcr110
1450 enable_msvcr120
1451 enable_msvcr120_app
1452 enable_msvcr70
1453 enable_msvcr71
1454 enable_msvcr80
1455 enable_msvcr90
1456 enable_msvcrt
1457 enable_msvcrt20
1458 enable_msvcrt40
1459 enable_msvcrtd
1460 enable_msvfw32
1461 enable_msvidc32
1462 enable_mswsock
1463 enable_msxml
1464 enable_msxml2
1465 enable_msxml3
1466 enable_msxml4
1467 enable_msxml6
1468 enable_mtxdm
1469 enable_ncrypt
1470 enable_nddeapi
1471 enable_ndis_sys
1472 enable_netapi32
1473 enable_netcfgx
1474 enable_netprofm
1475 enable_newdev
1476 enable_ninput
1477 enable_normaliz
1478 enable_npmshtml
1479 enable_npptools
1480 enable_ntdll
1481 enable_ntdsapi
1482 enable_ntoskrnl_exe
1483 enable_ntprint
1484 enable_objsel
1485 enable_odbc32
1486 enable_odbccp32
1487 enable_odbccu32
1488 enable_ole32
1489 enable_oleacc
1490 enable_oleaut32
1491 enable_olecli32
1492 enable_oledb32
1493 enable_oledlg
1494 enable_olepro32
1495 enable_olesvr32
1496 enable_olethk32
1497 enable_opcservices
1498 enable_openal32
1499 enable_opencl
1500 enable_opengl32
1501 enable_packager
1502 enable_pdh
1503 enable_photometadatahandler
1504 enable_pidgen
1505 enable_powrprof
1506 enable_printui
1507 enable_prntvpt
1508 enable_propsys
1509 enable_psapi
1510 enable_pstorec
1511 enable_qcap
1512 enable_qedit
1513 enable_qmgr
1514 enable_qmgrprxy
1515 enable_quartz
1516 enable_query
1517 enable_qwave
1518 enable_rasapi32
1519 enable_rasdlg
1520 enable_regapi
1521 enable_resutils
1522 enable_riched20
1523 enable_riched32
1524 enable_rpcrt4
1525 enable_rsabase
1526 enable_rsaenh
1527 enable_rstrtmgr
1528 enable_rtutils
1529 enable_samlib
1530 enable_sane_ds
1531 enable_sapi
1532 enable_sas
1533 enable_scarddlg
1534 enable_sccbase
1535 enable_schannel
1536 enable_schedsvc
1537 enable_scrobj
1538 enable_scrrun
1539 enable_scsiport_sys
1540 enable_secur32
1541 enable_security
1542 enable_sensapi
1543 enable_serialui
1544 enable_setupapi
1545 enable_sfc
1546 enable_sfc_os
1547 enable_shcore
1548 enable_shdoclc
1549 enable_shdocvw
1550 enable_shell32
1551 enable_shfolder
1552 enable_shlwapi
1553 enable_slbcsp
1554 enable_slc
1555 enable_snmpapi
1556 enable_softpub
1557 enable_spoolss
1558 enable_srclient
1559 enable_sspicli
1560 enable_stdole2_tlb
1561 enable_stdole32_tlb
1562 enable_sti
1563 enable_strmbase
1564 enable_strmdll
1565 enable_strmiids
1566 enable_svrapi
1567 enable_sxs
1568 enable_t2embed
1569 enable_tapi32
1570 enable_taskschd
1571 enable_tdh
1572 enable_tdi_sys
1573 enable_traffic
1574 enable_twain_32
1575 enable_tzres
1576 enable_ucrtbase
1577 enable_uianimation
1578 enable_uiautomationcore
1579 enable_uiribbon
1580 enable_unicows
1581 enable_updspapi
1582 enable_url
1583 enable_urlmon
1584 enable_usbd_sys
1585 enable_user32
1586 enable_userenv
1587 enable_usp10
1588 enable_uuid
1589 enable_uxtheme
1590 enable_vbscript
1591 enable_vcomp
1592 enable_vcomp100
1593 enable_vcomp110
1594 enable_vcomp120
1595 enable_vcomp140
1596 enable_vcomp90
1597 enable_vcruntime140
1598 enable_vdmdbg
1599 enable_version
1600 enable_virtdisk
1601 enable_vssapi
1602 enable_vulkan_1
1603 enable_wbemdisp
1604 enable_wbemprox
1605 enable_wdscore
1606 enable_webservices
1607 enable_wer
1608 enable_wevtapi
1609 enable_wiaservc
1610 enable_wimgapi
1611 enable_windowscodecs
1612 enable_windowscodecsext
1613 enable_winealsa_drv
1614 enable_wineandroid_drv
1615 enable_winebus_sys
1616 enable_winecoreaudio_drv
1617 enable_winecrt0
1618 enable_wined3d
1619 enable_winegstreamer
1620 enable_winehid_sys
1621 enable_winejoystick_drv
1622 enable_winemac_drv
1623 enable_winemapi
1624 enable_wineoss_drv
1625 enable_wineps_drv
1626 enable_winepulse_drv
1627 enable_wineqtdecoder
1628 enable_winevulkan
1629 enable_winex11_drv
1630 enable_wing32
1631 enable_winhttp
1632 enable_wininet
1633 enable_winmm
1634 enable_winnls32
1635 enable_winscard
1636 enable_winspool_drv
1637 enable_winsta
1638 enable_wintab32
1639 enable_wintrust
1640 enable_winusb
1641 enable_wlanapi
1642 enable_wldap32
1643 enable_wmasf
1644 enable_wmcodecdspuuid
1645 enable_wmi
1646 enable_wmiutils
1647 enable_wmp
1648 enable_wmphoto
1649 enable_wmvcore
1650 enable_wnaspi32
1651 enable_wpc
1652 enable_wpcap
1653 enable_ws2_32
1654 enable_wsdapi
1655 enable_wshom_ocx
1656 enable_wsnmp32
1657 enable_wsock32
1658 enable_wtsapi32
1659 enable_wuapi
1660 enable_wuaueng
1661 enable_x3daudio1_0
1662 enable_x3daudio1_1
1663 enable_x3daudio1_2
1664 enable_x3daudio1_3
1665 enable_x3daudio1_4
1666 enable_x3daudio1_5
1667 enable_x3daudio1_6
1668 enable_x3daudio1_7
1669 enable_xapofx1_1
1670 enable_xapofx1_2
1671 enable_xapofx1_3
1672 enable_xapofx1_4
1673 enable_xapofx1_5
1674 enable_xaudio2_0
1675 enable_xaudio2_1
1676 enable_xaudio2_2
1677 enable_xaudio2_3
1678 enable_xaudio2_4
1679 enable_xaudio2_5
1680 enable_xaudio2_6
1681 enable_xaudio2_7
1682 enable_xaudio2_8
1683 enable_xaudio2_9
1684 enable_xinput1_1
1685 enable_xinput1_2
1686 enable_xinput1_3
1687 enable_xinput1_4
1688 enable_xinput9_1_0
1689 enable_xmllite
1690 enable_xolehlp
1691 enable_xpsprint
1692 enable_xpssvcs
1693 enable_fonts
1694 enable_include
1695 enable_port
1696 enable_wine
1697 enable_wpp
1698 enable_loader
1699 enable_po
1700 enable_arp
1701 enable_aspnet_regiis
1702 enable_attrib
1703 enable_cabarc
1704 enable_cacls
1705 enable_clock
1706 enable_cmd
1707 enable_conhost
1708 enable_control
1709 enable_cscript
1710 enable_dism
1711 enable_dpnsvr
1712 enable_dxdiag
1713 enable_eject
1714 enable_expand
1715 enable_explorer
1716 enable_extrac32
1717 enable_fc
1718 enable_find
1719 enable_findstr
1720 enable_fsutil
1721 enable_hh
1722 enable_hostname
1723 enable_icacls
1724 enable_icinfo
1725 enable_iexplore
1726 enable_ipconfig
1727 enable_lodctr
1728 enable_mofcomp
1729 enable_mshta
1730 enable_msidb
1731 enable_msiexec
1732 enable_msinfo32
1733 enable_net
1734 enable_netsh
1735 enable_netstat
1736 enable_ngen
1737 enable_notepad
1738 enable_oleview
1739 enable_ping
1740 enable_plugplay
1741 enable_powershell
1742 enable_presentationfontcache
1743 enable_progman
1744 enable_reg
1745 enable_regasm
1746 enable_regedit
1747 enable_regsvcs
1748 enable_regsvr32
1749 enable_rpcss
1750 enable_rundll32
1751 enable_sc
1752 enable_schtasks
1753 enable_sdbinst
1754 enable_secedit
1755 enable_servicemodelreg
1756 enable_services
1757 enable_shutdown
1758 enable_spoolsv
1759 enable_start
1760 enable_subst
1761 enable_svchost
1762 enable_systeminfo
1763 enable_taskkill
1764 enable_tasklist
1765 enable_taskmgr
1766 enable_termsv
1767 enable_uninstaller
1768 enable_unlodctr
1769 enable_view
1770 enable_wevtutil
1771 enable_wineboot
1772 enable_winebrowser
1773 enable_winecfg
1774 enable_wineconsole
1775 enable_winedbg
1776 enable_winedevice
1777 enable_winefile
1778 enable_winemenubuilder
1779 enable_winemine
1780 enable_winemsibuilder
1781 enable_winepath
1782 enable_winetest
1783 enable_winhlp32
1784 enable_winmgmt
1785 enable_winver
1786 enable_wmic
1787 enable_wmplayer
1788 enable_wordpad
1789 enable_write
1790 enable_wscript
1791 enable_wusa
1792 enable_xcopy
1793 enable_server
1794 enable_tools
1795 enable_sfnt2fon
1796 enable_widl
1797 enable_winebuild
1798 enable_winedump
1799 enable_winegcc
1800 enable_winemaker
1801 enable_wmc
1802 enable_wrc
1804 ac_precious_vars='build_alias
1805 host_alias
1806 target_alias
1808 CFLAGS
1809 LDFLAGS
1810 LIBS
1811 CPPFLAGS
1813 CXXFLAGS
1816 OBJC
1817 OBJCFLAGS
1818 OBJCPP
1819 XMKMF
1820 XML2_CFLAGS
1821 XML2_LIBS
1822 XSLT_CFLAGS
1823 XSLT_LIBS
1824 INOTIFY_CFLAGS
1825 INOTIFY_LIBS
1826 DBUS_CFLAGS
1827 DBUS_LIBS
1828 HAL_CFLAGS
1829 HAL_LIBS
1830 GNUTLS_CFLAGS
1831 GNUTLS_LIBS
1832 SANE_CFLAGS
1833 SANE_LIBS
1834 GPHOTO2_CFLAGS
1835 GPHOTO2_LIBS
1836 GPHOTO2_PORT_CFLAGS
1837 GPHOTO2_PORT_LIBS
1838 LCMS2_CFLAGS
1839 LCMS2_LIBS
1840 FREETYPE_CFLAGS
1841 FREETYPE_LIBS
1842 Z_CFLAGS
1843 Z_LIBS
1844 PULSE_CFLAGS
1845 PULSE_LIBS
1846 GSTREAMER_CFLAGS
1847 GSTREAMER_LIBS
1848 UDEV_CFLAGS
1849 UDEV_LIBS
1850 SDL2_CFLAGS
1851 SDL2_LIBS
1852 FAUDIO_CFLAGS
1853 FAUDIO_LIBS
1854 CAPI20_CFLAGS
1855 CAPI20_LIBS
1856 CUPS_CFLAGS
1857 CUPS_LIBS
1858 FONTCONFIG_CFLAGS
1859 FONTCONFIG_LIBS
1860 KRB5_CFLAGS
1861 KRB5_LIBS
1862 GSSAPI_CFLAGS
1863 GSSAPI_LIBS
1864 JPEG_CFLAGS
1865 JPEG_LIBS
1866 PNG_CFLAGS
1867 PNG_LIBS
1868 TIFF_CFLAGS
1869 TIFF_LIBS
1870 MPG123_CFLAGS
1871 MPG123_LIBS
1872 NETAPI_CFLAGS
1873 NETAPI_LIBS
1874 VKD3D_CFLAGS
1875 VKD3D_LIBS
1876 LDAP_CFLAGS
1877 LDAP_LIBS'
1880 # Initialize some variables set by options.
1881 ac_init_help=
1882 ac_init_version=false
1883 ac_unrecognized_opts=
1884 ac_unrecognized_sep=
1885 # The variables have the same names as the options, with
1886 # dashes changed to underlines.
1887 cache_file=/dev/null
1888 exec_prefix=NONE
1889 no_create=
1890 no_recursion=
1891 prefix=NONE
1892 program_prefix=NONE
1893 program_suffix=NONE
1894 program_transform_name=s,x,x,
1895 silent=
1896 site=
1897 srcdir=
1898 verbose=
1899 x_includes=NONE
1900 x_libraries=NONE
1902 # Installation directory options.
1903 # These are left unexpanded so users can "make install exec_prefix=/foo"
1904 # and all the variables that are supposed to be based on exec_prefix
1905 # by default will actually change.
1906 # Use braces instead of parens because sh, perl, etc. also accept them.
1907 # (The list follows the same order as the GNU Coding Standards.)
1908 bindir='${exec_prefix}/bin'
1909 sbindir='${exec_prefix}/sbin'
1910 libexecdir='${exec_prefix}/libexec'
1911 datarootdir='${prefix}/share'
1912 datadir='${datarootdir}'
1913 sysconfdir='${prefix}/etc'
1914 sharedstatedir='${prefix}/com'
1915 localstatedir='${prefix}/var'
1916 runstatedir='${localstatedir}/run'
1917 includedir='${prefix}/include'
1918 oldincludedir='/usr/include'
1919 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1920 infodir='${datarootdir}/info'
1921 htmldir='${docdir}'
1922 dvidir='${docdir}'
1923 pdfdir='${docdir}'
1924 psdir='${docdir}'
1925 libdir='${exec_prefix}/lib'
1926 localedir='${datarootdir}/locale'
1927 mandir='${datarootdir}/man'
1929 ac_prev=
1930 ac_dashdash=
1931 for ac_option
1933 # If the previous option needs an argument, assign it.
1934 if test -n "$ac_prev"; then
1935 eval $ac_prev=\$ac_option
1936 ac_prev=
1937 continue
1940 case $ac_option in
1941 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1942 *=) ac_optarg= ;;
1943 *) ac_optarg=yes ;;
1944 esac
1946 # Accept the important Cygnus configure options, so we can diagnose typos.
1948 case $ac_dashdash$ac_option in
1950 ac_dashdash=yes ;;
1952 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1953 ac_prev=bindir ;;
1954 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1955 bindir=$ac_optarg ;;
1957 -build | --build | --buil | --bui | --bu)
1958 ac_prev=build_alias ;;
1959 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1960 build_alias=$ac_optarg ;;
1962 -cache-file | --cache-file | --cache-fil | --cache-fi \
1963 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1964 ac_prev=cache_file ;;
1965 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1966 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1967 cache_file=$ac_optarg ;;
1969 --config-cache | -C)
1970 cache_file=config.cache ;;
1972 -datadir | --datadir | --datadi | --datad)
1973 ac_prev=datadir ;;
1974 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1975 datadir=$ac_optarg ;;
1977 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1978 | --dataroo | --dataro | --datar)
1979 ac_prev=datarootdir ;;
1980 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1981 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1982 datarootdir=$ac_optarg ;;
1984 -disable-* | --disable-*)
1985 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1986 # Reject names that are not valid shell variable names.
1987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1988 as_fn_error $? "invalid feature name: $ac_useropt"
1989 ac_useropt_orig=$ac_useropt
1990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1991 case $ac_user_opts in
1993 "enable_$ac_useropt"
1994 "*) ;;
1995 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1996 ac_unrecognized_sep=', ';;
1997 esac
1998 eval enable_$ac_useropt=no ;;
2000 -docdir | --docdir | --docdi | --doc | --do)
2001 ac_prev=docdir ;;
2002 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2003 docdir=$ac_optarg ;;
2005 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2006 ac_prev=dvidir ;;
2007 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2008 dvidir=$ac_optarg ;;
2010 -enable-* | --enable-*)
2011 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2012 # Reject names that are not valid shell variable names.
2013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2014 as_fn_error $? "invalid feature name: $ac_useropt"
2015 ac_useropt_orig=$ac_useropt
2016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2017 case $ac_user_opts in
2019 "enable_$ac_useropt"
2020 "*) ;;
2021 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2022 ac_unrecognized_sep=', ';;
2023 esac
2024 eval enable_$ac_useropt=\$ac_optarg ;;
2026 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2027 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2028 | --exec | --exe | --ex)
2029 ac_prev=exec_prefix ;;
2030 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2031 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2032 | --exec=* | --exe=* | --ex=*)
2033 exec_prefix=$ac_optarg ;;
2035 -gas | --gas | --ga | --g)
2036 # Obsolete; use --with-gas.
2037 with_gas=yes ;;
2039 -help | --help | --hel | --he | -h)
2040 ac_init_help=long ;;
2041 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2042 ac_init_help=recursive ;;
2043 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2044 ac_init_help=short ;;
2046 -host | --host | --hos | --ho)
2047 ac_prev=host_alias ;;
2048 -host=* | --host=* | --hos=* | --ho=*)
2049 host_alias=$ac_optarg ;;
2051 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2052 ac_prev=htmldir ;;
2053 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2054 | --ht=*)
2055 htmldir=$ac_optarg ;;
2057 -includedir | --includedir | --includedi | --included | --include \
2058 | --includ | --inclu | --incl | --inc)
2059 ac_prev=includedir ;;
2060 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2061 | --includ=* | --inclu=* | --incl=* | --inc=*)
2062 includedir=$ac_optarg ;;
2064 -infodir | --infodir | --infodi | --infod | --info | --inf)
2065 ac_prev=infodir ;;
2066 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2067 infodir=$ac_optarg ;;
2069 -libdir | --libdir | --libdi | --libd)
2070 ac_prev=libdir ;;
2071 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2072 libdir=$ac_optarg ;;
2074 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2075 | --libexe | --libex | --libe)
2076 ac_prev=libexecdir ;;
2077 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2078 | --libexe=* | --libex=* | --libe=*)
2079 libexecdir=$ac_optarg ;;
2081 -localedir | --localedir | --localedi | --localed | --locale)
2082 ac_prev=localedir ;;
2083 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2084 localedir=$ac_optarg ;;
2086 -localstatedir | --localstatedir | --localstatedi | --localstated \
2087 | --localstate | --localstat | --localsta | --localst | --locals)
2088 ac_prev=localstatedir ;;
2089 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2090 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2091 localstatedir=$ac_optarg ;;
2093 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2094 ac_prev=mandir ;;
2095 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2096 mandir=$ac_optarg ;;
2098 -nfp | --nfp | --nf)
2099 # Obsolete; use --without-fp.
2100 with_fp=no ;;
2102 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2103 | --no-cr | --no-c | -n)
2104 no_create=yes ;;
2106 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2107 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2108 no_recursion=yes ;;
2110 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2111 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2112 | --oldin | --oldi | --old | --ol | --o)
2113 ac_prev=oldincludedir ;;
2114 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2115 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2116 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2117 oldincludedir=$ac_optarg ;;
2119 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2120 ac_prev=prefix ;;
2121 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2122 prefix=$ac_optarg ;;
2124 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2125 | --program-pre | --program-pr | --program-p)
2126 ac_prev=program_prefix ;;
2127 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2128 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2129 program_prefix=$ac_optarg ;;
2131 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2132 | --program-suf | --program-su | --program-s)
2133 ac_prev=program_suffix ;;
2134 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2135 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2136 program_suffix=$ac_optarg ;;
2138 -program-transform-name | --program-transform-name \
2139 | --program-transform-nam | --program-transform-na \
2140 | --program-transform-n | --program-transform- \
2141 | --program-transform | --program-transfor \
2142 | --program-transfo | --program-transf \
2143 | --program-trans | --program-tran \
2144 | --progr-tra | --program-tr | --program-t)
2145 ac_prev=program_transform_name ;;
2146 -program-transform-name=* | --program-transform-name=* \
2147 | --program-transform-nam=* | --program-transform-na=* \
2148 | --program-transform-n=* | --program-transform-=* \
2149 | --program-transform=* | --program-transfor=* \
2150 | --program-transfo=* | --program-transf=* \
2151 | --program-trans=* | --program-tran=* \
2152 | --progr-tra=* | --program-tr=* | --program-t=*)
2153 program_transform_name=$ac_optarg ;;
2155 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2156 ac_prev=pdfdir ;;
2157 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2158 pdfdir=$ac_optarg ;;
2160 -psdir | --psdir | --psdi | --psd | --ps)
2161 ac_prev=psdir ;;
2162 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2163 psdir=$ac_optarg ;;
2165 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2166 | -silent | --silent | --silen | --sile | --sil)
2167 silent=yes ;;
2169 -runstatedir | --runstatedir | --runstatedi | --runstated \
2170 | --runstate | --runstat | --runsta | --runst | --runs \
2171 | --run | --ru | --r)
2172 ac_prev=runstatedir ;;
2173 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2174 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2175 | --run=* | --ru=* | --r=*)
2176 runstatedir=$ac_optarg ;;
2178 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2179 ac_prev=sbindir ;;
2180 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2181 | --sbi=* | --sb=*)
2182 sbindir=$ac_optarg ;;
2184 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2185 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2186 | --sharedst | --shareds | --shared | --share | --shar \
2187 | --sha | --sh)
2188 ac_prev=sharedstatedir ;;
2189 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2190 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2191 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2192 | --sha=* | --sh=*)
2193 sharedstatedir=$ac_optarg ;;
2195 -site | --site | --sit)
2196 ac_prev=site ;;
2197 -site=* | --site=* | --sit=*)
2198 site=$ac_optarg ;;
2200 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2201 ac_prev=srcdir ;;
2202 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2203 srcdir=$ac_optarg ;;
2205 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2206 | --syscon | --sysco | --sysc | --sys | --sy)
2207 ac_prev=sysconfdir ;;
2208 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2209 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2210 sysconfdir=$ac_optarg ;;
2212 -target | --target | --targe | --targ | --tar | --ta | --t)
2213 ac_prev=target_alias ;;
2214 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2215 target_alias=$ac_optarg ;;
2217 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2218 verbose=yes ;;
2220 -version | --version | --versio | --versi | --vers | -V)
2221 ac_init_version=: ;;
2223 -with-* | --with-*)
2224 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2225 # Reject names that are not valid shell variable names.
2226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2227 as_fn_error $? "invalid package name: $ac_useropt"
2228 ac_useropt_orig=$ac_useropt
2229 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2230 case $ac_user_opts in
2232 "with_$ac_useropt"
2233 "*) ;;
2234 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2235 ac_unrecognized_sep=', ';;
2236 esac
2237 eval with_$ac_useropt=\$ac_optarg ;;
2239 -without-* | --without-*)
2240 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2241 # Reject names that are not valid shell variable names.
2242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2243 as_fn_error $? "invalid package name: $ac_useropt"
2244 ac_useropt_orig=$ac_useropt
2245 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2246 case $ac_user_opts in
2248 "with_$ac_useropt"
2249 "*) ;;
2250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2251 ac_unrecognized_sep=', ';;
2252 esac
2253 eval with_$ac_useropt=no ;;
2255 --x)
2256 # Obsolete; use --with-x.
2257 with_x=yes ;;
2259 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2260 | --x-incl | --x-inc | --x-in | --x-i)
2261 ac_prev=x_includes ;;
2262 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2263 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2264 x_includes=$ac_optarg ;;
2266 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2267 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2268 ac_prev=x_libraries ;;
2269 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2270 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2271 x_libraries=$ac_optarg ;;
2273 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2274 Try \`$0 --help' for more information"
2277 *=*)
2278 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2279 # Reject names that are not valid shell variable names.
2280 case $ac_envvar in #(
2281 '' | [0-9]* | *[!_$as_cr_alnum]* )
2282 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2283 esac
2284 eval $ac_envvar=\$ac_optarg
2285 export $ac_envvar ;;
2288 # FIXME: should be removed in autoconf 3.0.
2289 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2290 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2291 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2292 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2295 esac
2296 done
2298 if test -n "$ac_prev"; then
2299 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2300 as_fn_error $? "missing argument to $ac_option"
2303 if test -n "$ac_unrecognized_opts"; then
2304 case $enable_option_checking in
2305 no) ;;
2306 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2307 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2308 esac
2311 # Check all directory arguments for consistency.
2312 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2313 datadir sysconfdir sharedstatedir localstatedir includedir \
2314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2315 libdir localedir mandir runstatedir
2317 eval ac_val=\$$ac_var
2318 # Remove trailing slashes.
2319 case $ac_val in
2320 */ )
2321 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2322 eval $ac_var=\$ac_val;;
2323 esac
2324 # Be sure to have absolute directory names.
2325 case $ac_val in
2326 [\\/$]* | ?:[\\/]* ) continue;;
2327 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2328 esac
2329 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2330 done
2332 # There might be people who depend on the old broken behavior: `$host'
2333 # used to hold the argument of --host etc.
2334 # FIXME: To remove some day.
2335 build=$build_alias
2336 host=$host_alias
2337 target=$target_alias
2339 # FIXME: To remove some day.
2340 if test "x$host_alias" != x; then
2341 if test "x$build_alias" = x; then
2342 cross_compiling=maybe
2343 elif test "x$build_alias" != "x$host_alias"; then
2344 cross_compiling=yes
2348 ac_tool_prefix=
2349 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2351 test "$silent" = yes && exec 6>/dev/null
2354 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2355 ac_ls_di=`ls -di .` &&
2356 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2357 as_fn_error $? "working directory cannot be determined"
2358 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2359 as_fn_error $? "pwd does not report name of working directory"
2362 # Find the source files, if location was not specified.
2363 if test -z "$srcdir"; then
2364 ac_srcdir_defaulted=yes
2365 # Try the directory containing this script, then the parent directory.
2366 ac_confdir=`$as_dirname -- "$as_myself" ||
2367 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2368 X"$as_myself" : 'X\(//\)[^/]' \| \
2369 X"$as_myself" : 'X\(//\)$' \| \
2370 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2371 $as_echo X"$as_myself" |
2372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2373 s//\1/
2376 /^X\(\/\/\)[^/].*/{
2377 s//\1/
2380 /^X\(\/\/\)$/{
2381 s//\1/
2384 /^X\(\/\).*/{
2385 s//\1/
2388 s/.*/./; q'`
2389 srcdir=$ac_confdir
2390 if test ! -r "$srcdir/$ac_unique_file"; then
2391 srcdir=..
2393 else
2394 ac_srcdir_defaulted=no
2396 if test ! -r "$srcdir/$ac_unique_file"; then
2397 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2398 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2400 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2401 ac_abs_confdir=`(
2402 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2403 pwd)`
2404 # When building in place, set srcdir=.
2405 if test "$ac_abs_confdir" = "$ac_pwd"; then
2406 srcdir=.
2408 # Remove unnecessary trailing slashes from srcdir.
2409 # Double slashes in file names in object file debugging info
2410 # mess up M-x gdb in Emacs.
2411 case $srcdir in
2412 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2413 esac
2414 for ac_var in $ac_precious_vars; do
2415 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2416 eval ac_env_${ac_var}_value=\$${ac_var}
2417 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2418 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2419 done
2422 # Report the --help message.
2424 if test "$ac_init_help" = "long"; then
2425 # Omit some internal or obsolete options to make the list less imposing.
2426 # This message is too long to be a string in the A/UX 3.1 sh.
2427 cat <<_ACEOF
2428 \`configure' configures Wine 4.12.1 to adapt to many kinds of systems.
2430 Usage: $0 [OPTION]... [VAR=VALUE]...
2432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2433 VAR=VALUE. See below for descriptions of some of the useful variables.
2435 Defaults for the options are specified in brackets.
2437 Configuration:
2438 -h, --help display this help and exit
2439 --help=short display options specific to this package
2440 --help=recursive display the short help of all the included packages
2441 -V, --version display version information and exit
2442 -q, --quiet, --silent do not print \`checking ...' messages
2443 --cache-file=FILE cache test results in FILE [disabled]
2444 -C, --config-cache alias for \`--cache-file=config.cache'
2445 -n, --no-create do not create output files
2446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2448 Installation directories:
2449 --prefix=PREFIX install architecture-independent files in PREFIX
2450 [$ac_default_prefix]
2451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2452 [PREFIX]
2454 By default, \`make install' will install all the files in
2455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2457 for instance \`--prefix=\$HOME'.
2459 For better control, use the options below.
2461 Fine tuning of the installation directories:
2462 --bindir=DIR user executables [EPREFIX/bin]
2463 --sbindir=DIR system admin executables [EPREFIX/sbin]
2464 --libexecdir=DIR program executables [EPREFIX/libexec]
2465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2468 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2469 --libdir=DIR object code libraries [EPREFIX/lib]
2470 --includedir=DIR C header files [PREFIX/include]
2471 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2472 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2473 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2474 --infodir=DIR info documentation [DATAROOTDIR/info]
2475 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2476 --mandir=DIR man documentation [DATAROOTDIR/man]
2477 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2478 --htmldir=DIR html documentation [DOCDIR]
2479 --dvidir=DIR dvi documentation [DOCDIR]
2480 --pdfdir=DIR pdf documentation [DOCDIR]
2481 --psdir=DIR ps documentation [DOCDIR]
2482 _ACEOF
2484 cat <<\_ACEOF
2486 X features:
2487 --x-includes=DIR X include files are in DIR
2488 --x-libraries=DIR X library files are in DIR
2490 System types:
2491 --build=BUILD configure for building on BUILD [guessed]
2492 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2493 _ACEOF
2496 if test -n "$ac_init_help"; then
2497 case $ac_init_help in
2498 short | recursive ) echo "Configuration of Wine 4.12.1:";;
2499 esac
2500 cat <<\_ACEOF
2502 Optional Features:
2503 --disable-option-checking ignore unrecognized --enable/--with options
2504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2506 --disable-win16 do not include Win16 support
2507 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2508 binaries)
2509 --disable-tests do not build the regression tests
2510 --enable-maintainer-mode
2511 enable maintainer-specific build rules
2512 --disable-largefile omit support for large files
2514 Optional Packages:
2515 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2516 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2517 --without-alsa do not use the Alsa sound support
2518 --without-capi do not use CAPI (ISDN support)
2519 --without-cms do not use CMS (color management support)
2520 --without-coreaudio do not use the CoreAudio sound support
2521 --without-cups do not use CUPS
2522 --without-curses do not use (n)curses
2523 --without-dbus do not use DBus (dynamic device support)
2524 --without-faudio do not use FAudio (XAudio2 support)
2525 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2526 --without-fontconfig do not use fontconfig
2527 --without-freetype do not use the FreeType library
2528 --without-gettext do not use gettext
2529 --with-gettextpo use the GetTextPO library to rebuild po files
2530 --without-gphoto do not use gphoto (Digital Camera support)
2531 --without-glu do not use the GLU library
2532 --without-gnutls do not use GnuTLS (schannel support)
2533 --without-gsm do not use libgsm (GSM 06.10 codec support)
2534 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2535 --without-gstreamer do not use GStreamer (codecs support)
2536 --without-hal do not use HAL (dynamic device support)
2537 --without-inotify do not use inotify (filesystem change notifications)
2538 --without-jpeg do not use JPEG
2539 --without-krb5 do not use krb5 (Kerberos)
2540 --without-ldap do not use LDAP
2541 --without-mingw do not use the MinGW cross-compiler
2542 --without-mpg123 do not use the mpg123 library
2543 --without-netapi do not use the Samba NetAPI library
2544 --without-openal do not use OpenAL
2545 --without-opencl do not use OpenCL
2546 --without-opengl do not use OpenGL
2547 --without-osmesa do not use the OSMesa library
2548 --without-oss do not use the OSS sound support
2549 --without-pcap do not use the Packet Capture library
2550 --without-png do not use PNG
2551 --without-pthread do not use the pthread library
2552 --without-pulse do not use PulseAudio sound support
2553 --without-sane do not use SANE (scanner support)
2554 --without-sdl do not use SDL
2555 --without-tiff do not use TIFF
2556 --without-udev do not use udev (plug and play support)
2557 --without-v4l2 do not use v4l2 (video capture)
2558 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2559 --without-vulkan do not use Vulkan
2560 --without-xcomposite do not use the Xcomposite extension
2561 --without-xcursor do not use the Xcursor extension
2562 --without-xfixes do not use Xfixes for clipboard change notifications
2563 --without-xinerama do not use Xinerama (multi-monitor support)
2564 --without-xinput do not use the Xinput extension
2565 --without-xinput2 do not use the Xinput 2 extension
2566 --without-xml do not use XML
2567 --without-xrandr do not use Xrandr (resolution changes)
2568 --without-xrender do not use the Xrender extension
2569 --without-xshape do not use the Xshape extension
2570 --without-xshm do not use XShm (shared memory extension)
2571 --without-xslt do not use XSLT
2572 --without-xxf86vm do not use XFree video mode extension
2573 --without-zlib do not use Zlib (data compression)
2574 --with-wine-tools=DIR use Wine tools from directory DIR
2575 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2576 --with-x use the X Window System
2578 Some influential environment variables:
2579 CC C compiler command
2580 CFLAGS C compiler flags
2581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2582 nonstandard directory <lib dir>
2583 LIBS libraries to pass to the linker, e.g. -l<library>
2584 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2585 you have headers in a nonstandard directory <include dir>
2586 CXX C++ compiler command
2587 CXXFLAGS C++ compiler flags
2588 CPP C preprocessor
2589 OBJC Objective C compiler command
2590 OBJCFLAGS Objective C compiler flags
2591 OBJCPP Objective C preprocessor
2592 XMKMF Path to xmkmf, Makefile generator for X Window System
2593 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2594 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2595 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2596 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2597 INOTIFY_CFLAGS
2598 C compiler flags for libinotify, overriding pkg-config
2599 INOTIFY_LIBS
2600 Linker flags for libinotify, overriding pkg-config
2601 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2602 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2603 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2604 HAL_LIBS Linker flags for hal, overriding pkg-config
2605 GNUTLS_CFLAGS
2606 C compiler flags for gnutls, overriding pkg-config
2607 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2608 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2609 SANE_LIBS Linker flags for libsane, overriding pkg-config
2610 GPHOTO2_CFLAGS
2611 C compiler flags for libgphoto2, overriding pkg-config
2612 GPHOTO2_LIBS
2613 Linker flags for libgphoto2, overriding pkg-config
2614 GPHOTO2_PORT_CFLAGS
2615 C compiler flags for libgphoto2_port, overriding pkg-config
2616 GPHOTO2_PORT_LIBS
2617 Linker flags for libgphoto2_port, overriding pkg-config
2618 LCMS2_CFLAGS
2619 C compiler flags for lcms2, overriding pkg-config
2620 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2621 FREETYPE_CFLAGS
2622 C compiler flags for freetype2, overriding pkg-config
2623 FREETYPE_LIBS
2624 Linker flags for freetype2, overriding pkg-config
2625 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2626 Z_LIBS Linker flags for libz, overriding pkg-config
2627 PULSE_CFLAGS
2628 C compiler flags for libpulse, overriding pkg-config
2629 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2630 GSTREAMER_CFLAGS
2631 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2632 gstreamer-audio-1.0, overriding pkg-config
2633 GSTREAMER_LIBS
2634 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2635 gstreamer-audio-1.0, overriding pkg-config
2636 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2637 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2638 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2639 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2640 FAUDIO_CFLAGS
2641 C compiler flags for faudio, overriding pkg-config
2642 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2643 CAPI20_CFLAGS
2644 C compiler flags for capi20, overriding pkg-config
2645 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2646 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2647 CUPS_LIBS Linker flags for cups, overriding pkg-config
2648 FONTCONFIG_CFLAGS
2649 C compiler flags for fontconfig, overriding pkg-config
2650 FONTCONFIG_LIBS
2651 Linker flags for fontconfig, overriding pkg-config
2652 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2653 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2654 GSSAPI_CFLAGS
2655 C compiler flags for krb5-gssapi, overriding pkg-config
2656 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2657 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2658 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2659 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2660 PNG_LIBS Linker flags for libpng, overriding pkg-config
2661 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2662 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2663 MPG123_CFLAGS
2664 C compiler flags for libmpg123, overriding pkg-config
2665 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2666 NETAPI_CFLAGS
2667 C compiler flags for netapi, overriding pkg-config
2668 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2669 VKD3D_CFLAGS
2670 C compiler flags for libvkd3d, overriding pkg-config
2671 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2672 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2673 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2675 Use these variables to override the choices made by `configure' or to help
2676 it to find libraries and programs with nonstandard names/locations.
2678 Report bugs to <wine-devel@winehq.org>.
2679 Wine home page: <https://www.winehq.org>.
2680 _ACEOF
2681 ac_status=$?
2684 if test "$ac_init_help" = "recursive"; then
2685 # If there are subdirs, report their specific --help.
2686 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2687 test -d "$ac_dir" ||
2688 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2689 continue
2690 ac_builddir=.
2692 case "$ac_dir" in
2693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2695 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2696 # A ".." for each directory in $ac_dir_suffix.
2697 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2698 case $ac_top_builddir_sub in
2699 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2700 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2701 esac ;;
2702 esac
2703 ac_abs_top_builddir=$ac_pwd
2704 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2705 # for backward compatibility:
2706 ac_top_builddir=$ac_top_build_prefix
2708 case $srcdir in
2709 .) # We are building in place.
2710 ac_srcdir=.
2711 ac_top_srcdir=$ac_top_builddir_sub
2712 ac_abs_top_srcdir=$ac_pwd ;;
2713 [\\/]* | ?:[\\/]* ) # Absolute name.
2714 ac_srcdir=$srcdir$ac_dir_suffix;
2715 ac_top_srcdir=$srcdir
2716 ac_abs_top_srcdir=$srcdir ;;
2717 *) # Relative name.
2718 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2719 ac_top_srcdir=$ac_top_build_prefix$srcdir
2720 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2721 esac
2722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2724 cd "$ac_dir" || { ac_status=$?; continue; }
2725 # Check for guested configure.
2726 if test -f "$ac_srcdir/configure.gnu"; then
2727 echo &&
2728 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2729 elif test -f "$ac_srcdir/configure"; then
2730 echo &&
2731 $SHELL "$ac_srcdir/configure" --help=recursive
2732 else
2733 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2734 fi || ac_status=$?
2735 cd "$ac_pwd" || { ac_status=$?; break; }
2736 done
2739 test -n "$ac_init_help" && exit $ac_status
2740 if $ac_init_version; then
2741 cat <<\_ACEOF
2742 Wine configure 4.12.1
2743 generated by GNU Autoconf 2.69
2745 Copyright (C) 2012 Free Software Foundation, Inc.
2746 This configure script is free software; the Free Software Foundation
2747 gives unlimited permission to copy, distribute and modify it.
2748 _ACEOF
2749 exit
2752 ## ------------------------ ##
2753 ## Autoconf initialization. ##
2754 ## ------------------------ ##
2756 # ac_fn_c_try_compile LINENO
2757 # --------------------------
2758 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2759 ac_fn_c_try_compile ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 rm -f conftest.$ac_objext
2763 if { { ac_try="$ac_compile"
2764 case "(($ac_try" in
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2767 esac
2768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2769 $as_echo "$ac_try_echo"; } >&5
2770 (eval "$ac_compile") 2>conftest.err
2771 ac_status=$?
2772 if test -s conftest.err; then
2773 grep -v '^ *+' conftest.err >conftest.er1
2774 cat conftest.er1 >&5
2775 mv -f conftest.er1 conftest.err
2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; } && {
2779 test -z "$ac_c_werror_flag" ||
2780 test ! -s conftest.err
2781 } && test -s conftest.$ac_objext; then :
2782 ac_retval=0
2783 else
2784 $as_echo "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.$ac_ext >&5
2787 ac_retval=1
2789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 as_fn_set_status $ac_retval
2792 } # ac_fn_c_try_compile
2794 # ac_fn_cxx_try_compile LINENO
2795 # ----------------------------
2796 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2797 ac_fn_cxx_try_compile ()
2799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2800 rm -f conftest.$ac_objext
2801 if { { ac_try="$ac_compile"
2802 case "(($ac_try" in
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2805 esac
2806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2807 $as_echo "$ac_try_echo"; } >&5
2808 (eval "$ac_compile") 2>conftest.err
2809 ac_status=$?
2810 if test -s conftest.err; then
2811 grep -v '^ *+' conftest.err >conftest.er1
2812 cat conftest.er1 >&5
2813 mv -f conftest.er1 conftest.err
2815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; } && {
2817 test -z "$ac_cxx_werror_flag" ||
2818 test ! -s conftest.err
2819 } && test -s conftest.$ac_objext; then :
2820 ac_retval=0
2821 else
2822 $as_echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 ac_retval=1
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 as_fn_set_status $ac_retval
2830 } # ac_fn_cxx_try_compile
2832 # ac_fn_c_try_link LINENO
2833 # -----------------------
2834 # Try to link conftest.$ac_ext, and return whether this succeeded.
2835 ac_fn_c_try_link ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 rm -f conftest.$ac_objext conftest$ac_exeext
2839 if { { ac_try="$ac_link"
2840 case "(($ac_try" in
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2843 esac
2844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 $as_echo "$ac_try_echo"; } >&5
2846 (eval "$ac_link") 2>conftest.err
2847 ac_status=$?
2848 if test -s conftest.err; then
2849 grep -v '^ *+' conftest.err >conftest.er1
2850 cat conftest.er1 >&5
2851 mv -f conftest.er1 conftest.err
2853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2854 test $ac_status = 0; } && {
2855 test -z "$ac_c_werror_flag" ||
2856 test ! -s conftest.err
2857 } && test -s conftest$ac_exeext && {
2858 test "$cross_compiling" = yes ||
2859 test -x conftest$ac_exeext
2860 }; then :
2861 ac_retval=0
2862 else
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2869 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2870 # interfere with the next link command; also delete a directory that is
2871 # left behind by Apple's compiler. We do this before executing the actions.
2872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 as_fn_set_status $ac_retval
2876 } # ac_fn_c_try_link
2878 # ac_fn_c_try_cpp LINENO
2879 # ----------------------
2880 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2881 ac_fn_c_try_cpp ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 if { { ac_try="$ac_cpp conftest.$ac_ext"
2885 case "(($ac_try" in
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2888 esac
2889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2890 $as_echo "$ac_try_echo"; } >&5
2891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2892 ac_status=$?
2893 if test -s conftest.err; then
2894 grep -v '^ *+' conftest.err >conftest.er1
2895 cat conftest.er1 >&5
2896 mv -f conftest.er1 conftest.err
2898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2899 test $ac_status = 0; } > conftest.i && {
2900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2901 test ! -s conftest.err
2902 }; then :
2903 ac_retval=0
2904 else
2905 $as_echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2908 ac_retval=1
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911 as_fn_set_status $ac_retval
2913 } # ac_fn_c_try_cpp
2915 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2916 # -------------------------------------------------------
2917 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2918 # the include files in INCLUDES and setting the cache variable VAR
2919 # accordingly.
2920 ac_fn_c_check_header_mongrel ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 if eval \${$3+:} false; then :
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2925 $as_echo_n "checking for $2... " >&6; }
2926 if eval \${$3+:} false; then :
2927 $as_echo_n "(cached) " >&6
2929 eval ac_res=\$$3
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2931 $as_echo "$ac_res" >&6; }
2932 else
2933 # Is the header compilable?
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2935 $as_echo_n "checking $2 usability... " >&6; }
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2939 #include <$2>
2940 _ACEOF
2941 if ac_fn_c_try_compile "$LINENO"; then :
2942 ac_header_compiler=yes
2943 else
2944 ac_header_compiler=no
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2948 $as_echo "$ac_header_compiler" >&6; }
2950 # Is the header present?
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2952 $as_echo_n "checking $2 presence... " >&6; }
2953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h. */
2955 #include <$2>
2956 _ACEOF
2957 if ac_fn_c_try_cpp "$LINENO"; then :
2958 ac_header_preproc=yes
2959 else
2960 ac_header_preproc=no
2962 rm -f conftest.err conftest.i conftest.$ac_ext
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2964 $as_echo "$ac_header_preproc" >&6; }
2966 # So? What about this header?
2967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2968 yes:no: )
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2970 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2972 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2974 no:yes:* )
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2976 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2978 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2980 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2982 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2984 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2985 ( $as_echo "## ------------------------------------ ##
2986 ## Report this to wine-devel@winehq.org ##
2987 ## ------------------------------------ ##"
2988 ) | sed "s/^/$as_me: WARNING: /" >&2
2990 esac
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2992 $as_echo_n "checking for $2... " >&6; }
2993 if eval \${$3+:} false; then :
2994 $as_echo_n "(cached) " >&6
2995 else
2996 eval "$3=\$ac_header_compiler"
2998 eval ac_res=\$$3
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3000 $as_echo "$ac_res" >&6; }
3002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 } # ac_fn_c_check_header_mongrel
3006 # ac_fn_c_try_run LINENO
3007 # ----------------------
3008 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3009 # that executables *can* be run.
3010 ac_fn_c_try_run ()
3012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3013 if { { ac_try="$ac_link"
3014 case "(($ac_try" in
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3017 esac
3018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3019 $as_echo "$ac_try_echo"; } >&5
3020 (eval "$ac_link") 2>&5
3021 ac_status=$?
3022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3024 { { case "(($ac_try" in
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3027 esac
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_try") 2>&5
3031 ac_status=$?
3032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3033 test $ac_status = 0; }; }; then :
3034 ac_retval=0
3035 else
3036 $as_echo "$as_me: program exited with status $ac_status" >&5
3037 $as_echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3040 ac_retval=$ac_status
3042 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3044 as_fn_set_status $ac_retval
3046 } # ac_fn_c_try_run
3048 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3049 # -------------------------------------------------------
3050 # Tests whether HEADER exists and can be compiled using the include files in
3051 # INCLUDES, setting the cache variable VAR accordingly.
3052 ac_fn_c_check_header_compile ()
3054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3056 $as_echo_n "checking for $2... " >&6; }
3057 if eval \${$3+:} false; then :
3058 $as_echo_n "(cached) " >&6
3059 else
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3063 #include <$2>
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"; then :
3066 eval "$3=yes"
3067 else
3068 eval "$3=no"
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 eval ac_res=\$$3
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3074 $as_echo "$ac_res" >&6; }
3075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3077 } # ac_fn_c_check_header_compile
3079 # ac_fn_objc_try_compile LINENO
3080 # -----------------------------
3081 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3082 ac_fn_objc_try_compile ()
3084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3085 rm -f conftest.$ac_objext
3086 if { { ac_try="$ac_compile"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_compile") 2>conftest.err
3094 ac_status=$?
3095 if test -s conftest.err; then
3096 grep -v '^ *+' conftest.err >conftest.er1
3097 cat conftest.er1 >&5
3098 mv -f conftest.er1 conftest.err
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; } && {
3102 test -z "$ac_objc_werror_flag" ||
3103 test ! -s conftest.err
3104 } && test -s conftest.$ac_objext; then :
3105 ac_retval=0
3106 else
3107 $as_echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3110 ac_retval=1
3112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 as_fn_set_status $ac_retval
3115 } # ac_fn_objc_try_compile
3117 # ac_fn_objc_try_cpp LINENO
3118 # -------------------------
3119 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3120 ac_fn_objc_try_cpp ()
3122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3123 if { { ac_try="$ac_cpp conftest.$ac_ext"
3124 case "(($ac_try" in
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3127 esac
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3131 ac_status=$?
3132 if test -s conftest.err; then
3133 grep -v '^ *+' conftest.err >conftest.er1
3134 cat conftest.er1 >&5
3135 mv -f conftest.er1 conftest.err
3137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3138 test $ac_status = 0; } > conftest.i && {
3139 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3140 test ! -s conftest.err
3141 }; then :
3142 ac_retval=0
3143 else
3144 $as_echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 ac_retval=1
3149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3150 as_fn_set_status $ac_retval
3152 } # ac_fn_objc_try_cpp
3154 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3155 # ----------------------------------------------------------
3156 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3157 # the include files in INCLUDES and setting the cache variable VAR
3158 # accordingly.
3159 ac_fn_objc_check_header_mongrel ()
3161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3162 if eval \${$3+:} false; then :
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3164 $as_echo_n "checking for $2... " >&6; }
3165 if eval \${$3+:} false; then :
3166 $as_echo_n "(cached) " >&6
3168 eval ac_res=\$$3
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3170 $as_echo "$ac_res" >&6; }
3171 else
3172 # Is the header compilable?
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3174 $as_echo_n "checking $2 usability... " >&6; }
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3178 #include <$2>
3179 _ACEOF
3180 if ac_fn_objc_try_compile "$LINENO"; then :
3181 ac_header_compiler=yes
3182 else
3183 ac_header_compiler=no
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3187 $as_echo "$ac_header_compiler" >&6; }
3189 # Is the header present?
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3191 $as_echo_n "checking $2 presence... " >&6; }
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3194 #include <$2>
3195 _ACEOF
3196 if ac_fn_objc_try_cpp "$LINENO"; then :
3197 ac_header_preproc=yes
3198 else
3199 ac_header_preproc=no
3201 rm -f conftest.err conftest.i conftest.$ac_ext
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3203 $as_echo "$ac_header_preproc" >&6; }
3205 # So? What about this header?
3206 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3207 yes:no: )
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3209 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3211 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3213 no:yes:* )
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3215 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3217 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3219 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3221 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3223 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3224 ( $as_echo "## ------------------------------------ ##
3225 ## Report this to wine-devel@winehq.org ##
3226 ## ------------------------------------ ##"
3227 ) | sed "s/^/$as_me: WARNING: /" >&2
3229 esac
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3231 $as_echo_n "checking for $2... " >&6; }
3232 if eval \${$3+:} false; then :
3233 $as_echo_n "(cached) " >&6
3234 else
3235 eval "$3=\$ac_header_compiler"
3237 eval ac_res=\$$3
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3239 $as_echo "$ac_res" >&6; }
3241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3243 } # ac_fn_objc_check_header_mongrel
3245 # ac_fn_c_check_func LINENO FUNC VAR
3246 # ----------------------------------
3247 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3248 ac_fn_c_check_func ()
3250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3252 $as_echo_n "checking for $2... " >&6; }
3253 if eval \${$3+:} false; then :
3254 $as_echo_n "(cached) " >&6
3255 else
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3258 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3260 #define $2 innocuous_$2
3262 /* System header to define __stub macros and hopefully few prototypes,
3263 which can conflict with char $2 (); below.
3264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3265 <limits.h> exists even on freestanding compilers. */
3267 #ifdef __STDC__
3268 # include <limits.h>
3269 #else
3270 # include <assert.h>
3271 #endif
3273 #undef $2
3275 /* Override any GCC internal prototype to avoid an error.
3276 Use char because int might match the return type of a GCC
3277 builtin and then its argument prototype would still apply. */
3278 #ifdef __cplusplus
3279 extern "C"
3280 #endif
3281 char $2 ();
3282 /* The GNU C library defines this for functions which it implements
3283 to always fail with ENOSYS. Some functions are actually named
3284 something starting with __ and the normal name is an alias. */
3285 #if defined __stub_$2 || defined __stub___$2
3286 choke me
3287 #endif
3290 main ()
3292 return $2 ();
3294 return 0;
3296 _ACEOF
3297 if ac_fn_c_try_link "$LINENO"; then :
3298 eval "$3=yes"
3299 else
3300 eval "$3=no"
3302 rm -f core conftest.err conftest.$ac_objext \
3303 conftest$ac_exeext conftest.$ac_ext
3305 eval ac_res=\$$3
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3307 $as_echo "$ac_res" >&6; }
3308 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3310 } # ac_fn_c_check_func
3312 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3313 # ----------------------------------------------------
3314 # Tries to find if the field MEMBER exists in type AGGR, after including
3315 # INCLUDES, setting cache variable VAR accordingly.
3316 ac_fn_c_check_member ()
3318 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3320 $as_echo_n "checking for $2.$3... " >&6; }
3321 if eval \${$4+:} false; then :
3322 $as_echo_n "(cached) " >&6
3323 else
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3328 main ()
3330 static $2 ac_aggr;
3331 if (ac_aggr.$3)
3332 return 0;
3334 return 0;
3336 _ACEOF
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 eval "$4=yes"
3339 else
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3344 main ()
3346 static $2 ac_aggr;
3347 if (sizeof ac_aggr.$3)
3348 return 0;
3350 return 0;
3352 _ACEOF
3353 if ac_fn_c_try_compile "$LINENO"; then :
3354 eval "$4=yes"
3355 else
3356 eval "$4=no"
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 eval ac_res=\$$4
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3364 $as_echo "$ac_res" >&6; }
3365 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367 } # ac_fn_c_check_member
3369 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3370 # -------------------------------------------
3371 # Tests whether TYPE exists after having included INCLUDES, setting cache
3372 # variable VAR accordingly.
3373 ac_fn_c_check_type ()
3375 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3377 $as_echo_n "checking for $2... " >&6; }
3378 if eval \${$3+:} false; then :
3379 $as_echo_n "(cached) " >&6
3380 else
3381 eval "$3=no"
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3386 main ()
3388 if (sizeof ($2))
3389 return 0;
3391 return 0;
3393 _ACEOF
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 main ()
3401 if (sizeof (($2)))
3402 return 0;
3404 return 0;
3406 _ACEOF
3407 if ac_fn_c_try_compile "$LINENO"; then :
3409 else
3410 eval "$3=yes"
3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3416 eval ac_res=\$$3
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3418 $as_echo "$ac_res" >&6; }
3419 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3421 } # ac_fn_c_check_type
3422 cat >config.log <<_ACEOF
3423 This file contains any messages produced by compilers while
3424 running configure, to aid debugging if configure makes a mistake.
3426 It was created by Wine $as_me 4.12.1, which was
3427 generated by GNU Autoconf 2.69. Invocation command line was
3429 $ $0 $@
3431 _ACEOF
3432 exec 5>>config.log
3434 cat <<_ASUNAME
3435 ## --------- ##
3436 ## Platform. ##
3437 ## --------- ##
3439 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3440 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3441 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3442 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3443 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3445 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3446 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3448 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3449 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3450 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3451 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3452 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3453 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3454 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3456 _ASUNAME
3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 for as_dir in $PATH
3461 IFS=$as_save_IFS
3462 test -z "$as_dir" && as_dir=.
3463 $as_echo "PATH: $as_dir"
3464 done
3465 IFS=$as_save_IFS
3467 } >&5
3469 cat >&5 <<_ACEOF
3472 ## ----------- ##
3473 ## Core tests. ##
3474 ## ----------- ##
3476 _ACEOF
3479 # Keep a trace of the command line.
3480 # Strip out --no-create and --no-recursion so they do not pile up.
3481 # Strip out --silent because we don't want to record it for future runs.
3482 # Also quote any args containing shell meta-characters.
3483 # Make two passes to allow for proper duplicate-argument suppression.
3484 ac_configure_args=
3485 ac_configure_args0=
3486 ac_configure_args1=
3487 ac_must_keep_next=false
3488 for ac_pass in 1 2
3490 for ac_arg
3492 case $ac_arg in
3493 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3494 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3495 | -silent | --silent | --silen | --sile | --sil)
3496 continue ;;
3497 *\'*)
3498 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3499 esac
3500 case $ac_pass in
3501 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3503 as_fn_append ac_configure_args1 " '$ac_arg'"
3504 if test $ac_must_keep_next = true; then
3505 ac_must_keep_next=false # Got value, back to normal.
3506 else
3507 case $ac_arg in
3508 *=* | --config-cache | -C | -disable-* | --disable-* \
3509 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3510 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3511 | -with-* | --with-* | -without-* | --without-* | --x)
3512 case "$ac_configure_args0 " in
3513 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3514 esac
3516 -* ) ac_must_keep_next=true ;;
3517 esac
3519 as_fn_append ac_configure_args " '$ac_arg'"
3521 esac
3522 done
3523 done
3524 { ac_configure_args0=; unset ac_configure_args0;}
3525 { ac_configure_args1=; unset ac_configure_args1;}
3527 # When interrupted or exit'd, cleanup temporary files, and complete
3528 # config.log. We remove comments because anyway the quotes in there
3529 # would cause problems or look ugly.
3530 # WARNING: Use '\'' to represent an apostrophe within the trap.
3531 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3532 trap 'exit_status=$?
3533 # Save into config.log some information that might help in debugging.
3535 echo
3537 $as_echo "## ---------------- ##
3538 ## Cache variables. ##
3539 ## ---------------- ##"
3540 echo
3541 # The following way of writing the cache mishandles newlines in values,
3543 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3544 eval ac_val=\$$ac_var
3545 case $ac_val in #(
3546 *${as_nl}*)
3547 case $ac_var in #(
3548 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3550 esac
3551 case $ac_var in #(
3552 _ | IFS | as_nl) ;; #(
3553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3554 *) { eval $ac_var=; unset $ac_var;} ;;
3555 esac ;;
3556 esac
3557 done
3558 (set) 2>&1 |
3559 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3560 *${as_nl}ac_space=\ *)
3561 sed -n \
3562 "s/'\''/'\''\\\\'\'''\''/g;
3563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3564 ;; #(
3566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3568 esac |
3569 sort
3571 echo
3573 $as_echo "## ----------------- ##
3574 ## Output variables. ##
3575 ## ----------------- ##"
3576 echo
3577 for ac_var in $ac_subst_vars
3579 eval ac_val=\$$ac_var
3580 case $ac_val in
3581 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3582 esac
3583 $as_echo "$ac_var='\''$ac_val'\''"
3584 done | sort
3585 echo
3587 if test -n "$ac_subst_files"; then
3588 $as_echo "## ------------------- ##
3589 ## File substitutions. ##
3590 ## ------------------- ##"
3591 echo
3592 for ac_var in $ac_subst_files
3594 eval ac_val=\$$ac_var
3595 case $ac_val in
3596 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3597 esac
3598 $as_echo "$ac_var='\''$ac_val'\''"
3599 done | sort
3600 echo
3603 if test -s confdefs.h; then
3604 $as_echo "## ----------- ##
3605 ## confdefs.h. ##
3606 ## ----------- ##"
3607 echo
3608 cat confdefs.h
3609 echo
3611 test "$ac_signal" != 0 &&
3612 $as_echo "$as_me: caught signal $ac_signal"
3613 $as_echo "$as_me: exit $exit_status"
3614 } >&5
3615 rm -f core *.core core.conftest.* &&
3616 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3617 exit $exit_status
3619 for ac_signal in 1 2 13 15; do
3620 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3621 done
3622 ac_signal=0
3624 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3625 rm -f -r conftest* confdefs.h
3627 $as_echo "/* confdefs.h */" > confdefs.h
3629 # Predefined preprocessor variables.
3631 cat >>confdefs.h <<_ACEOF
3632 #define PACKAGE_NAME "$PACKAGE_NAME"
3633 _ACEOF
3635 cat >>confdefs.h <<_ACEOF
3636 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3637 _ACEOF
3639 cat >>confdefs.h <<_ACEOF
3640 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3641 _ACEOF
3643 cat >>confdefs.h <<_ACEOF
3644 #define PACKAGE_STRING "$PACKAGE_STRING"
3645 _ACEOF
3647 cat >>confdefs.h <<_ACEOF
3648 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3649 _ACEOF
3651 cat >>confdefs.h <<_ACEOF
3652 #define PACKAGE_URL "$PACKAGE_URL"
3653 _ACEOF
3656 # Let the site file select an alternate cache file if it wants to.
3657 # Prefer an explicitly selected file to automatically selected ones.
3658 ac_site_file1=NONE
3659 ac_site_file2=NONE
3660 if test -n "$CONFIG_SITE"; then
3661 # We do not want a PATH search for config.site.
3662 case $CONFIG_SITE in #((
3663 -*) ac_site_file1=./$CONFIG_SITE;;
3664 */*) ac_site_file1=$CONFIG_SITE;;
3665 *) ac_site_file1=./$CONFIG_SITE;;
3666 esac
3667 elif test "x$prefix" != xNONE; then
3668 ac_site_file1=$prefix/share/config.site
3669 ac_site_file2=$prefix/etc/config.site
3670 else
3671 ac_site_file1=$ac_default_prefix/share/config.site
3672 ac_site_file2=$ac_default_prefix/etc/config.site
3674 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3676 test "x$ac_site_file" = xNONE && continue
3677 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3679 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3680 sed 's/^/| /' "$ac_site_file" >&5
3681 . "$ac_site_file" \
3682 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3684 as_fn_error $? "failed to load site script $ac_site_file
3685 See \`config.log' for more details" "$LINENO" 5; }
3687 done
3689 if test -r "$cache_file"; then
3690 # Some versions of bash will fail to source /dev/null (special files
3691 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3692 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3694 $as_echo "$as_me: loading cache $cache_file" >&6;}
3695 case $cache_file in
3696 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3697 *) . "./$cache_file";;
3698 esac
3700 else
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3702 $as_echo "$as_me: creating cache $cache_file" >&6;}
3703 >$cache_file
3706 # Check that the precious variables saved in the cache have kept the same
3707 # value.
3708 ac_cache_corrupted=false
3709 for ac_var in $ac_precious_vars; do
3710 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3711 eval ac_new_set=\$ac_env_${ac_var}_set
3712 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3713 eval ac_new_val=\$ac_env_${ac_var}_value
3714 case $ac_old_set,$ac_new_set in
3715 set,)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3717 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3718 ac_cache_corrupted=: ;;
3719 ,set)
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3721 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3722 ac_cache_corrupted=: ;;
3723 ,);;
3725 if test "x$ac_old_val" != "x$ac_new_val"; then
3726 # differences in whitespace do not lead to failure.
3727 ac_old_val_w=`echo x $ac_old_val`
3728 ac_new_val_w=`echo x $ac_new_val`
3729 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3731 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3732 ac_cache_corrupted=:
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3735 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3736 eval $ac_var=\$ac_old_val
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3739 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3741 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3742 fi;;
3743 esac
3744 # Pass precious variables to config.status.
3745 if test "$ac_new_set" = set; then
3746 case $ac_new_val in
3747 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3748 *) ac_arg=$ac_var=$ac_new_val ;;
3749 esac
3750 case " $ac_configure_args " in
3751 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3752 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3753 esac
3755 done
3756 if $ac_cache_corrupted; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3760 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3761 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3763 ## -------------------- ##
3764 ## Main body of script. ##
3765 ## -------------------- ##
3767 ac_ext=c
3768 ac_cpp='$CPP $CPPFLAGS'
3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3775 ac_config_headers="$ac_config_headers include/config.h"
3777 ac_aux_dir=
3778 for ac_dir in tools "$srcdir"/tools; do
3779 if test -f "$ac_dir/install-sh"; then
3780 ac_aux_dir=$ac_dir
3781 ac_install_sh="$ac_aux_dir/install-sh -c"
3782 break
3783 elif test -f "$ac_dir/install.sh"; then
3784 ac_aux_dir=$ac_dir
3785 ac_install_sh="$ac_aux_dir/install.sh -c"
3786 break
3787 elif test -f "$ac_dir/shtool"; then
3788 ac_aux_dir=$ac_dir
3789 ac_install_sh="$ac_aux_dir/shtool install -c"
3790 break
3792 done
3793 if test -z "$ac_aux_dir"; then
3794 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3797 # These three variables are undocumented and unsupported,
3798 # and are intended to be withdrawn in a future Autoconf release.
3799 # They can cause serious problems if a builder's source tree is in a directory
3800 # whose full name contains unusual characters.
3801 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3802 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3803 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3807 libwine_version="1.0"
3811 # Check whether --enable-win16 was given.
3812 if test "${enable_win16+set}" = set; then :
3813 enableval=$enable_win16;
3816 # Check whether --enable-win64 was given.
3817 if test "${enable_win64+set}" = set; then :
3818 enableval=$enable_win64;
3821 # Check whether --enable-tests was given.
3822 if test "${enable_tests+set}" = set; then :
3823 enableval=$enable_tests;
3826 # Check whether --enable-maintainer-mode was given.
3827 if test "${enable_maintainer_mode+set}" = set; then :
3828 enableval=$enable_maintainer_mode;
3833 # Check whether --with-alsa was given.
3834 if test "${with_alsa+set}" = set; then :
3835 withval=$with_alsa;
3839 # Check whether --with-capi was given.
3840 if test "${with_capi+set}" = set; then :
3841 withval=$with_capi;
3845 # Check whether --with-cms was given.
3846 if test "${with_cms+set}" = set; then :
3847 withval=$with_cms;
3851 # Check whether --with-coreaudio was given.
3852 if test "${with_coreaudio+set}" = set; then :
3853 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3857 # Check whether --with-cups was given.
3858 if test "${with_cups+set}" = set; then :
3859 withval=$with_cups;
3863 # Check whether --with-curses was given.
3864 if test "${with_curses+set}" = set; then :
3865 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3869 # Check whether --with-dbus was given.
3870 if test "${with_dbus+set}" = set; then :
3871 withval=$with_dbus;
3875 # Check whether --with-faudio was given.
3876 if test "${with_faudio+set}" = set; then :
3877 withval=$with_faudio;
3881 # Check whether --with-float-abi was given.
3882 if test "${with_float_abi+set}" = set; then :
3883 withval=$with_float_abi;
3887 # Check whether --with-fontconfig was given.
3888 if test "${with_fontconfig+set}" = set; then :
3889 withval=$with_fontconfig;
3893 # Check whether --with-freetype was given.
3894 if test "${with_freetype+set}" = set; then :
3895 withval=$with_freetype;
3899 # Check whether --with-gettext was given.
3900 if test "${with_gettext+set}" = set; then :
3901 withval=$with_gettext;
3905 # Check whether --with-gettextpo was given.
3906 if test "${with_gettextpo+set}" = set; then :
3907 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3911 # Check whether --with-gphoto was given.
3912 if test "${with_gphoto+set}" = set; then :
3913 withval=$with_gphoto;
3917 # Check whether --with-glu was given.
3918 if test "${with_glu+set}" = set; then :
3919 withval=$with_glu;
3923 # Check whether --with-gnutls was given.
3924 if test "${with_gnutls+set}" = set; then :
3925 withval=$with_gnutls;
3929 # Check whether --with-gsm was given.
3930 if test "${with_gsm+set}" = set; then :
3931 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3935 # Check whether --with-gssapi was given.
3936 if test "${with_gssapi+set}" = set; then :
3937 withval=$with_gssapi;
3941 # Check whether --with-gstreamer was given.
3942 if test "${with_gstreamer+set}" = set; then :
3943 withval=$with_gstreamer;
3947 # Check whether --with-hal was given.
3948 if test "${with_hal+set}" = set; then :
3949 withval=$with_hal;
3953 # Check whether --with-inotify was given.
3954 if test "${with_inotify+set}" = set; then :
3955 withval=$with_inotify;
3959 # Check whether --with-jpeg was given.
3960 if test "${with_jpeg+set}" = set; then :
3961 withval=$with_jpeg;
3965 # Check whether --with-krb5 was given.
3966 if test "${with_krb5+set}" = set; then :
3967 withval=$with_krb5;
3971 # Check whether --with-ldap was given.
3972 if test "${with_ldap+set}" = set; then :
3973 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3977 # Check whether --with-mingw was given.
3978 if test "${with_mingw+set}" = set; then :
3979 withval=$with_mingw;
3983 # Check whether --with-mpg123 was given.
3984 if test "${with_mpg123+set}" = set; then :
3985 withval=$with_mpg123;
3989 # Check whether --with-netapi was given.
3990 if test "${with_netapi+set}" = set; then :
3991 withval=$with_netapi;
3995 # Check whether --with-openal was given.
3996 if test "${with_openal+set}" = set; then :
3997 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4001 # Check whether --with-opencl was given.
4002 if test "${with_opencl+set}" = set; then :
4003 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4007 # Check whether --with-opengl was given.
4008 if test "${with_opengl+set}" = set; then :
4009 withval=$with_opengl;
4013 # Check whether --with-osmesa was given.
4014 if test "${with_osmesa+set}" = set; then :
4015 withval=$with_osmesa;
4019 # Check whether --with-oss was given.
4020 if test "${with_oss+set}" = set; then :
4021 withval=$with_oss;
4025 # Check whether --with-pcap was given.
4026 if test "${with_pcap+set}" = set; then :
4027 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4031 # Check whether --with-png was given.
4032 if test "${with_png+set}" = set; then :
4033 withval=$with_png;
4037 # Check whether --with-pthread was given.
4038 if test "${with_pthread+set}" = set; then :
4039 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4043 # Check whether --with-pulse was given.
4044 if test "${with_pulse+set}" = set; then :
4045 withval=$with_pulse;
4049 # Check whether --with-sane was given.
4050 if test "${with_sane+set}" = set; then :
4051 withval=$with_sane;
4055 # Check whether --with-sdl was given.
4056 if test "${with_sdl+set}" = set; then :
4057 withval=$with_sdl;
4061 # Check whether --with-tiff was given.
4062 if test "${with_tiff+set}" = set; then :
4063 withval=$with_tiff;
4067 # Check whether --with-udev was given.
4068 if test "${with_udev+set}" = set; then :
4069 withval=$with_udev;
4073 # Check whether --with-v4l2 was given.
4074 if test "${with_v4l2+set}" = set; then :
4075 withval=$with_v4l2;
4079 # Check whether --with-vkd3d was given.
4080 if test "${with_vkd3d+set}" = set; then :
4081 withval=$with_vkd3d;
4085 # Check whether --with-vulkan was given.
4086 if test "${with_vulkan+set}" = set; then :
4087 withval=$with_vulkan;
4091 # Check whether --with-xcomposite was given.
4092 if test "${with_xcomposite+set}" = set; then :
4093 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4097 # Check whether --with-xcursor was given.
4098 if test "${with_xcursor+set}" = set; then :
4099 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4103 # Check whether --with-xfixes was given.
4104 if test "${with_xfixes+set}" = set; then :
4105 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4109 # Check whether --with-xinerama was given.
4110 if test "${with_xinerama+set}" = set; then :
4111 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4115 # Check whether --with-xinput was given.
4116 if test "${with_xinput+set}" = set; then :
4117 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4121 # Check whether --with-xinput2 was given.
4122 if test "${with_xinput2+set}" = set; then :
4123 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4127 # Check whether --with-xml was given.
4128 if test "${with_xml+set}" = set; then :
4129 withval=$with_xml;
4133 # Check whether --with-xrandr was given.
4134 if test "${with_xrandr+set}" = set; then :
4135 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4139 # Check whether --with-xrender was given.
4140 if test "${with_xrender+set}" = set; then :
4141 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4145 # Check whether --with-xshape was given.
4146 if test "${with_xshape+set}" = set; then :
4147 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4151 # Check whether --with-xshm was given.
4152 if test "${with_xshm+set}" = set; then :
4153 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4157 # Check whether --with-xslt was given.
4158 if test "${with_xslt+set}" = set; then :
4159 withval=$with_xslt;
4163 # Check whether --with-xxf86vm was given.
4164 if test "${with_xxf86vm+set}" = set; then :
4165 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
4169 # Check whether --with-zlib was given.
4170 if test "${with_zlib+set}" = set; then :
4171 withval=$with_zlib;
4176 # Check whether --with-wine-tools was given.
4177 if test "${with_wine_tools+set}" = set; then :
4178 withval=$with_wine_tools;
4182 # Check whether --with-wine64 was given.
4183 if test "${with_wine64+set}" = set; then :
4184 withval=$with_wine64;
4188 # Make sure we can run config.sub.
4189 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4190 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4193 $as_echo_n "checking build system type... " >&6; }
4194 if ${ac_cv_build+:} false; then :
4195 $as_echo_n "(cached) " >&6
4196 else
4197 ac_build_alias=$build_alias
4198 test "x$ac_build_alias" = x &&
4199 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4200 test "x$ac_build_alias" = x &&
4201 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4202 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4203 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4207 $as_echo "$ac_cv_build" >&6; }
4208 case $ac_cv_build in
4209 *-*-*) ;;
4210 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4211 esac
4212 build=$ac_cv_build
4213 ac_save_IFS=$IFS; IFS='-'
4214 set x $ac_cv_build
4215 shift
4216 build_cpu=$1
4217 build_vendor=$2
4218 shift; shift
4219 # Remember, the first character of IFS is used to create $*,
4220 # except with old shells:
4221 build_os=$*
4222 IFS=$ac_save_IFS
4223 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4227 $as_echo_n "checking host system type... " >&6; }
4228 if ${ac_cv_host+:} false; then :
4229 $as_echo_n "(cached) " >&6
4230 else
4231 if test "x$host_alias" = x; then
4232 ac_cv_host=$ac_cv_build
4233 else
4234 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4235 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4240 $as_echo "$ac_cv_host" >&6; }
4241 case $ac_cv_host in
4242 *-*-*) ;;
4243 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4244 esac
4245 host=$ac_cv_host
4246 ac_save_IFS=$IFS; IFS='-'
4247 set x $ac_cv_host
4248 shift
4249 host_cpu=$1
4250 host_vendor=$2
4251 shift; shift
4252 # Remember, the first character of IFS is used to create $*,
4253 # except with old shells:
4254 host_os=$*
4255 IFS=$ac_save_IFS
4256 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4260 case "$srcdir" in
4261 .) ;;
4262 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4263 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4264 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4265 fi ;;
4266 esac
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4270 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4271 set x ${MAKE-make}
4272 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4273 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4274 $as_echo_n "(cached) " >&6
4275 else
4276 cat >conftest.make <<\_ACEOF
4277 SHELL = /bin/sh
4278 all:
4279 @echo '@@@%%%=$(MAKE)=@@@%%%'
4280 _ACEOF
4281 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4282 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4283 *@@@%%%=?*=@@@%%%*)
4284 eval ac_cv_prog_make_${ac_make}_set=yes;;
4286 eval ac_cv_prog_make_${ac_make}_set=no;;
4287 esac
4288 rm -f conftest.make
4290 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4292 $as_echo "yes" >&6; }
4293 SET_MAKE=
4294 else
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4297 SET_MAKE="MAKE=${MAKE-make}"
4300 ac_ext=c
4301 ac_cpp='$CPP $CPPFLAGS'
4302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4305 if test -n "$ac_tool_prefix"; then
4306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4307 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_prog_CC+:} false; then :
4311 $as_echo_n "(cached) " >&6
4312 else
4313 if test -n "$CC"; then
4314 ac_cv_prog_CC="$CC" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4319 IFS=$as_save_IFS
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4323 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 break 2
4327 done
4328 done
4329 IFS=$as_save_IFS
4333 CC=$ac_cv_prog_CC
4334 if test -n "$CC"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4336 $as_echo "$CC" >&6; }
4337 else
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4344 if test -z "$ac_cv_prog_CC"; then
4345 ac_ct_CC=$CC
4346 # Extract the first word of "gcc", so it can be a program name with args.
4347 set dummy gcc; ac_word=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4351 $as_echo_n "(cached) " >&6
4352 else
4353 if test -n "$ac_ct_CC"; then
4354 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4355 else
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 for as_dir in $PATH
4359 IFS=$as_save_IFS
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_ac_ct_CC="gcc"
4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 break 2
4367 done
4368 done
4369 IFS=$as_save_IFS
4373 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4374 if test -n "$ac_ct_CC"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4376 $as_echo "$ac_ct_CC" >&6; }
4377 else
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4382 if test "x$ac_ct_CC" = x; then
4383 CC=""
4384 else
4385 case $cross_compiling:$ac_tool_warned in
4386 yes:)
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4389 ac_tool_warned=yes ;;
4390 esac
4391 CC=$ac_ct_CC
4393 else
4394 CC="$ac_cv_prog_CC"
4397 if test -z "$CC"; then
4398 if test -n "$ac_tool_prefix"; then
4399 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4400 set dummy ${ac_tool_prefix}cc; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_CC+:} false; then :
4404 $as_echo_n "(cached) " >&6
4405 else
4406 if test -n "$CC"; then
4407 ac_cv_prog_CC="$CC" # Let the user override the test.
4408 else
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH
4412 IFS=$as_save_IFS
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_CC="${ac_tool_prefix}cc"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 break 2
4420 done
4421 done
4422 IFS=$as_save_IFS
4426 CC=$ac_cv_prog_CC
4427 if test -n "$CC"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4429 $as_echo "$CC" >&6; }
4430 else
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4438 if test -z "$CC"; then
4439 # Extract the first word of "cc", so it can be a program name with args.
4440 set dummy cc; ac_word=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if ${ac_cv_prog_CC+:} false; then :
4444 $as_echo_n "(cached) " >&6
4445 else
4446 if test -n "$CC"; then
4447 ac_cv_prog_CC="$CC" # Let the user override the test.
4448 else
4449 ac_prog_rejected=no
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH
4453 IFS=$as_save_IFS
4454 test -z "$as_dir" && as_dir=.
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4458 ac_prog_rejected=yes
4459 continue
4461 ac_cv_prog_CC="cc"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 break 2
4465 done
4466 done
4467 IFS=$as_save_IFS
4469 if test $ac_prog_rejected = yes; then
4470 # We found a bogon in the path, so make sure we never use it.
4471 set dummy $ac_cv_prog_CC
4472 shift
4473 if test $# != 0; then
4474 # We chose a different compiler from the bogus one.
4475 # However, it has the same basename, so the bogon will be chosen
4476 # first if we set CC to just the basename; use the full file name.
4477 shift
4478 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4483 CC=$ac_cv_prog_CC
4484 if test -n "$CC"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4486 $as_echo "$CC" >&6; }
4487 else
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4494 if test -z "$CC"; then
4495 if test -n "$ac_tool_prefix"; then
4496 for ac_prog in cl.exe
4498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if ${ac_cv_prog_CC+:} false; then :
4503 $as_echo_n "(cached) " >&6
4504 else
4505 if test -n "$CC"; then
4506 ac_cv_prog_CC="$CC" # Let the user override the test.
4507 else
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH
4511 IFS=$as_save_IFS
4512 test -z "$as_dir" && as_dir=.
4513 for ac_exec_ext in '' $ac_executable_extensions; do
4514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4515 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 break 2
4519 done
4520 done
4521 IFS=$as_save_IFS
4525 CC=$ac_cv_prog_CC
4526 if test -n "$CC"; then
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4528 $as_echo "$CC" >&6; }
4529 else
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4535 test -n "$CC" && break
4536 done
4538 if test -z "$CC"; then
4539 ac_ct_CC=$CC
4540 for ac_prog in cl.exe
4542 # Extract the first word of "$ac_prog", so it can be a program name with args.
4543 set dummy $ac_prog; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 if test -n "$ac_ct_CC"; then
4550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_ac_ct_CC="$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4565 IFS=$as_save_IFS
4569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4570 if test -n "$ac_ct_CC"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4572 $as_echo "$ac_ct_CC" >&6; }
4573 else
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$ac_ct_CC" && break
4580 done
4582 if test "x$ac_ct_CC" = x; then
4583 CC=""
4584 else
4585 case $cross_compiling:$ac_tool_warned in
4586 yes:)
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4589 ac_tool_warned=yes ;;
4590 esac
4591 CC=$ac_ct_CC
4598 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4600 as_fn_error $? "no acceptable C compiler found in \$PATH
4601 See \`config.log' for more details" "$LINENO" 5; }
4603 # Provide some information about the compiler.
4604 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4605 set X $ac_compile
4606 ac_compiler=$2
4607 for ac_option in --version -v -V -qversion; do
4608 { { ac_try="$ac_compiler $ac_option >&5"
4609 case "(($ac_try" in
4610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4611 *) ac_try_echo=$ac_try;;
4612 esac
4613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4614 $as_echo "$ac_try_echo"; } >&5
4615 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4616 ac_status=$?
4617 if test -s conftest.err; then
4618 sed '10a\
4619 ... rest of stderr output deleted ...
4620 10q' conftest.err >conftest.er1
4621 cat conftest.er1 >&5
4623 rm -f conftest.er1 conftest.err
4624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4625 test $ac_status = 0; }
4626 done
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4632 main ()
4636 return 0;
4638 _ACEOF
4639 ac_clean_files_save=$ac_clean_files
4640 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4641 # Try to create an executable without -o first, disregard a.out.
4642 # It will help us diagnose broken compilers, and finding out an intuition
4643 # of exeext.
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4645 $as_echo_n "checking whether the C compiler works... " >&6; }
4646 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4648 # The possible output files:
4649 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4651 ac_rmfiles=
4652 for ac_file in $ac_files
4654 case $ac_file in
4655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4656 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4657 esac
4658 done
4659 rm -f $ac_rmfiles
4661 if { { ac_try="$ac_link_default"
4662 case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4665 esac
4666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4667 $as_echo "$ac_try_echo"; } >&5
4668 (eval "$ac_link_default") 2>&5
4669 ac_status=$?
4670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4671 test $ac_status = 0; }; then :
4672 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4673 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4674 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4675 # so that the user can short-circuit this test for compilers unknown to
4676 # Autoconf.
4677 for ac_file in $ac_files ''
4679 test -f "$ac_file" || continue
4680 case $ac_file in
4681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4683 [ab].out )
4684 # We found the default executable, but exeext='' is most
4685 # certainly right.
4686 break;;
4687 *.* )
4688 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4689 then :; else
4690 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4692 # We set ac_cv_exeext here because the later test for it is not
4693 # safe: cross compilers may not add the suffix if given an `-o'
4694 # argument, so we may need to know it at that point already.
4695 # Even if this section looks crufty: it has the advantage of
4696 # actually working.
4697 break;;
4699 break;;
4700 esac
4701 done
4702 test "$ac_cv_exeext" = no && ac_cv_exeext=
4704 else
4705 ac_file=''
4707 if test -z "$ac_file"; then :
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 $as_echo "no" >&6; }
4710 $as_echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4715 as_fn_error 77 "C compiler cannot create executables
4716 See \`config.log' for more details" "$LINENO" 5; }
4717 else
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4719 $as_echo "yes" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4722 $as_echo_n "checking for C compiler default output file name... " >&6; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4724 $as_echo "$ac_file" >&6; }
4725 ac_exeext=$ac_cv_exeext
4727 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4728 ac_clean_files=$ac_clean_files_save
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4730 $as_echo_n "checking for suffix of executables... " >&6; }
4731 if { { ac_try="$ac_link"
4732 case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4735 esac
4736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4737 $as_echo "$ac_try_echo"; } >&5
4738 (eval "$ac_link") 2>&5
4739 ac_status=$?
4740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4741 test $ac_status = 0; }; then :
4742 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4743 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4744 # work properly (i.e., refer to `conftest.exe'), while it won't with
4745 # `rm'.
4746 for ac_file in conftest.exe conftest conftest.*; do
4747 test -f "$ac_file" || continue
4748 case $ac_file in
4749 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4750 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4751 break;;
4752 * ) break;;
4753 esac
4754 done
4755 else
4756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4758 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4759 See \`config.log' for more details" "$LINENO" 5; }
4761 rm -f conftest conftest$ac_cv_exeext
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4763 $as_echo "$ac_cv_exeext" >&6; }
4765 rm -f conftest.$ac_ext
4766 EXEEXT=$ac_cv_exeext
4767 ac_exeext=$EXEEXT
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #include <stdio.h>
4772 main ()
4774 FILE *f = fopen ("conftest.out", "w");
4775 return ferror (f) || fclose (f) != 0;
4778 return 0;
4780 _ACEOF
4781 ac_clean_files="$ac_clean_files conftest.out"
4782 # Check that the compiler produces executables we can run. If not, either
4783 # the compiler is broken, or we cross compile.
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4785 $as_echo_n "checking whether we are cross compiling... " >&6; }
4786 if test "$cross_compiling" != yes; then
4787 { { ac_try="$ac_link"
4788 case "(($ac_try" in
4789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4790 *) ac_try_echo=$ac_try;;
4791 esac
4792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4793 $as_echo "$ac_try_echo"; } >&5
4794 (eval "$ac_link") 2>&5
4795 ac_status=$?
4796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4797 test $ac_status = 0; }
4798 if { ac_try='./conftest$ac_cv_exeext'
4799 { { case "(($ac_try" in
4800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4801 *) ac_try_echo=$ac_try;;
4802 esac
4803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4804 $as_echo "$ac_try_echo"; } >&5
4805 (eval "$ac_try") 2>&5
4806 ac_status=$?
4807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4808 test $ac_status = 0; }; }; then
4809 cross_compiling=no
4810 else
4811 if test "$cross_compiling" = maybe; then
4812 cross_compiling=yes
4813 else
4814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4816 as_fn_error $? "cannot run C compiled programs.
4817 If you meant to cross compile, use \`--host'.
4818 See \`config.log' for more details" "$LINENO" 5; }
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4823 $as_echo "$cross_compiling" >&6; }
4825 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4826 ac_clean_files=$ac_clean_files_save
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4828 $as_echo_n "checking for suffix of object files... " >&6; }
4829 if ${ac_cv_objext+:} false; then :
4830 $as_echo_n "(cached) " >&6
4831 else
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4836 main ()
4840 return 0;
4842 _ACEOF
4843 rm -f conftest.o conftest.obj
4844 if { { ac_try="$ac_compile"
4845 case "(($ac_try" in
4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4848 esac
4849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4850 $as_echo "$ac_try_echo"; } >&5
4851 (eval "$ac_compile") 2>&5
4852 ac_status=$?
4853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4854 test $ac_status = 0; }; then :
4855 for ac_file in conftest.o conftest.obj conftest.*; do
4856 test -f "$ac_file" || continue;
4857 case $ac_file in
4858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4859 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4860 break;;
4861 esac
4862 done
4863 else
4864 $as_echo "$as_me: failed program was:" >&5
4865 sed 's/^/| /' conftest.$ac_ext >&5
4867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4869 as_fn_error $? "cannot compute suffix of object files: cannot compile
4870 See \`config.log' for more details" "$LINENO" 5; }
4872 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4875 $as_echo "$ac_cv_objext" >&6; }
4876 OBJEXT=$ac_cv_objext
4877 ac_objext=$OBJEXT
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4879 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4880 if ${ac_cv_c_compiler_gnu+:} false; then :
4881 $as_echo_n "(cached) " >&6
4882 else
4883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4887 main ()
4889 #ifndef __GNUC__
4890 choke me
4891 #endif
4894 return 0;
4896 _ACEOF
4897 if ac_fn_c_try_compile "$LINENO"; then :
4898 ac_compiler_gnu=yes
4899 else
4900 ac_compiler_gnu=no
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4907 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4908 if test $ac_compiler_gnu = yes; then
4909 GCC=yes
4910 else
4911 GCC=
4913 ac_test_CFLAGS=${CFLAGS+set}
4914 ac_save_CFLAGS=$CFLAGS
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4916 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4917 if ${ac_cv_prog_cc_g+:} false; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 ac_save_c_werror_flag=$ac_c_werror_flag
4921 ac_c_werror_flag=yes
4922 ac_cv_prog_cc_g=no
4923 CFLAGS="-g"
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4928 main ()
4932 return 0;
4934 _ACEOF
4935 if ac_fn_c_try_compile "$LINENO"; then :
4936 ac_cv_prog_cc_g=yes
4937 else
4938 CFLAGS=""
4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4943 main ()
4947 return 0;
4949 _ACEOF
4950 if ac_fn_c_try_compile "$LINENO"; then :
4952 else
4953 ac_c_werror_flag=$ac_save_c_werror_flag
4954 CFLAGS="-g"
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4963 return 0;
4965 _ACEOF
4966 if ac_fn_c_try_compile "$LINENO"; then :
4967 ac_cv_prog_cc_g=yes
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 ac_c_werror_flag=$ac_save_c_werror_flag
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4977 $as_echo "$ac_cv_prog_cc_g" >&6; }
4978 if test "$ac_test_CFLAGS" = set; then
4979 CFLAGS=$ac_save_CFLAGS
4980 elif test $ac_cv_prog_cc_g = yes; then
4981 if test "$GCC" = yes; then
4982 CFLAGS="-g -O2"
4983 else
4984 CFLAGS="-g"
4986 else
4987 if test "$GCC" = yes; then
4988 CFLAGS="-O2"
4989 else
4990 CFLAGS=
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4994 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4995 if ${ac_cv_prog_cc_c89+:} false; then :
4996 $as_echo_n "(cached) " >&6
4997 else
4998 ac_cv_prog_cc_c89=no
4999 ac_save_CC=$CC
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5002 #include <stdarg.h>
5003 #include <stdio.h>
5004 struct stat;
5005 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5006 struct buf { int x; };
5007 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5008 static char *e (p, i)
5009 char **p;
5010 int i;
5012 return p[i];
5014 static char *f (char * (*g) (char **, int), char **p, ...)
5016 char *s;
5017 va_list v;
5018 va_start (v,p);
5019 s = g (p, va_arg (v,int));
5020 va_end (v);
5021 return s;
5024 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5025 function prototypes and stuff, but not '\xHH' hex character constants.
5026 These don't provoke an error unfortunately, instead are silently treated
5027 as 'x'. The following induces an error, until -std is added to get
5028 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5029 array size at least. It's necessary to write '\x00'==0 to get something
5030 that's true only with -std. */
5031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5033 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5034 inside strings and character constants. */
5035 #define FOO(x) 'x'
5036 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5038 int test (int i, double x);
5039 struct s1 {int (*f) (int a);};
5040 struct s2 {int (*f) (double a);};
5041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5042 int argc;
5043 char **argv;
5045 main ()
5047 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5049 return 0;
5051 _ACEOF
5052 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5053 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5055 CC="$ac_save_CC $ac_arg"
5056 if ac_fn_c_try_compile "$LINENO"; then :
5057 ac_cv_prog_cc_c89=$ac_arg
5059 rm -f core conftest.err conftest.$ac_objext
5060 test "x$ac_cv_prog_cc_c89" != "xno" && break
5061 done
5062 rm -f conftest.$ac_ext
5063 CC=$ac_save_CC
5066 # AC_CACHE_VAL
5067 case "x$ac_cv_prog_cc_c89" in
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5070 $as_echo "none needed" >&6; } ;;
5071 xno)
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5073 $as_echo "unsupported" >&6; } ;;
5075 CC="$CC $ac_cv_prog_cc_c89"
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5077 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5078 esac
5079 if test "x$ac_cv_prog_cc_c89" != xno; then :
5083 ac_ext=c
5084 ac_cpp='$CPP $CPPFLAGS'
5085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5089 ac_ext=cpp
5090 ac_cpp='$CXXCPP $CPPFLAGS'
5091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5094 if test -z "$CXX"; then
5095 if test -n "$CCC"; then
5096 CXX=$CCC
5097 else
5098 if test -n "$ac_tool_prefix"; then
5099 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if ${ac_cv_prog_CXX+:} false; then :
5106 $as_echo_n "(cached) " >&6
5107 else
5108 if test -n "$CXX"; then
5109 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5110 else
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 for as_dir in $PATH
5114 IFS=$as_save_IFS
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 break 2
5122 done
5123 done
5124 IFS=$as_save_IFS
5128 CXX=$ac_cv_prog_CXX
5129 if test -n "$CXX"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5131 $as_echo "$CXX" >&6; }
5132 else
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5138 test -n "$CXX" && break
5139 done
5141 if test -z "$CXX"; then
5142 ac_ct_CXX=$CXX
5143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy $ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_CXX"; then
5153 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_ac_ct_CXX="$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5173 if test -n "$ac_ct_CXX"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5175 $as_echo "$ac_ct_CXX" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$ac_ct_CXX" && break
5183 done
5185 if test "x$ac_ct_CXX" = x; then
5186 CXX="g++"
5187 else
5188 case $cross_compiling:$ac_tool_warned in
5189 yes:)
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5192 ac_tool_warned=yes ;;
5193 esac
5194 CXX=$ac_ct_CXX
5200 # Provide some information about the compiler.
5201 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5202 set X $ac_compile
5203 ac_compiler=$2
5204 for ac_option in --version -v -V -qversion; do
5205 { { ac_try="$ac_compiler $ac_option >&5"
5206 case "(($ac_try" in
5207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5208 *) ac_try_echo=$ac_try;;
5209 esac
5210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5211 $as_echo "$ac_try_echo"; } >&5
5212 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5213 ac_status=$?
5214 if test -s conftest.err; then
5215 sed '10a\
5216 ... rest of stderr output deleted ...
5217 10q' conftest.err >conftest.er1
5218 cat conftest.er1 >&5
5220 rm -f conftest.er1 conftest.err
5221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5222 test $ac_status = 0; }
5223 done
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5226 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5227 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5228 $as_echo_n "(cached) " >&6
5229 else
5230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5234 main ()
5236 #ifndef __GNUC__
5237 choke me
5238 #endif
5241 return 0;
5243 _ACEOF
5244 if ac_fn_cxx_try_compile "$LINENO"; then :
5245 ac_compiler_gnu=yes
5246 else
5247 ac_compiler_gnu=no
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5254 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5255 if test $ac_compiler_gnu = yes; then
5256 GXX=yes
5257 else
5258 GXX=
5260 ac_test_CXXFLAGS=${CXXFLAGS+set}
5261 ac_save_CXXFLAGS=$CXXFLAGS
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5263 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5264 if ${ac_cv_prog_cxx_g+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5268 ac_cxx_werror_flag=yes
5269 ac_cv_prog_cxx_g=no
5270 CXXFLAGS="-g"
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5275 main ()
5279 return 0;
5281 _ACEOF
5282 if ac_fn_cxx_try_compile "$LINENO"; then :
5283 ac_cv_prog_cxx_g=yes
5284 else
5285 CXXFLAGS=""
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5290 main ()
5294 return 0;
5296 _ACEOF
5297 if ac_fn_cxx_try_compile "$LINENO"; then :
5299 else
5300 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5301 CXXFLAGS="-g"
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5310 return 0;
5312 _ACEOF
5313 if ac_fn_cxx_try_compile "$LINENO"; then :
5314 ac_cv_prog_cxx_g=yes
5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5321 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5324 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5325 if test "$ac_test_CXXFLAGS" = set; then
5326 CXXFLAGS=$ac_save_CXXFLAGS
5327 elif test $ac_cv_prog_cxx_g = yes; then
5328 if test "$GXX" = yes; then
5329 CXXFLAGS="-g -O2"
5330 else
5331 CXXFLAGS="-g"
5333 else
5334 if test "$GXX" = yes; then
5335 CXXFLAGS="-O2"
5336 else
5337 CXXFLAGS=
5340 ac_ext=c
5341 ac_cpp='$CPP $CPPFLAGS'
5342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5346 if test -n "$ac_tool_prefix"; then
5347 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5348 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if ${ac_cv_prog_CPPBIN+:} false; then :
5352 $as_echo_n "(cached) " >&6
5353 else
5354 if test -n "$CPPBIN"; then
5355 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5356 else
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358 for as_dir in $PATH
5360 IFS=$as_save_IFS
5361 test -z "$as_dir" && as_dir=.
5362 for ac_exec_ext in '' $ac_executable_extensions; do
5363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5364 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 break 2
5368 done
5369 done
5370 IFS=$as_save_IFS
5374 CPPBIN=$ac_cv_prog_CPPBIN
5375 if test -n "$CPPBIN"; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5377 $as_echo "$CPPBIN" >&6; }
5378 else
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5385 if test -z "$ac_cv_prog_CPPBIN"; then
5386 ac_ct_CPPBIN=$CPPBIN
5387 # Extract the first word of "cpp", so it can be a program name with args.
5388 set dummy cpp; ac_word=$2
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5392 $as_echo_n "(cached) " >&6
5393 else
5394 if test -n "$ac_ct_CPPBIN"; then
5395 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5396 else
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_prog_ac_ct_CPPBIN="cpp"
5405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 break 2
5408 done
5409 done
5410 IFS=$as_save_IFS
5414 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5415 if test -n "$ac_ct_CPPBIN"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5417 $as_echo "$ac_ct_CPPBIN" >&6; }
5418 else
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5423 if test "x$ac_ct_CPPBIN" = x; then
5424 CPPBIN="cpp"
5425 else
5426 case $cross_compiling:$ac_tool_warned in
5427 yes:)
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5430 ac_tool_warned=yes ;;
5431 esac
5432 CPPBIN=$ac_ct_CPPBIN
5434 else
5435 CPPBIN="$ac_cv_prog_CPPBIN"
5439 cat >>confdefs.h <<_ACEOF
5440 #define EXEEXT "$ac_exeext"
5441 _ACEOF
5443 if test -n "$ac_tool_prefix"; then
5444 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5445 set dummy ${ac_tool_prefix}ld; ac_word=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if ${ac_cv_prog_LD+:} false; then :
5449 $as_echo_n "(cached) " >&6
5450 else
5451 if test -n "$LD"; then
5452 ac_cv_prog_LD="$LD" # Let the user override the test.
5453 else
5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5455 for as_dir in $PATH
5457 IFS=$as_save_IFS
5458 test -z "$as_dir" && as_dir=.
5459 for ac_exec_ext in '' $ac_executable_extensions; do
5460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5461 ac_cv_prog_LD="${ac_tool_prefix}ld"
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 break 2
5465 done
5466 done
5467 IFS=$as_save_IFS
5471 LD=$ac_cv_prog_LD
5472 if test -n "$LD"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5474 $as_echo "$LD" >&6; }
5475 else
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5482 if test -z "$ac_cv_prog_LD"; then
5483 ac_ct_LD=$LD
5484 # Extract the first word of "ld", so it can be a program name with args.
5485 set dummy ld; ac_word=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5489 $as_echo_n "(cached) " >&6
5490 else
5491 if test -n "$ac_ct_LD"; then
5492 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5493 else
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $PATH
5497 IFS=$as_save_IFS
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_prog_ac_ct_LD="ld"
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 break 2
5505 done
5506 done
5507 IFS=$as_save_IFS
5511 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5512 if test -n "$ac_ct_LD"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5514 $as_echo "$ac_ct_LD" >&6; }
5515 else
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5520 if test "x$ac_ct_LD" = x; then
5521 LD=""
5522 else
5523 case $cross_compiling:$ac_tool_warned in
5524 yes:)
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5527 ac_tool_warned=yes ;;
5528 esac
5529 LD=$ac_ct_LD
5531 else
5532 LD="$ac_cv_prog_LD"
5536 case $host in
5537 *-darwin*)
5538 with_fontconfig=${with_fontconfig:-no}
5540 *-mingw32*|*-cygwin*)
5541 enable_win16=${enable_win16:-no}
5542 with_mingw=${with_mingw:-no}
5543 CFLAGS="$CFLAGS -D_WIN32"
5545 esac
5547 case $host in
5548 x86_64*|amd64*)
5549 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5550 then
5551 CC="$CC -m32"
5552 CXX="$CXX -m32"
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5555 $as_echo_n "checking whether $CC works... " >&6; }
5556 if ${wine_cv_cc_m32+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5560 /* end confdefs.h. */
5563 main ()
5567 return 0;
5569 _ACEOF
5570 if ac_fn_c_try_link "$LINENO"; then :
5571 wine_cv_cc_m32=yes
5572 else
5573 wine_cv_cc_m32=no
5575 rm -f core conftest.err conftest.$ac_objext \
5576 conftest$ac_exeext conftest.$ac_ext
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5579 $as_echo "$wine_cv_cc_m32" >&6; }
5580 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
5581 host_cpu="i386"
5582 notice_platform="32-bit "
5583 TARGETFLAGS="-m32"
5585 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5586 export PKG_CONFIG_PATH
5587 enable_win16=${enable_win16:-yes}
5588 else
5589 if test "x${GCC}" = "xyes"
5590 then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5592 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5593 if ${wine_cv_builtin_ms_va_list+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 #include <stdarg.h>
5600 main ()
5602 void func(__builtin_ms_va_list *args);
5604 return 0;
5606 _ACEOF
5607 if ac_fn_c_try_compile "$LINENO"; then :
5608 wine_cv_builtin_ms_va_list=yes
5609 else
5610 wine_cv_builtin_ms_va_list=no
5612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5615 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5616 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
5618 CC="$CC -m64"
5619 CXX="$CXX -m64"
5620 host_cpu="x86_64"
5621 notice_platform="64-bit "
5622 TARGETFLAGS="-m64"
5626 arm*)
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5628 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5629 if ${wine_cv_thumb+:} false; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5634 int ac_test(int i) { return i; }
5636 main ()
5638 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5640 return 0;
5642 _ACEOF
5643 if ac_fn_c_try_link "$LINENO"; then :
5644 wine_cv_thumb=yes
5645 else
5646 wine_cv_thumb=no
5648 rm -f core conftest.err conftest.$ac_objext \
5649 conftest$ac_exeext conftest.$ac_ext
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5652 $as_echo "$wine_cv_thumb" >&6; }
5653 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5654 case $with_float_abi in
5655 soft|softfp|hard)
5656 float_abi=$with_float_abi ;;
5658 case $host_os in
5659 *eabihf)
5660 float_abi=hard ;;
5662 float_abi=softfp
5663 saved_CFLAGS=$CFLAGS
5664 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5666 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5667 if ${wine_cv_float_abi+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5674 main ()
5676 asm("vmrs r2,fpscr");
5678 return 0;
5680 _ACEOF
5681 if ac_fn_c_try_link "$LINENO"; then :
5682 wine_cv_float_abi=yes
5683 else
5684 wine_cv_float_abi=no
5686 rm -f core conftest.err conftest.$ac_objext \
5687 conftest$ac_exeext conftest.$ac_ext
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5690 $as_echo "$wine_cv_float_abi" >&6; }
5691 if test $wine_cv_float_abi = no
5692 then
5693 float_abi=soft
5694 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5696 CFLAGS=$saved_CFLAGS
5697 esac
5699 esac
5700 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5701 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5704 aarch64*)
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5706 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5707 if ${wine_cv_builtin_ms_va_list+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5712 #include <stdarg.h>
5714 main ()
5716 void func(__builtin_ms_va_list *args);
5718 return 0;
5720 _ACEOF
5721 if ac_fn_c_try_compile "$LINENO"; then :
5722 wine_cv_builtin_ms_va_list=yes
5723 else
5724 wine_cv_builtin_ms_va_list=no
5726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5729 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5730 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5732 i[3456789]86*)
5733 enable_win16=${enable_win16:-yes}
5735 esac
5737 enable_win16=${enable_win16:-no}
5738 enable_win64=${enable_win64:-no}
5740 enable_winetest=${enable_winetest:-$enable_tests}
5742 if test "x$enable_win64" = "xyes"
5743 then
5744 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5745 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5746 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5750 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5751 if ${wine_cv_toolsdir+:} false; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 wine_cv_toolsdir="$with_wine_tools"
5755 if test -z "$with_wine_tools"; then
5756 if test "$cross_compiling" = "yes"; then
5757 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5758 elif test -n "$with_wine64"; then
5759 wine_cv_toolsdir="$with_wine64"
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5764 $as_echo "$wine_cv_toolsdir" >&6; }
5765 if test -z "$wine_cv_toolsdir"; then
5766 wine_makedep=tools/makedep
5767 TOOLSDIR="\$(top_builddir)"
5769 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5770 wine_makedep=$wine_cv_toolsdir/tools/makedep
5771 case "$wine_cv_toolsdir" in
5772 /*) TOOLSDIR=$wine_cv_toolsdir
5774 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5776 esac
5777 enable_tools=${enable_tools:-no}
5778 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5779 else
5780 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5782 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5783 then
5784 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5788 for ac_prog in flex
5790 # Extract the first word of "$ac_prog", so it can be a program name with args.
5791 set dummy $ac_prog; ac_word=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_FLEX+:} false; then :
5795 $as_echo_n "(cached) " >&6
5796 else
5797 if test -n "$FLEX"; then
5798 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5799 else
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_FLEX="$ac_prog"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809 break 2
5811 done
5812 done
5813 IFS=$as_save_IFS
5817 FLEX=$ac_cv_prog_FLEX
5818 if test -n "$FLEX"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5820 $as_echo "$FLEX" >&6; }
5821 else
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5827 test -n "$FLEX" && break
5828 done
5829 test -n "$FLEX" || FLEX="none"
5831 if test "$FLEX" = "none"
5832 then
5833 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5836 $as_echo_n "checking whether flex is recent enough... " >&6; }
5837 if ${wine_cv_recent_flex+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 cat >conftest.l <<EOF
5841 %top{
5842 #include "prediluvian.h"
5846 if $FLEX -t conftest.l >/dev/null 2>&5
5847 then
5848 wine_cv_recent_flex=yes
5849 else
5850 wine_cv_recent_flex=no
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5854 $as_echo "$wine_cv_recent_flex" >&6; }
5855 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
5857 for ac_prog in bison
5859 # Extract the first word of "$ac_prog", so it can be a program name with args.
5860 set dummy $ac_prog; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if ${ac_cv_prog_BISON+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 if test -n "$BISON"; then
5867 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5868 else
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 for as_dir in $PATH
5872 IFS=$as_save_IFS
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5876 ac_cv_prog_BISON="$ac_prog"
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 break 2
5880 done
5881 done
5882 IFS=$as_save_IFS
5886 BISON=$ac_cv_prog_BISON
5887 if test -n "$BISON"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5889 $as_echo "$BISON" >&6; }
5890 else
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5896 test -n "$BISON" && break
5897 done
5898 test -n "$BISON" || BISON="none"
5900 if test "$BISON" = "none"
5901 then
5902 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5905 $as_echo_n "checking whether bison is recent enough... " >&6; }
5906 if ${wine_cv_recent_bison+:} false; then :
5907 $as_echo_n "(cached) " >&6
5908 else
5909 cat >conftest.y <<EOF
5910 %define parse.error verbose
5912 empty: ;
5914 if $BISON conftest.y >/dev/null 2>&5
5915 then
5916 wine_cv_recent_bison=yes
5917 else
5918 wine_cv_recent_bison=no
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5922 $as_echo "$wine_cv_recent_bison" >&6; }
5923 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
5925 if test -n "$ac_tool_prefix"; then
5926 for ac_prog in ar gar
5928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_AR+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$AR"; then
5936 ac_cv_prog_AR="$AR" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5949 done
5950 done
5951 IFS=$as_save_IFS
5955 AR=$ac_cv_prog_AR
5956 if test -n "$AR"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5958 $as_echo "$AR" >&6; }
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5965 test -n "$AR" && break
5966 done
5968 if test -z "$AR"; then
5969 ac_ct_AR=$AR
5970 for ac_prog in ar gar
5972 # Extract the first word of "$ac_prog", so it can be a program name with args.
5973 set dummy $ac_prog; ac_word=$2
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 $as_echo_n "checking for $ac_word... " >&6; }
5976 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 if test -n "$ac_ct_AR"; then
5980 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5985 IFS=$as_save_IFS
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_ac_ct_AR="$ac_prog"
5990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 break 2
5993 done
5994 done
5995 IFS=$as_save_IFS
5999 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6000 if test -n "$ac_ct_AR"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6002 $as_echo "$ac_ct_AR" >&6; }
6003 else
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6009 test -n "$ac_ct_AR" && break
6010 done
6012 if test "x$ac_ct_AR" = x; then
6013 AR="ar"
6014 else
6015 case $cross_compiling:$ac_tool_warned in
6016 yes:)
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6019 ac_tool_warned=yes ;;
6020 esac
6021 AR=$ac_ct_AR
6025 if test -n "$ac_tool_prefix"; then
6026 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6027 set dummy ${ac_tool_prefix}strip; ac_word=$2
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029 $as_echo_n "checking for $ac_word... " >&6; }
6030 if ${ac_cv_prog_STRIP+:} false; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 if test -n "$STRIP"; then
6034 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6035 else
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 for as_dir in $PATH
6039 IFS=$as_save_IFS
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 break 2
6047 done
6048 done
6049 IFS=$as_save_IFS
6053 STRIP=$ac_cv_prog_STRIP
6054 if test -n "$STRIP"; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6056 $as_echo "$STRIP" >&6; }
6057 else
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6064 if test -z "$ac_cv_prog_STRIP"; then
6065 ac_ct_STRIP=$STRIP
6066 # Extract the first word of "strip", so it can be a program name with args.
6067 set dummy strip; ac_word=$2
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 $as_echo_n "checking for $ac_word... " >&6; }
6070 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6071 $as_echo_n "(cached) " >&6
6072 else
6073 if test -n "$ac_ct_STRIP"; then
6074 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6083 ac_cv_prog_ac_ct_STRIP="strip"
6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6094 if test -n "$ac_ct_STRIP"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6096 $as_echo "$ac_ct_STRIP" >&6; }
6097 else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6102 if test "x$ac_ct_STRIP" = x; then
6103 STRIP="strip"
6104 else
6105 case $cross_compiling:$ac_tool_warned in
6106 yes:)
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6109 ac_tool_warned=yes ;;
6110 esac
6111 STRIP=$ac_ct_STRIP
6113 else
6114 STRIP="$ac_cv_prog_STRIP"
6117 if test -n "$ac_tool_prefix"; then
6118 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6119 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 $as_echo_n "checking for $ac_word... " >&6; }
6122 if ${ac_cv_prog_RANLIB+:} false; then :
6123 $as_echo_n "(cached) " >&6
6124 else
6125 if test -n "$RANLIB"; then
6126 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6127 else
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 for as_dir in $PATH
6131 IFS=$as_save_IFS
6132 test -z "$as_dir" && as_dir=.
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137 break 2
6139 done
6140 done
6141 IFS=$as_save_IFS
6145 RANLIB=$ac_cv_prog_RANLIB
6146 if test -n "$RANLIB"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6148 $as_echo "$RANLIB" >&6; }
6149 else
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 $as_echo "no" >&6; }
6156 if test -z "$ac_cv_prog_RANLIB"; then
6157 ac_ct_RANLIB=$RANLIB
6158 # Extract the first word of "ranlib", so it can be a program name with args.
6159 set dummy ranlib; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 $as_echo_n "checking for $ac_word... " >&6; }
6162 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6163 $as_echo_n "(cached) " >&6
6164 else
6165 if test -n "$ac_ct_RANLIB"; then
6166 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6167 else
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH
6171 IFS=$as_save_IFS
6172 test -z "$as_dir" && as_dir=.
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6175 ac_cv_prog_ac_ct_RANLIB="ranlib"
6176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177 break 2
6179 done
6180 done
6181 IFS=$as_save_IFS
6185 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6186 if test -n "$ac_ct_RANLIB"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6188 $as_echo "$ac_ct_RANLIB" >&6; }
6189 else
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6194 if test "x$ac_ct_RANLIB" = x; then
6195 RANLIB=":"
6196 else
6197 case $cross_compiling:$ac_tool_warned in
6198 yes:)
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6201 ac_tool_warned=yes ;;
6202 esac
6203 RANLIB=$ac_ct_RANLIB
6205 else
6206 RANLIB="$ac_cv_prog_RANLIB"
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6210 $as_echo_n "checking whether ln -s works... " >&6; }
6211 LN_S=$as_ln_s
6212 if test "$LN_S" = "ln -s"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6214 $as_echo "yes" >&6; }
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6217 $as_echo "no, using $LN_S" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6221 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6222 if ${ac_cv_path_GREP+:} false; then :
6223 $as_echo_n "(cached) " >&6
6224 else
6225 if test -z "$GREP"; then
6226 ac_path_GREP_found=false
6227 # Loop through the user's path and test for each of PROGNAME-LIST
6228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6231 IFS=$as_save_IFS
6232 test -z "$as_dir" && as_dir=.
6233 for ac_prog in grep ggrep; do
6234 for ac_exec_ext in '' $ac_executable_extensions; do
6235 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6236 as_fn_executable_p "$ac_path_GREP" || continue
6237 # Check for GNU ac_path_GREP and select it if it is found.
6238 # Check for GNU $ac_path_GREP
6239 case `"$ac_path_GREP" --version 2>&1` in
6240 *GNU*)
6241 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6243 ac_count=0
6244 $as_echo_n 0123456789 >"conftest.in"
6245 while :
6247 cat "conftest.in" "conftest.in" >"conftest.tmp"
6248 mv "conftest.tmp" "conftest.in"
6249 cp "conftest.in" "conftest.nl"
6250 $as_echo 'GREP' >> "conftest.nl"
6251 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6252 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6253 as_fn_arith $ac_count + 1 && ac_count=$as_val
6254 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6255 # Best one so far, save it but keep looking for a better one
6256 ac_cv_path_GREP="$ac_path_GREP"
6257 ac_path_GREP_max=$ac_count
6259 # 10*(2^10) chars as input seems more than enough
6260 test $ac_count -gt 10 && break
6261 done
6262 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6263 esac
6265 $ac_path_GREP_found && break 3
6266 done
6267 done
6268 done
6269 IFS=$as_save_IFS
6270 if test -z "$ac_cv_path_GREP"; then
6271 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6273 else
6274 ac_cv_path_GREP=$GREP
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6279 $as_echo "$ac_cv_path_GREP" >&6; }
6280 GREP="$ac_cv_path_GREP"
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6284 $as_echo_n "checking for egrep... " >&6; }
6285 if ${ac_cv_path_EGREP+:} false; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6289 then ac_cv_path_EGREP="$GREP -E"
6290 else
6291 if test -z "$EGREP"; then
6292 ac_path_EGREP_found=false
6293 # Loop through the user's path and test for each of PROGNAME-LIST
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6297 IFS=$as_save_IFS
6298 test -z "$as_dir" && as_dir=.
6299 for ac_prog in egrep; do
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6302 as_fn_executable_p "$ac_path_EGREP" || continue
6303 # Check for GNU ac_path_EGREP and select it if it is found.
6304 # Check for GNU $ac_path_EGREP
6305 case `"$ac_path_EGREP" --version 2>&1` in
6306 *GNU*)
6307 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6309 ac_count=0
6310 $as_echo_n 0123456789 >"conftest.in"
6311 while :
6313 cat "conftest.in" "conftest.in" >"conftest.tmp"
6314 mv "conftest.tmp" "conftest.in"
6315 cp "conftest.in" "conftest.nl"
6316 $as_echo 'EGREP' >> "conftest.nl"
6317 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6318 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6319 as_fn_arith $ac_count + 1 && ac_count=$as_val
6320 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6321 # Best one so far, save it but keep looking for a better one
6322 ac_cv_path_EGREP="$ac_path_EGREP"
6323 ac_path_EGREP_max=$ac_count
6325 # 10*(2^10) chars as input seems more than enough
6326 test $ac_count -gt 10 && break
6327 done
6328 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6329 esac
6331 $ac_path_EGREP_found && break 3
6332 done
6333 done
6334 done
6335 IFS=$as_save_IFS
6336 if test -z "$ac_cv_path_EGREP"; then
6337 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6339 else
6340 ac_cv_path_EGREP=$EGREP
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6346 $as_echo "$ac_cv_path_EGREP" >&6; }
6347 EGREP="$ac_cv_path_EGREP"
6350 # Extract the first word of "ldconfig", so it can be a program name with args.
6351 set dummy ldconfig; ac_word=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6353 $as_echo_n "checking for $ac_word... " >&6; }
6354 if ${ac_cv_path_LDCONFIG+:} false; then :
6355 $as_echo_n "(cached) " >&6
6356 else
6357 case $LDCONFIG in
6358 [\\/]* | ?:[\\/]*)
6359 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 for as_dir in /sbin /usr/sbin $PATH
6365 IFS=$as_save_IFS
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371 break 2
6373 done
6374 done
6375 IFS=$as_save_IFS
6377 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6379 esac
6381 LDCONFIG=$ac_cv_path_LDCONFIG
6382 if test -n "$LDCONFIG"; then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6384 $as_echo "$LDCONFIG" >&6; }
6385 else
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387 $as_echo "no" >&6; }
6391 for ac_prog in msgfmt
6393 # Extract the first word of "$ac_prog", so it can be a program name with args.
6394 set dummy $ac_prog; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_MSGFMT+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 if test -n "$MSGFMT"; then
6401 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_prog_MSGFMT="$ac_prog"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 break 2
6414 done
6415 done
6416 IFS=$as_save_IFS
6420 MSGFMT=$ac_cv_prog_MSGFMT
6421 if test -n "$MSGFMT"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6423 $as_echo "$MSGFMT" >&6; }
6424 else
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6430 test -n "$MSGFMT" && break
6431 done
6432 test -n "$MSGFMT" || MSGFMT="false"
6434 if ${ac_tool_prefix+:} false; then :
6435 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6436 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6438 $as_echo_n "checking for $ac_word... " >&6; }
6439 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6440 $as_echo_n "(cached) " >&6
6441 else
6442 if test -n "$PKG_CONFIG"; then
6443 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6444 else
6445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 for as_dir in $PATH
6448 IFS=$as_save_IFS
6449 test -z "$as_dir" && as_dir=.
6450 for ac_exec_ext in '' $ac_executable_extensions; do
6451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6452 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454 break 2
6456 done
6457 done
6458 IFS=$as_save_IFS
6462 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6463 if test -n "$PKG_CONFIG"; then
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6465 $as_echo "$PKG_CONFIG" >&6; }
6466 else
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6468 $as_echo "no" >&6; }
6473 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6474 if test "x$cross_compiling" = xyes; then :
6476 else
6477 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6478 # Extract the first word of "pkg-config", so it can be a program name with args.
6479 set dummy pkg-config; ac_word=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6481 $as_echo_n "checking for $ac_word... " >&6; }
6482 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6483 $as_echo_n "(cached) " >&6
6484 else
6485 if test -n "$PKG_CONFIG"; then
6486 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6487 else
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489 for as_dir in $PATH
6491 IFS=$as_save_IFS
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6495 ac_cv_prog_PKG_CONFIG="pkg-config"
6496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497 break 2
6499 done
6500 done
6501 IFS=$as_save_IFS
6505 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6506 if test -n "$PKG_CONFIG"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6508 $as_echo "$PKG_CONFIG" >&6; }
6509 else
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 $as_echo "no" >&6; }
6516 else
6517 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6520 if test "x$enable_maintainer_mode" != "xyes"
6521 then
6522 FONTFORGE=""
6523 RSVG=""
6524 CONVERT=""
6525 ICOTOOL=""
6526 else
6527 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6528 for ac_prog in fontforge
6530 # Extract the first word of "$ac_prog", so it can be a program name with args.
6531 set dummy $ac_prog; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if ${ac_cv_prog_FONTFORGE+:} false; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$FONTFORGE"; then
6538 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6547 ac_cv_prog_FONTFORGE="$ac_prog"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6551 done
6552 done
6553 IFS=$as_save_IFS
6557 FONTFORGE=$ac_cv_prog_FONTFORGE
6558 if test -n "$FONTFORGE"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6560 $as_echo "$FONTFORGE" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6567 test -n "$FONTFORGE" && break
6568 done
6569 test -n "$FONTFORGE" || FONTFORGE="false"
6571 for ac_prog in rsvg-convert rsvg
6573 # Extract the first word of "$ac_prog", so it can be a program name with args.
6574 set dummy $ac_prog; ac_word=$2
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 $as_echo_n "checking for $ac_word... " >&6; }
6577 if ${ac_cv_prog_RSVG+:} false; then :
6578 $as_echo_n "(cached) " >&6
6579 else
6580 if test -n "$RSVG"; then
6581 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6582 else
6583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 for as_dir in $PATH
6586 IFS=$as_save_IFS
6587 test -z "$as_dir" && as_dir=.
6588 for ac_exec_ext in '' $ac_executable_extensions; do
6589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6590 ac_cv_prog_RSVG="$ac_prog"
6591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6592 break 2
6594 done
6595 done
6596 IFS=$as_save_IFS
6600 RSVG=$ac_cv_prog_RSVG
6601 if test -n "$RSVG"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6603 $as_echo "$RSVG" >&6; }
6604 else
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606 $as_echo "no" >&6; }
6610 test -n "$RSVG" && break
6611 done
6612 test -n "$RSVG" || RSVG="false"
6614 for ac_prog in convert
6616 # Extract the first word of "$ac_prog", so it can be a program name with args.
6617 set dummy $ac_prog; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if ${ac_cv_prog_CONVERT+:} false; then :
6621 $as_echo_n "(cached) " >&6
6622 else
6623 if test -n "$CONVERT"; then
6624 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6625 else
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 for as_dir in $PATH
6629 IFS=$as_save_IFS
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_CONVERT="$ac_prog"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 break 2
6637 done
6638 done
6639 IFS=$as_save_IFS
6643 CONVERT=$ac_cv_prog_CONVERT
6644 if test -n "$CONVERT"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6646 $as_echo "$CONVERT" >&6; }
6647 else
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6653 test -n "$CONVERT" && break
6654 done
6655 test -n "$CONVERT" || CONVERT="false"
6657 for ac_prog in icotool
6659 # Extract the first word of "$ac_prog", so it can be a program name with args.
6660 set dummy $ac_prog; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if ${ac_cv_prog_ICOTOOL+:} false; then :
6664 $as_echo_n "(cached) " >&6
6665 else
6666 if test -n "$ICOTOOL"; then
6667 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6668 else
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 for as_dir in $PATH
6672 IFS=$as_save_IFS
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6676 ac_cv_prog_ICOTOOL="$ac_prog"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 break 2
6680 done
6681 done
6682 IFS=$as_save_IFS
6686 ICOTOOL=$ac_cv_prog_ICOTOOL
6687 if test -n "$ICOTOOL"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6689 $as_echo "$ICOTOOL" >&6; }
6690 else
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6696 test -n "$ICOTOOL" && break
6697 done
6698 test -n "$ICOTOOL" || ICOTOOL="false"
6700 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6701 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6703 if test "$CONVERT" = false
6704 then
6705 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6706 else
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6708 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6709 convert_version=`convert --version | head -n1`
6710 if test "x$convert_version" != "x"
6711 then
6712 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6713 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6714 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6715 then
6716 CONVERT=false
6719 if test "$CONVERT" = false
6720 then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6722 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6723 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6724 else
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6726 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6730 if test "$ICOTOOL" = false
6731 then
6732 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6733 else
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6735 $as_echo_n "checking for recent enough icotool... " >&6; }
6736 icotool_version=`icotool --version | head -n1`
6737 if test "x$icotool_version" != "x"
6738 then
6739 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6740 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6741 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6742 then
6743 ICOTOOL=false
6744 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6747 if test "$ICOTOOL" = false
6748 then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6750 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6751 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6754 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6758 with_gettext=yes
6759 with_gettextpo=yes
6762 test "x$with_gettext" != xno || MSGFMT=false
6763 if test "$MSGFMT" != "false"
6764 then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6766 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6767 if ${wine_cv_msgfmt_contexts+:} false; then :
6768 $as_echo_n "(cached) " >&6
6769 else
6770 cat >conftest.po <<EOF
6771 # comment
6772 msgctxt "ctxt"
6773 msgid "id"
6774 msgstr "str"
6776 if $MSGFMT -o /dev/null conftest.po 2>&5
6777 then
6778 wine_cv_msgfmt_contexts=yes
6779 else
6780 wine_cv_msgfmt_contexts=no
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6784 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6785 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6787 if test "$MSGFMT" = false; then :
6788 case "x$with_gettext" in
6789 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6790 xno) ;;
6791 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6792 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6793 esac
6794 enable_po=${enable_po:-no}
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6799 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6800 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6801 $as_echo_n "(cached) " >&6
6802 else
6803 ac_check_lib_save_LIBS=$LIBS
6804 LIBS="-li386 $LIBS"
6805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h. */
6808 /* Override any GCC internal prototype to avoid an error.
6809 Use char because int might match the return type of a GCC
6810 builtin and then its argument prototype would still apply. */
6811 #ifdef __cplusplus
6812 extern "C"
6813 #endif
6814 char i386_set_ldt ();
6816 main ()
6818 return i386_set_ldt ();
6820 return 0;
6822 _ACEOF
6823 if ac_fn_c_try_link "$LINENO"; then :
6824 ac_cv_lib_i386_i386_set_ldt=yes
6825 else
6826 ac_cv_lib_i386_i386_set_ldt=no
6828 rm -f core conftest.err conftest.$ac_objext \
6829 conftest$ac_exeext conftest.$ac_ext
6830 LIBS=$ac_check_lib_save_LIBS
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6833 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6834 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_LIBI386 1
6837 _ACEOF
6839 LIBS="-li386 $LIBS"
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6844 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6845 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847 else
6848 ac_check_lib_save_LIBS=$LIBS
6849 LIBS="-lossaudio $LIBS"
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6853 /* Override any GCC internal prototype to avoid an error.
6854 Use char because int might match the return type of a GCC
6855 builtin and then its argument prototype would still apply. */
6856 #ifdef __cplusplus
6857 extern "C"
6858 #endif
6859 char _oss_ioctl ();
6861 main ()
6863 return _oss_ioctl ();
6865 return 0;
6867 _ACEOF
6868 if ac_fn_c_try_link "$LINENO"; then :
6869 ac_cv_lib_ossaudio__oss_ioctl=yes
6870 else
6871 ac_cv_lib_ossaudio__oss_ioctl=no
6873 rm -f core conftest.err conftest.$ac_objext \
6874 conftest$ac_exeext conftest.$ac_ext
6875 LIBS=$ac_check_lib_save_LIBS
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6878 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6879 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6880 cat >>confdefs.h <<_ACEOF
6881 #define HAVE_LIBOSSAUDIO 1
6882 _ACEOF
6884 LIBS="-lossaudio $LIBS"
6889 OPENGL_LIBS=""
6893 # Check whether --enable-largefile was given.
6894 if test "${enable_largefile+set}" = set; then :
6895 enableval=$enable_largefile;
6898 if test "$enable_largefile" != no; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6901 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6902 if ${ac_cv_sys_largefile_CC+:} false; then :
6903 $as_echo_n "(cached) " >&6
6904 else
6905 ac_cv_sys_largefile_CC=no
6906 if test "$GCC" != yes; then
6907 ac_save_CC=$CC
6908 while :; do
6909 # IRIX 6.2 and later do not support large files by default,
6910 # so use the C compiler's -n32 option if that helps.
6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6913 #include <sys/types.h>
6914 /* Check that off_t can represent 2**63 - 1 correctly.
6915 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6916 since some C++ compilers masquerading as C compilers
6917 incorrectly reject 9223372036854775807. */
6918 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6919 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6920 && LARGE_OFF_T % 2147483647 == 1)
6921 ? 1 : -1];
6923 main ()
6927 return 0;
6929 _ACEOF
6930 if ac_fn_c_try_compile "$LINENO"; then :
6931 break
6933 rm -f core conftest.err conftest.$ac_objext
6934 CC="$CC -n32"
6935 if ac_fn_c_try_compile "$LINENO"; then :
6936 ac_cv_sys_largefile_CC=' -n32'; break
6938 rm -f core conftest.err conftest.$ac_objext
6939 break
6940 done
6941 CC=$ac_save_CC
6942 rm -f conftest.$ac_ext
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6946 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6947 if test "$ac_cv_sys_largefile_CC" != no; then
6948 CC=$CC$ac_cv_sys_largefile_CC
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6952 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6953 if ${ac_cv_sys_file_offset_bits+:} false; then :
6954 $as_echo_n "(cached) " >&6
6955 else
6956 while :; do
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #include <sys/types.h>
6960 /* Check that off_t can represent 2**63 - 1 correctly.
6961 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6962 since some C++ compilers masquerading as C compilers
6963 incorrectly reject 9223372036854775807. */
6964 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6965 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6966 && LARGE_OFF_T % 2147483647 == 1)
6967 ? 1 : -1];
6969 main ()
6973 return 0;
6975 _ACEOF
6976 if ac_fn_c_try_compile "$LINENO"; then :
6977 ac_cv_sys_file_offset_bits=no; break
6979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6982 #define _FILE_OFFSET_BITS 64
6983 #include <sys/types.h>
6984 /* Check that off_t can represent 2**63 - 1 correctly.
6985 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6986 since some C++ compilers masquerading as C compilers
6987 incorrectly reject 9223372036854775807. */
6988 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6989 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6990 && LARGE_OFF_T % 2147483647 == 1)
6991 ? 1 : -1];
6993 main ()
6997 return 0;
6999 _ACEOF
7000 if ac_fn_c_try_compile "$LINENO"; then :
7001 ac_cv_sys_file_offset_bits=64; break
7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004 ac_cv_sys_file_offset_bits=unknown
7005 break
7006 done
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7009 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7010 case $ac_cv_sys_file_offset_bits in #(
7011 no | unknown) ;;
7013 cat >>confdefs.h <<_ACEOF
7014 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7015 _ACEOF
7017 esac
7018 rm -rf conftest*
7019 if test $ac_cv_sys_file_offset_bits = unknown; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7021 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7022 if ${ac_cv_sys_large_files+:} false; then :
7023 $as_echo_n "(cached) " >&6
7024 else
7025 while :; do
7026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 /* end confdefs.h. */
7028 #include <sys/types.h>
7029 /* Check that off_t can represent 2**63 - 1 correctly.
7030 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7031 since some C++ compilers masquerading as C compilers
7032 incorrectly reject 9223372036854775807. */
7033 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7034 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7035 && LARGE_OFF_T % 2147483647 == 1)
7036 ? 1 : -1];
7038 main ()
7042 return 0;
7044 _ACEOF
7045 if ac_fn_c_try_compile "$LINENO"; then :
7046 ac_cv_sys_large_files=no; break
7048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7051 #define _LARGE_FILES 1
7052 #include <sys/types.h>
7053 /* Check that off_t can represent 2**63 - 1 correctly.
7054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7055 since some C++ compilers masquerading as C compilers
7056 incorrectly reject 9223372036854775807. */
7057 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7059 && LARGE_OFF_T % 2147483647 == 1)
7060 ? 1 : -1];
7062 main ()
7066 return 0;
7068 _ACEOF
7069 if ac_fn_c_try_compile "$LINENO"; then :
7070 ac_cv_sys_large_files=1; break
7072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7073 ac_cv_sys_large_files=unknown
7074 break
7075 done
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7078 $as_echo "$ac_cv_sys_large_files" >&6; }
7079 case $ac_cv_sys_large_files in #(
7080 no | unknown) ;;
7082 cat >>confdefs.h <<_ACEOF
7083 #define _LARGE_FILES $ac_cv_sys_large_files
7084 _ACEOF
7086 esac
7087 rm -rf conftest*
7094 ac_ext=c
7095 ac_cpp='$CPP $CPPFLAGS'
7096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7100 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7101 # On Suns, sometimes $CPP names a directory.
7102 if test -n "$CPP" && test -d "$CPP"; then
7103 CPP=
7105 if test -z "$CPP"; then
7106 if ${ac_cv_prog_CPP+:} false; then :
7107 $as_echo_n "(cached) " >&6
7108 else
7109 # Double quotes because CPP needs to be expanded
7110 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7112 ac_preproc_ok=false
7113 for ac_c_preproc_warn_flag in '' yes
7115 # Use a header file that comes with gcc, so configuring glibc
7116 # with a fresh cross-compiler works.
7117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7118 # <limits.h> exists even on freestanding compilers.
7119 # On the NeXT, cc -E runs the code through the compiler's parser,
7120 # not just through cpp. "Syntax error" is here to catch this case.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #ifdef __STDC__
7124 # include <limits.h>
7125 #else
7126 # include <assert.h>
7127 #endif
7128 Syntax error
7129 _ACEOF
7130 if ac_fn_c_try_cpp "$LINENO"; then :
7132 else
7133 # Broken: fails on valid input.
7134 continue
7136 rm -f conftest.err conftest.i conftest.$ac_ext
7138 # OK, works on sane cases. Now check whether nonexistent headers
7139 # can be detected and how.
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7142 #include <ac_nonexistent.h>
7143 _ACEOF
7144 if ac_fn_c_try_cpp "$LINENO"; then :
7145 # Broken: success on invalid input.
7146 continue
7147 else
7148 # Passes both tests.
7149 ac_preproc_ok=:
7150 break
7152 rm -f conftest.err conftest.i conftest.$ac_ext
7154 done
7155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7156 rm -f conftest.i conftest.err conftest.$ac_ext
7157 if $ac_preproc_ok; then :
7158 break
7161 done
7162 ac_cv_prog_CPP=$CPP
7165 CPP=$ac_cv_prog_CPP
7166 else
7167 ac_cv_prog_CPP=$CPP
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7170 $as_echo "$CPP" >&6; }
7171 ac_preproc_ok=false
7172 for ac_c_preproc_warn_flag in '' yes
7174 # Use a header file that comes with gcc, so configuring glibc
7175 # with a fresh cross-compiler works.
7176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7177 # <limits.h> exists even on freestanding compilers.
7178 # On the NeXT, cc -E runs the code through the compiler's parser,
7179 # not just through cpp. "Syntax error" is here to catch this case.
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #ifdef __STDC__
7183 # include <limits.h>
7184 #else
7185 # include <assert.h>
7186 #endif
7187 Syntax error
7188 _ACEOF
7189 if ac_fn_c_try_cpp "$LINENO"; then :
7191 else
7192 # Broken: fails on valid input.
7193 continue
7195 rm -f conftest.err conftest.i conftest.$ac_ext
7197 # OK, works on sane cases. Now check whether nonexistent headers
7198 # can be detected and how.
7199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7201 #include <ac_nonexistent.h>
7202 _ACEOF
7203 if ac_fn_c_try_cpp "$LINENO"; then :
7204 # Broken: success on invalid input.
7205 continue
7206 else
7207 # Passes both tests.
7208 ac_preproc_ok=:
7209 break
7211 rm -f conftest.err conftest.i conftest.$ac_ext
7213 done
7214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7215 rm -f conftest.i conftest.err conftest.$ac_ext
7216 if $ac_preproc_ok; then :
7218 else
7219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7221 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7222 See \`config.log' for more details" "$LINENO" 5; }
7225 ac_ext=c
7226 ac_cpp='$CPP $CPPFLAGS'
7227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7233 $as_echo_n "checking for ANSI C header files... " >&6; }
7234 if ${ac_cv_header_stdc+:} false; then :
7235 $as_echo_n "(cached) " >&6
7236 else
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7239 #include <stdlib.h>
7240 #include <stdarg.h>
7241 #include <string.h>
7242 #include <float.h>
7245 main ()
7249 return 0;
7251 _ACEOF
7252 if ac_fn_c_try_compile "$LINENO"; then :
7253 ac_cv_header_stdc=yes
7254 else
7255 ac_cv_header_stdc=no
7257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7259 if test $ac_cv_header_stdc = yes; then
7260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <string.h>
7265 _ACEOF
7266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7267 $EGREP "memchr" >/dev/null 2>&1; then :
7269 else
7270 ac_cv_header_stdc=no
7272 rm -f conftest*
7276 if test $ac_cv_header_stdc = yes; then
7277 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7280 #include <stdlib.h>
7282 _ACEOF
7283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7284 $EGREP "free" >/dev/null 2>&1; then :
7286 else
7287 ac_cv_header_stdc=no
7289 rm -f conftest*
7293 if test $ac_cv_header_stdc = yes; then
7294 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7295 if test "$cross_compiling" = yes; then :
7297 else
7298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7300 #include <ctype.h>
7301 #include <stdlib.h>
7302 #if ((' ' & 0x0FF) == 0x020)
7303 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7304 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7305 #else
7306 # define ISLOWER(c) \
7307 (('a' <= (c) && (c) <= 'i') \
7308 || ('j' <= (c) && (c) <= 'r') \
7309 || ('s' <= (c) && (c) <= 'z'))
7310 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7311 #endif
7313 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7315 main ()
7317 int i;
7318 for (i = 0; i < 256; i++)
7319 if (XOR (islower (i), ISLOWER (i))
7320 || toupper (i) != TOUPPER (i))
7321 return 2;
7322 return 0;
7324 _ACEOF
7325 if ac_fn_c_try_run "$LINENO"; then :
7327 else
7328 ac_cv_header_stdc=no
7330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7331 conftest.$ac_objext conftest.beam conftest.$ac_ext
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7337 $as_echo "$ac_cv_header_stdc" >&6; }
7338 if test $ac_cv_header_stdc = yes; then
7340 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7344 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7345 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7346 inttypes.h stdint.h unistd.h
7347 do :
7348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7351 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7352 cat >>confdefs.h <<_ACEOF
7353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7354 _ACEOF
7358 done
7361 for ac_header in \
7362 AL/al.h \
7363 ApplicationServices/ApplicationServices.h \
7364 AudioToolbox/AudioConverter.h \
7365 AudioUnit/AudioUnit.h \
7366 AudioUnit/AudioComponent.h \
7367 CL/cl.h \
7368 Carbon/Carbon.h \
7369 CommonCrypto/CommonCryptor.h \
7370 CoreAudio/CoreAudio.h \
7371 CoreServices/CoreServices.h \
7372 DiskArbitration/DiskArbitration.h \
7373 EGL/egl.h \
7374 IOKit/IOKitLib.h \
7375 IOKit/hid/IOHIDLib.h \
7376 OpenAL/al.h \
7377 OpenCL/opencl.h \
7378 QuickTime/ImageCompression.h \
7379 Security/Security.h \
7380 alias.h \
7381 arpa/inet.h \
7382 arpa/nameser.h \
7383 asm/types.h \
7384 asm/user.h \
7385 curses.h \
7386 dirent.h \
7387 dlfcn.h \
7388 elf.h \
7389 float.h \
7390 fnmatch.h \
7391 getopt.h \
7392 gettext-po.h \
7393 grp.h \
7394 gsm.h \
7395 gsm/gsm.h \
7396 ieeefp.h \
7397 inet/mib2.h \
7398 kstat.h \
7399 libproc.h \
7400 link.h \
7401 linux/cdrom.h \
7402 linux/compiler.h \
7403 linux/filter.h \
7404 linux/hdreg.h \
7405 linux/hidraw.h \
7406 linux/input.h \
7407 linux/ioctl.h \
7408 linux/joystick.h \
7409 linux/major.h \
7410 linux/param.h \
7411 linux/serial.h \
7412 linux/types.h \
7413 linux/ucdrom.h \
7414 lwp.h \
7415 mach-o/nlist.h \
7416 mach-o/loader.h \
7417 mach/mach.h \
7418 mach/machine.h \
7419 machine/cpu.h \
7420 machine/limits.h \
7421 machine/sysarch.h \
7422 mntent.h \
7423 ncurses.h \
7424 netdb.h \
7425 netinet/in.h \
7426 netinet/in_systm.h \
7427 netinet/tcp.h \
7428 netinet/tcp_fsm.h \
7429 pcap/pcap.h \
7430 poll.h \
7431 port.h \
7432 pthread.h \
7433 pwd.h \
7434 sched.h \
7435 scsi/scsi.h \
7436 scsi/scsi_ioctl.h \
7437 scsi/sg.h \
7438 stdbool.h \
7439 stdint.h \
7440 stropts.h \
7441 sys/attr.h \
7442 sys/auxv.h \
7443 sys/cdio.h \
7444 sys/elf32.h \
7445 sys/epoll.h \
7446 sys/event.h \
7447 sys/exec_elf.h \
7448 sys/filio.h \
7449 sys/ioctl.h \
7450 sys/ipc.h \
7451 sys/limits.h \
7452 sys/link.h \
7453 sys/mman.h \
7454 sys/modem.h \
7455 sys/msg.h \
7456 sys/mtio.h \
7457 sys/param.h \
7458 sys/poll.h \
7459 sys/prctl.h \
7460 sys/protosw.h \
7461 sys/ptrace.h \
7462 sys/queue.h \
7463 sys/resource.h \
7464 sys/scsiio.h \
7465 sys/shm.h \
7466 sys/signal.h \
7467 sys/socket.h \
7468 sys/socketvar.h \
7469 sys/sockio.h \
7470 sys/statvfs.h \
7471 sys/strtio.h \
7472 sys/syscall.h \
7473 sys/sysinfo.h \
7474 sys/tihdr.h \
7475 sys/time.h \
7476 sys/timeout.h \
7477 sys/times.h \
7478 sys/uio.h \
7479 sys/user.h \
7480 sys/utsname.h \
7481 sys/vnode.h \
7482 sys/wait.h \
7483 syscall.h \
7484 termios.h \
7485 unistd.h \
7486 utime.h \
7487 valgrind/memcheck.h \
7488 valgrind/valgrind.h
7490 do :
7491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7492 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7494 cat >>confdefs.h <<_ACEOF
7495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7496 _ACEOF
7500 done
7502 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7503 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7505 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7510 if test $ac_cv_header_sys_mkdev_h = no; then
7511 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7512 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7514 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7521 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7522 if ${ac_cv_header_stat_broken+:} false; then :
7523 $as_echo_n "(cached) " >&6
7524 else
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7527 #include <sys/types.h>
7528 #include <sys/stat.h>
7530 #if defined S_ISBLK && defined S_IFDIR
7531 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7532 #endif
7534 #if defined S_ISBLK && defined S_IFCHR
7535 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7536 #endif
7538 #if defined S_ISLNK && defined S_IFREG
7539 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7540 #endif
7542 #if defined S_ISSOCK && defined S_IFREG
7543 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7544 #endif
7546 _ACEOF
7547 if ac_fn_c_try_compile "$LINENO"; then :
7548 ac_cv_header_stat_broken=no
7549 else
7550 ac_cv_header_stat_broken=yes
7552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7555 $as_echo "$ac_cv_header_stat_broken" >&6; }
7556 if test $ac_cv_header_stat_broken = yes; then
7558 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7564 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7565 do :
7566 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7568 #ifdef HAVE_SYS_PARAM_H
7569 # include <sys/param.h>
7570 #endif
7572 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7573 cat >>confdefs.h <<_ACEOF
7574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7575 _ACEOF
7579 done
7582 for ac_header in \
7583 netinet/ip.h \
7584 net/if.h \
7585 net/if_arp.h \
7586 net/if_dl.h \
7587 net/if_types.h \
7588 net/route.h \
7589 netinet/if_ether.h \
7590 netinet/if_inarp.h \
7591 netinet/in_pcb.h \
7592 netinet/ip_icmp.h \
7593 netinet/ip_var.h \
7594 netinet/udp.h \
7595 netipx/ipx.h \
7596 sys/un.h \
7598 do :
7599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7600 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7601 #ifdef HAVE_SYS_SOCKET_H
7602 # include <sys/socket.h>
7603 #endif
7604 #ifdef HAVE_SYS_SOCKETVAR_H
7605 # include <sys/socketvar.h>
7606 #endif
7607 #ifdef HAVE_NET_ROUTE_H
7608 # include <net/route.h>
7609 #endif
7610 #ifdef HAVE_NETINET_IN_H
7611 # include <netinet/in.h>
7612 #endif
7613 #ifdef HAVE_NETINET_IN_SYSTM_H
7614 # include <netinet/in_systm.h>
7615 #endif
7616 #ifdef HAVE_NET_IF_H
7617 # include <net/if.h>
7618 #endif
7619 #ifdef HAVE_NETINET_IP_H
7620 # include <netinet/ip.h>
7621 #endif
7623 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7624 cat >>confdefs.h <<_ACEOF
7625 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7626 _ACEOF
7630 done
7633 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7634 do :
7635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7636 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7637 #ifdef HAVE_ALIAS_H
7638 # include <alias.h>
7639 #endif
7640 #ifdef HAVE_SYS_SOCKET_H
7641 # include <sys/socket.h>
7642 #endif
7643 #ifdef HAVE_SYS_SOCKETVAR_H
7644 # include <sys/socketvar.h>
7645 #endif
7646 #ifdef HAVE_SYS_TIMEOUT_H
7647 # include <sys/timeout.h>
7648 #endif
7649 #ifdef HAVE_NETINET_IN_H
7650 # include <netinet/in.h>
7651 #endif
7652 #ifdef HAVE_NETINET_IN_SYSTM_H
7653 # include <netinet/in_systm.h>
7654 #endif
7655 #ifdef HAVE_NETINET_IP_H
7656 # include <netinet/ip.h>
7657 #endif
7658 #ifdef HAVE_NETINET_IP_VAR_H
7659 # include <netinet/ip_var.h>
7660 #endif
7661 #ifdef HAVE_NETINET_IP_ICMP_H
7662 # include <netinet/ip_icmp.h>
7663 #endif
7664 #ifdef HAVE_NETINET_UDP_H
7665 # include <netinet/udp.h>
7666 #endif
7667 #ifdef HAVE_NETINET_TCP_H
7668 # include <netinet/tcp.h>
7669 #endif
7670 #ifdef HAVE_NETINET_TCP_TIMER_H
7671 #include <netinet/tcp_timer.h>
7672 #endif
7674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7675 cat >>confdefs.h <<_ACEOF
7676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7677 _ACEOF
7681 done
7684 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7685 do :
7686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7687 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7688 #ifdef HAVE_ASM_TYPES_H
7689 # include <asm/types.h>
7690 #endif
7691 #ifdef HAVE_SYS_SOCKET_H
7692 # include <sys/socket.h>
7693 #endif
7694 #ifdef HAVE_LINUX_TYPES_H
7695 # include <linux/types.h>
7696 #endif
7698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7699 cat >>confdefs.h <<_ACEOF
7700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7701 _ACEOF
7705 done
7708 for ac_header in mach-o/dyld_images.h
7709 do :
7710 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7711 # include <stdbool.h>
7712 #endif
7713 #ifdef HAVE_STDINT_H
7714 # include <stdint.h>
7715 #endif
7717 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7720 _ACEOF
7724 done
7727 for ac_header in resolv.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7730 #ifdef HAVE_SYS_SOCKET_H
7731 # include <sys/socket.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IN_H
7734 # include <netinet/in.h>
7735 #endif
7736 #ifdef HAVE_ARPA_NAMESER_H
7737 # include <arpa/nameser.h>
7738 #endif
7740 if test "x$ac_cv_header_resolv_h" = xyes; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define HAVE_RESOLV_H 1
7743 _ACEOF
7747 done
7750 for ac_header in ifaddrs.h
7751 do :
7752 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7754 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define HAVE_IFADDRS_H 1
7757 _ACEOF
7761 done
7764 for ac_header in sys/ucontext.h
7765 do :
7766 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7768 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_SYS_UCONTEXT_H 1
7771 _ACEOF
7775 done
7778 for ac_header in sys/thr.h
7779 do :
7780 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7781 #ifdef HAVE_SYS_UCONTEXT_H
7782 #include <sys/ucontext.h>
7783 #endif
7785 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_SYS_THR_H 1
7788 _ACEOF
7792 done
7795 for ac_header in pthread_np.h
7796 do :
7797 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7798 #include <pthread.h>
7799 #endif
7801 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_PTHREAD_NP_H 1
7804 _ACEOF
7808 done
7811 for ac_header in linux/videodev2.h
7812 do :
7813 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7814 #include <sys/time.h>
7815 #endif
7816 #include <sys/types.h>
7817 #ifdef HAVE_ASM_TYPES_H
7818 #include <asm/types.h>
7819 #endif
7821 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7822 cat >>confdefs.h <<_ACEOF
7823 #define HAVE_LINUX_VIDEODEV2_H 1
7824 _ACEOF
7828 done
7831 for ac_header in libprocstat.h
7832 do :
7833 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7834 #include <sys/param.h>
7835 #endif
7836 #ifdef HAVE_SYS_QUEUE_H
7837 #include <sys/queue.h>
7838 #endif
7839 #ifdef HAVE_SYS_SOCKET_H
7840 #include <sys/socket.h>
7841 #endif
7843 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF
7845 #define HAVE_LIBPROCSTAT_H 1
7846 _ACEOF
7850 done
7854 DLLFLAGS="-D_REENTRANT"
7856 LDRPATH_INSTALL=""
7858 LDRPATH_LOCAL=""
7860 LDDLLFLAGS=""
7862 LDEXECFLAGS=""
7864 TOP_INSTALL_LIB=""
7866 TOP_INSTALL_DEV=""
7868 WINELOADER_LDFLAGS=""
7870 WINEPRELOADER_LDFLAGS=""
7872 LIBEXT="so"
7873 DLLEXT=".so"
7874 # Extract the first word of "ldd", so it can be a program name with args.
7875 set dummy ldd; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if ${ac_cv_path_LDD+:} false; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 case $LDD in
7882 [\\/]* | ?:[\\/]*)
7883 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 as_dummy="/sbin:/usr/sbin:$PATH"
7888 for as_dir in $as_dummy
7890 IFS=$as_save_IFS
7891 test -z "$as_dir" && as_dir=.
7892 for ac_exec_ext in '' $ac_executable_extensions; do
7893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7894 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 break 2
7898 done
7899 done
7900 IFS=$as_save_IFS
7902 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7904 esac
7906 LDD=$ac_cv_path_LDD
7907 if test -n "$LDD"; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7909 $as_echo "$LDD" >&6; }
7910 else
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7916 if test -n "$ac_tool_prefix"; then
7917 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7918 set dummy ${ac_tool_prefix}otool; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_OTOOL+:} false; then :
7922 $as_echo_n "(cached) " >&6
7923 else
7924 if test -n "$OTOOL"; then
7925 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7926 else
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in $PATH
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7944 OTOOL=$ac_cv_prog_OTOOL
7945 if test -n "$OTOOL"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7947 $as_echo "$OTOOL" >&6; }
7948 else
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7955 if test -z "$ac_cv_prog_OTOOL"; then
7956 ac_ct_OTOOL=$OTOOL
7957 # Extract the first word of "otool", so it can be a program name with args.
7958 set dummy otool; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 if test -n "$ac_ct_OTOOL"; then
7965 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_ac_ct_OTOOL="otool"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7978 done
7979 done
7980 IFS=$as_save_IFS
7984 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7985 if test -n "$ac_ct_OTOOL"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7987 $as_echo "$ac_ct_OTOOL" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7993 if test "x$ac_ct_OTOOL" = x; then
7994 OTOOL="otool"
7995 else
7996 case $cross_compiling:$ac_tool_warned in
7997 yes:)
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8000 ac_tool_warned=yes ;;
8001 esac
8002 OTOOL=$ac_ct_OTOOL
8004 else
8005 OTOOL="$ac_cv_prog_OTOOL"
8008 if test -n "$ac_tool_prefix"; then
8009 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8010 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if ${ac_cv_prog_READELF+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 if test -n "$READELF"; then
8017 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8018 else
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 for as_dir in $PATH
8022 IFS=$as_save_IFS
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8028 break 2
8030 done
8031 done
8032 IFS=$as_save_IFS
8036 READELF=$ac_cv_prog_READELF
8037 if test -n "$READELF"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8039 $as_echo "$READELF" >&6; }
8040 else
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8047 if test -z "$ac_cv_prog_READELF"; then
8048 ac_ct_READELF=$READELF
8049 # Extract the first word of "readelf", so it can be a program name with args.
8050 set dummy readelf; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 if test -n "$ac_ct_READELF"; then
8057 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8058 else
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 for as_dir in $PATH
8062 IFS=$as_save_IFS
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8066 ac_cv_prog_ac_ct_READELF="readelf"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 break 2
8070 done
8071 done
8072 IFS=$as_save_IFS
8076 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8077 if test -n "$ac_ct_READELF"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8079 $as_echo "$ac_ct_READELF" >&6; }
8080 else
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082 $as_echo "no" >&6; }
8085 if test "x$ac_ct_READELF" = x; then
8086 READELF="true"
8087 else
8088 case $cross_compiling:$ac_tool_warned in
8089 yes:)
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8092 ac_tool_warned=yes ;;
8093 esac
8094 READELF=$ac_ct_READELF
8096 else
8097 READELF="$ac_cv_prog_READELF"
8100 wine_rules_file=conf$$rules.make
8101 rm -f $wine_rules_file
8102 SUBDIRS=""
8104 DISABLED_SUBDIRS=""
8106 CONFIGURE_TARGETS=""
8109 wine_fn_append_file ()
8111 as_fn_append $1 " \\$as_nl $2"
8114 wine_fn_append_rule ()
8116 $as_echo "$1" >>$wine_rules_file
8119 wine_fn_config_makefile ()
8121 wine_fn_append_file SUBDIRS $1
8122 if eval test \"x\$"$2"\" = x"no"; then :
8123 wine_fn_append_file DISABLED_SUBDIRS $1
8127 wine_fn_config_symlink ()
8129 ac_links=$@
8130 wine_fn_append_rule \
8131 "$ac_links:
8132 @./config.status \$@"
8133 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8136 wine_binary="wine"
8137 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8138 WINELOADER_PROGRAMS="$wine_binary"
8140 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8142 case $host_os in
8143 cygwin*|mingw32*)
8144 if test -n "$ac_tool_prefix"; then
8145 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8146 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8148 $as_echo_n "checking for $ac_word... " >&6; }
8149 if ${ac_cv_prog_DLLTOOL+:} false; then :
8150 $as_echo_n "(cached) " >&6
8151 else
8152 if test -n "$DLLTOOL"; then
8153 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8154 else
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156 for as_dir in $PATH
8158 IFS=$as_save_IFS
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164 break 2
8166 done
8167 done
8168 IFS=$as_save_IFS
8172 DLLTOOL=$ac_cv_prog_DLLTOOL
8173 if test -n "$DLLTOOL"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8175 $as_echo "$DLLTOOL" >&6; }
8176 else
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 $as_echo "no" >&6; }
8183 if test -z "$ac_cv_prog_DLLTOOL"; then
8184 ac_ct_DLLTOOL=$DLLTOOL
8185 # Extract the first word of "dlltool", so it can be a program name with args.
8186 set dummy dlltool; ac_word=$2
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188 $as_echo_n "checking for $ac_word... " >&6; }
8189 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 if test -n "$ac_ct_DLLTOOL"; then
8193 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8194 else
8195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196 for as_dir in $PATH
8198 IFS=$as_save_IFS
8199 test -z "$as_dir" && as_dir=.
8200 for ac_exec_ext in '' $ac_executable_extensions; do
8201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8202 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8204 break 2
8206 done
8207 done
8208 IFS=$as_save_IFS
8212 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8213 if test -n "$ac_ct_DLLTOOL"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8215 $as_echo "$ac_ct_DLLTOOL" >&6; }
8216 else
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8221 if test "x$ac_ct_DLLTOOL" = x; then
8222 DLLTOOL="false"
8223 else
8224 case $cross_compiling:$ac_tool_warned in
8225 yes:)
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8228 ac_tool_warned=yes ;;
8229 esac
8230 DLLTOOL=$ac_ct_DLLTOOL
8232 else
8233 DLLTOOL="$ac_cv_prog_DLLTOOL"
8236 LIBEXT="dll"
8237 DLLEXT=""
8238 case $host_cpu in
8239 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8240 esac
8241 enable_iphlpapi=${enable_iphlpapi:-no}
8242 enable_kernel32=${enable_kernel32:-no}
8243 enable_ntdll=${enable_ntdll:-no}
8244 enable_ws2_32=${enable_ws2_32:-no}
8245 enable_loader=${enable_loader:-no}
8246 enable_server=${enable_server:-no}
8247 with_x=${with_x:-no}
8248 with_pthread=${with_pthread:-no}
8251 darwin*|macosx*)
8252 for ac_header in libunwind.h
8253 do :
8254 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8256 cat >>confdefs.h <<_ACEOF
8257 #define HAVE_LIBUNWIND_H 1
8258 _ACEOF
8262 done
8264 ac_ext=m
8265 ac_cpp='$OBJCPP $CPPFLAGS'
8266 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8267 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8268 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8270 ac_ext=m
8271 ac_cpp='$OBJCPP $CPPFLAGS'
8272 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8273 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8274 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8275 if test -n "$ac_tool_prefix"; then
8276 for ac_prog in gcc objcc objc cc CC
8278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8281 $as_echo_n "checking for $ac_word... " >&6; }
8282 if ${ac_cv_prog_OBJC+:} false; then :
8283 $as_echo_n "(cached) " >&6
8284 else
8285 if test -n "$OBJC"; then
8286 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8287 else
8288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8289 for as_dir in $PATH
8291 IFS=$as_save_IFS
8292 test -z "$as_dir" && as_dir=.
8293 for ac_exec_ext in '' $ac_executable_extensions; do
8294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8295 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8297 break 2
8299 done
8300 done
8301 IFS=$as_save_IFS
8305 OBJC=$ac_cv_prog_OBJC
8306 if test -n "$OBJC"; then
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8308 $as_echo "$OBJC" >&6; }
8309 else
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8311 $as_echo "no" >&6; }
8315 test -n "$OBJC" && break
8316 done
8318 if test -z "$OBJC"; then
8319 ac_ct_OBJC=$OBJC
8320 for ac_prog in gcc objcc objc cc CC
8322 # Extract the first word of "$ac_prog", so it can be a program name with args.
8323 set dummy $ac_prog; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 if test -n "$ac_ct_OBJC"; then
8330 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8331 else
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 for as_dir in $PATH
8335 IFS=$as_save_IFS
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 break 2
8343 done
8344 done
8345 IFS=$as_save_IFS
8349 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8350 if test -n "$ac_ct_OBJC"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8352 $as_echo "$ac_ct_OBJC" >&6; }
8353 else
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8359 test -n "$ac_ct_OBJC" && break
8360 done
8362 if test "x$ac_ct_OBJC" = x; then
8363 OBJC="gcc"
8364 else
8365 case $cross_compiling:$ac_tool_warned in
8366 yes:)
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8369 ac_tool_warned=yes ;;
8370 esac
8371 OBJC=$ac_ct_OBJC
8375 # Provide some information about the compiler.
8376 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8377 set X $ac_compile
8378 ac_compiler=$2
8379 for ac_option in --version -v -V -qversion; do
8380 { { ac_try="$ac_compiler $ac_option >&5"
8381 case "(($ac_try" in
8382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8383 *) ac_try_echo=$ac_try;;
8384 esac
8385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8386 $as_echo "$ac_try_echo"; } >&5
8387 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8388 ac_status=$?
8389 if test -s conftest.err; then
8390 sed '10a\
8391 ... rest of stderr output deleted ...
8392 10q' conftest.err >conftest.er1
8393 cat conftest.er1 >&5
8395 rm -f conftest.er1 conftest.err
8396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8397 test $ac_status = 0; }
8398 done
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8401 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8402 if ${ac_cv_objc_compiler_gnu+:} false; then :
8403 $as_echo_n "(cached) " >&6
8404 else
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8409 main ()
8411 #ifndef __GNUC__
8412 choke me
8413 #endif
8416 return 0;
8418 _ACEOF
8419 if ac_fn_objc_try_compile "$LINENO"; then :
8420 ac_compiler_gnu=yes
8421 else
8422 ac_compiler_gnu=no
8424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8425 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8429 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8430 if test $ac_compiler_gnu = yes; then
8431 GOBJC=yes
8432 else
8433 GOBJC=
8435 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8436 ac_save_OBJCFLAGS=$OBJCFLAGS
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8438 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8439 if ${ac_cv_prog_objc_g+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_save_objc_werror_flag=$ac_objc_werror_flag
8443 ac_objc_werror_flag=yes
8444 ac_cv_prog_objc_g=no
8445 OBJCFLAGS="-g"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8450 main ()
8454 return 0;
8456 _ACEOF
8457 if ac_fn_objc_try_compile "$LINENO"; then :
8458 ac_cv_prog_objc_g=yes
8459 else
8460 OBJCFLAGS=""
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8465 main ()
8469 return 0;
8471 _ACEOF
8472 if ac_fn_objc_try_compile "$LINENO"; then :
8474 else
8475 ac_objc_werror_flag=$ac_save_objc_werror_flag
8476 OBJCFLAGS="-g"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8481 main ()
8485 return 0;
8487 _ACEOF
8488 if ac_fn_objc_try_compile "$LINENO"; then :
8489 ac_cv_prog_objc_g=yes
8491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8496 ac_objc_werror_flag=$ac_save_objc_werror_flag
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8499 $as_echo "$ac_cv_prog_objc_g" >&6; }
8500 if test "$ac_test_OBJCFLAGS" = set; then
8501 OBJCFLAGS=$ac_save_OBJCFLAGS
8502 elif test $ac_cv_prog_objc_g = yes; then
8503 if test "$GOBJC" = yes; then
8504 OBJCFLAGS="-g -O2"
8505 else
8506 OBJCFLAGS="-g"
8508 else
8509 if test "$GOBJC" = yes; then
8510 OBJCFLAGS="-O2"
8511 else
8512 OBJCFLAGS=
8515 ac_ext=m
8516 ac_cpp='$OBJCPP $CPPFLAGS'
8517 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8518 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8519 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8522 ac_ext=m
8523 ac_cpp='$OBJCPP $CPPFLAGS'
8524 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8525 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8526 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8528 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8529 if test -z "$OBJCPP"; then
8530 if ${ac_cv_prog_OBJCPP+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 # Double quotes because OBJCPP needs to be expanded
8534 for OBJCPP in "$OBJC -E" "/lib/cpp"
8536 ac_preproc_ok=false
8537 for ac_objc_preproc_warn_flag in '' yes
8539 # Use a header file that comes with gcc, so configuring glibc
8540 # with a fresh cross-compiler works.
8541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8542 # <limits.h> exists even on freestanding compilers.
8543 # On the NeXT, cc -E runs the code through the compiler's parser,
8544 # not just through cpp. "Syntax error" is here to catch this case.
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 #ifdef __STDC__
8548 # include <limits.h>
8549 #else
8550 # include <assert.h>
8551 #endif
8552 Syntax error
8553 _ACEOF
8554 if ac_fn_objc_try_cpp "$LINENO"; then :
8556 else
8557 # Broken: fails on valid input.
8558 continue
8560 rm -f conftest.err conftest.i conftest.$ac_ext
8562 # OK, works on sane cases. Now check whether nonexistent headers
8563 # can be detected and how.
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 #include <ac_nonexistent.h>
8567 _ACEOF
8568 if ac_fn_objc_try_cpp "$LINENO"; then :
8569 # Broken: success on invalid input.
8570 continue
8571 else
8572 # Passes both tests.
8573 ac_preproc_ok=:
8574 break
8576 rm -f conftest.err conftest.i conftest.$ac_ext
8578 done
8579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8580 rm -f conftest.i conftest.err conftest.$ac_ext
8581 if $ac_preproc_ok; then :
8582 break
8585 done
8586 ac_cv_prog_OBJCPP=$OBJCPP
8589 OBJCPP=$ac_cv_prog_OBJCPP
8590 else
8591 ac_cv_prog_OBJCPP=$OBJCPP
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8594 $as_echo "$OBJCPP" >&6; }
8595 ac_preproc_ok=false
8596 for ac_objc_preproc_warn_flag in '' yes
8598 # Use a header file that comes with gcc, so configuring glibc
8599 # with a fresh cross-compiler works.
8600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8601 # <limits.h> exists even on freestanding compilers.
8602 # On the NeXT, cc -E runs the code through the compiler's parser,
8603 # not just through cpp. "Syntax error" is here to catch this case.
8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8606 #ifdef __STDC__
8607 # include <limits.h>
8608 #else
8609 # include <assert.h>
8610 #endif
8611 Syntax error
8612 _ACEOF
8613 if ac_fn_objc_try_cpp "$LINENO"; then :
8615 else
8616 # Broken: fails on valid input.
8617 continue
8619 rm -f conftest.err conftest.i conftest.$ac_ext
8621 # OK, works on sane cases. Now check whether nonexistent headers
8622 # can be detected and how.
8623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8624 /* end confdefs.h. */
8625 #include <ac_nonexistent.h>
8626 _ACEOF
8627 if ac_fn_objc_try_cpp "$LINENO"; then :
8628 # Broken: success on invalid input.
8629 continue
8630 else
8631 # Passes both tests.
8632 ac_preproc_ok=:
8633 break
8635 rm -f conftest.err conftest.i conftest.$ac_ext
8637 done
8638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8639 rm -f conftest.i conftest.err conftest.$ac_ext
8640 if $ac_preproc_ok; then :
8642 else
8643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8645 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8646 See \`config.log' for more details" "$LINENO" 5; }
8649 ac_ext=m
8650 ac_cpp='$OBJCPP $CPPFLAGS'
8651 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8652 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8653 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8656 for ac_header in Metal/Metal.h
8657 do :
8658 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8659 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8660 cat >>confdefs.h <<_ACEOF
8661 #define HAVE_METAL_METAL_H 1
8662 _ACEOF
8666 done
8668 ac_ext=c
8669 ac_cpp='$CPP $CPPFLAGS'
8670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8674 LIBEXT="dylib"
8675 DLLFLAGS="$DLLFLAGS -fPIC"
8676 LDDLLFLAGS="-fPIC"
8677 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8678 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8679 COREFOUNDATION_LIBS="-framework CoreFoundation"
8681 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8683 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8685 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8687 CORESERVICES_LIBS="-framework CoreServices"
8689 APPKIT_LIBS="-framework AppKit"
8692 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8694 wine_can_build_preloader=yes
8695 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8697 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8698 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__Wl__no_new_main__e__main=yes
8709 else
8710 ac_cv_cflags__Wl__no_new_main__e__main=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8717 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8718 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8719 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8721 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8722 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_wine_try_cflags_saved=$CFLAGS
8726 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 int main(int argc, char **argv) { return 0; }
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8733 else
8734 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 CFLAGS=$ac_wine_try_cflags_saved
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8741 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8742 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8743 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8744 else
8745 { $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
8746 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8747 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8748 $as_echo_n "(cached) " >&6
8749 else
8750 ac_wine_try_cflags_saved=$CFLAGS
8751 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8754 int main(int argc, char **argv) { return 0; }
8755 _ACEOF
8756 if ac_fn_c_try_link "$LINENO"; then :
8757 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8758 else
8759 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 { $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
8766 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8767 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8768 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8769 else
8770 wine_can_build_preloader=no
8773 else
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8775 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8776 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 int main(int argc, char **argv) { return 0; }
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8787 else
8788 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8792 CFLAGS=$ac_wine_try_cflags_saved
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8795 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8796 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8797 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8798 else
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8800 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8801 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8802 $as_echo_n "(cached) " >&6
8803 else
8804 ac_wine_try_cflags_saved=$CFLAGS
8805 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8807 /* end confdefs.h. */
8808 int main(int argc, char **argv) { return 0; }
8809 _ACEOF
8810 if ac_fn_c_try_link "$LINENO"; then :
8811 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8812 else
8813 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8815 rm -f core conftest.err conftest.$ac_objext \
8816 conftest$ac_exeext conftest.$ac_ext
8817 CFLAGS=$ac_wine_try_cflags_saved
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8820 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8821 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8822 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8823 else
8824 wine_can_build_preloader=no
8828 if test "$wine_can_build_preloader" = "yes"
8829 then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8831 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8832 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8833 $as_echo_n "(cached) " >&6
8834 else
8835 ac_wine_try_cflags_saved=$CFLAGS
8836 CFLAGS="$CFLAGS -Wl,-no_pie"
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8839 int main(int argc, char **argv) { return 0; }
8840 _ACEOF
8841 if ac_fn_c_try_link "$LINENO"; then :
8842 ac_cv_cflags__Wl__no_pie=yes
8843 else
8844 ac_cv_cflags__Wl__no_pie=no
8846 rm -f core conftest.err conftest.$ac_objext \
8847 conftest$ac_exeext conftest.$ac_ext
8848 CFLAGS=$ac_wine_try_cflags_saved
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8851 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8852 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8853 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8855 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8856 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8857 else
8858 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8861 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8862 then
8863 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8866 if test "$ac_cv_header_Security_Security_h" = "yes"
8867 then
8868 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8870 ac_save_LIBS="$LIBS"
8871 LIBS="$LIBS $SECURITY_LIBS"
8872 for ac_func in SSLCopyPeerCertificates
8873 do :
8874 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8875 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8876 cat >>confdefs.h <<_ACEOF
8877 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8878 _ACEOF
8881 done
8883 LIBS="$ac_save_LIBS"
8885 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8886 then
8887 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8888 then
8889 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8891 else
8892 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8895 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8896 ac_save_LIBS="$LIBS"
8897 LIBS="$LIBS $COREAUDIO_LIBS"
8898 for ac_func in AUGraphAddNode
8899 do :
8900 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8901 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8902 cat >>confdefs.h <<_ACEOF
8903 #define HAVE_AUGRAPHADDNODE 1
8904 _ACEOF
8907 done
8909 LIBS="$ac_save_LIBS"
8911 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8912 then
8913 OPENAL_LIBS="-framework OpenAL"
8916 cat >>confdefs.h <<_ACEOF
8917 #define HAVE_OPENAL 1
8918 _ACEOF
8920 ac_cv_lib_openal=yes
8922 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8923 then
8924 OPENCL_LIBS="-framework OpenCL"
8926 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8928 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8929 then
8930 ac_save_LIBS="$LIBS"
8931 LIBS="$LIBS $IOKIT_LIBS"
8932 for ac_func in IOHIDManagerCreate
8933 do :
8934 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8935 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8936 cat >>confdefs.h <<_ACEOF
8937 #define HAVE_IOHIDMANAGERCREATE 1
8938 _ACEOF
8941 done
8943 LIBS="$ac_save_LIBS"
8945 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8946 then
8947 ac_save_LIBS="$LIBS"
8948 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8950 $as_echo_n "checking for the QuickTime framework... " >&6; }
8951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8952 /* end confdefs.h. */
8953 #include <QuickTime/ImageCompression.h>
8955 main ()
8957 CodecManagerVersion(NULL);
8959 return 0;
8961 _ACEOF
8962 if ac_fn_c_try_link "$LINENO"; then :
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8964 $as_echo "yes" >&6; }
8965 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8967 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8968 else
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8970 $as_echo "no" >&6; }
8971 ac_cv_header_QuickTime_ImageCompression_h=no
8973 rm -f core conftest.err conftest.$ac_objext \
8974 conftest$ac_exeext conftest.$ac_ext
8975 LIBS="$ac_save_LIBS"
8977 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8978 then
8979 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8981 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8982 then
8983 CARBON_LIBS="-framework Carbon"
8986 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8987 then
8988 METAL_LIBS="-framework Metal -framework QuartzCore"
8992 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8993 then
8994 ac_save_LIBS="$LIBS"
8995 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8996 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8997 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8998 enable_winemac_drv=${enable_winemac_drv:-yes}
9001 LIBS="$ac_save_LIBS"
9004 if test "x$enable_win16" = "xyes"
9005 then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9007 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9008 if test "$cross_compiling" = yes; then :
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9010 $as_echo "cross-compiling, assuming yes" >&6; }
9011 else
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9014 asm(".text\n"
9015 "bad:\tnop;nop\n"
9016 "good:\tnop;nop\n\t"
9017 ".globl _testfunc\n"
9018 "_testfunc:\tcallw good");
9019 extern void testfunc();
9021 main ()
9023 unsigned short *p = (unsigned short *)testfunc;
9024 return p[0] != 0xe866 || p[1] != 0xfffa
9026 return 0;
9028 _ACEOF
9029 if ac_fn_c_try_run "$LINENO"; then :
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9031 $as_echo "yes" >&6; }
9032 else
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9034 $as_echo "no" >&6; }
9035 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
9037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9038 conftest.$ac_objext conftest.beam conftest.$ac_ext
9043 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9045 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9047 WINELOADER_DEPENDS="wine_info.plist"
9049 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9050 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9053 linux-android*)
9054 DLLFLAGS="$DLLFLAGS -fPIC"
9055 LDDLLFLAGS="-fPIC"
9056 LDEXECFLAGS="-Wl,-pie"
9057 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9059 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9060 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9061 $as_echo_n "(cached) " >&6
9062 else
9063 ac_wine_try_cflags_saved=$CFLAGS
9064 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9066 /* end confdefs.h. */
9067 int main(int argc, char **argv) { return 0; }
9068 _ACEOF
9069 if ac_fn_c_try_link "$LINENO"; then :
9070 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9071 else
9072 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9074 rm -f core conftest.err conftest.$ac_objext \
9075 conftest$ac_exeext conftest.$ac_ext
9076 CFLAGS=$ac_wine_try_cflags_saved
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9079 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9080 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9081 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9083 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9084 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9086 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9087 if eval \${$as_ac_var+:} false; then :
9088 $as_echo_n "(cached) " >&6
9089 else
9090 ac_wine_try_cflags_saved=$CFLAGS
9091 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9094 int main(int argc, char **argv) { return 0; }
9095 _ACEOF
9096 if ac_fn_c_try_link "$LINENO"; then :
9097 eval "$as_ac_var=yes"
9098 else
9099 eval "$as_ac_var=no"
9101 rm -f core conftest.err conftest.$ac_objext \
9102 conftest$ac_exeext conftest.$ac_ext
9103 CFLAGS=$ac_wine_try_cflags_saved
9105 eval ac_res=\$$as_ac_var
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9107 $as_echo "$ac_res" >&6; }
9108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9109 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9110 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9111 else
9112 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9114 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9115 if eval \${$as_ac_var+:} false; then :
9116 $as_echo_n "(cached) " >&6
9117 else
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9122 int main(int argc, char **argv) { return 0; }
9123 _ACEOF
9124 if ac_fn_c_try_link "$LINENO"; then :
9125 eval "$as_ac_var=yes"
9126 else
9127 eval "$as_ac_var=no"
9129 rm -f core conftest.err conftest.$ac_objext \
9130 conftest$ac_exeext conftest.$ac_ext
9131 CFLAGS=$ac_wine_try_cflags_saved
9133 eval ac_res=\$$as_ac_var
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9135 $as_echo "$ac_res" >&6; }
9136 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9137 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9138 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9142 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9143 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 ac_wine_try_cflags_saved=$CFLAGS
9147 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9150 int main(int argc, char **argv) { return 0; }
9151 _ACEOF
9152 if ac_fn_c_try_link "$LINENO"; then :
9153 ac_cv_cflags__Wl___enable_new_dtags=yes
9154 else
9155 ac_cv_cflags__Wl___enable_new_dtags=no
9157 rm -f core conftest.err conftest.$ac_objext \
9158 conftest$ac_exeext conftest.$ac_ext
9159 CFLAGS=$ac_wine_try_cflags_saved
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9162 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9163 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9164 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9167 LIBWINE_SHAREDLIB="libwine.so"
9169 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9171 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9174 $as_echo_n "checking for -lEGL... " >&6; }
9175 if ${ac_cv_lib_soname_EGL+:} false; then :
9176 $as_echo_n "(cached) " >&6
9177 else
9178 ac_check_soname_save_LIBS=$LIBS
9179 LIBS="-lEGL $LIBS"
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9186 #ifdef __cplusplus
9187 extern "C"
9188 #endif
9189 char eglGetProcAddress ();
9191 main ()
9193 return eglGetProcAddress ();
9195 return 0;
9197 _ACEOF
9198 if ac_fn_c_try_link "$LINENO"; then :
9199 case "$LIBEXT" in
9200 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9201 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'` ;;
9202 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9203 if ${ac_cv_lib_soname_EGL:+false} :; then :
9204 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9205 fi ;;
9206 esac
9207 else
9208 ac_cv_lib_soname_EGL=
9210 rm -f core conftest.err conftest.$ac_objext \
9211 conftest$ac_exeext conftest.$ac_ext
9212 LIBS=$ac_check_soname_save_LIBS
9214 if ${ac_cv_lib_soname_EGL:+false} :; then :
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9216 $as_echo "not found" >&6; }
9218 else
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9220 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9222 cat >>confdefs.h <<_ACEOF
9223 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9224 _ACEOF
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9229 $as_echo_n "checking for -lGLESv2... " >&6; }
9230 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9231 $as_echo_n "(cached) " >&6
9232 else
9233 ac_check_soname_save_LIBS=$LIBS
9234 LIBS="-lGLESv2 $LIBS"
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
9241 #ifdef __cplusplus
9242 extern "C"
9243 #endif
9244 char glFlush ();
9246 main ()
9248 return glFlush ();
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 case "$LIBEXT" in
9255 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9256 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'` ;;
9257 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9258 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9259 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9260 fi ;;
9261 esac
9262 else
9263 ac_cv_lib_soname_GLESv2=
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_soname_save_LIBS
9269 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9271 $as_echo "not found" >&6; }
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9275 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9277 cat >>confdefs.h <<_ACEOF
9278 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9279 _ACEOF
9284 if test "x$exec_prefix" = xNONE
9285 then
9286 case $host_cpu in
9287 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9288 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9289 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9290 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9291 esac
9296 case $host_cpu in
9297 *i[3456789]86*)
9298 DLLFLAGS="$DLLFLAGS -fno-PIC"
9299 LDDLLFLAGS="-fno-PIC" ;;
9301 DLLFLAGS="$DLLFLAGS -fPIC"
9302 LDDLLFLAGS="-fPIC" ;;
9303 esac
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9305 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9306 if ${ac_cv_c_dll_gnuelf+:} false; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 ac_wine_try_cflags_saved=$CFLAGS
9310 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9313 void myfunc() {}
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 ac_cv_c_dll_gnuelf="yes"
9317 else
9318 ac_cv_c_dll_gnuelf="no"
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 CFLAGS=$ac_wine_try_cflags_saved
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9325 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9326 if test "$ac_cv_c_dll_gnuelf" = "yes"
9327 then
9328 LIBWINE_LDFLAGS="-shared"
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9330 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9331 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9332 $as_echo_n "(cached) " >&6
9333 else
9334 ac_wine_try_cflags_saved=$CFLAGS
9335 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9338 int main(int argc, char **argv) { return 0; }
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9342 else
9343 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 CFLAGS=$ac_wine_try_cflags_saved
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9350 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9351 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9352 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9353 else
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9355 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9356 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9357 $as_echo_n "(cached) " >&6
9358 else
9359 ac_wine_try_cflags_saved=$CFLAGS
9360 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9362 /* end confdefs.h. */
9363 int main(int argc, char **argv) { return 0; }
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9367 else
9368 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 CFLAGS=$ac_wine_try_cflags_saved
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9375 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9376 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9377 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9381 echo '{ global: *; };' >conftest.map
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9383 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9384 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9385 $as_echo_n "(cached) " >&6
9386 else
9387 ac_wine_try_cflags_saved=$CFLAGS
9388 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9391 int main(int argc, char **argv) { return 0; }
9392 _ACEOF
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9395 else
9396 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 CFLAGS=$ac_wine_try_cflags_saved
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9403 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9404 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9405 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9407 rm -f conftest.map
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9410 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9411 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9412 $as_echo_n "(cached) " >&6
9413 else
9414 ac_wine_try_cflags_saved=$CFLAGS
9415 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9418 int main(int argc, char **argv) { return 0; }
9419 _ACEOF
9420 if ac_fn_c_try_link "$LINENO"; then :
9421 ac_cv_cflags__Wl___export_dynamic=yes
9422 else
9423 ac_cv_cflags__Wl___export_dynamic=no
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 CFLAGS=$ac_wine_try_cflags_saved
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9430 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9431 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9432 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9434 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9436 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9438 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9439 if eval \${$as_ac_var+:} false; then :
9440 $as_echo_n "(cached) " >&6
9441 else
9442 ac_wine_try_cflags_saved=$CFLAGS
9443 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9446 int main(int argc, char **argv) { return 0; }
9447 _ACEOF
9448 if ac_fn_c_try_link "$LINENO"; then :
9449 eval "$as_ac_var=yes"
9450 else
9451 eval "$as_ac_var=no"
9453 rm -f core conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 CFLAGS=$ac_wine_try_cflags_saved
9457 eval ac_res=\$$as_ac_var
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9459 $as_echo "$ac_res" >&6; }
9460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9461 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9462 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9463 else
9464 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9466 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9467 if eval \${$as_ac_var+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 ac_wine_try_cflags_saved=$CFLAGS
9471 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9474 int main(int argc, char **argv) { return 0; }
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"; then :
9477 eval "$as_ac_var=yes"
9478 else
9479 eval "$as_ac_var=no"
9481 rm -f core conftest.err conftest.$ac_objext \
9482 conftest$ac_exeext conftest.$ac_ext
9483 CFLAGS=$ac_wine_try_cflags_saved
9485 eval ac_res=\$$as_ac_var
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9487 $as_echo "$ac_res" >&6; }
9488 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9489 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9490 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9495 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9496 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9497 $as_echo_n "(cached) " >&6
9498 else
9499 ac_wine_try_cflags_saved=$CFLAGS
9500 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9503 int main(int argc, char **argv) { return 0; }
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9506 ac_cv_cflags__Wl___enable_new_dtags=yes
9507 else
9508 ac_cv_cflags__Wl___enable_new_dtags=no
9510 rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9512 CFLAGS=$ac_wine_try_cflags_saved
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9515 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9516 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9517 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9520 case $host_cpu in
9521 *i[3456789]86* | x86_64 | *aarch64*)
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9523 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9524 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 ac_wine_try_cflags_saved=$CFLAGS
9528 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9531 int main(int argc, char **argv) { return 0; }
9532 _ACEOF
9533 if ac_fn_c_try_link "$LINENO"; then :
9534 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9535 else
9536 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9538 rm -f core conftest.err conftest.$ac_objext \
9539 conftest$ac_exeext conftest.$ac_ext
9540 CFLAGS=$ac_wine_try_cflags_saved
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9543 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9544 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9545 case $host_os in
9546 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9547 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9548 esac
9549 else
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9551 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9552 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 ac_wine_try_cflags_saved=$CFLAGS
9556 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9559 int main(int argc, char **argv) { return 0; }
9560 _ACEOF
9561 if ac_fn_c_try_link "$LINENO"; then :
9562 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9563 else
9564 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 CFLAGS=$ac_wine_try_cflags_saved
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9571 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9572 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9573 case $host_os in
9574 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9575 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9576 esac
9578 # Extract the first word of "prelink", so it can be a program name with args.
9579 set dummy prelink; ac_word=$2
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 $as_echo_n "checking for $ac_word... " >&6; }
9582 if ${ac_cv_path_PRELINK+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 case $PRELINK in
9586 [\\/]* | ?:[\\/]*)
9587 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9591 for as_dir in /sbin /usr/sbin $PATH
9593 IFS=$as_save_IFS
9594 test -z "$as_dir" && as_dir=.
9595 for ac_exec_ext in '' $ac_executable_extensions; do
9596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9597 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9599 break 2
9601 done
9602 done
9603 IFS=$as_save_IFS
9605 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9607 esac
9609 PRELINK=$ac_cv_path_PRELINK
9610 if test -n "$PRELINK"; then
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9612 $as_echo "$PRELINK" >&6; }
9613 else
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9615 $as_echo "no" >&6; }
9619 if test "x$PRELINK" = xfalse
9620 then
9621 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9625 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9626 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9627 $as_echo_n "(cached) " >&6
9628 else
9629 ac_wine_try_cflags_saved=$CFLAGS
9630 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9633 int main(int argc, char **argv) { return 0; }
9634 _ACEOF
9635 if ac_fn_c_try_link "$LINENO"; then :
9636 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9637 else
9638 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 CFLAGS=$ac_wine_try_cflags_saved
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9645 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9646 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9647 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9650 esac
9652 else
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9654 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9655 if ${ac_cv_c_dll_unixware+:} false; then :
9656 $as_echo_n "(cached) " >&6
9657 else
9658 ac_wine_try_cflags_saved=$CFLAGS
9659 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9661 /* end confdefs.h. */
9662 void myfunc() {}
9663 _ACEOF
9664 if ac_fn_c_try_link "$LINENO"; then :
9665 ac_cv_c_dll_unixware="yes"
9666 else
9667 ac_cv_c_dll_unixware="no"
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 CFLAGS=$ac_wine_try_cflags_saved
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9674 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9675 if test "$ac_cv_c_dll_unixware" = "yes"
9676 then
9677 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9680 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9682 LIBWINE_DEPENDS="wine.map"
9684 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9685 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9687 esac
9689 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9690 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9691 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9692 enable_winemac_drv=${enable_winemac_drv:-no}
9693 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9695 CROSSTARGET=""
9697 if test "x$with_mingw" != xno
9698 then
9699 case "x$with_mingw" in
9700 x|xyes) case "$host_cpu" in
9701 aarch64*)
9702 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9703 arm*)
9704 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9705 i[3456789]86*)
9706 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
9707 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9708 mingw32-gcc" ;;
9709 x86_64)
9710 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
9711 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9713 ac_prefix_list="" ;;
9714 esac
9715 for ac_prog in $ac_prefix_list
9717 # Extract the first word of "$ac_prog", so it can be a program name with args.
9718 set dummy $ac_prog; ac_word=$2
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9720 $as_echo_n "checking for $ac_word... " >&6; }
9721 if ${ac_cv_prog_CROSSCC+:} false; then :
9722 $as_echo_n "(cached) " >&6
9723 else
9724 if test -n "$CROSSCC"; then
9725 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9726 else
9727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9728 for as_dir in $PATH
9730 IFS=$as_save_IFS
9731 test -z "$as_dir" && as_dir=.
9732 for ac_exec_ext in '' $ac_executable_extensions; do
9733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9734 ac_cv_prog_CROSSCC="$ac_prog"
9735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9736 break 2
9738 done
9739 done
9740 IFS=$as_save_IFS
9744 CROSSCC=$ac_cv_prog_CROSSCC
9745 if test -n "$CROSSCC"; then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9747 $as_echo "$CROSSCC" >&6; }
9748 else
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9750 $as_echo "no" >&6; }
9754 test -n "$CROSSCC" && break
9755 done
9756 test -n "$CROSSCC" || CROSSCC="false"
9758 *) CROSSCC=$with_mingw ;;
9759 esac
9760 if test "$CROSSCC" != "false"
9761 then
9762 ac_save_CC="$CC"
9763 saved_CFLAGS=$CFLAGS
9764 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9766 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9769 CC="$CROSSCC"
9770 CFLAGS=$CROSSCFLAGS
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9772 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9773 if ${wine_cv_crosscc+:} false; then :
9774 $as_echo_n "(cached) " >&6
9775 else
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9780 main ()
9784 return 0;
9786 _ACEOF
9787 if ac_fn_c_try_compile "$LINENO"; then :
9788 wine_cv_crosscc=yes
9789 else
9790 wine_cv_crosscc=no
9792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9795 $as_echo "$wine_cv_crosscc" >&6; }
9796 if test $wine_cv_crosscc = yes
9797 then
9798 set x $CROSSCC
9799 shift
9800 while test $# -ge 1
9802 case "$1" in
9803 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9804 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9805 esac
9806 shift
9807 done
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9810 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9811 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9812 $as_echo_n "(cached) " >&6
9813 else
9814 ac_wine_try_cflags_saved=$CFLAGS
9815 ac_wine_try_cflags_saved_cc=$CC
9816 ac_wine_try_cflags_saved_exeext=$ac_exeext
9817 CFLAGS="$CFLAGS -fno-strict-aliasing"
9818 CC="$CROSSCC"
9819 ac_exeext=".exe"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9822 int main(int argc, char **argv) { return 0; }
9823 _ACEOF
9824 if ac_fn_c_try_link "$LINENO"; then :
9825 ac_cv_crosscflags__fno_strict_aliasing=yes
9826 else
9827 ac_cv_crosscflags__fno_strict_aliasing=no
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 CFLAGS=$ac_wine_try_cflags_saved
9832 CC=$ac_wine_try_cflags_saved_cc
9833 ac_exeext=$ac_wine_try_cflags_saved_exeext
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9836 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9837 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9838 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9841 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9842 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9843 $as_echo_n "(cached) " >&6
9844 else
9845 ac_wine_try_cflags_saved=$CFLAGS
9846 ac_wine_try_cflags_saved_cc=$CC
9847 ac_wine_try_cflags_saved_exeext=$ac_exeext
9848 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9849 CC="$CROSSCC"
9850 ac_exeext=".exe"
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9853 int main(int argc, char **argv) { return 0; }
9854 _ACEOF
9855 if ac_fn_c_try_link "$LINENO"; then :
9856 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9857 else
9858 ac_cv_crosscflags__Werror_unknown_warning_option=no
9860 rm -f core conftest.err conftest.$ac_objext \
9861 conftest$ac_exeext conftest.$ac_ext
9862 CFLAGS=$ac_wine_try_cflags_saved
9863 CC=$ac_wine_try_cflags_saved_cc
9864 ac_exeext=$ac_wine_try_cflags_saved_exeext
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9867 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9868 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9869 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9872 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9873 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9874 $as_echo_n "(cached) " >&6
9875 else
9876 ac_wine_try_cflags_saved=$CFLAGS
9877 ac_wine_try_cflags_saved_cc=$CC
9878 ac_wine_try_cflags_saved_exeext=$ac_exeext
9879 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9880 CC="$CROSSCC"
9881 ac_exeext=".exe"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9884 int main(int argc, char **argv) { return 0; }
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9888 else
9889 ac_cv_crosscflags__Wdeclaration_after_statement=no
9891 rm -f core conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9893 CFLAGS=$ac_wine_try_cflags_saved
9894 CC=$ac_wine_try_cflags_saved_cc
9895 ac_exeext=$ac_wine_try_cflags_saved_exeext
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9898 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9899 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9900 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9903 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9904 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_wine_try_cflags_saved=$CFLAGS
9908 ac_wine_try_cflags_saved_cc=$CC
9909 ac_wine_try_cflags_saved_exeext=$ac_exeext
9910 CFLAGS="$CFLAGS -Wempty-body"
9911 CC="$CROSSCC"
9912 ac_exeext=".exe"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9915 int main(int argc, char **argv) { return 0; }
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"; then :
9918 ac_cv_crosscflags__Wempty_body=yes
9919 else
9920 ac_cv_crosscflags__Wempty_body=no
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 CFLAGS=$ac_wine_try_cflags_saved
9925 CC=$ac_wine_try_cflags_saved_cc
9926 ac_exeext=$ac_wine_try_cflags_saved_exeext
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9929 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9930 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9931 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9934 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9935 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9936 $as_echo_n "(cached) " >&6
9937 else
9938 ac_wine_try_cflags_saved=$CFLAGS
9939 ac_wine_try_cflags_saved_cc=$CC
9940 ac_wine_try_cflags_saved_exeext=$ac_exeext
9941 CFLAGS="$CFLAGS -Wignored-qualifiers"
9942 CC="$CROSSCC"
9943 ac_exeext=".exe"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9946 int main(int argc, char **argv) { return 0; }
9947 _ACEOF
9948 if ac_fn_c_try_link "$LINENO"; then :
9949 ac_cv_crosscflags__Wignored_qualifiers=yes
9950 else
9951 ac_cv_crosscflags__Wignored_qualifiers=no
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 CFLAGS=$ac_wine_try_cflags_saved
9956 CC=$ac_wine_try_cflags_saved_cc
9957 ac_exeext=$ac_wine_try_cflags_saved_exeext
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9960 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9961 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9962 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9965 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9966 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9967 $as_echo_n "(cached) " >&6
9968 else
9969 ac_wine_try_cflags_saved=$CFLAGS
9970 ac_wine_try_cflags_saved_cc=$CC
9971 ac_wine_try_cflags_saved_exeext=$ac_exeext
9972 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9973 CC="$CROSSCC"
9974 ac_exeext=".exe"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9977 int main(int argc, char **argv) { return 0; }
9978 _ACEOF
9979 if ac_fn_c_try_link "$LINENO"; then :
9980 ac_cv_crosscflags__Wpacked_not_aligned=yes
9981 else
9982 ac_cv_crosscflags__Wpacked_not_aligned=no
9984 rm -f core conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 CFLAGS=$ac_wine_try_cflags_saved
9987 CC=$ac_wine_try_cflags_saved_cc
9988 ac_exeext=$ac_wine_try_cflags_saved_exeext
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9991 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9992 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9993 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9996 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9997 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_wine_try_cflags_saved=$CFLAGS
10001 ac_wine_try_cflags_saved_cc=$CC
10002 ac_wine_try_cflags_saved_exeext=$ac_exeext
10003 CFLAGS="$CFLAGS -Wpragma-pack"
10004 CC="$CROSSCC"
10005 ac_exeext=".exe"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 int main(int argc, char **argv) { return 0; }
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"; then :
10011 ac_cv_crosscflags__Wpragma_pack=yes
10012 else
10013 ac_cv_crosscflags__Wpragma_pack=no
10015 rm -f core conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext
10017 CFLAGS=$ac_wine_try_cflags_saved
10018 CC=$ac_wine_try_cflags_saved_cc
10019 ac_exeext=$ac_wine_try_cflags_saved_exeext
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10022 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10023 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10024 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10027 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10028 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 ac_wine_try_cflags_saved=$CFLAGS
10032 ac_wine_try_cflags_saved_cc=$CC
10033 ac_wine_try_cflags_saved_exeext=$ac_exeext
10034 CFLAGS="$CFLAGS -Wshift-overflow=2"
10035 CC="$CROSSCC"
10036 ac_exeext=".exe"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10039 int main(int argc, char **argv) { return 0; }
10040 _ACEOF
10041 if ac_fn_c_try_link "$LINENO"; then :
10042 ac_cv_crosscflags__Wshift_overflow_2=yes
10043 else
10044 ac_cv_crosscflags__Wshift_overflow_2=no
10046 rm -f core conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 CFLAGS=$ac_wine_try_cflags_saved
10049 CC=$ac_wine_try_cflags_saved_cc
10050 ac_exeext=$ac_wine_try_cflags_saved_exeext
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10053 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10054 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10055 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10058 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10059 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10060 $as_echo_n "(cached) " >&6
10061 else
10062 ac_wine_try_cflags_saved=$CFLAGS
10063 ac_wine_try_cflags_saved_cc=$CC
10064 ac_wine_try_cflags_saved_exeext=$ac_exeext
10065 CFLAGS="$CFLAGS -Wstrict-prototypes"
10066 CC="$CROSSCC"
10067 ac_exeext=".exe"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10070 int main(int argc, char **argv) { return 0; }
10071 _ACEOF
10072 if ac_fn_c_try_link "$LINENO"; then :
10073 ac_cv_crosscflags__Wstrict_prototypes=yes
10074 else
10075 ac_cv_crosscflags__Wstrict_prototypes=no
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 CFLAGS=$ac_wine_try_cflags_saved
10080 CC=$ac_wine_try_cflags_saved_cc
10081 ac_exeext=$ac_wine_try_cflags_saved_exeext
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10084 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10085 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10086 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10089 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10090 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10091 $as_echo_n "(cached) " >&6
10092 else
10093 ac_wine_try_cflags_saved=$CFLAGS
10094 ac_wine_try_cflags_saved_cc=$CC
10095 ac_wine_try_cflags_saved_exeext=$ac_exeext
10096 CFLAGS="$CFLAGS -Wtype-limits"
10097 CC="$CROSSCC"
10098 ac_exeext=".exe"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10101 int main(int argc, char **argv) { return 0; }
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 ac_cv_crosscflags__Wtype_limits=yes
10105 else
10106 ac_cv_crosscflags__Wtype_limits=no
10108 rm -f core conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10110 CFLAGS=$ac_wine_try_cflags_saved
10111 CC=$ac_wine_try_cflags_saved_cc
10112 ac_exeext=$ac_wine_try_cflags_saved_exeext
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10115 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10116 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10117 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10120 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10121 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10122 $as_echo_n "(cached) " >&6
10123 else
10124 ac_wine_try_cflags_saved=$CFLAGS
10125 ac_wine_try_cflags_saved_cc=$CC
10126 ac_wine_try_cflags_saved_exeext=$ac_exeext
10127 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10128 CC="$CROSSCC"
10129 ac_exeext=".exe"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10132 int main(int argc, char **argv) { return 0; }
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10136 else
10137 ac_cv_crosscflags__Wunused_but_set_parameter=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 CFLAGS=$ac_wine_try_cflags_saved
10142 CC=$ac_wine_try_cflags_saved_cc
10143 ac_exeext=$ac_wine_try_cflags_saved_exeext
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10146 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10147 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10148 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10151 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10152 if ${ac_cv_crosscflags__Wvla+:} false; then :
10153 $as_echo_n "(cached) " >&6
10154 else
10155 ac_wine_try_cflags_saved=$CFLAGS
10156 ac_wine_try_cflags_saved_cc=$CC
10157 ac_wine_try_cflags_saved_exeext=$ac_exeext
10158 CFLAGS="$CFLAGS -Wvla"
10159 CC="$CROSSCC"
10160 ac_exeext=".exe"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10163 int main(int argc, char **argv) { return 0; }
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 ac_cv_crosscflags__Wvla=yes
10167 else
10168 ac_cv_crosscflags__Wvla=no
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 CFLAGS=$ac_wine_try_cflags_saved
10173 CC=$ac_wine_try_cflags_saved_cc
10174 ac_exeext=$ac_wine_try_cflags_saved_exeext
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10177 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10178 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10179 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10182 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10183 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10184 $as_echo_n "(cached) " >&6
10185 else
10186 ac_wine_try_cflags_saved=$CFLAGS
10187 ac_wine_try_cflags_saved_cc=$CC
10188 ac_wine_try_cflags_saved_exeext=$ac_exeext
10189 CFLAGS="$CFLAGS -Wwrite-strings"
10190 CC="$CROSSCC"
10191 ac_exeext=".exe"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 int main(int argc, char **argv) { return 0; }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 ac_cv_crosscflags__Wwrite_strings=yes
10198 else
10199 ac_cv_crosscflags__Wwrite_strings=no
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 CFLAGS=$ac_wine_try_cflags_saved
10204 CC=$ac_wine_try_cflags_saved_cc
10205 ac_exeext=$ac_wine_try_cflags_saved_exeext
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10208 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10209 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10210 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10213 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10214 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_wine_try_cflags_saved=$CFLAGS
10218 ac_wine_try_cflags_saved_cc=$CC
10219 ac_wine_try_cflags_saved_exeext=$ac_exeext
10220 CFLAGS="$CFLAGS -Wpointer-arith"
10221 CC="$CROSSCC"
10222 ac_exeext=".exe"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 int main(int argc, char **argv) { return 0; }
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 ac_cv_crosscflags__Wpointer_arith=yes
10229 else
10230 ac_cv_crosscflags__Wpointer_arith=no
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 CFLAGS=$ac_wine_try_cflags_saved
10235 CC=$ac_wine_try_cflags_saved_cc
10236 ac_exeext=$ac_wine_try_cflags_saved_exeext
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10239 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10240 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10241 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10244 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10245 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10246 $as_echo_n "(cached) " >&6
10247 else
10248 ac_wine_try_cflags_saved=$CFLAGS
10249 ac_wine_try_cflags_saved_cc=$CC
10250 ac_wine_try_cflags_saved_exeext=$ac_exeext
10251 CFLAGS="$CFLAGS -Wlogical-op"
10252 CC="$CROSSCC"
10253 ac_exeext=".exe"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 int main(int argc, char **argv) { return 0; }
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 ac_cv_crosscflags__Wlogical_op=yes
10260 else
10261 ac_cv_crosscflags__Wlogical_op=no
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10266 CC=$ac_wine_try_cflags_saved_cc
10267 ac_exeext=$ac_wine_try_cflags_saved_exeext
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10270 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10271 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10272 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10275 case $host_cpu in
10276 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10277 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10278 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10279 $as_echo_n "(cached) " >&6
10280 else
10281 ac_wine_try_cflags_saved=$CFLAGS
10282 ac_wine_try_cflags_saved_cc=$CC
10283 ac_wine_try_cflags_saved_exeext=$ac_exeext
10284 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10285 CC="$CROSSCC"
10286 ac_exeext=".exe"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 int main(int argc, char **argv) { return 0; }
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10293 else
10294 ac_cv_crosscflags__fno_omit_frame_pointer=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 CFLAGS=$ac_wine_try_cflags_saved
10299 CC=$ac_wine_try_cflags_saved_cc
10300 ac_exeext=$ac_wine_try_cflags_saved_exeext
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10303 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10304 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10305 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10306 fi ;;
10307 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10308 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10309 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_wine_try_cflags_saved=$CFLAGS
10313 ac_wine_try_cflags_saved_cc=$CC
10314 ac_wine_try_cflags_saved_exeext=$ac_exeext
10315 CFLAGS="$CFLAGS -Wno-format"
10316 CC="$CROSSCC"
10317 ac_exeext=".exe"
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10320 int main(int argc, char **argv) { return 0; }
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"; then :
10323 ac_cv_crosscflags__Wno_format=yes
10324 else
10325 ac_cv_crosscflags__Wno_format=no
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10329 CFLAGS=$ac_wine_try_cflags_saved
10330 CC=$ac_wine_try_cflags_saved_cc
10331 ac_exeext=$ac_wine_try_cflags_saved_exeext
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10334 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10335 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10336 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10337 fi ;;
10338 esac
10340 for ac_flag in $CROSSCFLAGS; do
10341 case $ac_flag in
10342 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10343 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10344 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10345 $as_echo_n "(cached) " >&6
10346 else
10347 ac_wine_try_cflags_saved=$CFLAGS
10348 ac_wine_try_cflags_saved_cc=$CC
10349 ac_wine_try_cflags_saved_exeext=$ac_exeext
10350 CFLAGS="$CFLAGS -gdwarf-2"
10351 CC="$CROSSCC"
10352 ac_exeext=".exe"
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 int main(int argc, char **argv) { return 0; }
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"; then :
10358 ac_cv_crosscflags__gdwarf_2=yes
10359 else
10360 ac_cv_crosscflags__gdwarf_2=no
10362 rm -f core conftest.err conftest.$ac_objext \
10363 conftest$ac_exeext conftest.$ac_ext
10364 CFLAGS=$ac_wine_try_cflags_saved
10365 CC=$ac_wine_try_cflags_saved_cc
10366 ac_exeext=$ac_wine_try_cflags_saved_exeext
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10369 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10370 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10371 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10374 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10375 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 ac_wine_try_cflags_saved=$CFLAGS
10379 ac_wine_try_cflags_saved_cc=$CC
10380 ac_wine_try_cflags_saved_exeext=$ac_exeext
10381 CFLAGS="$CFLAGS -gstrict-dwarf"
10382 CC="$CROSSCC"
10383 ac_exeext=".exe"
10384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10386 int main(int argc, char **argv) { return 0; }
10387 _ACEOF
10388 if ac_fn_c_try_link "$LINENO"; then :
10389 ac_cv_crosscflags__gstrict_dwarf=yes
10390 else
10391 ac_cv_crosscflags__gstrict_dwarf=no
10393 rm -f core conftest.err conftest.$ac_objext \
10394 conftest$ac_exeext conftest.$ac_ext
10395 CFLAGS=$ac_wine_try_cflags_saved
10396 CC=$ac_wine_try_cflags_saved_cc
10397 ac_exeext=$ac_wine_try_cflags_saved_exeext
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10400 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10401 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10402 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10403 fi ;;
10404 esac
10405 done
10407 if test "x$enable_maintainer_mode" = xyes
10408 then
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10410 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10411 if ${ac_cv_crosscflags__Werror+:} false; then :
10412 $as_echo_n "(cached) " >&6
10413 else
10414 ac_wine_try_cflags_saved=$CFLAGS
10415 ac_wine_try_cflags_saved_cc=$CC
10416 ac_wine_try_cflags_saved_exeext=$ac_exeext
10417 CFLAGS="$CFLAGS -Werror"
10418 CC="$CROSSCC"
10419 ac_exeext=".exe"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 int main(int argc, char **argv) { return 0; }
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 ac_cv_crosscflags__Werror=yes
10426 else
10427 ac_cv_crosscflags__Werror=no
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 CFLAGS=$ac_wine_try_cflags_saved
10432 CC=$ac_wine_try_cflags_saved_cc
10433 ac_exeext=$ac_wine_try_cflags_saved_exeext
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10436 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10437 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10438 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10442 CFLAGS=$saved_CFLAGS
10443 CC="$ac_save_CC"
10446 if test "x$CROSSTARGET" = "x"; then :
10447 case "x$with_mingw" in
10448 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10449 xno) ;;
10450 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10451 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10452 esac
10457 if test "$ac_cv_header_pthread_h" = "yes"
10458 then
10459 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10460 if test "x$ac_cv_func_pthread_create" = xyes; then :
10462 else
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10464 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10465 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10466 $as_echo_n "(cached) " >&6
10467 else
10468 ac_check_lib_save_LIBS=$LIBS
10469 LIBS="-lpthread $LIBS"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10473 /* Override any GCC internal prototype to avoid an error.
10474 Use char because int might match the return type of a GCC
10475 builtin and then its argument prototype would still apply. */
10476 #ifdef __cplusplus
10477 extern "C"
10478 #endif
10479 char pthread_create ();
10481 main ()
10483 return pthread_create ();
10485 return 0;
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"; then :
10489 ac_cv_lib_pthread_pthread_create=yes
10490 else
10491 ac_cv_lib_pthread_pthread_create=no
10493 rm -f core conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 LIBS=$ac_check_lib_save_LIBS
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10498 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10499 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10500 PTHREAD_LIBS="-lpthread"
10507 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10508 case "x$with_pthread" in
10509 xno) ;;
10510 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10511 Wine cannot support threads without libpthread.
10512 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10513 esac
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10519 $as_echo_n "checking for X... " >&6; }
10522 # Check whether --with-x was given.
10523 if test "${with_x+set}" = set; then :
10524 withval=$with_x;
10527 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10528 if test "x$with_x" = xno; then
10529 # The user explicitly disabled X.
10530 have_x=disabled
10531 else
10532 case $x_includes,$x_libraries in #(
10533 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10534 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10535 $as_echo_n "(cached) " >&6
10536 else
10537 # One or both of the vars are not set, and there is no cached value.
10538 ac_x_includes=no ac_x_libraries=no
10539 rm -f -r conftest.dir
10540 if mkdir conftest.dir; then
10541 cd conftest.dir
10542 cat >Imakefile <<'_ACEOF'
10543 incroot:
10544 @echo incroot='${INCROOT}'
10545 usrlibdir:
10546 @echo usrlibdir='${USRLIBDIR}'
10547 libdir:
10548 @echo libdir='${LIBDIR}'
10549 _ACEOF
10550 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10551 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10552 for ac_var in incroot usrlibdir libdir; do
10553 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10554 done
10555 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10556 for ac_extension in a so sl dylib la dll; do
10557 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10558 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10559 ac_im_usrlibdir=$ac_im_libdir; break
10561 done
10562 # Screen out bogus values from the imake configuration. They are
10563 # bogus both because they are the default anyway, and because
10564 # using them would break gcc on systems where it needs fixed includes.
10565 case $ac_im_incroot in
10566 /usr/include) ac_x_includes= ;;
10567 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10568 esac
10569 case $ac_im_usrlibdir in
10570 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10571 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10572 esac
10574 cd ..
10575 rm -f -r conftest.dir
10578 # Standard set of common directories for X headers.
10579 # Check X11 before X11Rn because it is often a symlink to the current release.
10580 ac_x_header_dirs='
10581 /usr/X11/include
10582 /usr/X11R7/include
10583 /usr/X11R6/include
10584 /usr/X11R5/include
10585 /usr/X11R4/include
10587 /usr/include/X11
10588 /usr/include/X11R7
10589 /usr/include/X11R6
10590 /usr/include/X11R5
10591 /usr/include/X11R4
10593 /usr/local/X11/include
10594 /usr/local/X11R7/include
10595 /usr/local/X11R6/include
10596 /usr/local/X11R5/include
10597 /usr/local/X11R4/include
10599 /usr/local/include/X11
10600 /usr/local/include/X11R7
10601 /usr/local/include/X11R6
10602 /usr/local/include/X11R5
10603 /usr/local/include/X11R4
10605 /usr/X386/include
10606 /usr/x386/include
10607 /usr/XFree86/include/X11
10609 /usr/include
10610 /usr/local/include
10611 /usr/unsupported/include
10612 /usr/athena/include
10613 /usr/local/x11r5/include
10614 /usr/lpp/Xamples/include
10616 /usr/openwin/include
10617 /usr/openwin/share/include'
10619 if test "$ac_x_includes" = no; then
10620 # Guess where to find include files, by looking for Xlib.h.
10621 # First, try using that file with no special directory specified.
10622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10624 #include <X11/Xlib.h>
10625 _ACEOF
10626 if ac_fn_c_try_cpp "$LINENO"; then :
10627 # We can compile using X headers with no special include directory.
10628 ac_x_includes=
10629 else
10630 for ac_dir in $ac_x_header_dirs; do
10631 if test -r "$ac_dir/X11/Xlib.h"; then
10632 ac_x_includes=$ac_dir
10633 break
10635 done
10637 rm -f conftest.err conftest.i conftest.$ac_ext
10638 fi # $ac_x_includes = no
10640 if test "$ac_x_libraries" = no; then
10641 # Check for the libraries.
10642 # See if we find them without any special options.
10643 # Don't add to $LIBS permanently.
10644 ac_save_LIBS=$LIBS
10645 LIBS="-lX11 $LIBS"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10648 #include <X11/Xlib.h>
10650 main ()
10652 XrmInitialize ()
10654 return 0;
10656 _ACEOF
10657 if ac_fn_c_try_link "$LINENO"; then :
10658 LIBS=$ac_save_LIBS
10659 # We can link X programs with no special library path.
10660 ac_x_libraries=
10661 else
10662 LIBS=$ac_save_LIBS
10663 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10665 # Don't even attempt the hair of trying to link an X program!
10666 for ac_extension in a so sl dylib la dll; do
10667 if test -r "$ac_dir/libX11.$ac_extension"; then
10668 ac_x_libraries=$ac_dir
10669 break 2
10671 done
10672 done
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 fi # $ac_x_libraries = no
10678 case $ac_x_includes,$ac_x_libraries in #(
10679 no,* | *,no | *\'*)
10680 # Didn't find X, or a directory has "'" in its name.
10681 ac_cv_have_x="have_x=no";; #(
10683 # Record where we found X for the cache.
10684 ac_cv_have_x="have_x=yes\
10685 ac_x_includes='$ac_x_includes'\
10686 ac_x_libraries='$ac_x_libraries'"
10687 esac
10689 ;; #(
10690 *) have_x=yes;;
10691 esac
10692 eval "$ac_cv_have_x"
10693 fi # $with_x != no
10695 if test "$have_x" != yes; then
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10697 $as_echo "$have_x" >&6; }
10698 no_x=yes
10699 else
10700 # If each of the values was on the command line, it overrides each guess.
10701 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10702 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10703 # Update the cache value to reflect the command line values.
10704 ac_cv_have_x="have_x=yes\
10705 ac_x_includes='$x_includes'\
10706 ac_x_libraries='$x_libraries'"
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10708 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10711 if test "$no_x" = yes; then
10712 # Not all programs may use this symbol, but it does not hurt to define it.
10714 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10716 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10717 else
10718 if test -n "$x_includes"; then
10719 X_CFLAGS="$X_CFLAGS -I$x_includes"
10722 # It would also be nice to do this for all -L options, not just this one.
10723 if test -n "$x_libraries"; then
10724 X_LIBS="$X_LIBS -L$x_libraries"
10725 # For Solaris; some versions of Sun CC require a space after -R and
10726 # others require no space. Words are not sufficient . . . .
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10728 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10729 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10730 ac_xsave_c_werror_flag=$ac_c_werror_flag
10731 ac_c_werror_flag=yes
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10736 main ()
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10745 $as_echo "no" >&6; }
10746 X_LIBS="$X_LIBS -R$x_libraries"
10747 else
10748 LIBS="$ac_xsave_LIBS -R $x_libraries"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10753 main ()
10757 return 0;
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"; then :
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10762 $as_echo "yes" >&6; }
10763 X_LIBS="$X_LIBS -R $x_libraries"
10764 else
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10766 $as_echo "neither works" >&6; }
10768 rm -f core conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10771 rm -f core conftest.err conftest.$ac_objext \
10772 conftest$ac_exeext conftest.$ac_ext
10773 ac_c_werror_flag=$ac_xsave_c_werror_flag
10774 LIBS=$ac_xsave_LIBS
10777 # Check for system-dependent libraries X programs must link with.
10778 # Do this before checking for the system-independent R6 libraries
10779 # (-lICE), since we may need -lsocket or whatever for X linking.
10781 if test "$ISC" = yes; then
10782 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10783 else
10784 # Martyn Johnson says this is needed for Ultrix, if the X
10785 # libraries were built with DECnet support. And Karl Berry says
10786 # the Alpha needs dnet_stub (dnet does not exist).
10787 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10794 #ifdef __cplusplus
10795 extern "C"
10796 #endif
10797 char XOpenDisplay ();
10799 main ()
10801 return XOpenDisplay ();
10803 return 0;
10805 _ACEOF
10806 if ac_fn_c_try_link "$LINENO"; then :
10808 else
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10810 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10811 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10812 $as_echo_n "(cached) " >&6
10813 else
10814 ac_check_lib_save_LIBS=$LIBS
10815 LIBS="-ldnet $LIBS"
10816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10822 #ifdef __cplusplus
10823 extern "C"
10824 #endif
10825 char dnet_ntoa ();
10827 main ()
10829 return dnet_ntoa ();
10831 return 0;
10833 _ACEOF
10834 if ac_fn_c_try_link "$LINENO"; then :
10835 ac_cv_lib_dnet_dnet_ntoa=yes
10836 else
10837 ac_cv_lib_dnet_dnet_ntoa=no
10839 rm -f core conftest.err conftest.$ac_objext \
10840 conftest$ac_exeext conftest.$ac_ext
10841 LIBS=$ac_check_lib_save_LIBS
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10844 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10845 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10846 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10849 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10851 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10852 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10853 $as_echo_n "(cached) " >&6
10854 else
10855 ac_check_lib_save_LIBS=$LIBS
10856 LIBS="-ldnet_stub $LIBS"
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10860 /* Override any GCC internal prototype to avoid an error.
10861 Use char because int might match the return type of a GCC
10862 builtin and then its argument prototype would still apply. */
10863 #ifdef __cplusplus
10864 extern "C"
10865 #endif
10866 char dnet_ntoa ();
10868 main ()
10870 return dnet_ntoa ();
10872 return 0;
10874 _ACEOF
10875 if ac_fn_c_try_link "$LINENO"; then :
10876 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10877 else
10878 ac_cv_lib_dnet_stub_dnet_ntoa=no
10880 rm -f core conftest.err conftest.$ac_objext \
10881 conftest$ac_exeext conftest.$ac_ext
10882 LIBS=$ac_check_lib_save_LIBS
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10885 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10886 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10887 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10892 rm -f core conftest.err conftest.$ac_objext \
10893 conftest$ac_exeext conftest.$ac_ext
10894 LIBS="$ac_xsave_LIBS"
10896 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10897 # to get the SysV transport functions.
10898 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10899 # needs -lnsl.
10900 # The nsl library prevents programs from opening the X display
10901 # on Irix 5.2, according to T.E. Dickey.
10902 # The functions gethostbyname, getservbyname, and inet_addr are
10903 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10904 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10905 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10909 if test $ac_cv_func_gethostbyname = no; then
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10911 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10912 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10913 $as_echo_n "(cached) " >&6
10914 else
10915 ac_check_lib_save_LIBS=$LIBS
10916 LIBS="-lnsl $LIBS"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10920 /* Override any GCC internal prototype to avoid an error.
10921 Use char because int might match the return type of a GCC
10922 builtin and then its argument prototype would still apply. */
10923 #ifdef __cplusplus
10924 extern "C"
10925 #endif
10926 char gethostbyname ();
10928 main ()
10930 return gethostbyname ();
10932 return 0;
10934 _ACEOF
10935 if ac_fn_c_try_link "$LINENO"; then :
10936 ac_cv_lib_nsl_gethostbyname=yes
10937 else
10938 ac_cv_lib_nsl_gethostbyname=no
10940 rm -f core conftest.err conftest.$ac_objext \
10941 conftest$ac_exeext conftest.$ac_ext
10942 LIBS=$ac_check_lib_save_LIBS
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10945 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10946 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10947 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10950 if test $ac_cv_lib_nsl_gethostbyname = no; then
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10952 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10953 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10954 $as_echo_n "(cached) " >&6
10955 else
10956 ac_check_lib_save_LIBS=$LIBS
10957 LIBS="-lbsd $LIBS"
10958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10961 /* Override any GCC internal prototype to avoid an error.
10962 Use char because int might match the return type of a GCC
10963 builtin and then its argument prototype would still apply. */
10964 #ifdef __cplusplus
10965 extern "C"
10966 #endif
10967 char gethostbyname ();
10969 main ()
10971 return gethostbyname ();
10973 return 0;
10975 _ACEOF
10976 if ac_fn_c_try_link "$LINENO"; then :
10977 ac_cv_lib_bsd_gethostbyname=yes
10978 else
10979 ac_cv_lib_bsd_gethostbyname=no
10981 rm -f core conftest.err conftest.$ac_objext \
10982 conftest$ac_exeext conftest.$ac_ext
10983 LIBS=$ac_check_lib_save_LIBS
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10986 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10987 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10988 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10994 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10995 # socket/setsockopt and other routines are undefined under SCO ODT
10996 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10997 # on later versions), says Simon Leinen: it contains gethostby*
10998 # variants that don't use the name server (or something). -lsocket
10999 # must be given before -lnsl if both are needed. We assume that
11000 # if connect needs -lnsl, so does gethostbyname.
11001 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11002 if test "x$ac_cv_func_connect" = xyes; then :
11006 if test $ac_cv_func_connect = no; then
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11008 $as_echo_n "checking for connect in -lsocket... " >&6; }
11009 if ${ac_cv_lib_socket_connect+:} false; then :
11010 $as_echo_n "(cached) " >&6
11011 else
11012 ac_check_lib_save_LIBS=$LIBS
11013 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11017 /* Override any GCC internal prototype to avoid an error.
11018 Use char because int might match the return type of a GCC
11019 builtin and then its argument prototype would still apply. */
11020 #ifdef __cplusplus
11021 extern "C"
11022 #endif
11023 char connect ();
11025 main ()
11027 return connect ();
11029 return 0;
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"; then :
11033 ac_cv_lib_socket_connect=yes
11034 else
11035 ac_cv_lib_socket_connect=no
11037 rm -f core conftest.err conftest.$ac_objext \
11038 conftest$ac_exeext conftest.$ac_ext
11039 LIBS=$ac_check_lib_save_LIBS
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11042 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11043 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11044 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11049 # Guillermo Gomez says -lposix is necessary on A/UX.
11050 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11051 if test "x$ac_cv_func_remove" = xyes; then :
11055 if test $ac_cv_func_remove = no; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11057 $as_echo_n "checking for remove in -lposix... " >&6; }
11058 if ${ac_cv_lib_posix_remove+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_lib_save_LIBS=$LIBS
11062 LIBS="-lposix $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char remove ();
11074 main ()
11076 return remove ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 ac_cv_lib_posix_remove=yes
11083 else
11084 ac_cv_lib_posix_remove=no
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11091 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11092 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11093 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11098 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11099 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11100 if test "x$ac_cv_func_shmat" = xyes; then :
11104 if test $ac_cv_func_shmat = no; then
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11106 $as_echo_n "checking for shmat in -lipc... " >&6; }
11107 if ${ac_cv_lib_ipc_shmat+:} false; then :
11108 $as_echo_n "(cached) " >&6
11109 else
11110 ac_check_lib_save_LIBS=$LIBS
11111 LIBS="-lipc $LIBS"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char shmat ();
11123 main ()
11125 return shmat ();
11127 return 0;
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131 ac_cv_lib_ipc_shmat=yes
11132 else
11133 ac_cv_lib_ipc_shmat=no
11135 rm -f core conftest.err conftest.$ac_objext \
11136 conftest$ac_exeext conftest.$ac_ext
11137 LIBS=$ac_check_lib_save_LIBS
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11140 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11141 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11142 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11148 # Check for libraries that X11R6 Xt/Xaw programs need.
11149 ac_save_LDFLAGS=$LDFLAGS
11150 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11151 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11152 # check for ICE first), but we must link in the order -lSM -lICE or
11153 # we get undefined symbols. So assume we have SM if we have ICE.
11154 # These have to be linked with before -lX11, unlike the other
11155 # libraries we check for below, so use a different variable.
11156 # John Interrante, Karl Berry
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11158 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11159 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11160 $as_echo_n "(cached) " >&6
11161 else
11162 ac_check_lib_save_LIBS=$LIBS
11163 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11167 /* Override any GCC internal prototype to avoid an error.
11168 Use char because int might match the return type of a GCC
11169 builtin and then its argument prototype would still apply. */
11170 #ifdef __cplusplus
11171 extern "C"
11172 #endif
11173 char IceConnectionNumber ();
11175 main ()
11177 return IceConnectionNumber ();
11179 return 0;
11181 _ACEOF
11182 if ac_fn_c_try_link "$LINENO"; then :
11183 ac_cv_lib_ICE_IceConnectionNumber=yes
11184 else
11185 ac_cv_lib_ICE_IceConnectionNumber=no
11187 rm -f core conftest.err conftest.$ac_objext \
11188 conftest$ac_exeext conftest.$ac_ext
11189 LIBS=$ac_check_lib_save_LIBS
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11192 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11193 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11194 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11197 LDFLAGS=$ac_save_LDFLAGS
11202 if test "$have_x" = "yes"
11203 then
11204 ac_save_CPPFLAGS="$CPPFLAGS"
11205 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11208 $as_echo_n "checking for -lX11... " >&6; }
11209 if ${ac_cv_lib_soname_X11+:} false; then :
11210 $as_echo_n "(cached) " >&6
11211 else
11212 ac_check_soname_save_LIBS=$LIBS
11213 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11220 #ifdef __cplusplus
11221 extern "C"
11222 #endif
11223 char XCreateWindow ();
11225 main ()
11227 return XCreateWindow ();
11229 return 0;
11231 _ACEOF
11232 if ac_fn_c_try_link "$LINENO"; then :
11233 case "$LIBEXT" in
11234 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11235 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'` ;;
11236 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11237 if ${ac_cv_lib_soname_X11:+false} :; then :
11238 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11239 fi ;;
11240 esac
11241 else
11242 ac_cv_lib_soname_X11=
11244 rm -f core conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_soname_save_LIBS
11248 if ${ac_cv_lib_soname_X11:+false} :; then :
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11250 $as_echo "not found" >&6; }
11252 else
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11254 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11256 cat >>confdefs.h <<_ACEOF
11257 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11258 _ACEOF
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11263 $as_echo_n "checking for -lXext... " >&6; }
11264 if ${ac_cv_lib_soname_Xext+:} false; then :
11265 $as_echo_n "(cached) " >&6
11266 else
11267 ac_check_soname_save_LIBS=$LIBS
11268 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char XextCreateExtension ();
11280 main ()
11282 return XextCreateExtension ();
11284 return 0;
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 case "$LIBEXT" in
11289 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11290 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'` ;;
11291 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11292 if ${ac_cv_lib_soname_Xext:+false} :; then :
11293 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11294 fi ;;
11295 esac
11296 else
11297 ac_cv_lib_soname_Xext=
11299 rm -f core conftest.err conftest.$ac_objext \
11300 conftest$ac_exeext conftest.$ac_ext
11301 LIBS=$ac_check_soname_save_LIBS
11303 if ${ac_cv_lib_soname_Xext:+false} :; then :
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11305 $as_echo "not found" >&6; }
11307 else
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11309 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11311 cat >>confdefs.h <<_ACEOF
11312 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11313 _ACEOF
11315 X_LIBS="$X_LIBS -lXext"
11317 X_LIBS="$X_LIBS -lX11"
11319 for ac_header in X11/Xlib.h \
11320 X11/XKBlib.h \
11321 X11/Xutil.h \
11322 X11/Xcursor/Xcursor.h \
11323 X11/extensions/shape.h \
11324 X11/extensions/XInput.h \
11325 X11/extensions/XInput2.h \
11326 X11/extensions/XShm.h \
11327 X11/extensions/Xcomposite.h \
11328 X11/extensions/Xfixes.h \
11329 X11/extensions/Xinerama.h \
11330 X11/extensions/Xrandr.h \
11331 X11/extensions/Xrender.h \
11332 X11/extensions/xf86vmode.h \
11333 X11/extensions/xf86vmproto.h
11334 do :
11335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11336 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11337 # include <X11/Xlib.h>
11338 #endif
11339 #ifdef HAVE_X11_XUTIL_H
11340 # include <X11/Xutil.h>
11341 #endif
11343 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11344 cat >>confdefs.h <<_ACEOF
11345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11346 _ACEOF
11350 done
11353 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11354 then
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11356 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11357 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11358 $as_echo_n "(cached) " >&6
11359 else
11360 ac_check_lib_save_LIBS=$LIBS
11361 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11368 #ifdef __cplusplus
11369 extern "C"
11370 #endif
11371 char XkbQueryExtension ();
11373 main ()
11375 return XkbQueryExtension ();
11377 return 0;
11379 _ACEOF
11380 if ac_fn_c_try_link "$LINENO"; then :
11381 ac_cv_lib_X11_XkbQueryExtension=yes
11382 else
11383 ac_cv_lib_X11_XkbQueryExtension=no
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_lib_save_LIBS
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11390 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11391 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11393 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11399 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11400 then
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11402 $as_echo_n "checking for -lXcursor... " >&6; }
11403 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11404 $as_echo_n "(cached) " >&6
11405 else
11406 ac_check_soname_save_LIBS=$LIBS
11407 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char XcursorImageLoadCursor ();
11419 main ()
11421 return XcursorImageLoadCursor ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 case "$LIBEXT" in
11428 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11429 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'` ;;
11430 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11431 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11432 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11433 fi ;;
11434 esac
11435 else
11436 ac_cv_lib_soname_Xcursor=
11438 rm -f core conftest.err conftest.$ac_objext \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_soname_save_LIBS
11442 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11444 $as_echo "not found" >&6; }
11446 else
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11448 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11450 cat >>confdefs.h <<_ACEOF
11451 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11452 _ACEOF
11457 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11458 case "x$with_xcursor" in
11459 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11460 xno) ;;
11461 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11462 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11463 esac
11467 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11468 then
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11470 $as_echo_n "checking for -lXi... " >&6; }
11471 if ${ac_cv_lib_soname_Xi+:} false; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_soname_save_LIBS=$LIBS
11475 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char XOpenDevice ();
11487 main ()
11489 return XOpenDevice ();
11491 return 0;
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 case "$LIBEXT" in
11496 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11497 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'` ;;
11498 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11499 if ${ac_cv_lib_soname_Xi:+false} :; then :
11500 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11501 fi ;;
11502 esac
11503 else
11504 ac_cv_lib_soname_Xi=
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_soname_save_LIBS
11510 if ${ac_cv_lib_soname_Xi:+false} :; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11512 $as_echo "not found" >&6; }
11514 else
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11516 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11518 cat >>confdefs.h <<_ACEOF
11519 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11520 _ACEOF
11525 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11526 case "x$with_xinput" in
11527 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11528 xno) ;;
11529 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11530 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11531 esac
11535 if test "x$ac_cv_lib_soname_Xi" != x
11536 then
11537 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11538 case "x$with_xinput2" in
11539 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11540 xno) ;;
11541 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11542 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11543 esac
11548 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11549 then
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11551 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11552 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11553 $as_echo_n "(cached) " >&6
11554 else
11555 ac_check_lib_save_LIBS=$LIBS
11556 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11563 #ifdef __cplusplus
11564 extern "C"
11565 #endif
11566 char XShmQueryExtension ();
11568 main ()
11570 return XShmQueryExtension ();
11572 return 0;
11574 _ACEOF
11575 if ac_fn_c_try_link "$LINENO"; then :
11576 ac_cv_lib_Xext_XShmQueryExtension=yes
11577 else
11578 ac_cv_lib_Xext_XShmQueryExtension=no
11580 rm -f core conftest.err conftest.$ac_objext \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_lib_save_LIBS
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11585 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11586 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11588 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11593 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11594 case "x$with_xshm" in
11595 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11596 xno) ;;
11597 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11598 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11599 esac
11603 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11604 then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11606 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11607 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11608 $as_echo_n "(cached) " >&6
11609 else
11610 ac_check_lib_save_LIBS=$LIBS
11611 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11615 /* Override any GCC internal prototype to avoid an error.
11616 Use char because int might match the return type of a GCC
11617 builtin and then its argument prototype would still apply. */
11618 #ifdef __cplusplus
11619 extern "C"
11620 #endif
11621 char XShapeQueryExtension ();
11623 main ()
11625 return XShapeQueryExtension ();
11627 return 0;
11629 _ACEOF
11630 if ac_fn_c_try_link "$LINENO"; then :
11631 ac_cv_lib_Xext_XShapeQueryExtension=yes
11632 else
11633 ac_cv_lib_Xext_XShapeQueryExtension=no
11635 rm -f core conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_lib_save_LIBS
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11640 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11641 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11643 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11648 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11649 case "x$with_xshape" in
11650 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11651 xno) ;;
11652 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11653 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11654 esac
11658 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11659 then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11661 $as_echo_n "checking for -lXxf86vm... " >&6; }
11662 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11663 $as_echo_n "(cached) " >&6
11664 else
11665 ac_check_soname_save_LIBS=$LIBS
11666 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11673 #ifdef __cplusplus
11674 extern "C"
11675 #endif
11676 char XF86VidModeQueryExtension ();
11678 main ()
11680 return XF86VidModeQueryExtension ();
11682 return 0;
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"; then :
11686 case "$LIBEXT" in
11687 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11688 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'` ;;
11689 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11690 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11691 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11692 fi ;;
11693 esac
11694 else
11695 ac_cv_lib_soname_Xxf86vm=
11697 rm -f core conftest.err conftest.$ac_objext \
11698 conftest$ac_exeext conftest.$ac_ext
11699 LIBS=$ac_check_soname_save_LIBS
11701 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11703 $as_echo "not found" >&6; }
11705 else
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11707 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11709 cat >>confdefs.h <<_ACEOF
11710 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11711 _ACEOF
11716 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11717 case "x$with_xxf86vm" in
11718 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11719 xno) ;;
11720 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11721 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11722 esac
11726 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11727 then
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11729 $as_echo_n "checking for -lXrender... " >&6; }
11730 if ${ac_cv_lib_soname_Xrender+:} false; then :
11731 $as_echo_n "(cached) " >&6
11732 else
11733 ac_check_soname_save_LIBS=$LIBS
11734 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11741 #ifdef __cplusplus
11742 extern "C"
11743 #endif
11744 char XRenderQueryExtension ();
11746 main ()
11748 return XRenderQueryExtension ();
11750 return 0;
11752 _ACEOF
11753 if ac_fn_c_try_link "$LINENO"; then :
11754 case "$LIBEXT" in
11755 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11756 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'` ;;
11757 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11758 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11759 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11760 fi ;;
11761 esac
11762 else
11763 ac_cv_lib_soname_Xrender=
11765 rm -f core conftest.err conftest.$ac_objext \
11766 conftest$ac_exeext conftest.$ac_ext
11767 LIBS=$ac_check_soname_save_LIBS
11769 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11771 $as_echo "not found" >&6; }
11773 else
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11775 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11777 cat >>confdefs.h <<_ACEOF
11778 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11779 _ACEOF
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11782 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11783 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_check_lib_save_LIBS=$LIBS
11787 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 #endif
11797 char XRenderSetPictureTransform ();
11799 main ()
11801 return XRenderSetPictureTransform ();
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11808 else
11809 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11811 rm -f core conftest.err conftest.$ac_objext \
11812 conftest$ac_exeext conftest.$ac_ext
11813 LIBS=$ac_check_lib_save_LIBS
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11816 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11817 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11819 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11824 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11825 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 ac_check_lib_save_LIBS=$LIBS
11829 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11836 #ifdef __cplusplus
11837 extern "C"
11838 #endif
11839 char XRenderCreateLinearGradient ();
11841 main ()
11843 return XRenderCreateLinearGradient ();
11845 return 0;
11847 _ACEOF
11848 if ac_fn_c_try_link "$LINENO"; then :
11849 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11850 else
11851 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11853 rm -f core conftest.err conftest.$ac_objext \
11854 conftest$ac_exeext conftest.$ac_ext
11855 LIBS=$ac_check_lib_save_LIBS
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11858 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11859 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11861 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11868 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11869 case "x$with_xrender" in
11870 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11871 xno) ;;
11872 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11873 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11874 esac
11878 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11879 then
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11882 #include <X11/Xlib.h>
11883 #include <X11/extensions/Xrandr.h>
11885 main ()
11887 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_compile "$LINENO"; then :
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11894 $as_echo_n "checking for -lXrandr... " >&6; }
11895 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11896 $as_echo_n "(cached) " >&6
11897 else
11898 ac_check_soname_save_LIBS=$LIBS
11899 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11906 #ifdef __cplusplus
11907 extern "C"
11908 #endif
11909 char XRRQueryExtension ();
11911 main ()
11913 return XRRQueryExtension ();
11915 return 0;
11917 _ACEOF
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 case "$LIBEXT" in
11920 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11921 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'` ;;
11922 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11923 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11924 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11925 fi ;;
11926 esac
11927 else
11928 ac_cv_lib_soname_Xrandr=
11930 rm -f core conftest.err conftest.$ac_objext \
11931 conftest$ac_exeext conftest.$ac_ext
11932 LIBS=$ac_check_soname_save_LIBS
11934 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11936 $as_echo "not found" >&6; }
11938 else
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11940 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11942 cat >>confdefs.h <<_ACEOF
11943 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11944 _ACEOF
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #include <X11/Xlib.h>
11949 #include <X11/extensions/Xrandr.h>
11951 main ()
11953 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11955 return 0;
11957 _ACEOF
11958 if ac_fn_c_try_compile "$LINENO"; then :
11960 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11968 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11969 case "x$with_xrandr" in
11970 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11971 xno) ;;
11972 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11973 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11974 esac
11978 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11979 then
11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11982 #include <X11/Xlib.h>
11983 #include <X11/extensions/Xfixes.h>
11985 main ()
11987 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11989 return 0;
11991 _ACEOF
11992 if ac_fn_c_try_compile "$LINENO"; then :
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11994 $as_echo_n "checking for -lXfixes... " >&6; }
11995 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11996 $as_echo_n "(cached) " >&6
11997 else
11998 ac_check_soname_save_LIBS=$LIBS
11999 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12006 #ifdef __cplusplus
12007 extern "C"
12008 #endif
12009 char XFixesQueryVersion ();
12011 main ()
12013 return XFixesQueryVersion ();
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_link "$LINENO"; then :
12019 case "$LIBEXT" in
12020 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12021 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'` ;;
12022 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12023 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12024 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12025 fi ;;
12026 esac
12027 else
12028 ac_cv_lib_soname_Xfixes=
12030 rm -f core conftest.err conftest.$ac_objext \
12031 conftest$ac_exeext conftest.$ac_ext
12032 LIBS=$ac_check_soname_save_LIBS
12034 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12036 $as_echo "not found" >&6; }
12038 else
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12040 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12042 cat >>confdefs.h <<_ACEOF
12043 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12044 _ACEOF
12049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12051 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12052 case "x$with_xfixes" in
12053 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12054 xno) ;;
12055 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12056 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12057 esac
12061 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12062 then
12063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12065 #include <X11/Xlib.h>
12066 #include <X11/extensions/Xinerama.h>
12068 main ()
12070 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12072 return 0;
12074 _ACEOF
12075 if ac_fn_c_try_compile "$LINENO"; then :
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12077 $as_echo_n "checking for -lXinerama... " >&6; }
12078 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12079 $as_echo_n "(cached) " >&6
12080 else
12081 ac_check_soname_save_LIBS=$LIBS
12082 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 #ifdef __cplusplus
12090 extern "C"
12091 #endif
12092 char XineramaQueryScreens ();
12094 main ()
12096 return XineramaQueryScreens ();
12098 return 0;
12100 _ACEOF
12101 if ac_fn_c_try_link "$LINENO"; then :
12102 case "$LIBEXT" in
12103 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12104 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'` ;;
12105 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12106 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12107 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12108 fi ;;
12109 esac
12110 else
12111 ac_cv_lib_soname_Xinerama=
12113 rm -f core conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_soname_save_LIBS
12117 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12119 $as_echo "not found" >&6; }
12121 else
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12123 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12125 cat >>confdefs.h <<_ACEOF
12126 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12127 _ACEOF
12132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12134 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12135 case "x$with_xinerama" in
12136 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12137 xno) ;;
12138 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12139 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12140 esac
12144 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12145 then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12147 $as_echo_n "checking for -lXcomposite... " >&6; }
12148 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12149 $as_echo_n "(cached) " >&6
12150 else
12151 ac_check_soname_save_LIBS=$LIBS
12152 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12159 #ifdef __cplusplus
12160 extern "C"
12161 #endif
12162 char XCompositeRedirectWindow ();
12164 main ()
12166 return XCompositeRedirectWindow ();
12168 return 0;
12170 _ACEOF
12171 if ac_fn_c_try_link "$LINENO"; then :
12172 case "$LIBEXT" in
12173 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12174 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'` ;;
12175 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12176 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12177 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12178 fi ;;
12179 esac
12180 else
12181 ac_cv_lib_soname_Xcomposite=
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_soname_save_LIBS
12187 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12189 $as_echo "not found" >&6; }
12191 else
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12193 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12195 cat >>confdefs.h <<_ACEOF
12196 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12197 _ACEOF
12202 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12203 case "x$with_xcomposite" in
12204 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12205 xno) ;;
12206 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12207 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12208 esac
12212 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12213 #include <X11/Xlib.h>
12214 #endif
12216 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12218 cat >>confdefs.h <<_ACEOF
12219 #define HAVE_XICCALLBACK_CALLBACK 1
12220 _ACEOF
12224 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12225 #include <X11/Xlib.h>
12226 #endif
12228 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12230 cat >>confdefs.h <<_ACEOF
12231 #define HAVE_XEVENT_XCOOKIE 1
12232 _ACEOF
12239 opengl_msg=""
12240 if test "x$with_opengl" != "xno"
12241 then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12243 $as_echo_n "checking for -lGL... " >&6; }
12244 if ${ac_cv_lib_soname_GL+:} false; then :
12245 $as_echo_n "(cached) " >&6
12246 else
12247 ac_check_soname_save_LIBS=$LIBS
12248 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12252 /* Override any GCC internal prototype to avoid an error.
12253 Use char because int might match the return type of a GCC
12254 builtin and then its argument prototype would still apply. */
12255 #ifdef __cplusplus
12256 extern "C"
12257 #endif
12258 char glXCreateContext ();
12260 main ()
12262 return glXCreateContext ();
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"; then :
12268 case "$LIBEXT" in
12269 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12270 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'` ;;
12271 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12272 if ${ac_cv_lib_soname_GL:+false} :; then :
12273 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12274 fi ;;
12275 esac
12276 else
12277 ac_cv_lib_soname_GL=
12279 rm -f core conftest.err conftest.$ac_objext \
12280 conftest$ac_exeext conftest.$ac_ext
12281 LIBS=$ac_check_soname_save_LIBS
12283 if ${ac_cv_lib_soname_GL:+false} :; then :
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12285 $as_echo "not found" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12287 $as_echo_n "checking for -lGL... " >&6; }
12288 if ${ac_cv_lib_soname_GL+:} false; then :
12289 $as_echo_n "(cached) " >&6
12290 else
12291 ac_check_soname_save_LIBS=$LIBS
12292 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"
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12299 #ifdef __cplusplus
12300 extern "C"
12301 #endif
12302 char glXCreateContext ();
12304 main ()
12306 return glXCreateContext ();
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_link "$LINENO"; then :
12312 case "$LIBEXT" in
12313 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12314 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'` ;;
12315 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12316 if ${ac_cv_lib_soname_GL:+false} :; then :
12317 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12318 fi ;;
12319 esac
12320 else
12321 ac_cv_lib_soname_GL=
12323 rm -f core conftest.err conftest.$ac_objext \
12324 conftest$ac_exeext conftest.$ac_ext
12325 LIBS=$ac_check_soname_save_LIBS
12327 if ${ac_cv_lib_soname_GL:+false} :; then :
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12329 $as_echo "not found" >&6; }
12330 if test -f /usr/X11R6/lib/libGL.a
12331 then
12332 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12333 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12334 else
12335 opengl_msg="No OpenGL library found on this system."
12337 else
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12339 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12341 cat >>confdefs.h <<_ACEOF
12342 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12343 _ACEOF
12345 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"
12347 else
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12349 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12351 cat >>confdefs.h <<_ACEOF
12352 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12353 _ACEOF
12355 OPENGL_LIBS="-lGL"
12357 if test "x$with_glu" != "xno"
12358 then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12360 $as_echo_n "checking for -lGLU... " >&6; }
12361 if ${ac_cv_lib_soname_GLU+:} false; then :
12362 $as_echo_n "(cached) " >&6
12363 else
12364 ac_check_soname_save_LIBS=$LIBS
12365 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12369 /* Override any GCC internal prototype to avoid an error.
12370 Use char because int might match the return type of a GCC
12371 builtin and then its argument prototype would still apply. */
12372 #ifdef __cplusplus
12373 extern "C"
12374 #endif
12375 char gluLookAt ();
12377 main ()
12379 return gluLookAt ();
12381 return 0;
12383 _ACEOF
12384 if ac_fn_c_try_link "$LINENO"; then :
12385 case "$LIBEXT" in
12386 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12387 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'` ;;
12388 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12389 if ${ac_cv_lib_soname_GLU:+false} :; then :
12390 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12391 fi ;;
12392 esac
12393 else
12394 ac_cv_lib_soname_GLU=
12396 rm -f core conftest.err conftest.$ac_objext \
12397 conftest$ac_exeext conftest.$ac_ext
12398 LIBS=$ac_check_soname_save_LIBS
12400 if ${ac_cv_lib_soname_GLU:+false} :; then :
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12402 $as_echo "not found" >&6; }
12404 else
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12406 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12408 cat >>confdefs.h <<_ACEOF
12409 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12410 _ACEOF
12414 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12415 case "x$with_glu" in
12416 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12417 xno) ;;
12418 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12419 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12420 esac
12425 if test "x$with_osmesa" != "xno"
12426 then
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12428 $as_echo_n "checking for -lOSMesa... " >&6; }
12429 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12430 $as_echo_n "(cached) " >&6
12431 else
12432 ac_check_soname_save_LIBS=$LIBS
12433 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12440 #ifdef __cplusplus
12441 extern "C"
12442 #endif
12443 char OSMesaGetProcAddress ();
12445 main ()
12447 return OSMesaGetProcAddress ();
12449 return 0;
12451 _ACEOF
12452 if ac_fn_c_try_link "$LINENO"; then :
12453 case "$LIBEXT" in
12454 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12455 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'` ;;
12456 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12457 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12458 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12459 fi ;;
12460 esac
12461 else
12462 ac_cv_lib_soname_OSMesa=
12464 rm -f core conftest.err conftest.$ac_objext \
12465 conftest$ac_exeext conftest.$ac_ext
12466 LIBS=$ac_check_soname_save_LIBS
12468 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12470 $as_echo "not found" >&6; }
12472 else
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12474 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12476 cat >>confdefs.h <<_ACEOF
12477 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12478 _ACEOF
12482 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12483 case "x$with_osmesa" in
12484 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12485 xno) ;;
12486 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12487 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12488 esac
12493 if test -n "$opengl_msg"; then :
12494 case "x$with_opengl" in
12495 x) as_fn_append wine_warnings "|$opengl_msg
12496 OpenGL and Direct3D won't be supported." ;;
12497 xno) ;;
12498 *) as_fn_error $? "$opengl_msg
12499 OpenGL and Direct3D won't be supported.
12500 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12501 esac
12505 CPPFLAGS="$ac_save_CPPFLAGS"
12506 else
12507 X_CFLAGS=""
12508 X_LIBS=""
12511 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12512 then
12513 if test "x$X_LIBS" = "x"; then :
12514 case "x$with_x" in
12515 xno) ;;
12516 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12517 without X support, which probably isn't what you want. You will need
12518 to install ${notice_platform}development packages of Xlib at the very least.
12519 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12520 esac
12521 enable_winex11_drv=${enable_winex11_drv:-no}
12523 else
12524 if test "x$X_LIBS" = "x"; then :
12525 case "x$with_x" in
12526 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12527 xno) ;;
12528 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12529 This is an error since --with-x was requested." "$LINENO" 5 ;;
12530 esac
12531 enable_winex11_drv=${enable_winex11_drv:-no}
12535 if test "$ac_cv_header_CL_cl_h" = "yes"
12536 then
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12538 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12539 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12540 $as_echo_n "(cached) " >&6
12541 else
12542 ac_check_lib_save_LIBS=$LIBS
12543 LIBS="-lOpenCL $LIBS"
12544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12545 /* end confdefs.h. */
12547 /* Override any GCC internal prototype to avoid an error.
12548 Use char because int might match the return type of a GCC
12549 builtin and then its argument prototype would still apply. */
12550 #ifdef __cplusplus
12551 extern "C"
12552 #endif
12553 char clGetPlatformInfo ();
12555 main ()
12557 return clGetPlatformInfo ();
12559 return 0;
12561 _ACEOF
12562 if ac_fn_c_try_link "$LINENO"; then :
12563 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12564 else
12565 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12567 rm -f core conftest.err conftest.$ac_objext \
12568 conftest$ac_exeext conftest.$ac_ext
12569 LIBS=$ac_check_lib_save_LIBS
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12572 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12573 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12574 OPENCL_LIBS="-lOpenCL"
12579 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12580 case "x$with_opencl" in
12581 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12582 xno) ;;
12583 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12584 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12585 esac
12586 enable_opencl=${enable_opencl:-no}
12589 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12590 then
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12592 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12593 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12594 $as_echo_n "(cached) " >&6
12595 else
12596 ac_check_lib_save_LIBS=$LIBS
12597 LIBS="-lpcap $LIBS"
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 /* Override any GCC internal prototype to avoid an error.
12602 Use char because int might match the return type of a GCC
12603 builtin and then its argument prototype would still apply. */
12604 #ifdef __cplusplus
12605 extern "C"
12606 #endif
12607 char pcap_create ();
12609 main ()
12611 return pcap_create ();
12613 return 0;
12615 _ACEOF
12616 if ac_fn_c_try_link "$LINENO"; then :
12617 ac_cv_lib_pcap_pcap_create=yes
12618 else
12619 ac_cv_lib_pcap_pcap_create=no
12621 rm -f core conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_lib_save_LIBS
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12626 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12627 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12628 PCAP_LIBS="-lpcap"
12633 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12634 case "x$with_pcap" in
12635 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12636 xno) ;;
12637 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12638 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12639 esac
12640 enable_wpcap=${enable_wpcap:-no}
12644 if test "x$with_xml" != "xno"
12645 then
12646 if ${XML2_CFLAGS:+false} :; then :
12647 if ${PKG_CONFIG+:} false; then :
12648 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12651 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12652 if ${XML2_LIBS:+false} :; then :
12653 if ${PKG_CONFIG+:} false; then :
12654 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12657 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12658 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12659 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12660 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12661 ac_save_CPPFLAGS=$CPPFLAGS
12662 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12663 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12664 do :
12665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12666 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12668 cat >>confdefs.h <<_ACEOF
12669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12670 _ACEOF
12674 done
12676 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"
12677 then
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12679 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12680 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12681 $as_echo_n "(cached) " >&6
12682 else
12683 ac_check_lib_save_LIBS=$LIBS
12684 LIBS="-lxml2 $XML2_LIBS $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char xmlParseMemory ();
12696 main ()
12698 return xmlParseMemory ();
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 ac_cv_lib_xml2_xmlParseMemory=yes
12705 else
12706 ac_cv_lib_xml2_xmlParseMemory=no
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12713 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12714 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12716 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12718 else
12719 XML2_LIBS=""
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12723 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12724 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12725 $as_echo_n "(cached) " >&6
12726 else
12727 ac_check_lib_save_LIBS=$LIBS
12728 LIBS="-lxml2 $XML2_LIBS $LIBS"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735 #ifdef __cplusplus
12736 extern "C"
12737 #endif
12738 char xmlReadMemory ();
12740 main ()
12742 return xmlReadMemory ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_xml2_xmlReadMemory=yes
12749 else
12750 ac_cv_lib_xml2_xmlReadMemory=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12757 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12758 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12760 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12765 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12766 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_lib_save_LIBS=$LIBS
12770 LIBS="-lxml2 $XML2_LIBS $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char xmlNewDocPI ();
12782 main ()
12784 return xmlNewDocPI ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 ac_cv_lib_xml2_xmlNewDocPI=yes
12791 else
12792 ac_cv_lib_xml2_xmlNewDocPI=no
12794 rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796 LIBS=$ac_check_lib_save_LIBS
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12799 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12800 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12802 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12807 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12808 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 ac_check_lib_save_LIBS=$LIBS
12812 LIBS="-lxml2 $XML2_LIBS $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 #ifdef __cplusplus
12820 extern "C"
12821 #endif
12822 char xmlSchemaSetParserStructuredErrors ();
12824 main ()
12826 return xmlSchemaSetParserStructuredErrors ();
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12833 else
12834 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12836 rm -f core conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 LIBS=$ac_check_lib_save_LIBS
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12841 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12842 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12844 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12849 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12850 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_lib_save_LIBS=$LIBS
12854 LIBS="-lxml2 $XML2_LIBS $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char xmlSchemaSetValidStructuredErrors ();
12866 main ()
12868 return xmlSchemaSetValidStructuredErrors ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12875 else
12876 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12878 rm -f core conftest.err conftest.$ac_objext \
12879 conftest$ac_exeext conftest.$ac_ext
12880 LIBS=$ac_check_lib_save_LIBS
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12883 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12884 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12886 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12891 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12892 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12893 $as_echo_n "(cached) " >&6
12894 else
12895 ac_check_lib_save_LIBS=$LIBS
12896 LIBS="-lxml2 $XML2_LIBS $LIBS"
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12903 #ifdef __cplusplus
12904 extern "C"
12905 #endif
12906 char xmlFirstElementChild ();
12908 main ()
12910 return xmlFirstElementChild ();
12912 return 0;
12914 _ACEOF
12915 if ac_fn_c_try_link "$LINENO"; then :
12916 ac_cv_lib_xml2_xmlFirstElementChild=yes
12917 else
12918 ac_cv_lib_xml2_xmlFirstElementChild=no
12920 rm -f core conftest.err conftest.$ac_objext \
12921 conftest$ac_exeext conftest.$ac_ext
12922 LIBS=$ac_check_lib_save_LIBS
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12925 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12926 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12928 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12932 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12934 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12936 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12940 else
12941 XML2_CFLAGS=""
12942 XML2_LIBS=""
12944 CPPFLAGS=$ac_save_CPPFLAGS
12945 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12946 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12949 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12950 case "x$with_xml" in
12951 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12952 xno) ;;
12953 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12954 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12955 esac
12959 if test "x$with_xslt" != "xno"
12960 then
12961 if ${XSLT_CFLAGS:+false} :; then :
12962 if ${PKG_CONFIG+:} false; then :
12963 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12966 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12967 if ${XSLT_LIBS:+false} :; then :
12968 if ${PKG_CONFIG+:} false; then :
12969 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12972 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12973 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12974 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12975 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12976 ac_save_CPPFLAGS=$CPPFLAGS
12977 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12978 for ac_header in libxslt/pattern.h libxslt/transform.h
12979 do :
12980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12982 # include <libxslt/pattern.h>
12983 #endif
12985 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12986 cat >>confdefs.h <<_ACEOF
12987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12988 _ACEOF
12992 done
12994 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12995 then
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12997 $as_echo_n "checking for -lxslt... " >&6; }
12998 if ${ac_cv_lib_soname_xslt+:} false; then :
12999 $as_echo_n "(cached) " >&6
13000 else
13001 ac_check_soname_save_LIBS=$LIBS
13002 LIBS="-lxslt $XSLT_LIBS $LIBS"
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13009 #ifdef __cplusplus
13010 extern "C"
13011 #endif
13012 char xsltCompilePattern ();
13014 main ()
13016 return xsltCompilePattern ();
13018 return 0;
13020 _ACEOF
13021 if ac_fn_c_try_link "$LINENO"; then :
13022 case "$LIBEXT" in
13023 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13024 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'` ;;
13025 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13026 if ${ac_cv_lib_soname_xslt:+false} :; then :
13027 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13028 fi ;;
13029 esac
13030 else
13031 ac_cv_lib_soname_xslt=
13033 rm -f core conftest.err conftest.$ac_objext \
13034 conftest$ac_exeext conftest.$ac_ext
13035 LIBS=$ac_check_soname_save_LIBS
13037 if ${ac_cv_lib_soname_xslt:+false} :; then :
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13039 $as_echo "not found" >&6; }
13041 else
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13043 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13045 cat >>confdefs.h <<_ACEOF
13046 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13047 _ACEOF
13051 else
13052 XSLT_CFLAGS=""
13054 CPPFLAGS=$ac_save_CPPFLAGS
13055 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13056 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13059 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13060 case "x$with_xslt" in
13061 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13062 xno) ;;
13063 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13064 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13065 esac
13069 if test "x$with_inotify" != "xno"
13070 then
13071 if ${INOTIFY_CFLAGS:+false} :; then :
13072 if ${PKG_CONFIG+:} false; then :
13073 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13077 if ${INOTIFY_LIBS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13084 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13085 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13086 ac_save_CPPFLAGS=$CPPFLAGS
13087 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13088 for ac_header in sys/inotify.h
13089 do :
13090 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13091 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13092 cat >>confdefs.h <<_ACEOF
13093 #define HAVE_SYS_INOTIFY_H 1
13094 _ACEOF
13098 done
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13101 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13102 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13103 $as_echo_n "(cached) " >&6
13104 else
13105 ac_check_lib_save_LIBS=$LIBS
13106 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13113 #ifdef __cplusplus
13114 extern "C"
13115 #endif
13116 char inotify_add_watch ();
13118 main ()
13120 return inotify_add_watch ();
13122 return 0;
13124 _ACEOF
13125 if ac_fn_c_try_link "$LINENO"; then :
13126 ac_cv_lib_inotify_inotify_add_watch=yes
13127 else
13128 ac_cv_lib_inotify_inotify_add_watch=no
13130 rm -f core conftest.err conftest.$ac_objext \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LIBS=$ac_check_lib_save_LIBS
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13135 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13136 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13138 else
13139 INOTIFY_LIBS=""
13142 CPPFLAGS=$ac_save_CPPFLAGS
13143 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13144 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13147 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13148 case "x$with_inotify" in
13149 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13150 xno) ;;
13151 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13152 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13153 esac
13157 if test "x$with_dbus" != "xno"
13158 then
13159 if ${DBUS_CFLAGS:+false} :; then :
13160 if ${PKG_CONFIG+:} false; then :
13161 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13165 if ${DBUS_LIBS:+false} :; then :
13166 if ${PKG_CONFIG+:} false; then :
13167 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13172 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13173 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13174 ac_save_CPPFLAGS=$CPPFLAGS
13175 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13176 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13177 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13179 $as_echo_n "checking for -ldbus-1... " >&6; }
13180 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13181 $as_echo_n "(cached) " >&6
13182 else
13183 ac_check_soname_save_LIBS=$LIBS
13184 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13191 #ifdef __cplusplus
13192 extern "C"
13193 #endif
13194 char dbus_connection_close ();
13196 main ()
13198 return dbus_connection_close ();
13200 return 0;
13202 _ACEOF
13203 if ac_fn_c_try_link "$LINENO"; then :
13204 case "$LIBEXT" in
13205 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13206 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'` ;;
13207 *) 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'`
13208 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13209 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13210 fi ;;
13211 esac
13212 else
13213 ac_cv_lib_soname_dbus_1=
13215 rm -f core conftest.err conftest.$ac_objext \
13216 conftest$ac_exeext conftest.$ac_ext
13217 LIBS=$ac_check_soname_save_LIBS
13219 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13221 $as_echo "not found" >&6; }
13222 DBUS_CFLAGS=""
13223 else
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13225 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13227 cat >>confdefs.h <<_ACEOF
13228 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13229 _ACEOF
13233 else
13234 DBUS_CFLAGS=""
13238 CPPFLAGS=$ac_save_CPPFLAGS
13239 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13240 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13243 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13244 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13245 case "x$with_dbus" in
13246 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13247 xno) ;;
13248 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13249 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13250 esac
13254 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13255 then
13256 if ${HAL_CFLAGS:+false} :; then :
13257 if ${PKG_CONFIG+:} false; then :
13258 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13262 if ${HAL_LIBS:+false} :; then :
13263 if ${PKG_CONFIG+:} false; then :
13264 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13268 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13269 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13270 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13271 ac_save_CPPFLAGS=$CPPFLAGS
13272 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13273 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13274 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13276 $as_echo_n "checking for -lhal... " >&6; }
13277 if ${ac_cv_lib_soname_hal+:} false; then :
13278 $as_echo_n "(cached) " >&6
13279 else
13280 ac_check_soname_save_LIBS=$LIBS
13281 LIBS="-lhal $HAL_LIBS $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 #ifdef __cplusplus
13289 extern "C"
13290 #endif
13291 char libhal_ctx_new ();
13293 main ()
13295 return libhal_ctx_new ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"; then :
13301 case "$LIBEXT" in
13302 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13303 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'` ;;
13304 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13305 if ${ac_cv_lib_soname_hal:+false} :; then :
13306 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13307 fi ;;
13308 esac
13309 else
13310 ac_cv_lib_soname_hal=
13312 rm -f core conftest.err conftest.$ac_objext \
13313 conftest$ac_exeext conftest.$ac_ext
13314 LIBS=$ac_check_soname_save_LIBS
13316 if ${ac_cv_lib_soname_hal:+false} :; then :
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13318 $as_echo "not found" >&6; }
13319 HAL_CFLAGS=""
13320 else
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13322 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13324 cat >>confdefs.h <<_ACEOF
13325 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13326 _ACEOF
13330 else
13331 HAL_CFLAGS=""
13335 CPPFLAGS=$ac_save_CPPFLAGS
13336 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13337 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13339 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13340 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13341 case "x$with_hal" in
13342 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13343 xno) ;;
13344 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13345 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13346 esac
13351 if test "x$with_gnutls" != "xno"
13352 then
13353 if ${GNUTLS_CFLAGS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13359 if ${GNUTLS_LIBS:+false} :; then :
13360 if ${PKG_CONFIG+:} false; then :
13361 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13366 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13367 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13368 ac_save_CPPFLAGS=$CPPFLAGS
13369 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13370 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13371 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13374 #include <gnutls/gnutls.h>
13375 #include <gnutls/crypto.h>
13377 main ()
13379 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13381 return 0;
13383 _ACEOF
13384 if ac_fn_c_try_compile "$LINENO"; then :
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13386 $as_echo_n "checking for -lgnutls... " >&6; }
13387 if ${ac_cv_lib_soname_gnutls+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 ac_check_soname_save_LIBS=$LIBS
13391 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13398 #ifdef __cplusplus
13399 extern "C"
13400 #endif
13401 char gnutls_global_init ();
13403 main ()
13405 return gnutls_global_init ();
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_link "$LINENO"; then :
13411 case "$LIBEXT" in
13412 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13413 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'` ;;
13414 *) 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'`
13415 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13416 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'`
13417 fi ;;
13418 esac
13419 else
13420 ac_cv_lib_soname_gnutls=
13422 rm -f core conftest.err conftest.$ac_objext \
13423 conftest$ac_exeext conftest.$ac_ext
13424 LIBS=$ac_check_soname_save_LIBS
13426 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13428 $as_echo "not found" >&6; }
13429 GNUTLS_CFLAGS=""
13430 else
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13432 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13434 cat >>confdefs.h <<_ACEOF
13435 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13436 _ACEOF
13440 ac_wine_check_funcs_save_LIBS="$LIBS"
13441 LIBS="$LIBS $GNUTLS_LIBS"
13442 for ac_func in gnutls_cipher_init
13443 do :
13444 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13445 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13446 cat >>confdefs.h <<_ACEOF
13447 #define HAVE_GNUTLS_CIPHER_INIT 1
13448 _ACEOF
13450 else
13451 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13453 done
13455 LIBS="$ac_wine_check_funcs_save_LIBS"
13457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13458 else
13459 GNUTLS_CFLAGS=""
13463 CPPFLAGS=$ac_save_CPPFLAGS
13464 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13465 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13468 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13469 case "x$with_gnutls" in
13470 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13471 xno) ;;
13472 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13473 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13474 esac
13478 CURSES_LIBS=""
13479 if test "$ac_cv_header_ncurses_h" = "yes"
13480 then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13482 $as_echo_n "checking for -lncurses... " >&6; }
13483 if ${ac_cv_lib_soname_ncurses+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_check_soname_save_LIBS=$LIBS
13487 LIBS="-lncurses $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 char waddch ();
13499 main ()
13501 return waddch ();
13503 return 0;
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 case "$LIBEXT" in
13508 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13509 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'` ;;
13510 *) 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'`
13511 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13512 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13513 fi ;;
13514 esac
13515 else
13516 ac_cv_lib_soname_ncurses=
13518 rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520 LIBS=$ac_check_soname_save_LIBS
13522 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13524 $as_echo "not found" >&6; }
13526 else
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13528 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13530 cat >>confdefs.h <<_ACEOF
13531 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13532 _ACEOF
13534 CURSES_LIBS="-lncurses"
13536 elif test "$ac_cv_header_curses_h" = "yes"
13537 then
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13539 $as_echo_n "checking for -lcurses... " >&6; }
13540 if ${ac_cv_lib_soname_curses+:} false; then :
13541 $as_echo_n "(cached) " >&6
13542 else
13543 ac_check_soname_save_LIBS=$LIBS
13544 LIBS="-lcurses $LIBS"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13551 #ifdef __cplusplus
13552 extern "C"
13553 #endif
13554 char waddch ();
13556 main ()
13558 return waddch ();
13560 return 0;
13562 _ACEOF
13563 if ac_fn_c_try_link "$LINENO"; then :
13564 case "$LIBEXT" in
13565 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13566 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'` ;;
13567 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13568 if ${ac_cv_lib_soname_curses:+false} :; then :
13569 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13570 fi ;;
13571 esac
13572 else
13573 ac_cv_lib_soname_curses=
13575 rm -f core conftest.err conftest.$ac_objext \
13576 conftest$ac_exeext conftest.$ac_ext
13577 LIBS=$ac_check_soname_save_LIBS
13579 if ${ac_cv_lib_soname_curses:+false} :; then :
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13581 $as_echo "not found" >&6; }
13583 else
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13585 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13587 cat >>confdefs.h <<_ACEOF
13588 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13589 _ACEOF
13591 CURSES_LIBS="-lcurses"
13594 ac_save_LIBS="$LIBS"
13595 LIBS="$LIBS $CURSES_LIBS"
13596 for ac_func in mousemask
13597 do :
13598 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13599 if test "x$ac_cv_func_mousemask" = xyes; then :
13600 cat >>confdefs.h <<_ACEOF
13601 #define HAVE_MOUSEMASK 1
13602 _ACEOF
13605 done
13607 LIBS="$ac_save_LIBS"
13608 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13609 case "x$with_curses" in
13610 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13611 xno) ;;
13612 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13613 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13614 esac
13618 if test "x$with_sane" != "xno"
13619 then
13620 if ${SANE_CFLAGS:+false} :; then :
13621 if ${PKG_CONFIG+:} false; then :
13622 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13625 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13626 if ${SANE_LIBS:+false} :; then :
13627 if ${PKG_CONFIG+:} false; then :
13628 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13631 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13633 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13634 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13635 ac_save_CPPFLAGS=$CPPFLAGS
13636 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13637 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13638 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13640 $as_echo_n "checking for -lsane... " >&6; }
13641 if ${ac_cv_lib_soname_sane+:} false; then :
13642 $as_echo_n "(cached) " >&6
13643 else
13644 ac_check_soname_save_LIBS=$LIBS
13645 LIBS="-lsane $SANE_LIBS $LIBS"
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13649 /* Override any GCC internal prototype to avoid an error.
13650 Use char because int might match the return type of a GCC
13651 builtin and then its argument prototype would still apply. */
13652 #ifdef __cplusplus
13653 extern "C"
13654 #endif
13655 char sane_init ();
13657 main ()
13659 return sane_init ();
13661 return 0;
13663 _ACEOF
13664 if ac_fn_c_try_link "$LINENO"; then :
13665 case "$LIBEXT" in
13666 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13667 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'` ;;
13668 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13669 if ${ac_cv_lib_soname_sane:+false} :; then :
13670 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13671 fi ;;
13672 esac
13673 else
13674 ac_cv_lib_soname_sane=
13676 rm -f core conftest.err conftest.$ac_objext \
13677 conftest$ac_exeext conftest.$ac_ext
13678 LIBS=$ac_check_soname_save_LIBS
13680 if ${ac_cv_lib_soname_sane:+false} :; then :
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13682 $as_echo "not found" >&6; }
13683 SANE_CFLAGS=""
13684 else
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13686 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13688 cat >>confdefs.h <<_ACEOF
13689 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13690 _ACEOF
13694 else
13695 SANE_CFLAGS=""
13699 CPPFLAGS=$ac_save_CPPFLAGS
13700 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13701 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13704 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13705 case "x$with_sane" in
13706 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13707 xno) ;;
13708 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13709 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13710 esac
13714 if test "x$with_v4l2" != "xno"
13715 then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13717 $as_echo_n "checking for -lv4l2... " >&6; }
13718 if ${ac_cv_lib_soname_v4l2+:} false; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 ac_check_soname_save_LIBS=$LIBS
13722 LIBS="-lv4l2 $LIBS"
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13726 /* Override any GCC internal prototype to avoid an error.
13727 Use char because int might match the return type of a GCC
13728 builtin and then its argument prototype would still apply. */
13729 #ifdef __cplusplus
13730 extern "C"
13731 #endif
13732 char v4l2_open ();
13734 main ()
13736 return v4l2_open ();
13738 return 0;
13740 _ACEOF
13741 if ac_fn_c_try_link "$LINENO"; then :
13742 case "$LIBEXT" in
13743 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13744 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'` ;;
13745 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13746 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13747 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13748 fi ;;
13749 esac
13750 else
13751 ac_cv_lib_soname_v4l2=
13753 rm -f core conftest.err conftest.$ac_objext \
13754 conftest$ac_exeext conftest.$ac_ext
13755 LIBS=$ac_check_soname_save_LIBS
13757 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13759 $as_echo "not found" >&6; }
13761 else
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13763 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13765 cat >>confdefs.h <<_ACEOF
13766 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13767 _ACEOF
13772 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13773 case "x$with_v4l2" in
13774 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13775 xno) ;;
13776 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13777 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13778 esac
13782 if test "x$with_gphoto" != "xno"
13783 then
13784 if ${GPHOTO2_CFLAGS:+false} :; then :
13785 if ${PKG_CONFIG+:} false; then :
13786 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13789 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13790 if ${GPHOTO2_LIBS:+false} :; then :
13791 if ${PKG_CONFIG+:} false; then :
13792 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13795 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13796 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13797 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13798 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13799 ac_save_CPPFLAGS=$CPPFLAGS
13800 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13801 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13802 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13804 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13805 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13806 $as_echo_n "(cached) " >&6
13807 else
13808 ac_check_lib_save_LIBS=$LIBS
13809 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13813 /* Override any GCC internal prototype to avoid an error.
13814 Use char because int might match the return type of a GCC
13815 builtin and then its argument prototype would still apply. */
13816 #ifdef __cplusplus
13817 extern "C"
13818 #endif
13819 char gp_camera_new ();
13821 main ()
13823 return gp_camera_new ();
13825 return 0;
13827 _ACEOF
13828 if ac_fn_c_try_link "$LINENO"; then :
13829 ac_cv_lib_gphoto2_gp_camera_new=yes
13830 else
13831 ac_cv_lib_gphoto2_gp_camera_new=no
13833 rm -f core conftest.err conftest.$ac_objext \
13834 conftest$ac_exeext conftest.$ac_ext
13835 LIBS=$ac_check_lib_save_LIBS
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13838 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13839 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13841 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13843 else
13844 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13847 else
13848 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13852 CPPFLAGS=$ac_save_CPPFLAGS
13853 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13854 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13856 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13857 if ${PKG_CONFIG+:} false; then :
13858 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13861 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13862 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13863 if ${PKG_CONFIG+:} false; then :
13864 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13867 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13868 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13869 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13870 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13871 ac_save_CPPFLAGS=$CPPFLAGS
13872 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13873 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13874 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13876 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13877 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13878 $as_echo_n "(cached) " >&6
13879 else
13880 ac_check_lib_save_LIBS=$LIBS
13881 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13885 /* Override any GCC internal prototype to avoid an error.
13886 Use char because int might match the return type of a GCC
13887 builtin and then its argument prototype would still apply. */
13888 #ifdef __cplusplus
13889 extern "C"
13890 #endif
13891 char gp_port_info_list_new ();
13893 main ()
13895 return gp_port_info_list_new ();
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13902 else
13903 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_lib_save_LIBS
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13910 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13911 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13913 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13915 else
13916 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13919 else
13920 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13924 CPPFLAGS=$ac_save_CPPFLAGS
13925 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13926 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13929 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13930 case "x$with_gphoto" in
13931 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13932 xno) ;;
13933 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13934 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13935 esac
13938 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13939 case "x$with_gphoto" in
13940 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13941 xno) ;;
13942 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13943 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13944 esac
13949 if test "$ac_cv_header_resolv_h" = "yes"
13950 then
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13952 $as_echo_n "checking for resolver library... " >&6; }
13953 if ${ac_cv_have_resolv+:} false; then :
13954 $as_echo_n "(cached) " >&6
13955 else
13956 ac_save_LIBS="$LIBS"
13957 for lib in '' -lresolv
13959 LIBS="$lib $ac_save_LIBS"
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13962 #ifdef HAVE_NETINET_IN_H
13963 #include <netinet/in.h>
13964 #endif
13965 #include <resolv.h>
13967 main ()
13969 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13971 return 0;
13973 _ACEOF
13974 if ac_fn_c_try_link "$LINENO"; then :
13975 ac_cv_have_resolv=${lib:-"none required"}
13976 else
13977 ac_cv_have_resolv="not found"
13979 rm -f core conftest.err conftest.$ac_objext \
13980 conftest$ac_exeext conftest.$ac_ext
13981 test "x$ac_cv_have_resolv" = "xnot found" || break
13982 done
13983 LIBS="$ac_save_LIBS"
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13986 $as_echo "$ac_cv_have_resolv" >&6; }
13988 case "$ac_cv_have_resolv" in
13989 "not found") ;;
13990 "none required")
13992 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13995 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13997 RESOLV_LIBS=$ac_cv_have_resolv
13999 esac
14002 if test "x$with_cms" != "xno"
14003 then
14004 if ${LCMS2_CFLAGS:+false} :; then :
14005 if ${PKG_CONFIG+:} false; then :
14006 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14010 if ${LCMS2_LIBS:+false} :; then :
14011 if ${PKG_CONFIG+:} false; then :
14012 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14016 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14017 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14018 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14019 ac_save_CPPFLAGS=$CPPFLAGS
14020 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14021 for ac_header in lcms2.h
14022 do :
14023 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14024 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14025 cat >>confdefs.h <<_ACEOF
14026 #define HAVE_LCMS2_H 1
14027 _ACEOF
14031 done
14033 if test "$ac_cv_header_lcms2_h" = "yes"
14034 then
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14036 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14037 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14038 $as_echo_n "(cached) " >&6
14039 else
14040 ac_check_lib_save_LIBS=$LIBS
14041 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14048 #ifdef __cplusplus
14049 extern "C"
14050 #endif
14051 char cmsOpenProfileFromFile ();
14053 main ()
14055 return cmsOpenProfileFromFile ();
14057 return 0;
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"; then :
14061 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14062 else
14063 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14065 rm -f core conftest.err conftest.$ac_objext \
14066 conftest$ac_exeext conftest.$ac_ext
14067 LIBS=$ac_check_lib_save_LIBS
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14070 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14071 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14073 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14075 else
14076 LCMS2_LIBS=""
14079 else
14080 LCMS2_CFLAGS=""
14081 LCMS2_LIBS=""
14083 CPPFLAGS=$ac_save_CPPFLAGS
14084 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14085 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14088 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14089 case "x$with_cms" in
14090 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14091 xno) ;;
14092 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14093 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14094 esac
14098 if test "x$with_freetype" != "xno"
14099 then
14100 if ${FREETYPE_CFLAGS:+false} :; then :
14101 if ${PKG_CONFIG+:} false; then :
14102 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14105 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14106 if ${FREETYPE_LIBS:+false} :; then :
14107 if ${PKG_CONFIG+:} false; then :
14108 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14111 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14112 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14113 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14114 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14115 ac_save_CPPFLAGS=$CPPFLAGS
14116 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14117 for ac_header in ft2build.h
14118 do :
14119 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14120 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14121 cat >>confdefs.h <<_ACEOF
14122 #define HAVE_FT2BUILD_H 1
14123 _ACEOF
14127 done
14129 if test "$ac_cv_header_ft2build_h" = "yes"
14130 then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14132 $as_echo_n "checking for -lfreetype... " >&6; }
14133 if ${ac_cv_lib_soname_freetype+:} false; then :
14134 $as_echo_n "(cached) " >&6
14135 else
14136 ac_check_soname_save_LIBS=$LIBS
14137 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14141 /* Override any GCC internal prototype to avoid an error.
14142 Use char because int might match the return type of a GCC
14143 builtin and then its argument prototype would still apply. */
14144 #ifdef __cplusplus
14145 extern "C"
14146 #endif
14147 char FT_Init_FreeType ();
14149 main ()
14151 return FT_Init_FreeType ();
14153 return 0;
14155 _ACEOF
14156 if ac_fn_c_try_link "$LINENO"; then :
14157 case "$LIBEXT" in
14158 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14159 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'` ;;
14160 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14161 if ${ac_cv_lib_soname_freetype:+false} :; then :
14162 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14163 fi ;;
14164 esac
14165 else
14166 ac_cv_lib_soname_freetype=
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14170 LIBS=$ac_check_soname_save_LIBS
14172 if ${ac_cv_lib_soname_freetype:+false} :; then :
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14174 $as_echo "not found" >&6; }
14175 FREETYPE_LIBS=""
14176 else
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14178 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14180 cat >>confdefs.h <<_ACEOF
14181 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14182 _ACEOF
14185 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14187 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14188 #include FT_MODULE_H
14190 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14192 cat >>confdefs.h <<_ACEOF
14193 #define HAVE_FT_TRUETYPEENGINETYPE 1
14194 _ACEOF
14200 else
14201 FREETYPE_CFLAGS=""
14202 FREETYPE_LIBS=""
14204 CPPFLAGS=$ac_save_CPPFLAGS
14205 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14206 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14209 if test "x$ac_cv_lib_soname_freetype" = x; then :
14210 case "x$with_freetype" in
14211 xno) ;;
14212 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14213 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14214 esac
14215 enable_fonts=${enable_fonts:-no}
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14219 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14220 if ${ac_cv_c_ppdev+:} false; then :
14221 $as_echo_n "(cached) " >&6
14222 else
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 #ifdef HAVE_SYS_IOCTL_H
14226 # include <sys/ioctl.h>
14227 #endif
14228 #include <linux/ppdev.h>
14230 main ()
14232 ioctl (1,PPCLAIM,0)
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_compile "$LINENO"; then :
14238 ac_cv_c_ppdev="yes"
14239 else
14240 ac_cv_c_ppdev="no"
14242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14245 $as_echo "$ac_cv_c_ppdev" >&6; }
14246 if test "$ac_cv_c_ppdev" = "yes"
14247 then
14249 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14253 ac_wine_check_funcs_save_LIBS="$LIBS"
14254 LIBS="$LIBS "
14255 for ac_func in \
14256 pthread_getthreadid_np \
14257 $PTHREAD_LIBS
14258 do :
14259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14261 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14262 cat >>confdefs.h <<_ACEOF
14263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14264 _ACEOF
14267 done
14269 LIBS="$ac_wine_check_funcs_save_LIBS"
14271 if test "x$with_zlib" != "xno"
14272 then
14273 if ${Z_CFLAGS:+false} :; then :
14274 if ${PKG_CONFIG+:} false; then :
14275 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14279 if ${Z_LIBS:+false} :; then :
14280 if ${PKG_CONFIG+:} false; then :
14281 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14285 Z_LIBS=${Z_LIBS:-"-lz"}
14286 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14287 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14288 ac_save_CPPFLAGS=$CPPFLAGS
14289 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14290 for ac_header in zlib.h
14291 do :
14292 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14293 if test "x$ac_cv_header_zlib_h" = xyes; then :
14294 cat >>confdefs.h <<_ACEOF
14295 #define HAVE_ZLIB_H 1
14296 _ACEOF
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14298 $as_echo_n "checking for inflate in -lz... " >&6; }
14299 if ${ac_cv_lib_z_inflate+:} false; then :
14300 $as_echo_n "(cached) " >&6
14301 else
14302 ac_check_lib_save_LIBS=$LIBS
14303 LIBS="-lz $Z_LIBS $LIBS"
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14307 /* Override any GCC internal prototype to avoid an error.
14308 Use char because int might match the return type of a GCC
14309 builtin and then its argument prototype would still apply. */
14310 #ifdef __cplusplus
14311 extern "C"
14312 #endif
14313 char inflate ();
14315 main ()
14317 return inflate ();
14319 return 0;
14321 _ACEOF
14322 if ac_fn_c_try_link "$LINENO"; then :
14323 ac_cv_lib_z_inflate=yes
14324 else
14325 ac_cv_lib_z_inflate=no
14327 rm -f core conftest.err conftest.$ac_objext \
14328 conftest$ac_exeext conftest.$ac_ext
14329 LIBS=$ac_check_lib_save_LIBS
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14332 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14333 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14335 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14337 else
14338 Z_LIBS=""
14341 else
14342 Z_LIBS=""
14345 done
14347 CPPFLAGS=$ac_save_CPPFLAGS
14348 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14349 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14352 if test "x$Z_LIBS" = "x"; then :
14353 case "x$with_zlib" in
14354 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14355 xno) ;;
14356 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14357 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14358 esac
14362 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14363 then
14364 if test "$ac_cv_header_gettext_po_h" = "yes"
14365 then
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14367 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14368 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_check_lib_save_LIBS=$LIBS
14372 LIBS="-lgettextpo $LIBS"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14379 #ifdef __cplusplus
14380 extern "C"
14381 #endif
14382 char po_message_msgctxt ();
14384 main ()
14386 return po_message_msgctxt ();
14388 return 0;
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14393 else
14394 ac_cv_lib_gettextpo_po_message_msgctxt=no
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_lib_save_LIBS
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14401 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14402 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14404 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14406 GETTEXTPO_LIBS="-lgettextpo"
14411 if test "x$GETTEXTPO_LIBS" = "x"; then :
14412 case "x$with_gettextpo" in
14413 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14414 xno) ;;
14415 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14416 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14417 esac
14420 if test "$srcdir" != .; then :
14421 case "x$with_gettextpo" in
14422 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14423 xno) ;;
14424 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14425 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14426 esac
14431 if test "x$with_pulse" != "xno";
14432 then
14433 if ${PULSE_CFLAGS:+false} :; then :
14434 if ${PKG_CONFIG+:} false; then :
14435 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14439 if ${PULSE_LIBS:+false} :; then :
14440 if ${PKG_CONFIG+:} false; then :
14441 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14446 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14447 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14448 ac_save_CPPFLAGS=$CPPFLAGS
14449 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14450 for ac_header in pulse/pulseaudio.h
14451 do :
14452 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14453 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14454 cat >>confdefs.h <<_ACEOF
14455 #define HAVE_PULSE_PULSEAUDIO_H 1
14456 _ACEOF
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14458 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14459 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 ac_check_lib_save_LIBS=$LIBS
14463 LIBS="-lpulse $PULSE_LIBS $LIBS"
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14470 #ifdef __cplusplus
14471 extern "C"
14472 #endif
14473 char pa_stream_is_corked ();
14475 main ()
14477 return pa_stream_is_corked ();
14479 return 0;
14481 _ACEOF
14482 if ac_fn_c_try_link "$LINENO"; then :
14483 ac_cv_lib_pulse_pa_stream_is_corked=yes
14484 else
14485 ac_cv_lib_pulse_pa_stream_is_corked=no
14487 rm -f core conftest.err conftest.$ac_objext \
14488 conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_check_lib_save_LIBS
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14492 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14493 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14495 else
14496 PULSE_LIBS=""
14499 else
14500 PULSE_LIBS=""
14503 done
14505 CPPFLAGS=$ac_save_CPPFLAGS
14506 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14507 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14510 if test -z "$PULSE_LIBS"; then :
14511 case "x$with_pulse" in
14512 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14513 xno) ;;
14514 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14515 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14516 esac
14517 enable_winepulse_drv=${enable_winepulse_drv:-no}
14520 if test "x$with_gstreamer" != "xno"
14521 then
14522 if ${GSTREAMER_CFLAGS:+false} :; then :
14523 if ${PKG_CONFIG+:} false; then :
14524 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14528 if ${GSTREAMER_LIBS:+false} :; then :
14529 if ${PKG_CONFIG+:} false; then :
14530 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14535 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14536 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14537 ac_save_CPPFLAGS=$CPPFLAGS
14538 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14539 ac_gst_incl=""
14540 for i in $GSTREAMER_CFLAGS
14542 case "$i" in
14543 -I*) ac_gst_incl="$ac_gst_incl $i";;
14544 esac
14545 done
14546 GSTREAMER_CFLAGS=$ac_gst_incl
14547 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14548 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14549 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14551 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14554 #include <gst/gst.h>
14556 main ()
14558 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14560 return 0;
14562 _ACEOF
14563 if ac_fn_c_try_compile "$LINENO"; then :
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14565 $as_echo "yes" >&6; }
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14567 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14568 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 ac_check_lib_save_LIBS=$LIBS
14572 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14576 /* Override any GCC internal prototype to avoid an error.
14577 Use char because int might match the return type of a GCC
14578 builtin and then its argument prototype would still apply. */
14579 #ifdef __cplusplus
14580 extern "C"
14581 #endif
14582 char gst_pad_new ();
14584 main ()
14586 return gst_pad_new ();
14588 return 0;
14590 _ACEOF
14591 if ac_fn_c_try_link "$LINENO"; then :
14592 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14593 else
14594 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14596 rm -f core conftest.err conftest.$ac_objext \
14597 conftest$ac_exeext conftest.$ac_ext
14598 LIBS=$ac_check_lib_save_LIBS
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14601 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14602 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14606 else
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14608 $as_echo "no" >&6; }
14609 ac_glib2_broken=yes
14610 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14616 CPPFLAGS=$ac_save_CPPFLAGS
14617 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14618 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14621 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 :
14622 case "x$with_gstreamer" in
14623 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14624 xno) ;;
14625 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14626 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14627 esac
14630 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14632 ALSA_LIBS=""
14634 if test "x$with_alsa" != "xno"
14635 then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14637 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14638 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_check_lib_save_LIBS=$LIBS
14642 LIBS="-lasound $LIBS"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14646 /* Override any GCC internal prototype to avoid an error.
14647 Use char because int might match the return type of a GCC
14648 builtin and then its argument prototype would still apply. */
14649 #ifdef __cplusplus
14650 extern "C"
14651 #endif
14652 char snd_pcm_hw_params_get_access_mask ();
14654 main ()
14656 return snd_pcm_hw_params_get_access_mask ();
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14663 else
14664 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14668 LIBS=$ac_check_lib_save_LIBS
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14671 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14672 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14675 #include <alsa/asoundlib.h>
14677 main ()
14679 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14681 return 0;
14683 _ACEOF
14684 if ac_fn_c_try_compile "$LINENO"; then :
14685 ALSA_LIBS="-lasound"
14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14691 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14693 if test "x$with_oss" != xno
14694 then
14695 ac_save_CPPFLAGS="$CPPFLAGS"
14696 if test -f /etc/oss.conf
14697 then
14698 . /etc/oss.conf
14700 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14701 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14702 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14703 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14704 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14706 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14708 cat >>confdefs.h <<_ACEOF
14709 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14710 _ACEOF
14712 OSS4_CFLAGS="$ac_oss_incl"
14719 CPPFLAGS="$ac_save_CPPFLAGS"
14721 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14722 case "x$with_oss" in
14723 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14724 xno) ;;
14725 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14726 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14727 esac
14728 enable_wineoss_drv=${enable_wineoss_drv:-no}
14731 if test "x$with_udev" != "xno"
14732 then
14733 if ${UDEV_CFLAGS:+false} :; then :
14734 if ${PKG_CONFIG+:} false; then :
14735 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14739 if ${UDEV_LIBS:+false} :; then :
14740 if ${PKG_CONFIG+:} false; then :
14741 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14745 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14746 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14747 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14748 ac_save_CPPFLAGS=$CPPFLAGS
14749 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14750 for ac_header in libudev.h
14751 do :
14752 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14753 if test "x$ac_cv_header_libudev_h" = xyes; then :
14754 cat >>confdefs.h <<_ACEOF
14755 #define HAVE_LIBUDEV_H 1
14756 _ACEOF
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14758 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14759 if ${ac_cv_lib_udev_udev_new+:} false; then :
14760 $as_echo_n "(cached) " >&6
14761 else
14762 ac_check_lib_save_LIBS=$LIBS
14763 LIBS="-ludev $UDEV_LIBS $LIBS"
14764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14765 /* end confdefs.h. */
14767 /* Override any GCC internal prototype to avoid an error.
14768 Use char because int might match the return type of a GCC
14769 builtin and then its argument prototype would still apply. */
14770 #ifdef __cplusplus
14771 extern "C"
14772 #endif
14773 char udev_new ();
14775 main ()
14777 return udev_new ();
14779 return 0;
14781 _ACEOF
14782 if ac_fn_c_try_link "$LINENO"; then :
14783 ac_cv_lib_udev_udev_new=yes
14784 else
14785 ac_cv_lib_udev_udev_new=no
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext conftest.$ac_ext
14789 LIBS=$ac_check_lib_save_LIBS
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14792 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14793 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14795 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14797 else
14798 UDEV_LIBS=""
14801 else
14802 UDEV_LIBS=""
14805 done
14807 CPPFLAGS=$ac_save_CPPFLAGS
14808 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14809 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14812 if test "x$UDEV_LIBS" = "x"; then :
14813 case "x$with_udev" in
14814 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14815 xno) ;;
14816 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14817 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14818 esac
14822 if test "x$with_sdl" != "xno"
14823 then
14824 if ${SDL2_CFLAGS:+false} :; then :
14825 if ${PKG_CONFIG+:} false; then :
14826 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14830 if ${SDL2_LIBS:+false} :; then :
14831 if ${PKG_CONFIG+:} false; then :
14832 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14836 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14837 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14838 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14839 ac_save_CPPFLAGS=$CPPFLAGS
14840 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14841 for ac_header in SDL2/SDL.h
14842 do :
14843 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14844 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14845 cat >>confdefs.h <<_ACEOF
14846 #define HAVE_SDL2_SDL_H 1
14847 _ACEOF
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14849 $as_echo_n "checking for -lSDL2... " >&6; }
14850 if ${ac_cv_lib_soname_SDL2+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_check_soname_save_LIBS=$LIBS
14854 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14861 #ifdef __cplusplus
14862 extern "C"
14863 #endif
14864 char SDL_Init ();
14866 main ()
14868 return SDL_Init ();
14870 return 0;
14872 _ACEOF
14873 if ac_fn_c_try_link "$LINENO"; then :
14874 case "$LIBEXT" in
14875 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14876 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'` ;;
14877 *) 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'`
14878 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14879 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14880 fi ;;
14881 esac
14882 else
14883 ac_cv_lib_soname_SDL2=
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 LIBS=$ac_check_soname_save_LIBS
14889 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14891 $as_echo "not found" >&6; }
14893 else
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14895 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14897 cat >>confdefs.h <<_ACEOF
14898 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14899 _ACEOF
14905 done
14907 CPPFLAGS=$ac_save_CPPFLAGS
14908 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14909 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14912 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14913 case "x$with_sdl" in
14914 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14915 xno) ;;
14916 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14917 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14918 esac
14922 if test "x$with_faudio" != "xno"
14923 then
14924 if ${FAUDIO_CFLAGS:+false} :; then :
14925 if ${PKG_CONFIG+:} false; then :
14926 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14930 if ${FAUDIO_LIBS:+false} :; then :
14931 if ${PKG_CONFIG+:} false; then :
14932 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14936 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14937 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14938 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14939 ac_save_CPPFLAGS=$CPPFLAGS
14940 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14941 for ac_header in FAudio.h
14942 do :
14943 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14944 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14945 cat >>confdefs.h <<_ACEOF
14946 #define HAVE_FAUDIO_H 1
14947 _ACEOF
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14949 $as_echo_n "checking for -lFAudio... " >&6; }
14950 if ${ac_cv_lib_soname_FAudio+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_check_soname_save_LIBS=$LIBS
14954 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14961 #ifdef __cplusplus
14962 extern "C"
14963 #endif
14964 char FAudioCreate ();
14966 main ()
14968 return FAudioCreate ();
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 case "$LIBEXT" in
14975 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14976 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'` ;;
14977 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14978 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14979 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14980 fi ;;
14981 esac
14982 else
14983 ac_cv_lib_soname_FAudio=
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14987 LIBS=$ac_check_soname_save_LIBS
14989 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14991 $as_echo "not found" >&6; }
14993 else
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14995 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14997 cat >>confdefs.h <<_ACEOF
14998 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14999 _ACEOF
15005 done
15007 ac_wine_check_funcs_save_LIBS="$LIBS"
15008 LIBS="$LIBS $FAUDIO_LIBS"
15009 for ac_func in FAudio_CommitOperationSet \
15010 F3DAudioInitialize8
15011 do :
15012 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15014 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15015 cat >>confdefs.h <<_ACEOF
15016 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15017 _ACEOF
15020 done
15022 LIBS="$ac_wine_check_funcs_save_LIBS"
15024 CPPFLAGS=$ac_save_CPPFLAGS
15025 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15026 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15029 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15030 case "x$with_faudio" in
15031 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15032 xno) ;;
15033 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15034 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15035 esac
15039 if test "x$with_capi" != "xno"
15040 then
15041 if ${CAPI20_CFLAGS:+false} :; then :
15042 if ${PKG_CONFIG+:} false; then :
15043 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15047 if ${CAPI20_LIBS:+false} :; then :
15048 if ${PKG_CONFIG+:} false; then :
15049 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15054 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15055 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15056 ac_save_CPPFLAGS=$CPPFLAGS
15057 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15058 for ac_header in capi20.h linux/capi.h
15059 do :
15060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15061 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15063 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15064 cat >>confdefs.h <<_ACEOF
15065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15066 _ACEOF
15070 done
15072 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15073 then
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15075 $as_echo_n "checking for -lcapi20... " >&6; }
15076 if ${ac_cv_lib_soname_capi20+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 ac_check_soname_save_LIBS=$LIBS
15080 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15084 /* Override any GCC internal prototype to avoid an error.
15085 Use char because int might match the return type of a GCC
15086 builtin and then its argument prototype would still apply. */
15087 #ifdef __cplusplus
15088 extern "C"
15089 #endif
15090 char capi20_register ();
15092 main ()
15094 return capi20_register ();
15096 return 0;
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"; then :
15100 case "$LIBEXT" in
15101 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15102 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'` ;;
15103 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15104 if ${ac_cv_lib_soname_capi20:+false} :; then :
15105 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15106 fi ;;
15107 esac
15108 else
15109 ac_cv_lib_soname_capi20=
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15113 LIBS=$ac_check_soname_save_LIBS
15115 if ${ac_cv_lib_soname_capi20:+false} :; then :
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15117 $as_echo "not found" >&6; }
15119 else
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15121 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15123 cat >>confdefs.h <<_ACEOF
15124 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15125 _ACEOF
15130 CPPFLAGS=$ac_save_CPPFLAGS
15131 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15132 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15135 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15136 case "x$with_capi" in
15137 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15138 xno) ;;
15139 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15140 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15141 esac
15145 if test "x$with_cups" != "xno"
15146 then
15147 if ${CUPS_CFLAGS:+false} :; then :
15148 if ${PKG_CONFIG+:} false; then :
15149 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15152 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15153 if ${CUPS_LIBS:+false} :; then :
15154 if ${PKG_CONFIG+:} false; then :
15155 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15158 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15159 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15160 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15161 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15162 ac_save_CPPFLAGS=$CPPFLAGS
15163 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15164 for ac_header in cups/cups.h cups/ppd.h
15165 do :
15166 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15167 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15168 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15169 cat >>confdefs.h <<_ACEOF
15170 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15171 _ACEOF
15175 done
15177 if test "$ac_cv_header_cups_cups_h" = "yes"
15178 then
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15180 $as_echo_n "checking for -lcups... " >&6; }
15181 if ${ac_cv_lib_soname_cups+:} false; then :
15182 $as_echo_n "(cached) " >&6
15183 else
15184 ac_check_soname_save_LIBS=$LIBS
15185 LIBS="-lcups $CUPS_LIBS $LIBS"
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15189 /* Override any GCC internal prototype to avoid an error.
15190 Use char because int might match the return type of a GCC
15191 builtin and then its argument prototype would still apply. */
15192 #ifdef __cplusplus
15193 extern "C"
15194 #endif
15195 char cupsGetDefault ();
15197 main ()
15199 return cupsGetDefault ();
15201 return 0;
15203 _ACEOF
15204 if ac_fn_c_try_link "$LINENO"; then :
15205 case "$LIBEXT" in
15206 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15207 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'` ;;
15208 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15209 if ${ac_cv_lib_soname_cups:+false} :; then :
15210 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15211 fi ;;
15212 esac
15213 else
15214 ac_cv_lib_soname_cups=
15216 rm -f core conftest.err conftest.$ac_objext \
15217 conftest$ac_exeext conftest.$ac_ext
15218 LIBS=$ac_check_soname_save_LIBS
15220 if ${ac_cv_lib_soname_cups:+false} :; then :
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15222 $as_echo "not found" >&6; }
15223 CUPS_LIBS=""
15224 else
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15226 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15228 cat >>confdefs.h <<_ACEOF
15229 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15230 _ACEOF
15234 else
15235 CUPS_CFLAGS=""
15236 CUPS_LIBS=""
15238 CPPFLAGS=$ac_save_CPPFLAGS
15239 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15240 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15243 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15244 case "x$with_cups" in
15245 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15246 xno) ;;
15247 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15248 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15249 esac
15253 if test "x$with_fontconfig" != "xno"
15254 then
15255 if ${FONTCONFIG_CFLAGS:+false} :; then :
15256 if ${PKG_CONFIG+:} false; then :
15257 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15260 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15261 if ${FONTCONFIG_LIBS:+false} :; then :
15262 if ${PKG_CONFIG+:} false; then :
15263 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15266 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15268 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15269 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15270 ac_save_CPPFLAGS=$CPPFLAGS
15271 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15272 for ac_header in fontconfig/fontconfig.h
15273 do :
15274 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15275 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15278 _ACEOF
15282 done
15284 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15285 then
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15287 $as_echo_n "checking for -lfontconfig... " >&6; }
15288 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15289 $as_echo_n "(cached) " >&6
15290 else
15291 ac_check_soname_save_LIBS=$LIBS
15292 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15296 /* Override any GCC internal prototype to avoid an error.
15297 Use char because int might match the return type of a GCC
15298 builtin and then its argument prototype would still apply. */
15299 #ifdef __cplusplus
15300 extern "C"
15301 #endif
15302 char FcInit ();
15304 main ()
15306 return FcInit ();
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 case "$LIBEXT" in
15313 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15314 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'` ;;
15315 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15316 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15317 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15318 fi ;;
15319 esac
15320 else
15321 ac_cv_lib_soname_fontconfig=
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_check_soname_save_LIBS
15327 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15329 $as_echo "not found" >&6; }
15330 FONTCONFIG_CFLAGS=""
15331 else
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15333 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15335 cat >>confdefs.h <<_ACEOF
15336 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15337 _ACEOF
15341 else
15342 FONTCONFIG_CFLAGS=""
15344 CPPFLAGS=$ac_save_CPPFLAGS
15345 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15346 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15349 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15350 case "x$with_fontconfig" in
15351 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15352 xno) ;;
15353 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15354 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15355 esac
15359 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15360 then
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15362 $as_echo_n "checking for -lgsm... " >&6; }
15363 if ${ac_cv_lib_soname_gsm+:} false; then :
15364 $as_echo_n "(cached) " >&6
15365 else
15366 ac_check_soname_save_LIBS=$LIBS
15367 LIBS="-lgsm $LIBS"
15368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15371 /* Override any GCC internal prototype to avoid an error.
15372 Use char because int might match the return type of a GCC
15373 builtin and then its argument prototype would still apply. */
15374 #ifdef __cplusplus
15375 extern "C"
15376 #endif
15377 char gsm_create ();
15379 main ()
15381 return gsm_create ();
15383 return 0;
15385 _ACEOF
15386 if ac_fn_c_try_link "$LINENO"; then :
15387 case "$LIBEXT" in
15388 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15389 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'` ;;
15390 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15391 if ${ac_cv_lib_soname_gsm:+false} :; then :
15392 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15393 fi ;;
15394 esac
15395 else
15396 ac_cv_lib_soname_gsm=
15398 rm -f core conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext conftest.$ac_ext
15400 LIBS=$ac_check_soname_save_LIBS
15402 if ${ac_cv_lib_soname_gsm:+false} :; then :
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15404 $as_echo "not found" >&6; }
15406 else
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15408 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15410 cat >>confdefs.h <<_ACEOF
15411 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15412 _ACEOF
15417 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15418 case "x$with_gsm" in
15419 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15420 xno) ;;
15421 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15422 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15423 esac
15427 if test "x$with_krb5" != "xno"
15428 then
15429 if ${KRB5_CFLAGS:+false} :; then :
15430 if ${PKG_CONFIG+:} false; then :
15431 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15434 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15435 if ${KRB5_LIBS:+false} :; then :
15436 if ${PKG_CONFIG+:} false; then :
15437 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15440 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15442 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15443 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15444 ac_save_CPPFLAGS=$CPPFLAGS
15445 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15446 for ac_header in krb5/krb5.h
15447 do :
15448 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15449 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15450 cat >>confdefs.h <<_ACEOF
15451 #define HAVE_KRB5_KRB5_H 1
15452 _ACEOF
15456 done
15458 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15459 then
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15461 $as_echo_n "checking for -lkrb5... " >&6; }
15462 if ${ac_cv_lib_soname_krb5+:} false; then :
15463 $as_echo_n "(cached) " >&6
15464 else
15465 ac_check_soname_save_LIBS=$LIBS
15466 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15470 /* Override any GCC internal prototype to avoid an error.
15471 Use char because int might match the return type of a GCC
15472 builtin and then its argument prototype would still apply. */
15473 #ifdef __cplusplus
15474 extern "C"
15475 #endif
15476 char krb5_is_config_principal ();
15478 main ()
15480 return krb5_is_config_principal ();
15482 return 0;
15484 _ACEOF
15485 if ac_fn_c_try_link "$LINENO"; then :
15486 case "$LIBEXT" in
15487 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15488 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'` ;;
15489 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15490 if ${ac_cv_lib_soname_krb5:+false} :; then :
15491 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15492 fi ;;
15493 esac
15494 else
15495 ac_cv_lib_soname_krb5=
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15499 LIBS=$ac_check_soname_save_LIBS
15501 if ${ac_cv_lib_soname_krb5:+false} :; then :
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15503 $as_echo "not found" >&6; }
15504 KRB5_CFLAGS=""
15505 else
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15507 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15509 cat >>confdefs.h <<_ACEOF
15510 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15511 _ACEOF
15515 else
15516 KRB5_CFLAGS=""
15518 CPPFLAGS=$ac_save_CPPFLAGS
15519 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15520 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15522 else
15523 with_gssapi=${with_gssapi:-no}
15525 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15526 case "x$with_krb5" in
15527 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15528 xno) ;;
15529 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15530 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15531 esac
15535 if test "x$with_gssapi" != "xno"
15536 then
15537 if ${GSSAPI_CFLAGS:+false} :; then :
15538 if ${PKG_CONFIG+:} false; then :
15539 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15542 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15543 if ${GSSAPI_LIBS:+false} :; then :
15544 if ${PKG_CONFIG+:} false; then :
15545 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15548 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15550 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15551 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15552 ac_save_CPPFLAGS=$CPPFLAGS
15553 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15554 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15555 do :
15556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15557 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15559 cat >>confdefs.h <<_ACEOF
15560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15561 _ACEOF
15565 done
15567 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15568 then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15570 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15571 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15572 $as_echo_n "(cached) " >&6
15573 else
15574 ac_check_soname_save_LIBS=$LIBS
15575 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15579 /* Override any GCC internal prototype to avoid an error.
15580 Use char because int might match the return type of a GCC
15581 builtin and then its argument prototype would still apply. */
15582 #ifdef __cplusplus
15583 extern "C"
15584 #endif
15585 char gss_init_sec_context ();
15587 main ()
15589 return gss_init_sec_context ();
15591 return 0;
15593 _ACEOF
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 case "$LIBEXT" in
15596 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15597 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'` ;;
15598 *) 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'`
15599 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15600 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15601 fi ;;
15602 esac
15603 else
15604 ac_cv_lib_soname_gssapi_krb5=
15606 rm -f core conftest.err conftest.$ac_objext \
15607 conftest$ac_exeext conftest.$ac_ext
15608 LIBS=$ac_check_soname_save_LIBS
15610 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15612 $as_echo "not found" >&6; }
15613 GSSAPI_CFLAGS=""
15614 else
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15616 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15618 cat >>confdefs.h <<_ACEOF
15619 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15620 _ACEOF
15624 else
15625 GSSAPI_CFLAGS=""
15627 CPPFLAGS=$ac_save_CPPFLAGS
15628 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15629 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15632 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15633 case "x$with_gssapi" in
15634 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15635 xno) ;;
15636 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15637 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15638 esac
15642 if test "x$with_jpeg" != "xno"
15643 then
15644 if ${JPEG_CFLAGS:+false} :; then :
15645 if ${PKG_CONFIG+:} false; then :
15646 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15650 if ${JPEG_LIBS:+false} :; then :
15651 if ${PKG_CONFIG+:} false; then :
15652 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15657 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15658 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15659 ac_save_CPPFLAGS=$CPPFLAGS
15660 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15661 for ac_header in jpeglib.h
15662 do :
15663 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15664 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15665 cat >>confdefs.h <<_ACEOF
15666 #define HAVE_JPEGLIB_H 1
15667 _ACEOF
15671 done
15673 if test "$ac_cv_header_jpeglib_h" = "yes"
15674 then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15676 $as_echo_n "checking for -ljpeg... " >&6; }
15677 if ${ac_cv_lib_soname_jpeg+:} false; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 ac_check_soname_save_LIBS=$LIBS
15681 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15685 /* Override any GCC internal prototype to avoid an error.
15686 Use char because int might match the return type of a GCC
15687 builtin and then its argument prototype would still apply. */
15688 #ifdef __cplusplus
15689 extern "C"
15690 #endif
15691 char jpeg_start_decompress ();
15693 main ()
15695 return jpeg_start_decompress ();
15697 return 0;
15699 _ACEOF
15700 if ac_fn_c_try_link "$LINENO"; then :
15701 case "$LIBEXT" in
15702 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15703 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'` ;;
15704 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15705 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15706 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15707 fi ;;
15708 esac
15709 else
15710 ac_cv_lib_soname_jpeg=
15712 rm -f core conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_soname_save_LIBS
15716 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15718 $as_echo "not found" >&6; }
15719 JPEG_CFLAGS=""
15720 else
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15722 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15724 cat >>confdefs.h <<_ACEOF
15725 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15726 _ACEOF
15730 else
15731 JPEG_CFLAGS=""
15733 CPPFLAGS=$ac_save_CPPFLAGS
15734 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15735 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15738 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15739 case "x$with_jpeg" in
15740 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15741 xno) ;;
15742 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15743 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15744 esac
15748 if test "x$with_png" != "xno"
15749 then
15750 if ${PNG_CFLAGS:+false} :; then :
15751 if ${PKG_CONFIG+:} false; then :
15752 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15755 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15756 if ${PNG_LIBS:+false} :; then :
15757 if ${PKG_CONFIG+:} false; then :
15758 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15761 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15763 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15764 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15765 ac_save_CPPFLAGS=$CPPFLAGS
15766 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15767 for ac_header in png.h
15768 do :
15769 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15770 if test "x$ac_cv_header_png_h" = xyes; then :
15771 cat >>confdefs.h <<_ACEOF
15772 #define HAVE_PNG_H 1
15773 _ACEOF
15777 done
15779 if test "$ac_cv_header_png_h" = "yes"
15780 then
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15782 $as_echo_n "checking for -lpng... " >&6; }
15783 if ${ac_cv_lib_soname_png+:} false; then :
15784 $as_echo_n "(cached) " >&6
15785 else
15786 ac_check_soname_save_LIBS=$LIBS
15787 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15789 /* end confdefs.h. */
15791 /* Override any GCC internal prototype to avoid an error.
15792 Use char because int might match the return type of a GCC
15793 builtin and then its argument prototype would still apply. */
15794 #ifdef __cplusplus
15795 extern "C"
15796 #endif
15797 char png_create_read_struct ();
15799 main ()
15801 return png_create_read_struct ();
15803 return 0;
15805 _ACEOF
15806 if ac_fn_c_try_link "$LINENO"; then :
15807 case "$LIBEXT" in
15808 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15809 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'` ;;
15810 *) 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'`
15811 if ${ac_cv_lib_soname_png:+false} :; then :
15812 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15813 fi ;;
15814 esac
15815 else
15816 ac_cv_lib_soname_png=
15818 rm -f core conftest.err conftest.$ac_objext \
15819 conftest$ac_exeext conftest.$ac_ext
15820 LIBS=$ac_check_soname_save_LIBS
15822 if ${ac_cv_lib_soname_png:+false} :; then :
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15824 $as_echo "not found" >&6; }
15825 PNG_CFLAGS=""
15826 else
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15828 $as_echo "$ac_cv_lib_soname_png" >&6; }
15830 cat >>confdefs.h <<_ACEOF
15831 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15832 _ACEOF
15836 else
15837 PNG_CFLAGS=""
15839 CPPFLAGS=$ac_save_CPPFLAGS
15840 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15841 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15844 if test "x$ac_cv_lib_soname_png" = "x"; then :
15845 case "x$with_png" in
15846 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15847 xno) ;;
15848 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15849 This is an error since --with-png was requested." "$LINENO" 5 ;;
15850 esac
15854 if test "x$with_tiff" != "xno"
15855 then
15856 if ${TIFF_CFLAGS:+false} :; then :
15857 if ${PKG_CONFIG+:} false; then :
15858 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15862 if ${TIFF_LIBS:+false} :; then :
15863 if ${PKG_CONFIG+:} false; then :
15864 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15869 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15870 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15871 ac_save_CPPFLAGS=$CPPFLAGS
15872 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15873 for ac_header in tiffio.h
15874 do :
15875 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15876 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15877 cat >>confdefs.h <<_ACEOF
15878 #define HAVE_TIFFIO_H 1
15879 _ACEOF
15883 done
15885 if test "$ac_cv_header_tiffio_h" = "yes"
15886 then
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15888 $as_echo_n "checking for -ltiff... " >&6; }
15889 if ${ac_cv_lib_soname_tiff+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 ac_check_soname_save_LIBS=$LIBS
15893 LIBS="-ltiff $TIFF_LIBS $LIBS"
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15897 /* Override any GCC internal prototype to avoid an error.
15898 Use char because int might match the return type of a GCC
15899 builtin and then its argument prototype would still apply. */
15900 #ifdef __cplusplus
15901 extern "C"
15902 #endif
15903 char TIFFClientOpen ();
15905 main ()
15907 return TIFFClientOpen ();
15909 return 0;
15911 _ACEOF
15912 if ac_fn_c_try_link "$LINENO"; then :
15913 case "$LIBEXT" in
15914 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15915 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'` ;;
15916 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15917 if ${ac_cv_lib_soname_tiff:+false} :; then :
15918 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15919 fi ;;
15920 esac
15921 else
15922 ac_cv_lib_soname_tiff=
15924 rm -f core conftest.err conftest.$ac_objext \
15925 conftest$ac_exeext conftest.$ac_ext
15926 LIBS=$ac_check_soname_save_LIBS
15928 if ${ac_cv_lib_soname_tiff:+false} :; then :
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15930 $as_echo "not found" >&6; }
15932 else
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15934 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15936 cat >>confdefs.h <<_ACEOF
15937 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15938 _ACEOF
15943 CPPFLAGS=$ac_save_CPPFLAGS
15944 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15945 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15948 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15949 case "x$with_tiff" in
15950 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15951 xno) ;;
15952 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15953 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15954 esac
15958 if test "x$with_mpg123" != "xno"
15959 then
15960 if ${MPG123_CFLAGS:+false} :; then :
15961 if ${PKG_CONFIG+:} false; then :
15962 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15966 if ${MPG123_LIBS:+false} :; then :
15967 if ${PKG_CONFIG+:} false; then :
15968 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15972 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15973 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15974 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15975 ac_save_CPPFLAGS=$CPPFLAGS
15976 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15977 for ac_header in mpg123.h
15978 do :
15979 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15980 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_MPG123_H 1
15983 _ACEOF
15987 done
15989 if test "$ac_cv_header_mpg123_h" = "yes"
15990 then
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15992 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15993 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15994 $as_echo_n "(cached) " >&6
15995 else
15996 ac_check_lib_save_LIBS=$LIBS
15997 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15999 /* end confdefs.h. */
16001 /* Override any GCC internal prototype to avoid an error.
16002 Use char because int might match the return type of a GCC
16003 builtin and then its argument prototype would still apply. */
16004 #ifdef __cplusplus
16005 extern "C"
16006 #endif
16007 char mpg123_feed ();
16009 main ()
16011 return mpg123_feed ();
16013 return 0;
16015 _ACEOF
16016 if ac_fn_c_try_link "$LINENO"; then :
16017 ac_cv_lib_mpg123_mpg123_feed=yes
16018 else
16019 ac_cv_lib_mpg123_mpg123_feed=no
16021 rm -f core conftest.err conftest.$ac_objext \
16022 conftest$ac_exeext conftest.$ac_ext
16023 LIBS=$ac_check_lib_save_LIBS
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16026 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16027 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16029 else
16030 MPG123_LIBS=""
16033 else
16034 MPG123_CFLAGS=""
16035 MPG123_LIBS=""
16037 CPPFLAGS=$ac_save_CPPFLAGS
16038 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16039 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16042 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16043 case "x$with_mpg123" in
16044 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16045 xno) ;;
16046 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16047 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16048 esac
16049 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16051 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16053 if test "$ac_cv_header_AL_al_h" = "yes"
16054 then
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16056 $as_echo_n "checking for -lopenal... " >&6; }
16057 if ${ac_cv_lib_soname_openal+:} false; then :
16058 $as_echo_n "(cached) " >&6
16059 else
16060 ac_check_soname_save_LIBS=$LIBS
16061 LIBS="-lopenal $LIBS"
16062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16063 /* end confdefs.h. */
16065 /* Override any GCC internal prototype to avoid an error.
16066 Use char because int might match the return type of a GCC
16067 builtin and then its argument prototype would still apply. */
16068 #ifdef __cplusplus
16069 extern "C"
16070 #endif
16071 char alGetSource3i ();
16073 main ()
16075 return alGetSource3i ();
16077 return 0;
16079 _ACEOF
16080 if ac_fn_c_try_link "$LINENO"; then :
16081 case "$LIBEXT" in
16082 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16083 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'` ;;
16084 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16085 if ${ac_cv_lib_soname_openal:+false} :; then :
16086 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16087 fi ;;
16088 esac
16089 else
16090 ac_cv_lib_soname_openal=
16092 rm -f core conftest.err conftest.$ac_objext \
16093 conftest$ac_exeext conftest.$ac_ext
16094 LIBS=$ac_check_soname_save_LIBS
16096 if ${ac_cv_lib_soname_openal:+false} :; then :
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16098 $as_echo "not found" >&6; }
16100 else
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16102 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16104 cat >>confdefs.h <<_ACEOF
16105 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16106 _ACEOF
16108 OPENAL_LIBS="-lopenal"
16110 ac_cv_lib_openal=yes
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_OPENAL 1
16114 _ACEOF
16118 if test "x$ac_cv_lib_openal" != xyes; then :
16119 case "x$with_openal" in
16120 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16121 xno) ;;
16122 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16123 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16124 esac
16125 enable_openal32=${enable_openal32:-no}
16128 if test "x$ac_cv_lib_soname_FAudio" = "x"
16129 then
16130 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16131 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16132 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16133 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16134 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16135 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16136 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16137 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16138 enable_xapofx1_1=${enable_xapofx1_1:-no}
16139 enable_xapofx1_2=${enable_xapofx1_2:-no}
16140 enable_xapofx1_3=${enable_xapofx1_3:-no}
16141 enable_xapofx1_4=${enable_xapofx1_4:-no}
16142 enable_xapofx1_5=${enable_xapofx1_5:-no}
16143 enable_xaudio2_0=${enable_xaudio2_0:-no}
16144 enable_xaudio2_1=${enable_xaudio2_1:-no}
16145 enable_xaudio2_2=${enable_xaudio2_2:-no}
16146 enable_xaudio2_3=${enable_xaudio2_3:-no}
16147 enable_xaudio2_4=${enable_xaudio2_4:-no}
16148 enable_xaudio2_5=${enable_xaudio2_5:-no}
16149 enable_xaudio2_6=${enable_xaudio2_6:-no}
16150 enable_xaudio2_7=${enable_xaudio2_7:-no}
16151 enable_xaudio2_8=${enable_xaudio2_8:-no}
16152 enable_xaudio2_9=${enable_xaudio2_9:-no}
16155 if test "$ac_cv_header_kstat_h" = "yes"
16156 then
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16158 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16159 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16160 $as_echo_n "(cached) " >&6
16161 else
16162 ac_check_lib_save_LIBS=$LIBS
16163 LIBS="-lkstat $LIBS"
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16167 /* Override any GCC internal prototype to avoid an error.
16168 Use char because int might match the return type of a GCC
16169 builtin and then its argument prototype would still apply. */
16170 #ifdef __cplusplus
16171 extern "C"
16172 #endif
16173 char kstat_open ();
16175 main ()
16177 return kstat_open ();
16179 return 0;
16181 _ACEOF
16182 if ac_fn_c_try_link "$LINENO"; then :
16183 ac_cv_lib_kstat_kstat_open=yes
16184 else
16185 ac_cv_lib_kstat_kstat_open=no
16187 rm -f core conftest.err conftest.$ac_objext \
16188 conftest$ac_exeext conftest.$ac_ext
16189 LIBS=$ac_check_lib_save_LIBS
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16192 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16193 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16195 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16197 KSTAT_LIBS="-lkstat"
16203 if test "$ac_cv_header_libprocstat_h" = "yes"
16204 then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16206 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16207 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 ac_check_lib_save_LIBS=$LIBS
16211 LIBS="-lprocstat $LIBS"
16212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char procstat_open_sysctl ();
16223 main ()
16225 return procstat_open_sysctl ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 ac_cv_lib_procstat_procstat_open_sysctl=yes
16232 else
16233 ac_cv_lib_procstat_procstat_open_sysctl=no
16235 rm -f core conftest.err conftest.$ac_objext \
16236 conftest$ac_exeext conftest.$ac_ext
16237 LIBS=$ac_check_lib_save_LIBS
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16240 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16241 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16243 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16245 PROCSTAT_LIBS="-lprocstat"
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16252 $as_echo_n "checking for -lodbc... " >&6; }
16253 if ${ac_cv_lib_soname_odbc+:} false; then :
16254 $as_echo_n "(cached) " >&6
16255 else
16256 ac_check_soname_save_LIBS=$LIBS
16257 LIBS="-lodbc $LIBS"
16258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16259 /* end confdefs.h. */
16261 /* Override any GCC internal prototype to avoid an error.
16262 Use char because int might match the return type of a GCC
16263 builtin and then its argument prototype would still apply. */
16264 #ifdef __cplusplus
16265 extern "C"
16266 #endif
16267 char SQLConnect ();
16269 main ()
16271 return SQLConnect ();
16273 return 0;
16275 _ACEOF
16276 if ac_fn_c_try_link "$LINENO"; then :
16277 case "$LIBEXT" in
16278 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16279 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'` ;;
16280 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16281 if ${ac_cv_lib_soname_odbc:+false} :; then :
16282 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16283 fi ;;
16284 esac
16285 else
16286 ac_cv_lib_soname_odbc=
16288 rm -f core conftest.err conftest.$ac_objext \
16289 conftest$ac_exeext conftest.$ac_ext
16290 LIBS=$ac_check_soname_save_LIBS
16292 if ${ac_cv_lib_soname_odbc:+false} :; then :
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16294 $as_echo "not found" >&6; }
16295 cat >>confdefs.h <<_ACEOF
16296 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16297 _ACEOF
16299 else
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16301 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16303 cat >>confdefs.h <<_ACEOF
16304 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16305 _ACEOF
16310 if test "x$with_netapi" != "xno"
16311 then
16312 if ${NETAPI_CFLAGS:+false} :; then :
16313 if ${PKG_CONFIG+:} false; then :
16314 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16318 if ${NETAPI_LIBS:+false} :; then :
16319 if ${PKG_CONFIG+:} false; then :
16320 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16325 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16326 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16327 ac_save_CPPFLAGS=$CPPFLAGS
16328 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16330 $as_echo_n "checking for -lnetapi... " >&6; }
16331 if ${ac_cv_lib_soname_netapi+:} false; then :
16332 $as_echo_n "(cached) " >&6
16333 else
16334 ac_check_soname_save_LIBS=$LIBS
16335 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16339 /* Override any GCC internal prototype to avoid an error.
16340 Use char because int might match the return type of a GCC
16341 builtin and then its argument prototype would still apply. */
16342 #ifdef __cplusplus
16343 extern "C"
16344 #endif
16345 char libnetapi_init ();
16347 main ()
16349 return libnetapi_init ();
16351 return 0;
16353 _ACEOF
16354 if ac_fn_c_try_link "$LINENO"; then :
16355 case "$LIBEXT" in
16356 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16357 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'` ;;
16358 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16359 if ${ac_cv_lib_soname_netapi:+false} :; then :
16360 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16361 fi ;;
16362 esac
16363 else
16364 ac_cv_lib_soname_netapi=
16366 rm -f core conftest.err conftest.$ac_objext \
16367 conftest$ac_exeext conftest.$ac_ext
16368 LIBS=$ac_check_soname_save_LIBS
16370 if ${ac_cv_lib_soname_netapi:+false} :; then :
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16372 $as_echo "not found" >&6; }
16373 cat >>confdefs.h <<_ACEOF
16374 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16375 _ACEOF
16377 else
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16379 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16381 cat >>confdefs.h <<_ACEOF
16382 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16383 _ACEOF
16387 CPPFLAGS=$ac_save_CPPFLAGS
16388 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16389 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16393 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16394 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16395 then
16396 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16399 if test "x$with_vulkan" != "xno"
16400 then
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16402 $as_echo_n "checking for -lvulkan... " >&6; }
16403 if ${ac_cv_lib_soname_vulkan+:} false; then :
16404 $as_echo_n "(cached) " >&6
16405 else
16406 ac_check_soname_save_LIBS=$LIBS
16407 LIBS="-lvulkan $LIBS"
16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16411 /* Override any GCC internal prototype to avoid an error.
16412 Use char because int might match the return type of a GCC
16413 builtin and then its argument prototype would still apply. */
16414 #ifdef __cplusplus
16415 extern "C"
16416 #endif
16417 char vkGetInstanceProcAddr ();
16419 main ()
16421 return vkGetInstanceProcAddr ();
16423 return 0;
16425 _ACEOF
16426 if ac_fn_c_try_link "$LINENO"; then :
16427 case "$LIBEXT" in
16428 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16429 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'` ;;
16430 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16431 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16432 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16433 fi ;;
16434 esac
16435 else
16436 ac_cv_lib_soname_vulkan=
16438 rm -f core conftest.err conftest.$ac_objext \
16439 conftest$ac_exeext conftest.$ac_ext
16440 LIBS=$ac_check_soname_save_LIBS
16442 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16444 $as_echo "not found" >&6; }
16446 else
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16448 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16450 cat >>confdefs.h <<_ACEOF
16451 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16452 _ACEOF
16456 if test "x$ac_cv_lib_soname_vulkan" = "x"
16457 then
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16459 $as_echo_n "checking for -lMoltenVK... " >&6; }
16460 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 ac_check_soname_save_LIBS=$LIBS
16464 LIBS="-lMoltenVK $LIBS"
16465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16468 /* Override any GCC internal prototype to avoid an error.
16469 Use char because int might match the return type of a GCC
16470 builtin and then its argument prototype would still apply. */
16471 #ifdef __cplusplus
16472 extern "C"
16473 #endif
16474 char vkGetInstanceProcAddr ();
16476 main ()
16478 return vkGetInstanceProcAddr ();
16480 return 0;
16482 _ACEOF
16483 if ac_fn_c_try_link "$LINENO"; then :
16484 case "$LIBEXT" in
16485 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16486 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'` ;;
16487 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16488 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16489 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16490 fi ;;
16491 esac
16492 else
16493 ac_cv_lib_soname_MoltenVK=
16495 rm -f core conftest.err conftest.$ac_objext \
16496 conftest$ac_exeext conftest.$ac_ext
16497 LIBS=$ac_check_soname_save_LIBS
16499 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16501 $as_echo "not found" >&6; }
16503 else
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16505 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16507 cat >>confdefs.h <<_ACEOF
16508 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16509 _ACEOF
16515 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16516 case "x$with_vulkan" in
16517 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16518 xno) ;;
16519 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16520 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16521 esac
16525 if test "x$with_vkd3d" != "xno"
16526 then
16527 if ${VKD3D_CFLAGS:+false} :; then :
16528 if ${PKG_CONFIG+:} false; then :
16529 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16533 if ${VKD3D_LIBS:+false} :; then :
16534 if ${PKG_CONFIG+:} false; then :
16535 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16540 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16541 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16542 ac_save_CPPFLAGS=$CPPFLAGS
16543 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16545 $as_echo_n "checking for -lvkd3d... " >&6; }
16546 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16547 $as_echo_n "(cached) " >&6
16548 else
16549 ac_check_soname_save_LIBS=$LIBS
16550 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16552 /* end confdefs.h. */
16554 /* Override any GCC internal prototype to avoid an error.
16555 Use char because int might match the return type of a GCC
16556 builtin and then its argument prototype would still apply. */
16557 #ifdef __cplusplus
16558 extern "C"
16559 #endif
16560 char vkd3d_get_dxgi_format ();
16562 main ()
16564 return vkd3d_get_dxgi_format ();
16566 return 0;
16568 _ACEOF
16569 if ac_fn_c_try_link "$LINENO"; then :
16570 case "$LIBEXT" in
16571 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16572 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'` ;;
16573 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16574 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16575 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16576 fi ;;
16577 esac
16578 else
16579 ac_cv_lib_soname_vkd3d=
16581 rm -f core conftest.err conftest.$ac_objext \
16582 conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_soname_save_LIBS
16585 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16587 $as_echo "not found" >&6; }
16589 else
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16591 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16593 cat >>confdefs.h <<_ACEOF
16594 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16595 _ACEOF
16599 CPPFLAGS=$ac_save_CPPFLAGS
16600 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16601 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16604 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16605 case "x$with_vkd3d" in
16606 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16607 xno) ;;
16608 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16609 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16610 esac
16613 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16616 EXTRACFLAGS=""
16618 if test "x${GCC}" = "xyes"
16619 then
16620 EXTRACFLAGS="-Wall -pipe"
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16623 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16624 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16625 $as_echo_n "(cached) " >&6
16626 else
16627 if test "$cross_compiling" = yes; then :
16628 ac_cv_c_gcc_strength_bug="no"
16629 else
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 int L[4] = {0,1,2,3};
16634 main ()
16636 static int Array[3];
16637 unsigned int B = 3;
16638 int i;
16639 for(i=0; i<B; i++) Array[i] = i - 3;
16640 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16641 L[i] = 4;
16642 return (Array[1] != -2 || L[2] != 3)
16644 return 0;
16646 _ACEOF
16647 if ac_fn_c_try_run "$LINENO"; then :
16648 ac_cv_c_gcc_strength_bug="no"
16649 else
16650 ac_cv_c_gcc_strength_bug="yes"
16652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16653 conftest.$ac_objext conftest.beam conftest.$ac_ext
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16658 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16659 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16660 then
16661 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16665 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16666 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16667 $as_echo_n "(cached) " >&6
16668 else
16669 ac_wine_try_cflags_saved=$CFLAGS
16670 CFLAGS="$CFLAGS -fno-strict-aliasing"
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16673 int main(int argc, char **argv) { return 0; }
16674 _ACEOF
16675 if ac_fn_c_try_link "$LINENO"; then :
16676 ac_cv_cflags__fno_strict_aliasing=yes
16677 else
16678 ac_cv_cflags__fno_strict_aliasing=no
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16682 CFLAGS=$ac_wine_try_cflags_saved
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16685 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16686 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16687 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16690 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16691 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16692 $as_echo_n "(cached) " >&6
16693 else
16694 ac_wine_try_cflags_saved=$CFLAGS
16695 CFLAGS="$CFLAGS -fexcess-precision=standard"
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 int main(int argc, char **argv) { return 0; }
16699 _ACEOF
16700 if ac_fn_c_try_link "$LINENO"; then :
16701 ac_cv_cflags__fexcess_precision_standard=yes
16702 else
16703 ac_cv_cflags__fexcess_precision_standard=no
16705 rm -f core conftest.err conftest.$ac_objext \
16706 conftest$ac_exeext conftest.$ac_ext
16707 CFLAGS=$ac_wine_try_cflags_saved
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16710 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16711 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16712 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16715 saved_CFLAGS=$CFLAGS
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16717 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16718 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16719 $as_echo_n "(cached) " >&6
16720 else
16721 ac_wine_try_cflags_saved=$CFLAGS
16722 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16725 int main(int argc, char **argv) { return 0; }
16726 _ACEOF
16727 if ac_fn_c_try_link "$LINENO"; then :
16728 ac_cv_cflags__Werror_unknown_warning_option=yes
16729 else
16730 ac_cv_cflags__Werror_unknown_warning_option=no
16732 rm -f core conftest.err conftest.$ac_objext \
16733 conftest$ac_exeext conftest.$ac_ext
16734 CFLAGS=$ac_wine_try_cflags_saved
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16737 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16738 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16739 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16742 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16743 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16744 $as_echo_n "(cached) " >&6
16745 else
16746 ac_wine_try_cflags_saved=$CFLAGS
16747 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16750 int main(int argc, char **argv) { return 0; }
16751 _ACEOF
16752 if ac_fn_c_try_link "$LINENO"; then :
16753 ac_cv_cflags__Werror_unused_command_line_argument=yes
16754 else
16755 ac_cv_cflags__Werror_unused_command_line_argument=no
16757 rm -f core conftest.err conftest.$ac_objext \
16758 conftest$ac_exeext conftest.$ac_ext
16759 CFLAGS=$ac_wine_try_cflags_saved
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16762 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16763 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16764 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16767 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16768 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 ac_wine_try_cflags_saved=$CFLAGS
16772 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16775 int main(int argc, char **argv) { return 0; }
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"; then :
16778 ac_cv_cflags__Wdeclaration_after_statement=yes
16779 else
16780 ac_cv_cflags__Wdeclaration_after_statement=no
16782 rm -f core conftest.err conftest.$ac_objext \
16783 conftest$ac_exeext conftest.$ac_ext
16784 CFLAGS=$ac_wine_try_cflags_saved
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16787 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16788 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16789 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16792 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16793 if ${ac_cv_cflags__Wempty_body+:} false; then :
16794 $as_echo_n "(cached) " >&6
16795 else
16796 ac_wine_try_cflags_saved=$CFLAGS
16797 CFLAGS="$CFLAGS -Wempty-body"
16798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16800 int main(int argc, char **argv) { return 0; }
16801 _ACEOF
16802 if ac_fn_c_try_link "$LINENO"; then :
16803 ac_cv_cflags__Wempty_body=yes
16804 else
16805 ac_cv_cflags__Wempty_body=no
16807 rm -f core conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16809 CFLAGS=$ac_wine_try_cflags_saved
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16812 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16813 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16814 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16817 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16818 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16819 $as_echo_n "(cached) " >&6
16820 else
16821 ac_wine_try_cflags_saved=$CFLAGS
16822 CFLAGS="$CFLAGS -Wignored-qualifiers"
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16825 int main(int argc, char **argv) { return 0; }
16826 _ACEOF
16827 if ac_fn_c_try_link "$LINENO"; then :
16828 ac_cv_cflags__Wignored_qualifiers=yes
16829 else
16830 ac_cv_cflags__Wignored_qualifiers=no
16832 rm -f core conftest.err conftest.$ac_objext \
16833 conftest$ac_exeext conftest.$ac_ext
16834 CFLAGS=$ac_wine_try_cflags_saved
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16837 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16838 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16839 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16842 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16843 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16844 $as_echo_n "(cached) " >&6
16845 else
16846 ac_wine_try_cflags_saved=$CFLAGS
16847 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16850 int main(int argc, char **argv) { return 0; }
16851 _ACEOF
16852 if ac_fn_c_try_link "$LINENO"; then :
16853 ac_cv_cflags__Wpacked_not_aligned=yes
16854 else
16855 ac_cv_cflags__Wpacked_not_aligned=no
16857 rm -f core conftest.err conftest.$ac_objext \
16858 conftest$ac_exeext conftest.$ac_ext
16859 CFLAGS=$ac_wine_try_cflags_saved
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16862 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16863 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16864 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16867 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16868 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16869 $as_echo_n "(cached) " >&6
16870 else
16871 ac_wine_try_cflags_saved=$CFLAGS
16872 CFLAGS="$CFLAGS -Wpragma-pack"
16873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h. */
16875 int main(int argc, char **argv) { return 0; }
16876 _ACEOF
16877 if ac_fn_c_try_link "$LINENO"; then :
16878 ac_cv_cflags__Wpragma_pack=yes
16879 else
16880 ac_cv_cflags__Wpragma_pack=no
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16884 CFLAGS=$ac_wine_try_cflags_saved
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16887 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16888 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16889 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16892 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16893 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16896 ac_wine_try_cflags_saved=$CFLAGS
16897 CFLAGS="$CFLAGS -Wshift-overflow=2"
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 int main(int argc, char **argv) { return 0; }
16901 _ACEOF
16902 if ac_fn_c_try_link "$LINENO"; then :
16903 ac_cv_cflags__Wshift_overflow_2=yes
16904 else
16905 ac_cv_cflags__Wshift_overflow_2=no
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16909 CFLAGS=$ac_wine_try_cflags_saved
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16912 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16913 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16914 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16917 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16918 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16919 $as_echo_n "(cached) " >&6
16920 else
16921 ac_wine_try_cflags_saved=$CFLAGS
16922 CFLAGS="$CFLAGS -Wstrict-prototypes"
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16925 int main(int argc, char **argv) { return 0; }
16926 _ACEOF
16927 if ac_fn_c_try_link "$LINENO"; then :
16928 ac_cv_cflags__Wstrict_prototypes=yes
16929 else
16930 ac_cv_cflags__Wstrict_prototypes=no
16932 rm -f core conftest.err conftest.$ac_objext \
16933 conftest$ac_exeext conftest.$ac_ext
16934 CFLAGS=$ac_wine_try_cflags_saved
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16937 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16938 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16939 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16942 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16943 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16944 $as_echo_n "(cached) " >&6
16945 else
16946 ac_wine_try_cflags_saved=$CFLAGS
16947 CFLAGS="$CFLAGS -Wtype-limits"
16948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16950 int main(int argc, char **argv) { return 0; }
16951 _ACEOF
16952 if ac_fn_c_try_link "$LINENO"; then :
16953 ac_cv_cflags__Wtype_limits=yes
16954 else
16955 ac_cv_cflags__Wtype_limits=no
16957 rm -f core conftest.err conftest.$ac_objext \
16958 conftest$ac_exeext conftest.$ac_ext
16959 CFLAGS=$ac_wine_try_cflags_saved
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16962 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16963 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16964 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16967 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16968 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16969 $as_echo_n "(cached) " >&6
16970 else
16971 ac_wine_try_cflags_saved=$CFLAGS
16972 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 int main(int argc, char **argv) { return 0; }
16976 _ACEOF
16977 if ac_fn_c_try_link "$LINENO"; then :
16978 ac_cv_cflags__Wunused_but_set_parameter=yes
16979 else
16980 ac_cv_cflags__Wunused_but_set_parameter=no
16982 rm -f core conftest.err conftest.$ac_objext \
16983 conftest$ac_exeext conftest.$ac_ext
16984 CFLAGS=$ac_wine_try_cflags_saved
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16987 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16988 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16989 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16992 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16993 if ${ac_cv_cflags__Wvla+:} false; then :
16994 $as_echo_n "(cached) " >&6
16995 else
16996 ac_wine_try_cflags_saved=$CFLAGS
16997 CFLAGS="$CFLAGS -Wvla"
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17000 int main(int argc, char **argv) { return 0; }
17001 _ACEOF
17002 if ac_fn_c_try_link "$LINENO"; then :
17003 ac_cv_cflags__Wvla=yes
17004 else
17005 ac_cv_cflags__Wvla=no
17007 rm -f core conftest.err conftest.$ac_objext \
17008 conftest$ac_exeext conftest.$ac_ext
17009 CFLAGS=$ac_wine_try_cflags_saved
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17012 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17013 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17014 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17017 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17018 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 ac_wine_try_cflags_saved=$CFLAGS
17022 CFLAGS="$CFLAGS -Wwrite-strings"
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17025 int main(int argc, char **argv) { return 0; }
17026 _ACEOF
17027 if ac_fn_c_try_link "$LINENO"; then :
17028 ac_cv_cflags__Wwrite_strings=yes
17029 else
17030 ac_cv_cflags__Wwrite_strings=no
17032 rm -f core conftest.err conftest.$ac_objext \
17033 conftest$ac_exeext conftest.$ac_ext
17034 CFLAGS=$ac_wine_try_cflags_saved
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17037 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17038 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17039 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17043 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17044 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 ac_wine_try_cflags_saved=$CFLAGS
17048 CFLAGS="$CFLAGS -Wpointer-arith"
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17051 int main(int argc, char **argv) { return 0; }
17052 _ACEOF
17053 if ac_fn_c_try_link "$LINENO"; then :
17054 ac_cv_cflags__Wpointer_arith=yes
17055 else
17056 ac_cv_cflags__Wpointer_arith=no
17058 rm -f core conftest.err conftest.$ac_objext \
17059 conftest$ac_exeext conftest.$ac_ext
17060 CFLAGS=$ac_wine_try_cflags_saved
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17063 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17064 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17065 saved_string_h_CFLAGS=$CFLAGS
17066 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17068 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17069 if ${ac_cv_c_string_h_warnings+:} false; then :
17070 $as_echo_n "(cached) " >&6
17071 else
17072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17074 #include <string.h>
17076 main ()
17080 return 0;
17082 _ACEOF
17083 if ac_fn_c_try_compile "$LINENO"; then :
17084 ac_cv_c_string_h_warnings=no
17085 else
17086 ac_cv_c_string_h_warnings=yes
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17091 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17092 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17093 CFLAGS=$saved_string_h_CFLAGS
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17097 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17098 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 ac_wine_try_cflags_saved=$CFLAGS
17102 CFLAGS="$CFLAGS -Wlogical-op"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 int main(int argc, char **argv) { return 0; }
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 ac_cv_cflags__Wlogical_op=yes
17109 else
17110 ac_cv_cflags__Wlogical_op=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 CFLAGS=$ac_wine_try_cflags_saved
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17117 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17118 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17119 saved_string_h_CFLAGS=$CFLAGS
17120 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17122 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17123 if ${ac_cv_c_logicalop_noisy+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 #include <string.h>
17129 char*f(const char *h,char n) {return strchr(h,n);}
17131 main ()
17135 return 0;
17137 _ACEOF
17138 if ac_fn_c_try_compile "$LINENO"; then :
17139 ac_cv_c_logicalop_noisy=no
17140 else
17141 ac_cv_c_logicalop_noisy=yes
17143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17146 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17147 CFLAGS=$saved_string_h_CFLAGS
17148 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17151 for ac_flag in $CFLAGS; do
17152 case $ac_flag in
17153 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17154 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17155 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 ac_wine_try_cflags_saved=$CFLAGS
17159 CFLAGS="$CFLAGS -gdwarf-2"
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 int main(int argc, char **argv) { return 0; }
17163 _ACEOF
17164 if ac_fn_c_try_link "$LINENO"; then :
17165 ac_cv_cflags__gdwarf_2=yes
17166 else
17167 ac_cv_cflags__gdwarf_2=no
17169 rm -f core conftest.err conftest.$ac_objext \
17170 conftest$ac_exeext conftest.$ac_ext
17171 CFLAGS=$ac_wine_try_cflags_saved
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17174 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17175 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17176 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17179 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17180 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_wine_try_cflags_saved=$CFLAGS
17184 CFLAGS="$CFLAGS -gstrict-dwarf"
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 int main(int argc, char **argv) { return 0; }
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"; then :
17190 ac_cv_cflags__gstrict_dwarf=yes
17191 else
17192 ac_cv_cflags__gstrict_dwarf=no
17194 rm -f core conftest.err conftest.$ac_objext \
17195 conftest$ac_exeext conftest.$ac_ext
17196 CFLAGS=$ac_wine_try_cflags_saved
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17199 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17200 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17201 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17202 fi ;;
17203 esac
17204 done
17206 MSVCRTFLAGS=""
17208 case $host_os in
17209 cygwin*|mingw32*) ;;
17210 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17211 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17212 if ${ac_cv_cflags__fno_builtin+:} false; then :
17213 $as_echo_n "(cached) " >&6
17214 else
17215 ac_wine_try_cflags_saved=$CFLAGS
17216 CFLAGS="$CFLAGS -fno-builtin"
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17219 int main(int argc, char **argv) { return 0; }
17220 _ACEOF
17221 if ac_fn_c_try_link "$LINENO"; then :
17222 ac_cv_cflags__fno_builtin=yes
17223 else
17224 ac_cv_cflags__fno_builtin=no
17226 rm -f core conftest.err conftest.$ac_objext \
17227 conftest$ac_exeext conftest.$ac_ext
17228 CFLAGS=$ac_wine_try_cflags_saved
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17231 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17232 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17233 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17236 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17237 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17238 $as_echo_n "(cached) " >&6
17239 else
17240 ac_wine_try_cflags_saved=$CFLAGS
17241 CFLAGS="$CFLAGS -fshort-wchar"
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17244 int main(int argc, char **argv) { return 0; }
17245 _ACEOF
17246 if ac_fn_c_try_link "$LINENO"; then :
17247 ac_cv_cflags__fshort_wchar=yes
17248 else
17249 ac_cv_cflags__fshort_wchar=no
17251 rm -f core conftest.err conftest.$ac_objext \
17252 conftest$ac_exeext conftest.$ac_ext
17253 CFLAGS=$ac_wine_try_cflags_saved
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17256 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17257 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17258 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17259 fi ;;
17260 esac
17262 case $host_cpu in
17263 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17264 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17265 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17266 $as_echo_n "(cached) " >&6
17267 else
17268 ac_wine_try_cflags_saved=$CFLAGS
17269 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 int main(int argc, char **argv) { return 0; }
17273 _ACEOF
17274 if ac_fn_c_try_link "$LINENO"; then :
17275 ac_cv_cflags__fno_omit_frame_pointer=yes
17276 else
17277 ac_cv_cflags__fno_omit_frame_pointer=no
17279 rm -f core conftest.err conftest.$ac_objext \
17280 conftest$ac_exeext conftest.$ac_ext
17281 CFLAGS=$ac_wine_try_cflags_saved
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17284 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17285 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17286 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17287 fi ;;
17288 *x86_64*)
17289 case $host_os in
17290 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17291 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17292 if ${ac_cv_cflags__Wno_format+:} false; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 ac_wine_try_cflags_saved=$CFLAGS
17296 CFLAGS="$CFLAGS -Wno-format"
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 int main(int argc, char **argv) { return 0; }
17300 _ACEOF
17301 if ac_fn_c_try_link "$LINENO"; then :
17302 ac_cv_cflags__Wno_format=yes
17303 else
17304 ac_cv_cflags__Wno_format=no
17306 rm -f core conftest.err conftest.$ac_objext \
17307 conftest$ac_exeext conftest.$ac_ext
17308 CFLAGS=$ac_wine_try_cflags_saved
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17311 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17312 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17313 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17314 fi ;;
17315 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17316 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17317 if ${ac_cv_cflags__mabi_ms+:} false; then :
17318 $as_echo_n "(cached) " >&6
17319 else
17320 ac_wine_try_cflags_saved=$CFLAGS
17321 CFLAGS="$CFLAGS -mabi=ms"
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 int main(int argc, char **argv) { return 0; }
17325 _ACEOF
17326 if ac_fn_c_try_link "$LINENO"; then :
17327 ac_cv_cflags__mabi_ms=yes
17328 else
17329 ac_cv_cflags__mabi_ms=no
17331 rm -f core conftest.err conftest.$ac_objext \
17332 conftest$ac_exeext conftest.$ac_ext
17333 CFLAGS=$ac_wine_try_cflags_saved
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17336 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17337 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17338 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17339 fi ;;
17340 esac ;;
17341 esac
17343 CFLAGS=$saved_CFLAGS
17345 if test "x$enable_maintainer_mode" = "xyes"
17346 then
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17348 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17349 if ${ac_cv_cflags__Werror+:} false; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17352 ac_wine_try_cflags_saved=$CFLAGS
17353 CFLAGS="$CFLAGS -Werror"
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 int main(int argc, char **argv) { return 0; }
17357 _ACEOF
17358 if ac_fn_c_try_link "$LINENO"; then :
17359 ac_cv_cflags__Werror=yes
17360 else
17361 ac_cv_cflags__Werror=no
17363 rm -f core conftest.err conftest.$ac_objext \
17364 conftest$ac_exeext conftest.$ac_ext
17365 CFLAGS=$ac_wine_try_cflags_saved
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17368 $as_echo "$ac_cv_cflags__Werror" >&6; }
17369 if test "x$ac_cv_cflags__Werror" = xyes; then :
17370 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17377 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17378 if ${ac_cv_c_fortify_enabled+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #include <string.h>
17385 main ()
17387 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17388 #error Fortify enabled
17389 #endif
17391 return 0;
17393 _ACEOF
17394 if ac_fn_c_try_compile "$LINENO"; then :
17395 ac_cv_c_fortify_enabled=no
17396 else
17397 ac_cv_c_fortify_enabled=yes
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17402 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17403 if test "$ac_cv_c_fortify_enabled" = yes
17404 then
17405 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17410 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17411 if ${ac_cv_c_cfi_support+:} false; then :
17412 $as_echo_n "(cached) " >&6
17413 else
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17418 main ()
17422 return 0;
17424 _ACEOF
17425 if ac_fn_c_try_compile "$LINENO"; then :
17426 ac_cv_c_cfi_support="yes"
17427 else
17428 ac_cv_c_cfi_support="no"
17430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17433 $as_echo "$ac_cv_c_cfi_support" >&6; }
17434 if test "$ac_cv_c_cfi_support" = "yes"
17435 then
17436 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17437 else
17438 if test "x$enable_win64" = "xyes"
17439 then
17440 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17445 case $build_os in
17446 cygwin*|mingw32*) TOOLSEXT=".exe"
17448 esac
17450 case $host_os in
17451 linux*)
17452 case $host_cpu in
17453 *i[3456789]86*|x86_64*|*aarch64*)
17454 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17455 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17457 esac
17459 esac
17462 ac_save_CFLAGS="$CFLAGS"
17463 CFLAGS="$CFLAGS $BUILTINFLAG"
17464 for ac_func in \
17465 __res_get_state \
17466 __res_getservers \
17467 _spawnvp \
17468 dlopen \
17469 epoll_create \
17470 ffs \
17471 finitef \
17472 fnmatch \
17473 fork \
17474 fpclass \
17475 fstatfs \
17476 fstatvfs \
17477 futimens \
17478 futimes \
17479 futimesat \
17480 getattrlist \
17481 getauxval \
17482 getifaddrs \
17483 getopt_long_only \
17484 kqueue \
17485 lstat \
17486 pipe2 \
17487 poll \
17488 port_create \
17489 prctl \
17490 pread \
17491 proc_pidinfo \
17492 pwrite \
17493 readdir \
17494 readlink \
17495 sched_yield \
17496 select \
17497 setproctitle \
17498 setprogname \
17499 settimeofday \
17500 sigprocmask \
17501 statfs \
17502 statvfs \
17503 strnlen \
17504 strtold \
17505 symlink \
17506 sysinfo \
17507 tcdrain \
17508 thr_kill2 \
17509 timegm \
17510 usleep
17512 do :
17513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17515 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17516 cat >>confdefs.h <<_ACEOF
17517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17518 _ACEOF
17521 done
17523 CFLAGS="$ac_save_CFLAGS"
17525 if test "$ac_cv_func_dlopen" = no
17526 then
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17528 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17529 if ${ac_cv_lib_dl_dlopen+:} false; then :
17530 $as_echo_n "(cached) " >&6
17531 else
17532 ac_check_lib_save_LIBS=$LIBS
17533 LIBS="-ldl $LIBS"
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17537 /* Override any GCC internal prototype to avoid an error.
17538 Use char because int might match the return type of a GCC
17539 builtin and then its argument prototype would still apply. */
17540 #ifdef __cplusplus
17541 extern "C"
17542 #endif
17543 char dlopen ();
17545 main ()
17547 return dlopen ();
17549 return 0;
17551 _ACEOF
17552 if ac_fn_c_try_link "$LINENO"; then :
17553 ac_cv_lib_dl_dlopen=yes
17554 else
17555 ac_cv_lib_dl_dlopen=no
17557 rm -f core conftest.err conftest.$ac_objext \
17558 conftest$ac_exeext conftest.$ac_ext
17559 LIBS=$ac_check_lib_save_LIBS
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17562 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17563 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17564 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17565 DL_LIBS="-ldl"
17570 ac_wine_check_funcs_save_LIBS="$LIBS"
17571 LIBS="$LIBS $DL_LIBS"
17572 for ac_func in dladdr
17573 do :
17574 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17575 if test "x$ac_cv_func_dladdr" = xyes; then :
17576 cat >>confdefs.h <<_ACEOF
17577 #define HAVE_DLADDR 1
17578 _ACEOF
17581 done
17583 LIBS="$ac_wine_check_funcs_save_LIBS"
17585 if test "$ac_cv_func_poll" = no
17586 then
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17588 $as_echo_n "checking for poll in -lpoll... " >&6; }
17589 if ${ac_cv_lib_poll_poll+:} false; then :
17590 $as_echo_n "(cached) " >&6
17591 else
17592 ac_check_lib_save_LIBS=$LIBS
17593 LIBS="-lpoll $LIBS"
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17597 /* Override any GCC internal prototype to avoid an error.
17598 Use char because int might match the return type of a GCC
17599 builtin and then its argument prototype would still apply. */
17600 #ifdef __cplusplus
17601 extern "C"
17602 #endif
17603 char poll ();
17605 main ()
17607 return poll ();
17609 return 0;
17611 _ACEOF
17612 if ac_fn_c_try_link "$LINENO"; then :
17613 ac_cv_lib_poll_poll=yes
17614 else
17615 ac_cv_lib_poll_poll=no
17617 rm -f core conftest.err conftest.$ac_objext \
17618 conftest$ac_exeext conftest.$ac_ext
17619 LIBS=$ac_check_lib_save_LIBS
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17622 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17623 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17624 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17625 POLL_LIBS="-lpoll"
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17632 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17633 if ${ac_cv_search_gethostbyname+:} false; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 ac_func_search_save_LIBS=$LIBS
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 /* Override any GCC internal prototype to avoid an error.
17641 Use char because int might match the return type of a GCC
17642 builtin and then its argument prototype would still apply. */
17643 #ifdef __cplusplus
17644 extern "C"
17645 #endif
17646 char gethostbyname ();
17648 main ()
17650 return gethostbyname ();
17652 return 0;
17654 _ACEOF
17655 for ac_lib in '' nsl; do
17656 if test -z "$ac_lib"; then
17657 ac_res="none required"
17658 else
17659 ac_res=-l$ac_lib
17660 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17662 if ac_fn_c_try_link "$LINENO"; then :
17663 ac_cv_search_gethostbyname=$ac_res
17665 rm -f core conftest.err conftest.$ac_objext \
17666 conftest$ac_exeext
17667 if ${ac_cv_search_gethostbyname+:} false; then :
17668 break
17670 done
17671 if ${ac_cv_search_gethostbyname+:} false; then :
17673 else
17674 ac_cv_search_gethostbyname=no
17676 rm conftest.$ac_ext
17677 LIBS=$ac_func_search_save_LIBS
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17680 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17681 ac_res=$ac_cv_search_gethostbyname
17682 if test "$ac_res" != no; then :
17683 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17689 $as_echo_n "checking for library containing connect... " >&6; }
17690 if ${ac_cv_search_connect+:} false; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17693 ac_func_search_save_LIBS=$LIBS
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17697 /* Override any GCC internal prototype to avoid an error.
17698 Use char because int might match the return type of a GCC
17699 builtin and then its argument prototype would still apply. */
17700 #ifdef __cplusplus
17701 extern "C"
17702 #endif
17703 char connect ();
17705 main ()
17707 return connect ();
17709 return 0;
17711 _ACEOF
17712 for ac_lib in '' socket; do
17713 if test -z "$ac_lib"; then
17714 ac_res="none required"
17715 else
17716 ac_res=-l$ac_lib
17717 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17719 if ac_fn_c_try_link "$LINENO"; then :
17720 ac_cv_search_connect=$ac_res
17722 rm -f core conftest.err conftest.$ac_objext \
17723 conftest$ac_exeext
17724 if ${ac_cv_search_connect+:} false; then :
17725 break
17727 done
17728 if ${ac_cv_search_connect+:} false; then :
17730 else
17731 ac_cv_search_connect=no
17733 rm conftest.$ac_ext
17734 LIBS=$ac_func_search_save_LIBS
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17737 $as_echo "$ac_cv_search_connect" >&6; }
17738 ac_res=$ac_cv_search_connect
17739 if test "$ac_res" != no; then :
17740 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17746 $as_echo_n "checking for library containing inet_aton... " >&6; }
17747 if ${ac_cv_search_inet_aton+:} false; then :
17748 $as_echo_n "(cached) " >&6
17749 else
17750 ac_func_search_save_LIBS=$LIBS
17751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17754 /* Override any GCC internal prototype to avoid an error.
17755 Use char because int might match the return type of a GCC
17756 builtin and then its argument prototype would still apply. */
17757 #ifdef __cplusplus
17758 extern "C"
17759 #endif
17760 char inet_aton ();
17762 main ()
17764 return inet_aton ();
17766 return 0;
17768 _ACEOF
17769 for ac_lib in '' resolv; do
17770 if test -z "$ac_lib"; then
17771 ac_res="none required"
17772 else
17773 ac_res=-l$ac_lib
17774 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17776 if ac_fn_c_try_link "$LINENO"; then :
17777 ac_cv_search_inet_aton=$ac_res
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext
17781 if ${ac_cv_search_inet_aton+:} false; then :
17782 break
17784 done
17785 if ${ac_cv_search_inet_aton+:} false; then :
17787 else
17788 ac_cv_search_inet_aton=no
17790 rm conftest.$ac_ext
17791 LIBS=$ac_func_search_save_LIBS
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17794 $as_echo "$ac_cv_search_inet_aton" >&6; }
17795 ac_res=$ac_cv_search_inet_aton
17796 if test "$ac_res" != no; then :
17797 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17802 for ac_func in \
17803 getaddrinfo \
17804 getnameinfo \
17805 getnetbyname \
17806 getprotobyname \
17807 getprotobynumber \
17808 getservbyport \
17809 inet_addr \
17810 inet_network \
17811 inet_ntop \
17812 inet_pton \
17814 do :
17815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17817 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17818 cat >>confdefs.h <<_ACEOF
17819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17820 _ACEOF
17823 done
17826 case $host_os in
17827 darwin*|macosx*) ;;
17828 *) ac_save_LIBS=$LIBS
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17830 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17831 if ${ac_cv_search_clock_gettime+:} false; then :
17832 $as_echo_n "(cached) " >&6
17833 else
17834 ac_func_search_save_LIBS=$LIBS
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17838 /* Override any GCC internal prototype to avoid an error.
17839 Use char because int might match the return type of a GCC
17840 builtin and then its argument prototype would still apply. */
17841 #ifdef __cplusplus
17842 extern "C"
17843 #endif
17844 char clock_gettime ();
17846 main ()
17848 return clock_gettime ();
17850 return 0;
17852 _ACEOF
17853 for ac_lib in '' rt; do
17854 if test -z "$ac_lib"; then
17855 ac_res="none required"
17856 else
17857 ac_res=-l$ac_lib
17858 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17860 if ac_fn_c_try_link "$LINENO"; then :
17861 ac_cv_search_clock_gettime=$ac_res
17863 rm -f core conftest.err conftest.$ac_objext \
17864 conftest$ac_exeext
17865 if ${ac_cv_search_clock_gettime+:} false; then :
17866 break
17868 done
17869 if ${ac_cv_search_clock_gettime+:} false; then :
17871 else
17872 ac_cv_search_clock_gettime=no
17874 rm conftest.$ac_ext
17875 LIBS=$ac_func_search_save_LIBS
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17878 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17879 ac_res=$ac_cv_search_clock_gettime
17880 if test "$ac_res" != no; then :
17881 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17883 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17885 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17889 LIBS=$ac_save_LIBS
17891 esac
17893 if test "x$with_ldap" != "xno"
17894 then
17895 if ${LDAP_CFLAGS:+false} :; then :
17896 if ${PKG_CONFIG+:} false; then :
17897 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17901 if ${LDAP_LIBS:+false} :; then :
17902 if ${PKG_CONFIG+:} false; then :
17903 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17907 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17908 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17909 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17910 ac_save_CPPFLAGS=$CPPFLAGS
17911 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17912 for ac_header in ldap.h lber.h
17913 do :
17914 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17915 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17916 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17917 cat >>confdefs.h <<_ACEOF
17918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17919 _ACEOF
17923 done
17925 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17926 then
17927 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17929 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17931 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17932 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17935 ac_check_lib_save_LIBS=$LIBS
17936 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17940 /* Override any GCC internal prototype to avoid an error.
17941 Use char because int might match the return type of a GCC
17942 builtin and then its argument prototype would still apply. */
17943 #ifdef __cplusplus
17944 extern "C"
17945 #endif
17946 char ldap_initialize ();
17948 main ()
17950 return ldap_initialize ();
17952 return 0;
17954 _ACEOF
17955 if ac_fn_c_try_link "$LINENO"; then :
17956 ac_cv_lib_ldap_r_ldap_initialize=yes
17957 else
17958 ac_cv_lib_ldap_r_ldap_initialize=no
17960 rm -f core conftest.err conftest.$ac_objext \
17961 conftest$ac_exeext conftest.$ac_ext
17962 LIBS=$ac_check_lib_save_LIBS
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17965 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17966 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17968 $as_echo_n "checking for ber_init in -llber... " >&6; }
17969 if ${ac_cv_lib_lber_ber_init+:} false; then :
17970 $as_echo_n "(cached) " >&6
17971 else
17972 ac_check_lib_save_LIBS=$LIBS
17973 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17977 /* Override any GCC internal prototype to avoid an error.
17978 Use char because int might match the return type of a GCC
17979 builtin and then its argument prototype would still apply. */
17980 #ifdef __cplusplus
17981 extern "C"
17982 #endif
17983 char ber_init ();
17985 main ()
17987 return ber_init ();
17989 return 0;
17991 _ACEOF
17992 if ac_fn_c_try_link "$LINENO"; then :
17993 ac_cv_lib_lber_ber_init=yes
17994 else
17995 ac_cv_lib_lber_ber_init=no
17997 rm -f core conftest.err conftest.$ac_objext \
17998 conftest$ac_exeext conftest.$ac_ext
17999 LIBS=$ac_check_lib_save_LIBS
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18002 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18003 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18005 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18007 else
18008 LDAP_LIBS=""
18011 else
18012 LDAP_LIBS=""
18015 else
18016 LDAP_LIBS=""
18019 ac_wine_check_funcs_save_LIBS="$LIBS"
18020 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18021 for ac_func in \
18022 ldap_count_references \
18023 ldap_first_reference \
18024 ldap_next_reference \
18025 ldap_parse_reference \
18026 ldap_parse_sort_control \
18027 ldap_parse_sortresponse_control \
18028 ldap_parse_vlv_control \
18029 ldap_parse_vlvresponse_control
18030 do :
18031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18032 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18033 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18034 cat >>confdefs.h <<_ACEOF
18035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18036 _ACEOF
18039 done
18041 LIBS="$ac_wine_check_funcs_save_LIBS"
18042 else
18043 LDAP_LIBS=""
18045 CPPFLAGS=$ac_save_CPPFLAGS
18046 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18047 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18050 if test "x$LDAP_LIBS" = "x"; then :
18051 case "x$with_ldap" in
18052 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18053 xno) ;;
18054 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18055 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18056 esac
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18061 $as_echo_n "checking for sched_setaffinity... " >&6; }
18062 if ${wine_cv_have_sched_setaffinity+:} false; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18067 #define _GNU_SOURCE
18068 #include <sched.h>
18070 main ()
18072 sched_setaffinity(0, 0, 0);
18074 return 0;
18076 _ACEOF
18077 if ac_fn_c_try_link "$LINENO"; then :
18078 wine_cv_have_sched_setaffinity=yes
18079 else
18080 wine_cv_have_sched_setaffinity=no
18082 rm -f core conftest.err conftest.$ac_objext \
18083 conftest$ac_exeext conftest.$ac_ext
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18086 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18087 if test "$wine_cv_have_sched_setaffinity" = "yes"
18088 then
18090 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18095 $as_echo_n "checking for fallocate... " >&6; }
18096 if ${wine_cv_have_fallocate+:} false; then :
18097 $as_echo_n "(cached) " >&6
18098 else
18099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100 /* end confdefs.h. */
18101 #define _GNU_SOURCE
18102 #include <fcntl.h>
18104 main ()
18106 fallocate(-1, 0, 0, 0);
18108 return 0;
18110 _ACEOF
18111 if ac_fn_c_try_link "$LINENO"; then :
18112 wine_cv_have_fallocate=yes
18113 else
18114 wine_cv_have_fallocate=no
18116 rm -f core conftest.err conftest.$ac_objext \
18117 conftest$ac_exeext conftest.$ac_ext
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18120 $as_echo "$wine_cv_have_fallocate" >&6; }
18121 if test "$wine_cv_have_fallocate" = "yes"
18122 then
18124 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18130 $as_echo_n "checking for inline... " >&6; }
18131 if ${ac_cv_c_inline+:} false; then :
18132 $as_echo_n "(cached) " >&6
18133 else
18134 ac_cv_c_inline=no
18135 for ac_kw in inline __inline__ __inline; do
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18138 #ifndef __cplusplus
18139 typedef int foo_t;
18140 static $ac_kw foo_t static_foo () {return 0; }
18141 $ac_kw foo_t foo () {return 0; }
18142 #endif
18144 _ACEOF
18145 if ac_fn_c_try_compile "$LINENO"; then :
18146 ac_cv_c_inline=$ac_kw
18148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18149 test "$ac_cv_c_inline" != no && break
18150 done
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18154 $as_echo "$ac_cv_c_inline" >&6; }
18156 case $ac_cv_c_inline in
18157 inline | yes) ;;
18159 case $ac_cv_c_inline in
18160 no) ac_val=;;
18161 *) ac_val=$ac_cv_c_inline;;
18162 esac
18163 cat >>confdefs.h <<_ACEOF
18164 #ifndef __cplusplus
18165 #define inline $ac_val
18166 #endif
18167 _ACEOF
18169 esac
18171 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18172 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18174 cat >>confdefs.h <<_ACEOF
18175 #define HAVE_FSBLKCNT_T 1
18176 _ACEOF
18180 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18181 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18183 cat >>confdefs.h <<_ACEOF
18184 #define HAVE_FSFILCNT_T 1
18185 _ACEOF
18190 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18191 #include <signal.h>
18193 if test "x$ac_cv_type_sigset_t" = xyes; then :
18195 cat >>confdefs.h <<_ACEOF
18196 #define HAVE_SIGSET_T 1
18197 _ACEOF
18202 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18204 if test "x$ac_cv_type_request_sense" = xyes; then :
18206 cat >>confdefs.h <<_ACEOF
18207 #define HAVE_REQUEST_SENSE 1
18208 _ACEOF
18214 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18215 #ifdef HAVE_SYS_SOCKET_H
18216 #include <sys/socket.h>
18217 #endif
18218 #ifdef HAVE_SYS_SOCKETVAR_H
18219 #include <sys/socketvar.h>
18220 #endif
18221 #ifdef HAVE_NET_ROUTE_H
18222 #include <net/route.h>
18223 #endif
18224 #ifdef HAVE_NETINET_IN_H
18225 #include <netinet/in.h>
18226 #endif
18227 #ifdef HAVE_NETINET_IN_SYSTM_H
18228 #include <netinet/in_systm.h>
18229 #endif
18230 #ifdef HAVE_NETINET_IP_H
18231 #include <netinet/ip.h>
18232 #endif
18233 #ifdef HAVE_NETINET_IN_PCB_H
18234 #include <netinet/in_pcb.h>
18235 #endif
18237 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18239 cat >>confdefs.h <<_ACEOF
18240 #define HAVE_STRUCT_XINPGEN 1
18241 _ACEOF
18247 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18248 #include <link.h>
18249 #endif
18250 #ifdef HAVE_SYS_LINK_H
18251 #include <sys/link.h>
18252 #endif
18254 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18256 cat >>confdefs.h <<_ACEOF
18257 #define HAVE_STRUCT_R_DEBUG 1
18258 _ACEOF
18262 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18263 #include <link.h>
18264 #endif
18265 #ifdef HAVE_SYS_LINK_H
18266 #include <sys/link.h>
18267 #endif
18269 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18271 cat >>confdefs.h <<_ACEOF
18272 #define HAVE_STRUCT_LINK_MAP 1
18273 _ACEOF
18279 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18280 #include <linux/input.h>
18281 #endif
18283 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18285 cat >>confdefs.h <<_ACEOF
18286 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18287 _ACEOF
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18294 $as_echo_n "checking for if_nameindex... " >&6; }
18295 if ${wine_cv_have_if_nameindex+:} false; then :
18296 $as_echo_n "(cached) " >&6
18297 else
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #ifdef HAVE_SYS_TYPES_H
18301 #include <sys/types.h>
18302 #endif
18303 #ifdef HAVE_SYS_SOCKET_H
18304 #include <sys/socket.h>
18305 #endif
18306 #ifdef HAVE_NET_IF_H
18307 # include <net/if.h>
18308 #endif
18310 main ()
18312 struct if_nameindex *p = if_nameindex(); return p->if_index;
18314 return 0;
18316 _ACEOF
18317 if ac_fn_c_try_link "$LINENO"; then :
18318 wine_cv_have_if_nameindex=yes
18319 else
18320 wine_cv_have_if_nameindex=no
18322 rm -f core conftest.err conftest.$ac_objext \
18323 conftest$ac_exeext conftest.$ac_ext
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18326 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18327 if test "$wine_cv_have_if_nameindex" = "yes"
18328 then
18330 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18335 $as_echo_n "checking for sigaddset... " >&6; }
18336 if ${wine_cv_have_sigaddset+:} false; then :
18337 $as_echo_n "(cached) " >&6
18338 else
18339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18340 /* end confdefs.h. */
18341 #include <signal.h>
18343 main ()
18345 sigset_t set; sigaddset(&set,SIGTERM);
18347 return 0;
18349 _ACEOF
18350 if ac_fn_c_try_link "$LINENO"; then :
18351 wine_cv_have_sigaddset=yes
18352 else
18353 wine_cv_have_sigaddset=no
18355 rm -f core conftest.err conftest.$ac_objext \
18356 conftest$ac_exeext conftest.$ac_ext
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18359 $as_echo "$wine_cv_have_sigaddset" >&6; }
18360 if test "$wine_cv_have_sigaddset" = "yes"
18361 then
18363 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18369 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18370 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18371 $as_echo_n "(cached) " >&6
18372 else
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 #include <netdb.h>
18377 main ()
18380 char *name=0;
18381 struct hostent he;
18382 struct hostent *result;
18383 char *buf=0;
18384 int bufsize=0;
18385 int errnr;
18386 char *addr=0;
18387 int addrlen=0;
18388 int addrtype=0;
18389 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18390 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18393 return 0;
18395 _ACEOF
18396 if ac_fn_c_try_link "$LINENO"; then :
18397 wine_cv_linux_gethostbyname_r_6=yes
18398 else
18399 wine_cv_linux_gethostbyname_r_6=no
18402 rm -f core conftest.err conftest.$ac_objext \
18403 conftest$ac_exeext conftest.$ac_ext
18406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18407 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18408 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18409 then
18411 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18415 if test "$ac_cv_header_linux_joystick_h" = "yes"
18416 then
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18418 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18419 if ${wine_cv_linux_joystick_22_api+:} false; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18425 #include <sys/ioctl.h>
18426 #include <sys/types.h>
18427 #include <linux/joystick.h>
18429 struct js_event blub;
18430 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18431 #error "no 2.2 header"
18432 #endif
18435 main ()
18437 /*empty*/
18439 return 0;
18441 _ACEOF
18442 if ac_fn_c_try_compile "$LINENO"; then :
18443 wine_cv_linux_joystick_22_api=yes
18444 else
18445 wine_cv_linux_joystick_22_api=no
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18451 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18452 if test "$wine_cv_linux_joystick_22_api" = "yes"
18453 then
18455 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18461 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18462 #ifdef HAVE_SYS_PARAM_H
18463 # include <sys/param.h>
18464 #endif
18465 #ifdef HAVE_SYS_MOUNT_H
18466 # include <sys/mount.h>
18467 #endif
18468 #ifdef HAVE_SYS_VFS_H
18469 # include <sys/vfs.h>
18470 #endif
18471 #ifdef HAVE_SYS_STATFS_H
18472 # include <sys/statfs.h>
18473 #endif
18475 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18477 cat >>confdefs.h <<_ACEOF
18478 #define HAVE_STRUCT_STATFS_F_BFREE 1
18479 _ACEOF
18483 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18484 #ifdef HAVE_SYS_PARAM_H
18485 # include <sys/param.h>
18486 #endif
18487 #ifdef HAVE_SYS_MOUNT_H
18488 # include <sys/mount.h>
18489 #endif
18490 #ifdef HAVE_SYS_VFS_H
18491 # include <sys/vfs.h>
18492 #endif
18493 #ifdef HAVE_SYS_STATFS_H
18494 # include <sys/statfs.h>
18495 #endif
18497 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18499 cat >>confdefs.h <<_ACEOF
18500 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18501 _ACEOF
18505 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18506 #ifdef HAVE_SYS_PARAM_H
18507 # include <sys/param.h>
18508 #endif
18509 #ifdef HAVE_SYS_MOUNT_H
18510 # include <sys/mount.h>
18511 #endif
18512 #ifdef HAVE_SYS_VFS_H
18513 # include <sys/vfs.h>
18514 #endif
18515 #ifdef HAVE_SYS_STATFS_H
18516 # include <sys/statfs.h>
18517 #endif
18519 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18521 cat >>confdefs.h <<_ACEOF
18522 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18523 _ACEOF
18527 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18528 #ifdef HAVE_SYS_PARAM_H
18529 # include <sys/param.h>
18530 #endif
18531 #ifdef HAVE_SYS_MOUNT_H
18532 # include <sys/mount.h>
18533 #endif
18534 #ifdef HAVE_SYS_VFS_H
18535 # include <sys/vfs.h>
18536 #endif
18537 #ifdef HAVE_SYS_STATFS_H
18538 # include <sys/statfs.h>
18539 #endif
18541 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18543 cat >>confdefs.h <<_ACEOF
18544 #define HAVE_STRUCT_STATFS_F_FFREE 1
18545 _ACEOF
18549 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18550 #ifdef HAVE_SYS_PARAM_H
18551 # include <sys/param.h>
18552 #endif
18553 #ifdef HAVE_SYS_MOUNT_H
18554 # include <sys/mount.h>
18555 #endif
18556 #ifdef HAVE_SYS_VFS_H
18557 # include <sys/vfs.h>
18558 #endif
18559 #ifdef HAVE_SYS_STATFS_H
18560 # include <sys/statfs.h>
18561 #endif
18563 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18565 cat >>confdefs.h <<_ACEOF
18566 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18567 _ACEOF
18571 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18572 #ifdef HAVE_SYS_PARAM_H
18573 # include <sys/param.h>
18574 #endif
18575 #ifdef HAVE_SYS_MOUNT_H
18576 # include <sys/mount.h>
18577 #endif
18578 #ifdef HAVE_SYS_VFS_H
18579 # include <sys/vfs.h>
18580 #endif
18581 #ifdef HAVE_SYS_STATFS_H
18582 # include <sys/statfs.h>
18583 #endif
18585 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18587 cat >>confdefs.h <<_ACEOF
18588 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18589 _ACEOF
18595 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18596 #include <sys/statvfs.h>
18597 #endif
18599 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18601 cat >>confdefs.h <<_ACEOF
18602 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18603 _ACEOF
18609 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18610 #include <dirent.h>
18611 #endif
18613 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18615 cat >>confdefs.h <<_ACEOF
18616 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18617 _ACEOF
18623 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18624 #ifdef HAVE_SYS_SOCKET_H
18625 # include <sys/socket.h>
18626 #endif
18627 #ifdef HAVE_SYS_UN_H
18628 # include <sys/un.h>
18629 #endif
18631 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18633 cat >>confdefs.h <<_ACEOF
18634 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18635 _ACEOF
18639 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18640 #ifdef HAVE_SYS_SOCKET_H
18641 # include <sys/socket.h>
18642 #endif
18643 #ifdef HAVE_SYS_UN_H
18644 # include <sys/un.h>
18645 #endif
18647 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18649 cat >>confdefs.h <<_ACEOF
18650 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18651 _ACEOF
18655 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18656 #ifdef HAVE_SYS_SOCKET_H
18657 # include <sys/socket.h>
18658 #endif
18659 #ifdef HAVE_SYS_UN_H
18660 # include <sys/un.h>
18661 #endif
18663 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18665 cat >>confdefs.h <<_ACEOF
18666 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18667 _ACEOF
18673 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18674 #ifdef HAVE_SCSI_SG_H
18675 #include <scsi/sg.h>
18676 #endif
18678 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18680 cat >>confdefs.h <<_ACEOF
18681 #define HAVE_SCSIREQ_T_CMD 1
18682 _ACEOF
18686 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>
18687 #ifdef HAVE_SCSI_SG_H
18688 #include <scsi/sg.h>
18689 #endif
18691 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18693 cat >>confdefs.h <<_ACEOF
18694 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18695 _ACEOF
18701 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18703 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18705 cat >>confdefs.h <<_ACEOF
18706 #define HAVE_SIGINFO_T_SI_FD 1
18707 _ACEOF
18713 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18714 #ifdef HAVE_SYS_MTIO_H
18715 #include <sys/mtio.h>
18716 #endif
18718 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18720 cat >>confdefs.h <<_ACEOF
18721 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18722 _ACEOF
18726 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18727 #ifdef HAVE_SYS_MTIO_H
18728 #include <sys/mtio.h>
18729 #endif
18731 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18733 cat >>confdefs.h <<_ACEOF
18734 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18735 _ACEOF
18739 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18740 #ifdef HAVE_SYS_MTIO_H
18741 #include <sys/mtio.h>
18742 #endif
18744 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18748 _ACEOF
18754 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18755 #include <getopt.h>
18756 #endif
18758 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18760 cat >>confdefs.h <<_ACEOF
18761 #define HAVE_STRUCT_OPTION_NAME 1
18762 _ACEOF
18768 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18769 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18771 cat >>confdefs.h <<_ACEOF
18772 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18773 _ACEOF
18777 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18778 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_STRUCT_STAT_ST_MTIM 1
18782 _ACEOF
18786 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18787 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18791 _ACEOF
18795 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18796 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_STRUCT_STAT_ST_CTIM 1
18800 _ACEOF
18804 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18805 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18807 cat >>confdefs.h <<_ACEOF
18808 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18809 _ACEOF
18813 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18814 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18816 cat >>confdefs.h <<_ACEOF
18817 #define HAVE_STRUCT_STAT_ST_ATIM 1
18818 _ACEOF
18822 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18823 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18827 _ACEOF
18831 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18832 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18834 cat >>confdefs.h <<_ACEOF
18835 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18836 _ACEOF
18840 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18841 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18843 cat >>confdefs.h <<_ACEOF
18844 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18845 _ACEOF
18849 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18850 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18854 _ACEOF
18858 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18859 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18861 cat >>confdefs.h <<_ACEOF
18862 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18863 _ACEOF
18867 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18868 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18872 _ACEOF
18878 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
18879 #include <sys/types.h>
18880 #endif
18881 #ifdef HAVE_NETINET_IN_H
18882 #include <netinet/in.h>
18883 #endif
18885 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18887 cat >>confdefs.h <<_ACEOF
18888 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18889 _ACEOF
18895 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18896 #include <sys/types.h>
18897 #endif
18898 #ifdef HAVE_NETINET_IN_H
18899 #include <netinet/in.h>
18900 #endif
18901 #ifdef HAVE_RESOLV_H
18902 #include <resolv.h>
18903 #endif
18905 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18907 cat >>confdefs.h <<_ACEOF
18908 #define HAVE_STRUCT___RES_STATE 1
18909 _ACEOF
18915 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
18916 #include <resolv.h>
18917 #endif
18919 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18923 _ACEOF
18929 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18930 #include <sys/types.h>
18931 #endif
18932 #ifdef HAVE_NETINET_IN_H
18933 # include <netinet/in.h>
18934 #endif
18935 #ifdef HAVE_ARPA_NAMESER_H
18936 # include <arpa/nameser.h>
18937 #endif
18939 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18941 cat >>confdefs.h <<_ACEOF
18942 #define HAVE_NS_MSG__MSG_PTR 1
18943 _ACEOF
18949 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18950 #include <sys/types.h>
18951 #endif
18952 #ifdef HAVE_NETINET_IN_H
18953 #include <netinet/in.h>
18954 #endif
18955 #ifdef HAVE_NETINET_IP_H
18956 #include <netinet/ip.h>
18957 #endif
18958 #ifdef HAVE_NETINET_IP_ICMP_H
18959 #include <netinet/ip_icmp.h>
18960 #endif
18961 #ifdef HAVE_NETINET_ICMP_VAR_H
18962 #include <netinet/icmp_var.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18969 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18976 #include <sys/types.h>
18977 #endif
18978 #ifdef HAVE_ALIAS_H
18979 #include <alias.h>
18980 #endif
18981 #ifdef HAVE_SYS_SOCKET_H
18982 #include <sys/socket.h>
18983 #endif
18984 #ifdef HAVE_SYS_SOCKETVAR_H
18985 #include <sys/socketvar.h>
18986 #endif
18987 #ifdef HAVE_SYS_TIMEOUT_H
18988 #include <sys/timeout.h>
18989 #endif
18990 #ifdef HAVE_NETINET_IN_H
18991 #include <netinet/in.h>
18992 #endif
18993 #ifdef HAVE_NETINET_IN_SYSTM_H
18994 #include <netinet/in_systm.h>
18995 #endif
18996 #ifdef HAVE_NETINET_IP_H
18997 #include <netinet/ip.h>
18998 #endif
18999 #ifdef HAVE_NETINET_IP_VAR_H
19000 #include <netinet/ip_var.h>
19001 #endif
19002 #ifdef HAVE_NETINET_IP_ICMP_H
19003 #include <netinet/ip_icmp.h>
19004 #endif
19005 #ifdef HAVE_NETINET_ICMP_VAR_H
19006 #include <netinet/icmp_var.h>
19007 #endif
19009 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19013 _ACEOF
19019 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19020 #include <sys/types.h>
19021 #endif
19022 #ifdef HAVE_SYS_SOCKETVAR_H
19023 #include <sys/socketvar.h>
19024 #endif
19025 #ifdef HAVE_NETINET_IN_H
19026 #include <netinet/in.h>
19027 #endif
19028 #ifdef HAVE_NETINET_IP_VAR_H
19029 #include <netinet/ip_var.h>
19030 #endif
19032 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19034 cat >>confdefs.h <<_ACEOF
19035 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19036 _ACEOF
19042 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
19043 #include <netinet/ip_var.h>
19044 #endif
19046 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19050 _ACEOF
19056 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19057 #include <sys/types.h>
19058 #endif
19059 #ifdef HAVE_SYS_SOCKETVAR_H
19060 #include <sys/socketvar.h>
19061 #endif
19062 #ifdef HAVE_NETINET_IN_H
19063 #include <netinet/in.h>
19064 #endif
19065 #ifdef HAVE_NETINET_TCP_H
19066 #include <netinet/tcp.h>
19067 #endif
19068 #ifdef HAVE_NETINET_TCP_VAR_H
19069 #include <netinet/tcp_var.h>
19070 #endif
19072 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19076 _ACEOF
19082 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
19083 #include <netinet/tcp_var.h>
19084 #endif
19086 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19088 cat >>confdefs.h <<_ACEOF
19089 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19090 _ACEOF
19096 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19097 #include <sys/types.h>
19098 #endif
19099 #ifdef HAVE_NETINET_IN_H
19100 #include <netinet/in.h>
19101 #endif
19102 #ifdef HAVE_NETINET_IP_VAR_H
19103 #include <netinet/ip_var.h>
19104 #endif
19105 #ifdef HAVE_NETINET_UDP_H
19106 #include <netinet/udp.h>
19107 #endif
19108 #ifdef HAVE_NETINET_UDP_VAR_H
19109 #include <netinet/udp_var.h>
19110 #endif
19112 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19116 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19123 #include <sys/types.h>
19124 #endif
19125 #ifdef HAVE_NET_IF_H
19126 # include <net/if.h>
19127 #endif
19129 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19133 _ACEOF
19139 ac_save_LIBS="$LIBS"
19140 LIBS="$LIBS -lm"
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19142 $as_echo_n "checking for isfinite... " >&6; }
19143 if ${ac_cv_have_isfinite+:} false; then :
19144 $as_echo_n "(cached) " >&6
19145 else
19146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19148 #define _GNU_SOURCE
19149 #include <math.h>
19151 main ()
19153 float f = 0.0; return isfinite(f)
19155 return 0;
19157 _ACEOF
19158 if ac_fn_c_try_link "$LINENO"; then :
19159 ac_cv_have_isfinite="yes"
19160 else
19161 ac_cv_have_isfinite="no"
19163 rm -f core conftest.err conftest.$ac_objext \
19164 conftest$ac_exeext conftest.$ac_ext
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19167 $as_echo "$ac_cv_have_isfinite" >&6; }
19168 if test "$ac_cv_have_isfinite" = "yes"
19169 then
19171 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19176 $as_echo_n "checking for isinf... " >&6; }
19177 if ${ac_cv_have_isinf+:} false; then :
19178 $as_echo_n "(cached) " >&6
19179 else
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19182 #include <math.h>
19184 main ()
19186 float f = 0.0; return isinf(f)
19188 return 0;
19190 _ACEOF
19191 if ac_fn_c_try_link "$LINENO"; then :
19192 ac_cv_have_isinf="yes"
19193 else
19194 ac_cv_have_isinf="no"
19196 rm -f core conftest.err conftest.$ac_objext \
19197 conftest$ac_exeext conftest.$ac_ext
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19200 $as_echo "$ac_cv_have_isinf" >&6; }
19201 if test "$ac_cv_have_isinf" = "yes"
19202 then
19204 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19209 $as_echo_n "checking for isnan... " >&6; }
19210 if ${ac_cv_have_isnan+:} false; then :
19211 $as_echo_n "(cached) " >&6
19212 else
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h. */
19215 #include <math.h>
19217 main ()
19219 float f = 0.0; return isnan(f)
19221 return 0;
19223 _ACEOF
19224 if ac_fn_c_try_link "$LINENO"; then :
19225 ac_cv_have_isnan="yes"
19226 else
19227 ac_cv_have_isnan="no"
19229 rm -f core conftest.err conftest.$ac_objext \
19230 conftest$ac_exeext conftest.$ac_ext
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19233 $as_echo "$ac_cv_have_isnan" >&6; }
19234 if test "$ac_cv_have_isnan" = "yes"
19235 then
19237 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19241 for ac_func in \
19242 acosh \
19243 acoshf \
19244 asinh \
19245 asinhf \
19246 atanh \
19247 atanhf \
19248 cbrt \
19249 cbrtf \
19250 erf \
19251 erfc \
19252 erfcf \
19253 erff \
19254 exp2 \
19255 exp2f \
19256 expm1 \
19257 expm1f \
19258 fma \
19259 fmaf \
19260 ilogb \
19261 ilogbf \
19262 j0 \
19263 j1 \
19264 jn \
19265 lgamma \
19266 lgammaf \
19267 llrint \
19268 llrintf \
19269 llround \
19270 llroundf \
19271 log1p \
19272 log1pf \
19273 log2 \
19274 log2f \
19275 lrint \
19276 lrintf \
19277 lround \
19278 lroundf \
19279 nearbyint \
19280 nearbyintf \
19281 nexttoward \
19282 nexttowardf \
19283 powl \
19284 remainder \
19285 remainderf \
19286 remquo \
19287 remquof \
19288 rint \
19289 rintf \
19290 round \
19291 roundf \
19292 trunc \
19293 truncf \
19294 y0 \
19295 y1 \
19298 do :
19299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19300 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19301 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19302 cat >>confdefs.h <<_ACEOF
19303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19304 _ACEOF
19307 done
19309 LIBS="$ac_save_LIBS"
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19312 $as_echo_n "checking for __builtin_clz... " >&6; }
19313 if ${ac_cv_have___builtin_clz+:} false; then :
19314 $as_echo_n "(cached) " >&6
19315 else
19316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19317 /* end confdefs.h. */
19320 main ()
19322 return __builtin_clz(1)
19324 return 0;
19326 _ACEOF
19327 if ac_fn_c_try_link "$LINENO"; then :
19328 ac_cv_have___builtin_clz="yes"
19329 else
19330 ac_cv_have___builtin_clz="no"
19332 rm -f core conftest.err conftest.$ac_objext \
19333 conftest$ac_exeext conftest.$ac_ext
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19336 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19337 if test "$ac_cv_have___builtin_clz" = "yes"
19338 then
19340 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19345 $as_echo_n "checking for __builtin_popcount... " >&6; }
19346 if ${ac_cv_have___builtin_popcount+:} false; then :
19347 $as_echo_n "(cached) " >&6
19348 else
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19353 main ()
19355 return __builtin_popcount(1)
19357 return 0;
19359 _ACEOF
19360 if ac_fn_c_try_link "$LINENO"; then :
19361 ac_cv_have___builtin_popcount="yes"
19362 else
19363 ac_cv_have___builtin_popcount="no"
19365 rm -f core conftest.err conftest.$ac_objext \
19366 conftest$ac_exeext conftest.$ac_ext
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19369 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19370 if test "$ac_cv_have___builtin_popcount" = "yes"
19371 then
19373 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19378 $as_echo_n "checking for __clear_cache... " >&6; }
19379 if ${ac_cv_have___clear_cache+:} false; then :
19380 $as_echo_n "(cached) " >&6
19381 else
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19386 main ()
19388 __clear_cache((void*)0, (void*)0); return 0;
19390 return 0;
19392 _ACEOF
19393 if ac_fn_c_try_link "$LINENO"; then :
19394 ac_cv_have___clear_cache="yes"
19395 else
19396 ac_cv_have___clear_cache="no"
19398 rm -f core conftest.err conftest.$ac_objext \
19399 conftest$ac_exeext conftest.$ac_ext
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19402 $as_echo "$ac_cv_have___clear_cache" >&6; }
19403 if test "$ac_cv_have___clear_cache" = "yes"
19404 then
19406 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19411 case $host_cpu in
19412 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19413 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19414 if ${ac_cv_cpp_def___i386__+:} false; then :
19415 $as_echo_n "(cached) " >&6
19416 else
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 #ifndef __i386__
19421 #endif
19422 _ACEOF
19423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19424 $EGREP "yes" >/dev/null 2>&1; then :
19425 ac_cv_cpp_def___i386__=yes
19426 else
19427 ac_cv_cpp_def___i386__=no
19429 rm -f conftest*
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19433 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19434 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19435 CFLAGS="$CFLAGS -D__i386__"
19436 LINTFLAGS="$LINTFLAGS -D__i386__"
19437 fi ;;
19438 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19439 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19440 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19441 $as_echo_n "(cached) " >&6
19442 else
19443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19444 /* end confdefs.h. */
19445 #ifndef __x86_64__
19447 #endif
19448 _ACEOF
19449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19450 $EGREP "yes" >/dev/null 2>&1; then :
19451 ac_cv_cpp_def___x86_64__=yes
19452 else
19453 ac_cv_cpp_def___x86_64__=no
19455 rm -f conftest*
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19459 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19460 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19461 CFLAGS="$CFLAGS -D__x86_64__"
19462 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19463 fi ;;
19464 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19465 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19466 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19467 $as_echo_n "(cached) " >&6
19468 else
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 #ifndef __sparc64__
19473 #endif
19474 _ACEOF
19475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19476 $EGREP "yes" >/dev/null 2>&1; then :
19477 ac_cv_cpp_def___sparc64__=yes
19478 else
19479 ac_cv_cpp_def___sparc64__=no
19481 rm -f conftest*
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19485 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19486 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19487 CFLAGS="$CFLAGS -D__sparc64__"
19488 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19489 fi ;;
19490 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19491 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19492 if ${ac_cv_cpp_def___sparc__+:} false; then :
19493 $as_echo_n "(cached) " >&6
19494 else
19495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h. */
19497 #ifndef __sparc__
19499 #endif
19500 _ACEOF
19501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19502 $EGREP "yes" >/dev/null 2>&1; then :
19503 ac_cv_cpp_def___sparc__=yes
19504 else
19505 ac_cv_cpp_def___sparc__=no
19507 rm -f conftest*
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19511 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19512 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19513 CFLAGS="$CFLAGS -D__sparc__"
19514 LINTFLAGS="$LINTFLAGS -D__sparc__"
19515 fi ;;
19516 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19517 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19518 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19519 $as_echo_n "(cached) " >&6
19520 else
19521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19522 /* end confdefs.h. */
19523 #ifndef __powerpc64__
19525 #endif
19526 _ACEOF
19527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19528 $EGREP "yes" >/dev/null 2>&1; then :
19529 ac_cv_cpp_def___powerpc64__=yes
19530 else
19531 ac_cv_cpp_def___powerpc64__=no
19533 rm -f conftest*
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19537 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19538 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19539 CFLAGS="$CFLAGS -D__powerpc64__"
19540 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19541 fi ;;
19542 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19543 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19544 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19545 $as_echo_n "(cached) " >&6
19546 else
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549 #ifndef __powerpc__
19551 #endif
19552 _ACEOF
19553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19554 $EGREP "yes" >/dev/null 2>&1; then :
19555 ac_cv_cpp_def___powerpc__=yes
19556 else
19557 ac_cv_cpp_def___powerpc__=no
19559 rm -f conftest*
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19563 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19564 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19565 CFLAGS="$CFLAGS -D__powerpc__"
19566 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19567 fi ;;
19568 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19569 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19570 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #ifndef __aarch64__
19577 #endif
19578 _ACEOF
19579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19580 $EGREP "yes" >/dev/null 2>&1; then :
19581 ac_cv_cpp_def___aarch64__=yes
19582 else
19583 ac_cv_cpp_def___aarch64__=no
19585 rm -f conftest*
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19589 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19590 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19591 CFLAGS="$CFLAGS -D__aarch64__"
19592 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19593 fi ;;
19594 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19595 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19596 if ${ac_cv_cpp_def___arm__+:} false; then :
19597 $as_echo_n "(cached) " >&6
19598 else
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #ifndef __arm__
19603 #endif
19604 _ACEOF
19605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19606 $EGREP "yes" >/dev/null 2>&1; then :
19607 ac_cv_cpp_def___arm__=yes
19608 else
19609 ac_cv_cpp_def___arm__=no
19611 rm -f conftest*
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19615 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19616 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19617 CFLAGS="$CFLAGS -D__arm__"
19618 LINTFLAGS="$LINTFLAGS -D__arm__"
19619 fi ;;
19620 esac
19622 case $host_vendor in
19623 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19624 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19625 if ${ac_cv_cpp_def___sun__+:} false; then :
19626 $as_echo_n "(cached) " >&6
19627 else
19628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19629 /* end confdefs.h. */
19630 #ifndef __sun__
19632 #endif
19633 _ACEOF
19634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19635 $EGREP "yes" >/dev/null 2>&1; then :
19636 ac_cv_cpp_def___sun__=yes
19637 else
19638 ac_cv_cpp_def___sun__=no
19640 rm -f conftest*
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19644 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19645 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19646 CFLAGS="$CFLAGS -D__sun__"
19647 LINTFLAGS="$LINTFLAGS -D__sun__"
19648 fi ;;
19649 esac
19655 ac_config_commands="$ac_config_commands include/stamp-h"
19657 $as_echo_n "creating Makefile rules..." >&6
19659 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19660 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19661 IOKIT_LIBS = $IOKIT_LIBS
19662 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19663 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19664 CORESERVICES_LIBS = $CORESERVICES_LIBS
19665 APPKIT_LIBS = $APPKIT_LIBS
19666 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19667 SECURITY_LIBS = $SECURITY_LIBS
19668 COREAUDIO_LIBS = $COREAUDIO_LIBS
19669 OPENAL_LIBS = $OPENAL_LIBS
19670 OPENCL_LIBS = $OPENCL_LIBS
19671 QUICKTIME_LIBS = $QUICKTIME_LIBS
19672 CARBON_LIBS = $CARBON_LIBS
19673 METAL_LIBS = $METAL_LIBS
19674 PTHREAD_LIBS = $PTHREAD_LIBS
19675 X_CFLAGS = $X_CFLAGS
19676 X_PRE_LIBS = $X_PRE_LIBS
19677 X_LIBS = $X_LIBS
19678 X_EXTRA_LIBS = $X_EXTRA_LIBS
19679 PCAP_LIBS = $PCAP_LIBS
19680 XML2_CFLAGS = $XML2_CFLAGS
19681 XML2_LIBS = $XML2_LIBS
19682 XSLT_CFLAGS = $XSLT_CFLAGS
19683 XSLT_LIBS = $XSLT_LIBS
19684 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19685 INOTIFY_LIBS = $INOTIFY_LIBS
19686 DBUS_CFLAGS = $DBUS_CFLAGS
19687 DBUS_LIBS = $DBUS_LIBS
19688 HAL_CFLAGS = $HAL_CFLAGS
19689 HAL_LIBS = $HAL_LIBS
19690 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19691 GNUTLS_LIBS = $GNUTLS_LIBS
19692 SANE_CFLAGS = $SANE_CFLAGS
19693 SANE_LIBS = $SANE_LIBS
19694 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19695 GPHOTO2_LIBS = $GPHOTO2_LIBS
19696 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19697 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19698 RESOLV_LIBS = $RESOLV_LIBS
19699 LCMS2_CFLAGS = $LCMS2_CFLAGS
19700 LCMS2_LIBS = $LCMS2_LIBS
19701 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19702 FREETYPE_LIBS = $FREETYPE_LIBS
19703 Z_CFLAGS = $Z_CFLAGS
19704 Z_LIBS = $Z_LIBS
19705 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19706 PULSE_CFLAGS = $PULSE_CFLAGS
19707 PULSE_LIBS = $PULSE_LIBS
19708 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19709 GSTREAMER_LIBS = $GSTREAMER_LIBS
19710 ALSA_LIBS = $ALSA_LIBS
19711 OSS4_CFLAGS = $OSS4_CFLAGS
19712 UDEV_CFLAGS = $UDEV_CFLAGS
19713 UDEV_LIBS = $UDEV_LIBS
19714 SDL2_CFLAGS = $SDL2_CFLAGS
19715 SDL2_LIBS = $SDL2_LIBS
19716 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19717 FAUDIO_LIBS = $FAUDIO_LIBS
19718 CAPI20_CFLAGS = $CAPI20_CFLAGS
19719 CAPI20_LIBS = $CAPI20_LIBS
19720 CUPS_CFLAGS = $CUPS_CFLAGS
19721 CUPS_LIBS = $CUPS_LIBS
19722 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19723 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19724 KRB5_CFLAGS = $KRB5_CFLAGS
19725 KRB5_LIBS = $KRB5_LIBS
19726 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19727 GSSAPI_LIBS = $GSSAPI_LIBS
19728 JPEG_CFLAGS = $JPEG_CFLAGS
19729 JPEG_LIBS = $JPEG_LIBS
19730 PNG_CFLAGS = $PNG_CFLAGS
19731 PNG_LIBS = $PNG_LIBS
19732 TIFF_CFLAGS = $TIFF_CFLAGS
19733 TIFF_LIBS = $TIFF_LIBS
19734 MPG123_CFLAGS = $MPG123_CFLAGS
19735 MPG123_LIBS = $MPG123_LIBS
19736 KSTAT_LIBS = $KSTAT_LIBS
19737 PROCSTAT_LIBS = $PROCSTAT_LIBS
19738 NETAPI_CFLAGS = $NETAPI_CFLAGS
19739 NETAPI_LIBS = $NETAPI_LIBS
19740 VKD3D_CFLAGS = $VKD3D_CFLAGS
19741 VKD3D_LIBS = $VKD3D_LIBS
19742 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19743 DL_LIBS = $DL_LIBS
19744 POLL_LIBS = $POLL_LIBS
19745 RT_LIBS = $RT_LIBS
19746 LDAP_CFLAGS = $LDAP_CFLAGS
19747 LDAP_LIBS = $LDAP_LIBS
19752 wine_fn_append_rule "
19753 # Rules automatically generated by configure
19755 .INIT: Makefile
19756 .MAKEFILEDEPS:
19757 all: Makefile
19758 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19759 @./config.status Make.tmp Makefile
19760 depend: \$(MAKEDEP) dummy
19761 \$(MAKEDEP)"
19763 if test "x$enable_fonts" != xno; then
19764 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19765 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19766 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19767 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19768 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19769 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19771 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19772 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19773 ac_config_links="$ac_config_links wine:tools/winewrapper"
19774 wine_fn_config_symlink wine
19775 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19776 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19777 wine_fn_config_symlink wine64
19780 wine_fn_config_makefile dlls/acledit enable_acledit
19781 wine_fn_config_makefile dlls/aclui enable_aclui
19782 wine_fn_config_makefile dlls/activeds enable_activeds
19783 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19784 wine_fn_config_makefile dlls/adsiid enable_adsiid
19785 wine_fn_config_makefile dlls/adsldp enable_adsldp
19786 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19787 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19788 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19789 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19790 wine_fn_config_makefile dlls/advpack enable_advpack
19791 wine_fn_config_makefile dlls/advpack/tests enable_tests
19792 wine_fn_config_makefile dlls/amsi enable_amsi
19793 wine_fn_config_makefile dlls/amstream enable_amstream
19794 wine_fn_config_makefile dlls/amstream/tests enable_tests
19795 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19796 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19797 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19798 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19800 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19801 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19803 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19805 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19807 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19808 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19811 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19813 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19814 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19815 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19816 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19817 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19818 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19819 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19820 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19821 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19822 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19823 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19824 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19825 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19826 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19827 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19828 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19829 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19830 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19833 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19836 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19837 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19839 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19842 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19843 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19844 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19847 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19848 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19849 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19850 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19852 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19853 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19857 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19861 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19862 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19865 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19869 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19871 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19873 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19874 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19875 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19893 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19897 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19900 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19901 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19903 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19904 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19914 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19919 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19920 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19925 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19927 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19928 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19946 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19947 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19966 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19977 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19981 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19983 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19985 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19986 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19991 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19993 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19999 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20002 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20004 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20006 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20010 wine_fn_config_makefile dlls/apphelp enable_apphelp
20011 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20012 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20013 wine_fn_config_makefile dlls/atl enable_atl
20014 wine_fn_config_makefile dlls/atl/tests enable_tests
20015 wine_fn_config_makefile dlls/atl100 enable_atl100
20016 wine_fn_config_makefile dlls/atl100/tests enable_tests
20017 wine_fn_config_makefile dlls/atl110 enable_atl110
20018 wine_fn_config_makefile dlls/atl80 enable_atl80
20019 wine_fn_config_makefile dlls/atl80/tests enable_tests
20020 wine_fn_config_makefile dlls/atl90 enable_atl90
20021 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20022 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20023 wine_fn_config_makefile dlls/atmlib enable_atmlib
20024 wine_fn_config_makefile dlls/authz enable_authz
20025 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20026 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20027 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20028 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20029 wine_fn_config_makefile dlls/avrt enable_avrt
20030 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20031 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20032 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20033 wine_fn_config_makefile dlls/browseui enable_browseui
20034 wine_fn_config_makefile dlls/browseui/tests enable_tests
20035 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20036 wine_fn_config_makefile dlls/cabinet enable_cabinet
20037 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20038 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20039 wine_fn_config_makefile dlls/cards enable_cards
20040 wine_fn_config_makefile dlls/cdosys enable_cdosys
20041 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20042 wine_fn_config_makefile dlls/clusapi enable_clusapi
20043 wine_fn_config_makefile dlls/combase enable_combase
20044 wine_fn_config_makefile dlls/combase/tests enable_tests
20045 wine_fn_config_makefile dlls/comcat enable_comcat
20046 wine_fn_config_makefile dlls/comcat/tests enable_tests
20047 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20048 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20049 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20050 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20051 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20052 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20053 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20054 wine_fn_config_makefile dlls/compstui enable_compstui
20055 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20056 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20057 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20058 wine_fn_config_makefile dlls/connect enable_connect
20059 wine_fn_config_makefile dlls/credui enable_credui
20060 wine_fn_config_makefile dlls/credui/tests enable_tests
20061 wine_fn_config_makefile dlls/crtdll enable_crtdll
20062 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20063 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20064 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20065 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20066 wine_fn_config_makefile dlls/cryptext enable_cryptext
20067 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20068 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20069 wine_fn_config_makefile dlls/cryptui enable_cryptui
20070 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20071 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20072 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20073 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20074 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20075 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20076 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20077 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20078 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20079 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20080 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20081 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20082 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20083 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20084 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20085 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20086 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20087 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20088 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20089 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20090 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20091 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20092 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20093 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20094 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20095 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20096 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20097 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20098 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20099 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20100 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20101 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20102 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20103 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20104 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20105 wine_fn_config_makefile dlls/d3dim enable_d3dim
20106 wine_fn_config_makefile dlls/d3drm enable_d3drm
20107 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20108 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20109 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20110 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20111 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20112 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20113 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20114 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20115 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20116 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20117 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20118 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20119 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20120 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20121 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20122 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20123 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20124 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20125 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20126 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20127 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20128 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20129 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20130 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20131 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20132 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20133 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20134 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20135 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20136 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20137 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20138 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20139 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20140 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20141 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20142 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20143 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20144 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20145 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20146 wine_fn_config_makefile dlls/davclnt enable_davclnt
20147 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20148 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20149 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20150 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20151 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20152 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20153 wine_fn_config_makefile dlls/ddraw enable_ddraw
20154 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20155 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20156 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20157 wine_fn_config_makefile dlls/devenum enable_devenum
20158 wine_fn_config_makefile dlls/devenum/tests enable_tests
20159 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20160 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20161 wine_fn_config_makefile dlls/difxapi enable_difxapi
20162 wine_fn_config_makefile dlls/dinput enable_dinput
20163 wine_fn_config_makefile dlls/dinput/tests enable_tests
20164 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20165 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20166 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20167 wine_fn_config_makefile dlls/dispex enable_dispex
20168 wine_fn_config_makefile dlls/dispex/tests enable_tests
20169 wine_fn_config_makefile dlls/display.drv16 enable_win16
20170 wine_fn_config_makefile dlls/dmband enable_dmband
20171 wine_fn_config_makefile dlls/dmband/tests enable_tests
20172 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20173 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20174 wine_fn_config_makefile dlls/dmime enable_dmime
20175 wine_fn_config_makefile dlls/dmime/tests enable_tests
20176 wine_fn_config_makefile dlls/dmloader enable_dmloader
20177 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20178 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20179 wine_fn_config_makefile dlls/dmscript enable_dmscript
20180 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20181 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20182 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20183 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20184 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20185 wine_fn_config_makefile dlls/dmusic enable_dmusic
20186 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20187 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20188 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20189 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20190 wine_fn_config_makefile dlls/dplay enable_dplay
20191 wine_fn_config_makefile dlls/dplayx enable_dplayx
20192 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20193 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20194 wine_fn_config_makefile dlls/dpnet enable_dpnet
20195 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20196 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20197 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20198 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20199 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20200 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20201 wine_fn_config_makefile dlls/drmclien enable_drmclien
20202 wine_fn_config_makefile dlls/dsound enable_dsound
20203 wine_fn_config_makefile dlls/dsound/tests enable_tests
20204 wine_fn_config_makefile dlls/dsquery enable_dsquery
20205 wine_fn_config_makefile dlls/dssenh enable_dssenh
20206 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20207 wine_fn_config_makefile dlls/dswave enable_dswave
20208 wine_fn_config_makefile dlls/dswave/tests enable_tests
20209 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20210 wine_fn_config_makefile dlls/dwrite enable_dwrite
20211 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20212 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20213 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20214 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20215 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20216 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20217 wine_fn_config_makefile dlls/dxgi enable_dxgi
20218 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20219 wine_fn_config_makefile dlls/dxguid enable_dxguid
20220 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20221 wine_fn_config_makefile dlls/esent enable_esent
20222 wine_fn_config_makefile dlls/evr enable_evr
20223 wine_fn_config_makefile dlls/evr/tests enable_tests
20224 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20225 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20226 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20227 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20228 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20229 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20230 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20231 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20232 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20233 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20234 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20235 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20236 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20237 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20238 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20239 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20240 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20241 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20242 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20243 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20244 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20245 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20246 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20247 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20248 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20249 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20250 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20251 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20252 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20253 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20254 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20255 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20256 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20257 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20258 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20259 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20260 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20261 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20262 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20263 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20264 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20265 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20266 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
20267 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20268 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20269 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20270 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20271 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20272 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20273 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20274 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20275 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20276 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20277 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20278 wine_fn_config_makefile dlls/faultrep enable_faultrep
20279 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20280 wine_fn_config_makefile dlls/feclient enable_feclient
20281 wine_fn_config_makefile dlls/fltlib enable_fltlib
20282 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20283 wine_fn_config_makefile dlls/fntcache enable_fntcache
20284 wine_fn_config_makefile dlls/fontsub enable_fontsub
20285 wine_fn_config_makefile dlls/fusion enable_fusion
20286 wine_fn_config_makefile dlls/fusion/tests enable_tests
20287 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20288 wine_fn_config_makefile dlls/gameux enable_gameux
20289 wine_fn_config_makefile dlls/gameux/tests enable_tests
20290 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20291 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20292 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20293 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20294 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20295 wine_fn_config_makefile dlls/glu32 enable_glu32
20296 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20297 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20298 wine_fn_config_makefile dlls/hal enable_hal
20299 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20300 wine_fn_config_makefile dlls/hid enable_hid
20301 wine_fn_config_makefile dlls/hid/tests enable_tests
20302 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20303 wine_fn_config_makefile dlls/hlink enable_hlink
20304 wine_fn_config_makefile dlls/hlink/tests enable_tests
20305 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20306 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20307 wine_fn_config_makefile dlls/httpapi enable_httpapi
20308 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20309 wine_fn_config_makefile dlls/iccvid enable_iccvid
20310 wine_fn_config_makefile dlls/icmp enable_icmp
20311 wine_fn_config_makefile dlls/ieframe enable_ieframe
20312 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20313 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20314 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20315 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20316 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20317 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20318 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20319 wine_fn_config_makefile dlls/imm32 enable_imm32
20320 wine_fn_config_makefile dlls/imm32/tests enable_tests
20321 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20322 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20323 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20324 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20325 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20326 wine_fn_config_makefile dlls/infosoft enable_infosoft
20327 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20328 wine_fn_config_makefile dlls/initpki enable_initpki
20329 wine_fn_config_makefile dlls/inkobj enable_inkobj
20330 wine_fn_config_makefile dlls/inseng enable_inseng
20331 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20332 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20333 wine_fn_config_makefile dlls/iprop enable_iprop
20334 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20335 wine_fn_config_makefile dlls/itircl enable_itircl
20336 wine_fn_config_makefile dlls/itss enable_itss
20337 wine_fn_config_makefile dlls/itss/tests enable_tests
20338 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20339 wine_fn_config_makefile dlls/jscript enable_jscript
20340 wine_fn_config_makefile dlls/jscript/tests enable_tests
20341 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20342 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20343 wine_fn_config_makefile dlls/kerberos enable_kerberos
20344 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20345 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20346 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20347 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20348 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20349 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20350 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20351 wine_fn_config_makefile dlls/ksuser enable_ksuser
20352 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20353 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20354 wine_fn_config_makefile dlls/loadperf enable_loadperf
20355 wine_fn_config_makefile dlls/localspl enable_localspl
20356 wine_fn_config_makefile dlls/localspl/tests enable_tests
20357 wine_fn_config_makefile dlls/localui enable_localui
20358 wine_fn_config_makefile dlls/localui/tests enable_tests
20359 wine_fn_config_makefile dlls/lz32 enable_lz32
20360 wine_fn_config_makefile dlls/lz32/tests enable_tests
20361 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20362 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20363 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20364 wine_fn_config_makefile dlls/mapistub enable_mapistub
20365 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20366 wine_fn_config_makefile dlls/mcicda enable_mcicda
20367 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20368 wine_fn_config_makefile dlls/mciseq enable_mciseq
20369 wine_fn_config_makefile dlls/mciwave enable_mciwave
20370 wine_fn_config_makefile dlls/mf enable_mf
20371 wine_fn_config_makefile dlls/mf/tests enable_tests
20372 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20373 wine_fn_config_makefile dlls/mferror enable_mferror
20374 wine_fn_config_makefile dlls/mfplat enable_mfplat
20375 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20376 wine_fn_config_makefile dlls/mfplay enable_mfplay
20377 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20378 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20379 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20380 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20381 wine_fn_config_makefile dlls/midimap enable_midimap
20382 wine_fn_config_makefile dlls/mlang enable_mlang
20383 wine_fn_config_makefile dlls/mlang/tests enable_tests
20384 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20385 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20386 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20387 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20388 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20389 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20390 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20391 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20392 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20393 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20394 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20395 wine_fn_config_makefile dlls/mpr enable_mpr
20396 wine_fn_config_makefile dlls/mpr/tests enable_tests
20397 wine_fn_config_makefile dlls/mprapi enable_mprapi
20398 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20399 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20400 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20401 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20402 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20403 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20404 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20405 wine_fn_config_makefile dlls/mscms enable_mscms
20406 wine_fn_config_makefile dlls/mscms/tests enable_tests
20407 wine_fn_config_makefile dlls/mscoree enable_mscoree
20408 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20409 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20410 wine_fn_config_makefile dlls/msctf enable_msctf
20411 wine_fn_config_makefile dlls/msctf/tests enable_tests
20412 wine_fn_config_makefile dlls/msctfp enable_msctfp
20413 wine_fn_config_makefile dlls/msdaps enable_msdaps
20414 wine_fn_config_makefile dlls/msdelta enable_msdelta
20415 wine_fn_config_makefile dlls/msdmo enable_msdmo
20416 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20417 wine_fn_config_makefile dlls/msdrm enable_msdrm
20418 wine_fn_config_makefile dlls/msftedit enable_msftedit
20419 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20420 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20421 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20422 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20423 wine_fn_config_makefile dlls/mshtml enable_mshtml
20424 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20425 wine_fn_config_makefile dlls/msi enable_msi
20426 wine_fn_config_makefile dlls/msi/tests enable_tests
20427 wine_fn_config_makefile dlls/msident enable_msident
20428 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20429 wine_fn_config_makefile dlls/msimsg enable_msimsg
20430 wine_fn_config_makefile dlls/msimtf enable_msimtf
20431 wine_fn_config_makefile dlls/msisip enable_msisip
20432 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20433 wine_fn_config_makefile dlls/msls31 enable_msls31
20434 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20435 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20436 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20437 wine_fn_config_makefile dlls/msports enable_msports
20438 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20439 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20440 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20441 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20442 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20443 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20444 wine_fn_config_makefile dlls/mstask enable_mstask
20445 wine_fn_config_makefile dlls/mstask/tests enable_tests
20446 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20447 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20448 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20449 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20450 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20451 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20452 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20453 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20454 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20455 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20456 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20457 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20458 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20459 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20460 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20461 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20462 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20463 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20464 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20465 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20466 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20467 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20468 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20469 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20470 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20471 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20472 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20473 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20474 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20475 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20476 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20477 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20478 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20479 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20480 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20481 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20482 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20483 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20484 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20485 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20486 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20487 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20488 wine_fn_config_makefile dlls/mswsock enable_mswsock
20489 wine_fn_config_makefile dlls/msxml enable_msxml
20490 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20491 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20492 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20493 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20494 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20495 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20496 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20497 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20498 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20499 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20500 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20501 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20502 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20503 wine_fn_config_makefile dlls/netprofm enable_netprofm
20504 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20505 wine_fn_config_makefile dlls/newdev enable_newdev
20506 wine_fn_config_makefile dlls/ninput enable_ninput
20507 wine_fn_config_makefile dlls/ninput/tests enable_tests
20508 wine_fn_config_makefile dlls/normaliz enable_normaliz
20509 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20510 wine_fn_config_makefile dlls/npptools enable_npptools
20511 wine_fn_config_makefile dlls/ntdll enable_ntdll
20512 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20513 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20514 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20515 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20516 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20517 wine_fn_config_makefile dlls/ntprint enable_ntprint
20518 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20519 wine_fn_config_makefile dlls/objsel enable_objsel
20520 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20521 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20522 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20523 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20524 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20525 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20526 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20527 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20528 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20529 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20530 wine_fn_config_makefile dlls/ole32 enable_ole32
20531 wine_fn_config_makefile dlls/ole32/tests enable_tests
20532 wine_fn_config_makefile dlls/oleacc enable_oleacc
20533 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20534 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20535 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20536 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20537 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20538 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20539 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20540 wine_fn_config_makefile dlls/oledlg enable_oledlg
20541 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20542 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20543 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20544 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20545 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20546 wine_fn_config_makefile dlls/opcservices enable_opcservices
20547 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20548 wine_fn_config_makefile dlls/openal32 enable_openal32
20549 wine_fn_config_makefile dlls/opencl enable_opencl
20550 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20551 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20552 wine_fn_config_makefile dlls/packager enable_packager
20553 wine_fn_config_makefile dlls/packager/tests enable_tests
20554 wine_fn_config_makefile dlls/pdh enable_pdh
20555 wine_fn_config_makefile dlls/pdh/tests enable_tests
20556 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20557 wine_fn_config_makefile dlls/pidgen enable_pidgen
20558 wine_fn_config_makefile dlls/powrprof enable_powrprof
20559 wine_fn_config_makefile dlls/printui enable_printui
20560 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20561 wine_fn_config_makefile dlls/propsys enable_propsys
20562 wine_fn_config_makefile dlls/propsys/tests enable_tests
20563 wine_fn_config_makefile dlls/psapi enable_psapi
20564 wine_fn_config_makefile dlls/psapi/tests enable_tests
20565 wine_fn_config_makefile dlls/pstorec enable_pstorec
20566 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20567 wine_fn_config_makefile dlls/qcap enable_qcap
20568 wine_fn_config_makefile dlls/qcap/tests enable_tests
20569 wine_fn_config_makefile dlls/qedit enable_qedit
20570 wine_fn_config_makefile dlls/qedit/tests enable_tests
20571 wine_fn_config_makefile dlls/qmgr enable_qmgr
20572 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20573 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20574 wine_fn_config_makefile dlls/quartz enable_quartz
20575 wine_fn_config_makefile dlls/quartz/tests enable_tests
20576 wine_fn_config_makefile dlls/query enable_query
20577 wine_fn_config_makefile dlls/qwave enable_qwave
20578 wine_fn_config_makefile dlls/qwave/tests enable_tests
20579 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20580 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20581 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20582 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20583 wine_fn_config_makefile dlls/regapi enable_regapi
20584 wine_fn_config_makefile dlls/resutils enable_resutils
20585 wine_fn_config_makefile dlls/riched20 enable_riched20
20586 wine_fn_config_makefile dlls/riched20/tests enable_tests
20587 wine_fn_config_makefile dlls/riched32 enable_riched32
20588 wine_fn_config_makefile dlls/riched32/tests enable_tests
20589 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20590 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20591 wine_fn_config_makefile dlls/rsabase enable_rsabase
20592 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20593 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20594 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20595 wine_fn_config_makefile dlls/rtutils enable_rtutils
20596 wine_fn_config_makefile dlls/samlib enable_samlib
20597 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20598 wine_fn_config_makefile dlls/sapi enable_sapi
20599 wine_fn_config_makefile dlls/sapi/tests enable_tests
20600 wine_fn_config_makefile dlls/sas enable_sas
20601 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20602 wine_fn_config_makefile dlls/sccbase enable_sccbase
20603 wine_fn_config_makefile dlls/schannel enable_schannel
20604 wine_fn_config_makefile dlls/schannel/tests enable_tests
20605 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20606 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20607 wine_fn_config_makefile dlls/scrobj enable_scrobj
20608 wine_fn_config_makefile dlls/scrrun enable_scrrun
20609 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20610 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20611 wine_fn_config_makefile dlls/secur32 enable_secur32
20612 wine_fn_config_makefile dlls/secur32/tests enable_tests
20613 wine_fn_config_makefile dlls/security enable_security
20614 wine_fn_config_makefile dlls/sensapi enable_sensapi
20615 wine_fn_config_makefile dlls/serialui enable_serialui
20616 wine_fn_config_makefile dlls/serialui/tests enable_tests
20617 wine_fn_config_makefile dlls/setupapi enable_setupapi
20618 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20619 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20620 wine_fn_config_makefile dlls/sfc enable_sfc
20621 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20622 wine_fn_config_makefile dlls/shcore enable_shcore
20623 wine_fn_config_makefile dlls/shcore/tests enable_tests
20624 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20625 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20626 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20627 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20628 wine_fn_config_makefile dlls/shell32 enable_shell32
20629 wine_fn_config_makefile dlls/shell32/tests enable_tests
20630 wine_fn_config_makefile dlls/shfolder enable_shfolder
20631 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20632 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20633 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20634 wine_fn_config_makefile dlls/slc enable_slc
20635 wine_fn_config_makefile dlls/slc/tests enable_tests
20636 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20637 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20638 wine_fn_config_makefile dlls/softpub enable_softpub
20639 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20640 wine_fn_config_makefile dlls/spoolss enable_spoolss
20641 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20642 wine_fn_config_makefile dlls/srclient enable_srclient
20643 wine_fn_config_makefile dlls/sspicli enable_sspicli
20644 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20645 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20646 wine_fn_config_makefile dlls/sti enable_sti
20647 wine_fn_config_makefile dlls/sti/tests enable_tests
20648 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20649 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20650 wine_fn_config_makefile dlls/strmbase enable_strmbase
20651 wine_fn_config_makefile dlls/strmdll enable_strmdll
20652 wine_fn_config_makefile dlls/strmiids enable_strmiids
20653 wine_fn_config_makefile dlls/svrapi enable_svrapi
20654 wine_fn_config_makefile dlls/sxs enable_sxs
20655 wine_fn_config_makefile dlls/sxs/tests enable_tests
20656 wine_fn_config_makefile dlls/system.drv16 enable_win16
20657 wine_fn_config_makefile dlls/t2embed enable_t2embed
20658 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20659 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20660 wine_fn_config_makefile dlls/taskschd enable_taskschd
20661 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20662 wine_fn_config_makefile dlls/tdh enable_tdh
20663 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20664 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20665 wine_fn_config_makefile dlls/traffic enable_traffic
20666 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20667 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20668 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20669 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20670 wine_fn_config_makefile dlls/tzres enable_tzres
20671 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20672 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20673 wine_fn_config_makefile dlls/uianimation enable_uianimation
20674 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20675 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20676 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20677 wine_fn_config_makefile dlls/unicows enable_unicows
20678 wine_fn_config_makefile dlls/updspapi enable_updspapi
20679 wine_fn_config_makefile dlls/url enable_url
20680 wine_fn_config_makefile dlls/urlmon enable_urlmon
20681 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20682 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20683 wine_fn_config_makefile dlls/user.exe16 enable_win16
20684 wine_fn_config_makefile dlls/user32 enable_user32
20685 wine_fn_config_makefile dlls/user32/tests enable_tests
20686 wine_fn_config_makefile dlls/userenv enable_userenv
20687 wine_fn_config_makefile dlls/userenv/tests enable_tests
20688 wine_fn_config_makefile dlls/usp10 enable_usp10
20689 wine_fn_config_makefile dlls/usp10/tests enable_tests
20690 wine_fn_config_makefile dlls/uuid enable_uuid
20691 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20692 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20693 wine_fn_config_makefile dlls/vbscript enable_vbscript
20694 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20695 wine_fn_config_makefile dlls/vcomp enable_vcomp
20696 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20697 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20698 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20699 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20700 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20701 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20702 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20703 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20704 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20705 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20706 wine_fn_config_makefile dlls/version enable_version
20707 wine_fn_config_makefile dlls/version/tests enable_tests
20708 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20709 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20710 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20711 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20712 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20713 wine_fn_config_makefile dlls/vssapi enable_vssapi
20714 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20715 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20716 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20717 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20718 wine_fn_config_makefile dlls/w32skrnl enable_win16
20719 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20720 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20721 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20722 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20723 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20724 wine_fn_config_makefile dlls/wdscore enable_wdscore
20725 wine_fn_config_makefile dlls/webservices enable_webservices
20726 wine_fn_config_makefile dlls/webservices/tests enable_tests
20727 wine_fn_config_makefile dlls/wer enable_wer
20728 wine_fn_config_makefile dlls/wer/tests enable_tests
20729 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20730 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20731 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20732 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20733 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20734 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20735 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20736 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20737 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20738 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20739 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20740 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20741 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20742 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20743 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20744 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20745 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20746 wine_fn_config_makefile dlls/wined3d enable_wined3d
20747 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20748 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20749 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20750 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20751 wine_fn_config_makefile dlls/winemapi enable_winemapi
20752 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20753 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20754 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20755 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20756 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20757 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20758 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20759 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20760 wine_fn_config_makefile dlls/wing32 enable_wing32
20761 wine_fn_config_makefile dlls/winhttp enable_winhttp
20762 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20763 wine_fn_config_makefile dlls/wininet enable_wininet
20764 wine_fn_config_makefile dlls/wininet/tests enable_tests
20765 wine_fn_config_makefile dlls/winmm enable_winmm
20766 wine_fn_config_makefile dlls/winmm/tests enable_tests
20767 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20768 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20769 wine_fn_config_makefile dlls/winscard enable_winscard
20770 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20771 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20772 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20773 wine_fn_config_makefile dlls/winsta enable_winsta
20774 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20775 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20776 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20777 wine_fn_config_makefile dlls/wintrust enable_wintrust
20778 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20779 wine_fn_config_makefile dlls/winusb enable_winusb
20780 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20781 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20782 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20783 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20784 wine_fn_config_makefile dlls/wmasf enable_wmasf
20785 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20786 wine_fn_config_makefile dlls/wmi enable_wmi
20787 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20788 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20789 wine_fn_config_makefile dlls/wmp enable_wmp
20790 wine_fn_config_makefile dlls/wmp/tests enable_tests
20791 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20792 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20793 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20794 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20795 wine_fn_config_makefile dlls/wow32 enable_win16
20796 wine_fn_config_makefile dlls/wpc enable_wpc
20797 wine_fn_config_makefile dlls/wpc/tests enable_tests
20798 wine_fn_config_makefile dlls/wpcap enable_wpcap
20799 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20800 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20801 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20802 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20803 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20804 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20805 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20806 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20807 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20808 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20809 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20810 wine_fn_config_makefile dlls/wuapi enable_wuapi
20811 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20812 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20813 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20814 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20815 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20816 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20817 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20818 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20819 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20820 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20821 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20822 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20823 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20824 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20825 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20826 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20827 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20828 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20829 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20830 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20831 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20832 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20833 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20834 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20835 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20836 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20837 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20838 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20839 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20840 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20841 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20842 wine_fn_config_makefile dlls/xmllite enable_xmllite
20843 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20844 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20845 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20846 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20847 wine_fn_config_makefile fonts enable_fonts
20848 wine_fn_config_makefile include enable_include
20849 wine_fn_config_makefile libs/port enable_port
20850 wine_fn_config_makefile libs/wine enable_wine
20851 wine_fn_config_makefile libs/wpp enable_wpp
20852 wine_fn_config_makefile loader enable_loader
20853 wine_fn_config_makefile po enable_po
20854 wine_fn_config_makefile programs/arp enable_arp
20855 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20856 wine_fn_config_makefile programs/attrib enable_attrib
20857 wine_fn_config_makefile programs/cabarc enable_cabarc
20858 wine_fn_config_makefile programs/cacls enable_cacls
20859 wine_fn_config_makefile programs/clock enable_clock
20860 wine_fn_config_makefile programs/cmd enable_cmd
20861 wine_fn_config_makefile programs/cmd/tests enable_tests
20862 wine_fn_config_makefile programs/conhost enable_conhost
20863 wine_fn_config_makefile programs/control enable_control
20864 wine_fn_config_makefile programs/cscript enable_cscript
20865 wine_fn_config_makefile programs/dism enable_dism
20866 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20867 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20868 wine_fn_config_makefile programs/eject enable_eject
20869 wine_fn_config_makefile programs/expand enable_expand
20870 wine_fn_config_makefile programs/explorer enable_explorer
20871 wine_fn_config_makefile programs/extrac32 enable_extrac32
20872 wine_fn_config_makefile programs/fc enable_fc
20873 wine_fn_config_makefile programs/find enable_find
20874 wine_fn_config_makefile programs/findstr enable_findstr
20875 wine_fn_config_makefile programs/fsutil enable_fsutil
20876 wine_fn_config_makefile programs/hh enable_hh
20877 wine_fn_config_makefile programs/hostname enable_hostname
20878 wine_fn_config_makefile programs/icacls enable_icacls
20879 wine_fn_config_makefile programs/icinfo enable_icinfo
20880 wine_fn_config_makefile programs/iexplore enable_iexplore
20881 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20882 wine_fn_config_makefile programs/lodctr enable_lodctr
20883 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20884 wine_fn_config_makefile programs/mshta enable_mshta
20885 wine_fn_config_makefile programs/msidb enable_msidb
20886 wine_fn_config_makefile programs/msiexec enable_msiexec
20887 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20888 wine_fn_config_makefile programs/net enable_net
20889 wine_fn_config_makefile programs/netsh enable_netsh
20890 wine_fn_config_makefile programs/netstat enable_netstat
20891 wine_fn_config_makefile programs/ngen enable_ngen
20892 wine_fn_config_makefile programs/notepad enable_notepad
20893 wine_fn_config_makefile programs/oleview enable_oleview
20894 wine_fn_config_makefile programs/ping enable_ping
20895 wine_fn_config_makefile programs/plugplay enable_plugplay
20896 wine_fn_config_makefile programs/powershell enable_powershell
20897 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20898 wine_fn_config_makefile programs/progman enable_progman
20899 wine_fn_config_makefile programs/reg enable_reg
20900 wine_fn_config_makefile programs/reg/tests enable_tests
20901 wine_fn_config_makefile programs/regasm enable_regasm
20902 wine_fn_config_makefile programs/regedit enable_regedit
20903 wine_fn_config_makefile programs/regedit/tests enable_tests
20904 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20905 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20906 wine_fn_config_makefile programs/rpcss enable_rpcss
20907 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20908 wine_fn_config_makefile programs/rundll32 enable_rundll32
20909 wine_fn_config_makefile programs/sc enable_sc
20910 wine_fn_config_makefile programs/schtasks enable_schtasks
20911 wine_fn_config_makefile programs/schtasks/tests enable_tests
20912 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20913 wine_fn_config_makefile programs/secedit enable_secedit
20914 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20915 wine_fn_config_makefile programs/services enable_services
20916 wine_fn_config_makefile programs/services/tests enable_tests
20917 wine_fn_config_makefile programs/shutdown enable_shutdown
20918 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20919 wine_fn_config_makefile programs/start enable_start
20920 wine_fn_config_makefile programs/subst enable_subst
20921 wine_fn_config_makefile programs/svchost enable_svchost
20922 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20923 wine_fn_config_makefile programs/taskkill enable_taskkill
20924 wine_fn_config_makefile programs/tasklist enable_tasklist
20925 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20926 wine_fn_config_makefile programs/termsv enable_termsv
20927 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20928 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20929 wine_fn_config_makefile programs/view enable_view
20930 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20931 wine_fn_config_makefile programs/wineboot enable_wineboot
20932 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20933 wine_fn_config_makefile programs/winecfg enable_winecfg
20934 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20935 wine_fn_config_makefile programs/winedbg enable_winedbg
20936 wine_fn_config_makefile programs/winedevice enable_winedevice
20937 wine_fn_config_makefile programs/winefile enable_winefile
20938 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20939 wine_fn_config_makefile programs/winemine enable_winemine
20940 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20941 wine_fn_config_makefile programs/winepath enable_winepath
20942 wine_fn_config_makefile programs/winetest enable_winetest
20943 wine_fn_config_makefile programs/winevdm enable_win16
20944 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20945 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20946 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20947 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20948 wine_fn_config_makefile programs/winver enable_winver
20949 wine_fn_config_makefile programs/wmic enable_wmic
20950 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20951 wine_fn_config_makefile programs/wordpad enable_wordpad
20952 wine_fn_config_makefile programs/write enable_write
20953 wine_fn_config_makefile programs/wscript enable_wscript
20954 wine_fn_config_makefile programs/wscript/tests enable_tests
20955 wine_fn_config_makefile programs/wusa enable_wusa
20956 wine_fn_config_makefile programs/xcopy enable_xcopy
20957 wine_fn_config_makefile programs/xcopy/tests enable_tests
20958 wine_fn_config_makefile server enable_server
20959 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20960 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20961 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20962 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20963 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20964 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20965 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20966 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20967 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20970 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20971 wine_fn_append_file CONFIGURE_TARGETS "tags"
20972 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20973 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20974 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20975 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20976 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20977 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20979 if test "x$enable_tools" != xno
20980 then
20981 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20982 ac_config_commands="$ac_config_commands tools/makedep"
20986 ac_config_commands="$ac_config_commands Makefile"
20989 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20993 if test "x$enable_maintainer_mode" = xyes
20994 then
20995 wine_fn_append_rule "configure: configure.ac aclocal.m4
20996 autoconf --warnings=all
20997 include/config.h.in: include/stamp-h.in
20998 include/stamp-h.in: configure.ac aclocal.m4
20999 autoheader --warnings=all
21000 @echo timestamp > \$@"
21003 if test "x$enable_tools" != xno
21004 then
21005 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21006 @./config.status tools/makedep
21007 Makefile: tools/makedep$ac_exeext
21008 fonts: tools/sfnt2fon
21009 include: tools tools/widl"
21010 else
21011 wine_fn_append_rule "\$(MAKEDEP):
21012 @echo \"You need to run make in $TOOLSDIR first\" && false"
21015 if test -n "$with_wine64"
21016 then
21017 case "$with_wine64" in
21018 /*) reldir="" ;;
21019 *) reldir="../" ;;
21020 esac
21021 rm -f fonts server 2>/dev/null
21022 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21023 loader/wine64 loader/wine64-preloader:
21024 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21025 $with_wine64/loader/wine:
21026 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21027 $with_wine64/loader/wine-preloader:
21028 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21029 clean::
21030 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21031 else
21032 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21033 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21034 fonts \
21035 loader/l_intl.nls \
21036 loader/wine.inf \
21037 loader/winehid.inf \
21038 programs/msidb/msidb \
21039 programs/msiexec/msiexec \
21040 programs/notepad/notepad \
21041 programs/regedit/regedit \
21042 programs/regsvr32/regsvr32 \
21043 programs/wineboot/wineboot \
21044 programs/winecfg/winecfg \
21045 programs/wineconsole/wineconsole \
21046 programs/winedbg/winedbg \
21047 programs/winefile/winefile \
21048 programs/winemine/winemine \
21049 programs/winepath/winepath \
21050 server/wineserver"
21052 case $host_os in
21053 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21054 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21055 esac
21058 $as_echo " done" >&6
21059 cat >confcache <<\_ACEOF
21060 # This file is a shell script that caches the results of configure
21061 # tests run on this system so they can be shared between configure
21062 # scripts and configure runs, see configure's option --config-cache.
21063 # It is not useful on other systems. If it contains results you don't
21064 # want to keep, you may remove or edit it.
21066 # config.status only pays attention to the cache file if you give it
21067 # the --recheck option to rerun configure.
21069 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21070 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21071 # following values.
21073 _ACEOF
21075 # The following way of writing the cache mishandles newlines in values,
21076 # but we know of no workaround that is simple, portable, and efficient.
21077 # So, we kill variables containing newlines.
21078 # Ultrix sh set writes to stderr and can't be redirected directly,
21079 # and sets the high bit in the cache file unless we assign to the vars.
21081 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21082 eval ac_val=\$$ac_var
21083 case $ac_val in #(
21084 *${as_nl}*)
21085 case $ac_var in #(
21086 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21087 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21088 esac
21089 case $ac_var in #(
21090 _ | IFS | as_nl) ;; #(
21091 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21092 *) { eval $ac_var=; unset $ac_var;} ;;
21093 esac ;;
21094 esac
21095 done
21097 (set) 2>&1 |
21098 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21099 *${as_nl}ac_space=\ *)
21100 # `set' does not quote correctly, so add quotes: double-quote
21101 # substitution turns \\\\ into \\, and sed turns \\ into \.
21102 sed -n \
21103 "s/'/'\\\\''/g;
21104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21105 ;; #(
21107 # `set' quotes correctly as required by POSIX, so do not add quotes.
21108 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21110 esac |
21111 sort
21113 sed '
21114 /^ac_cv_env_/b end
21115 t clear
21116 :clear
21117 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21118 t end
21119 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21120 :end' >>confcache
21121 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21122 if test -w "$cache_file"; then
21123 if test "x$cache_file" != "x/dev/null"; then
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21125 $as_echo "$as_me: updating cache $cache_file" >&6;}
21126 if test ! -f "$cache_file" || test -h "$cache_file"; then
21127 cat confcache >"$cache_file"
21128 else
21129 case $cache_file in #(
21130 */* | ?:*)
21131 mv -f confcache "$cache_file"$$ &&
21132 mv -f "$cache_file"$$ "$cache_file" ;; #(
21134 mv -f confcache "$cache_file" ;;
21135 esac
21138 else
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21140 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21143 rm -f confcache
21145 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21146 # Let make expand exec_prefix.
21147 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21149 DEFS=-DHAVE_CONFIG_H
21151 ac_libobjs=
21152 ac_ltlibobjs=
21154 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21155 # 1. Remove the extension, and $U if already installed.
21156 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21157 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21158 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21159 # will be set to the directory where LIBOBJS objects are built.
21160 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21161 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21162 done
21163 LIBOBJS=$ac_libobjs
21165 LTLIBOBJS=$ac_ltlibobjs
21169 : "${CONFIG_STATUS=./config.status}"
21170 ac_write_fail=0
21171 ac_clean_files_save=$ac_clean_files
21172 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21174 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21175 as_write_fail=0
21176 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21177 #! $SHELL
21178 # Generated by $as_me.
21179 # Run this file to recreate the current configuration.
21180 # Compiler output produced by configure, useful for debugging
21181 # configure, is in config.log if it exists.
21183 debug=false
21184 ac_cs_recheck=false
21185 ac_cs_silent=false
21187 SHELL=\${CONFIG_SHELL-$SHELL}
21188 export SHELL
21189 _ASEOF
21190 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21191 ## -------------------- ##
21192 ## M4sh Initialization. ##
21193 ## -------------------- ##
21195 # Be more Bourne compatible
21196 DUALCASE=1; export DUALCASE # for MKS sh
21197 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21198 emulate sh
21199 NULLCMD=:
21200 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21201 # is contrary to our usage. Disable this feature.
21202 alias -g '${1+"$@"}'='"$@"'
21203 setopt NO_GLOB_SUBST
21204 else
21205 case `(set -o) 2>/dev/null` in #(
21206 *posix*) :
21207 set -o posix ;; #(
21208 *) :
21210 esac
21214 as_nl='
21216 export as_nl
21217 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21218 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21221 # Prefer a ksh shell builtin over an external printf program on Solaris,
21222 # but without wasting forks for bash or zsh.
21223 if test -z "$BASH_VERSION$ZSH_VERSION" \
21224 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21225 as_echo='print -r --'
21226 as_echo_n='print -rn --'
21227 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21228 as_echo='printf %s\n'
21229 as_echo_n='printf %s'
21230 else
21231 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21232 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21233 as_echo_n='/usr/ucb/echo -n'
21234 else
21235 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21236 as_echo_n_body='eval
21237 arg=$1;
21238 case $arg in #(
21239 *"$as_nl"*)
21240 expr "X$arg" : "X\\(.*\\)$as_nl";
21241 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21242 esac;
21243 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21245 export as_echo_n_body
21246 as_echo_n='sh -c $as_echo_n_body as_echo'
21248 export as_echo_body
21249 as_echo='sh -c $as_echo_body as_echo'
21252 # The user is always right.
21253 if test "${PATH_SEPARATOR+set}" != set; then
21254 PATH_SEPARATOR=:
21255 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21256 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21257 PATH_SEPARATOR=';'
21262 # IFS
21263 # We need space, tab and new line, in precisely that order. Quoting is
21264 # there to prevent editors from complaining about space-tab.
21265 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21266 # splitting by setting IFS to empty value.)
21267 IFS=" "" $as_nl"
21269 # Find who we are. Look in the path if we contain no directory separator.
21270 as_myself=
21271 case $0 in #((
21272 *[\\/]* ) as_myself=$0 ;;
21273 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21274 for as_dir in $PATH
21276 IFS=$as_save_IFS
21277 test -z "$as_dir" && as_dir=.
21278 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21279 done
21280 IFS=$as_save_IFS
21283 esac
21284 # We did not find ourselves, most probably we were run as `sh COMMAND'
21285 # in which case we are not to be found in the path.
21286 if test "x$as_myself" = x; then
21287 as_myself=$0
21289 if test ! -f "$as_myself"; then
21290 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21291 exit 1
21294 # Unset variables that we do not need and which cause bugs (e.g. in
21295 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21296 # suppresses any "Segmentation fault" message there. '((' could
21297 # trigger a bug in pdksh 5.2.14.
21298 for as_var in BASH_ENV ENV MAIL MAILPATH
21299 do eval test x\${$as_var+set} = xset \
21300 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21301 done
21302 PS1='$ '
21303 PS2='> '
21304 PS4='+ '
21306 # NLS nuisances.
21307 LC_ALL=C
21308 export LC_ALL
21309 LANGUAGE=C
21310 export LANGUAGE
21312 # CDPATH.
21313 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21316 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21317 # ----------------------------------------
21318 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21319 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21320 # script with STATUS, using 1 if that was 0.
21321 as_fn_error ()
21323 as_status=$1; test $as_status -eq 0 && as_status=1
21324 if test "$4"; then
21325 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21326 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21328 $as_echo "$as_me: error: $2" >&2
21329 as_fn_exit $as_status
21330 } # as_fn_error
21333 # as_fn_set_status STATUS
21334 # -----------------------
21335 # Set $? to STATUS, without forking.
21336 as_fn_set_status ()
21338 return $1
21339 } # as_fn_set_status
21341 # as_fn_exit STATUS
21342 # -----------------
21343 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21344 as_fn_exit ()
21346 set +e
21347 as_fn_set_status $1
21348 exit $1
21349 } # as_fn_exit
21351 # as_fn_unset VAR
21352 # ---------------
21353 # Portably unset VAR.
21354 as_fn_unset ()
21356 { eval $1=; unset $1;}
21358 as_unset=as_fn_unset
21359 # as_fn_append VAR VALUE
21360 # ----------------------
21361 # Append the text in VALUE to the end of the definition contained in VAR. Take
21362 # advantage of any shell optimizations that allow amortized linear growth over
21363 # repeated appends, instead of the typical quadratic growth present in naive
21364 # implementations.
21365 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21366 eval 'as_fn_append ()
21368 eval $1+=\$2
21370 else
21371 as_fn_append ()
21373 eval $1=\$$1\$2
21375 fi # as_fn_append
21377 # as_fn_arith ARG...
21378 # ------------------
21379 # Perform arithmetic evaluation on the ARGs, and store the result in the
21380 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21381 # must be portable across $(()) and expr.
21382 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21383 eval 'as_fn_arith ()
21385 as_val=$(( $* ))
21387 else
21388 as_fn_arith ()
21390 as_val=`expr "$@" || test $? -eq 1`
21392 fi # as_fn_arith
21395 if expr a : '\(a\)' >/dev/null 2>&1 &&
21396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21397 as_expr=expr
21398 else
21399 as_expr=false
21402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21403 as_basename=basename
21404 else
21405 as_basename=false
21408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21409 as_dirname=dirname
21410 else
21411 as_dirname=false
21414 as_me=`$as_basename -- "$0" ||
21415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21416 X"$0" : 'X\(//\)$' \| \
21417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21418 $as_echo X/"$0" |
21419 sed '/^.*\/\([^/][^/]*\)\/*$/{
21420 s//\1/
21423 /^X\/\(\/\/\)$/{
21424 s//\1/
21427 /^X\/\(\/\).*/{
21428 s//\1/
21431 s/.*/./; q'`
21433 # Avoid depending upon Character Ranges.
21434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21437 as_cr_digits='0123456789'
21438 as_cr_alnum=$as_cr_Letters$as_cr_digits
21440 ECHO_C= ECHO_N= ECHO_T=
21441 case `echo -n x` in #(((((
21442 -n*)
21443 case `echo 'xy\c'` in
21444 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21445 xy) ECHO_C='\c';;
21446 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21447 ECHO_T=' ';;
21448 esac;;
21450 ECHO_N='-n';;
21451 esac
21453 rm -f conf$$ conf$$.exe conf$$.file
21454 if test -d conf$$.dir; then
21455 rm -f conf$$.dir/conf$$.file
21456 else
21457 rm -f conf$$.dir
21458 mkdir conf$$.dir 2>/dev/null
21460 if (echo >conf$$.file) 2>/dev/null; then
21461 if ln -s conf$$.file conf$$ 2>/dev/null; then
21462 as_ln_s='ln -s'
21463 # ... but there are two gotchas:
21464 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21465 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21466 # In both cases, we have to default to `cp -pR'.
21467 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21468 as_ln_s='cp -pR'
21469 elif ln conf$$.file conf$$ 2>/dev/null; then
21470 as_ln_s=ln
21471 else
21472 as_ln_s='cp -pR'
21474 else
21475 as_ln_s='cp -pR'
21477 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21478 rmdir conf$$.dir 2>/dev/null
21481 # as_fn_mkdir_p
21482 # -------------
21483 # Create "$as_dir" as a directory, including parents if necessary.
21484 as_fn_mkdir_p ()
21487 case $as_dir in #(
21488 -*) as_dir=./$as_dir;;
21489 esac
21490 test -d "$as_dir" || eval $as_mkdir_p || {
21491 as_dirs=
21492 while :; do
21493 case $as_dir in #(
21494 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21495 *) as_qdir=$as_dir;;
21496 esac
21497 as_dirs="'$as_qdir' $as_dirs"
21498 as_dir=`$as_dirname -- "$as_dir" ||
21499 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21500 X"$as_dir" : 'X\(//\)[^/]' \| \
21501 X"$as_dir" : 'X\(//\)$' \| \
21502 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21503 $as_echo X"$as_dir" |
21504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21505 s//\1/
21508 /^X\(\/\/\)[^/].*/{
21509 s//\1/
21512 /^X\(\/\/\)$/{
21513 s//\1/
21516 /^X\(\/\).*/{
21517 s//\1/
21520 s/.*/./; q'`
21521 test -d "$as_dir" && break
21522 done
21523 test -z "$as_dirs" || eval "mkdir $as_dirs"
21524 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21527 } # as_fn_mkdir_p
21528 if mkdir -p . 2>/dev/null; then
21529 as_mkdir_p='mkdir -p "$as_dir"'
21530 else
21531 test -d ./-p && rmdir ./-p
21532 as_mkdir_p=false
21536 # as_fn_executable_p FILE
21537 # -----------------------
21538 # Test if FILE is an executable regular file.
21539 as_fn_executable_p ()
21541 test -f "$1" && test -x "$1"
21542 } # as_fn_executable_p
21543 as_test_x='test -x'
21544 as_executable_p=as_fn_executable_p
21546 # Sed expression to map a string onto a valid CPP name.
21547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21549 # Sed expression to map a string onto a valid variable name.
21550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21553 exec 6>&1
21554 ## ----------------------------------- ##
21555 ## Main body of $CONFIG_STATUS script. ##
21556 ## ----------------------------------- ##
21557 _ASEOF
21558 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21561 # Save the log message, to keep $0 and so on meaningful, and to
21562 # report actual input values of CONFIG_FILES etc. instead of their
21563 # values after options handling.
21564 ac_log="
21565 This file was extended by Wine $as_me 4.12.1, which was
21566 generated by GNU Autoconf 2.69. Invocation command line was
21568 CONFIG_FILES = $CONFIG_FILES
21569 CONFIG_HEADERS = $CONFIG_HEADERS
21570 CONFIG_LINKS = $CONFIG_LINKS
21571 CONFIG_COMMANDS = $CONFIG_COMMANDS
21572 $ $0 $@
21574 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21577 _ACEOF
21579 case $ac_config_files in *"
21580 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21581 esac
21583 case $ac_config_headers in *"
21584 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21585 esac
21588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21589 # Files that config.status was made for.
21590 config_files="$ac_config_files"
21591 config_headers="$ac_config_headers"
21592 config_links="$ac_config_links"
21593 config_commands="$ac_config_commands"
21595 _ACEOF
21597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21598 ac_cs_usage="\
21599 \`$as_me' instantiates files and other configuration actions
21600 from templates according to the current configuration. Unless the files
21601 and actions are specified as TAGs, all are instantiated by default.
21603 Usage: $0 [OPTION]... [TAG]...
21605 -h, --help print this help, then exit
21606 -V, --version print version number and configuration settings, then exit
21607 --config print configuration, then exit
21608 -q, --quiet, --silent
21609 do not print progress messages
21610 -d, --debug don't remove temporary files
21611 --recheck update $as_me by reconfiguring in the same conditions
21612 --file=FILE[:TEMPLATE]
21613 instantiate the configuration file FILE
21614 --header=FILE[:TEMPLATE]
21615 instantiate the configuration header FILE
21617 Configuration files:
21618 $config_files
21620 Configuration headers:
21621 $config_headers
21623 Configuration links:
21624 $config_links
21626 Configuration commands:
21627 $config_commands
21629 Report bugs to <wine-devel@winehq.org>.
21630 Wine home page: <https://www.winehq.org>."
21632 _ACEOF
21633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21634 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21635 ac_cs_version="\\
21636 Wine config.status 4.12.1
21637 configured by $0, generated by GNU Autoconf 2.69,
21638 with options \\"\$ac_cs_config\\"
21640 Copyright (C) 2012 Free Software Foundation, Inc.
21641 This config.status script is free software; the Free Software Foundation
21642 gives unlimited permission to copy, distribute and modify it."
21644 ac_pwd='$ac_pwd'
21645 srcdir='$srcdir'
21646 test -n "\$AWK" || AWK=awk
21647 _ACEOF
21649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21650 # The default lists apply if the user does not specify any file.
21651 ac_need_defaults=:
21652 while test $# != 0
21654 case $1 in
21655 --*=?*)
21656 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21657 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21658 ac_shift=:
21660 --*=)
21661 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21662 ac_optarg=
21663 ac_shift=:
21666 ac_option=$1
21667 ac_optarg=$2
21668 ac_shift=shift
21670 esac
21672 case $ac_option in
21673 # Handling of the options.
21674 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21675 ac_cs_recheck=: ;;
21676 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21677 $as_echo "$ac_cs_version"; exit ;;
21678 --config | --confi | --conf | --con | --co | --c )
21679 $as_echo "$ac_cs_config"; exit ;;
21680 --debug | --debu | --deb | --de | --d | -d )
21681 debug=: ;;
21682 --file | --fil | --fi | --f )
21683 $ac_shift
21684 case $ac_optarg in
21685 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21686 '') as_fn_error $? "missing file argument" ;;
21687 esac
21688 as_fn_append CONFIG_FILES " '$ac_optarg'"
21689 ac_need_defaults=false;;
21690 --header | --heade | --head | --hea )
21691 $ac_shift
21692 case $ac_optarg in
21693 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21694 esac
21695 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21696 ac_need_defaults=false;;
21697 --he | --h)
21698 # Conflict between --help and --header
21699 as_fn_error $? "ambiguous option: \`$1'
21700 Try \`$0 --help' for more information.";;
21701 --help | --hel | -h )
21702 $as_echo "$ac_cs_usage"; exit ;;
21703 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21704 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21705 ac_cs_silent=: ;;
21707 # This is an error.
21708 -*) as_fn_error $? "unrecognized option: \`$1'
21709 Try \`$0 --help' for more information." ;;
21711 *) as_fn_append ac_config_targets " $1"
21712 ac_need_defaults=false ;;
21714 esac
21715 shift
21716 done
21718 ac_configure_extra_args=
21720 if $ac_cs_silent; then
21721 exec 6>/dev/null
21722 ac_configure_extra_args="$ac_configure_extra_args --silent"
21725 _ACEOF
21726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21727 if \$ac_cs_recheck; then
21728 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21729 shift
21730 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21731 CONFIG_SHELL='$SHELL'
21732 export CONFIG_SHELL
21733 exec "\$@"
21736 _ACEOF
21737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21738 exec 5>>config.log
21740 echo
21741 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21742 ## Running $as_me. ##
21743 _ASBOX
21744 $as_echo "$ac_log"
21745 } >&5
21747 _ACEOF
21748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21750 # INIT-COMMANDS
21752 wine_fn_output_makedep ()
21754 as_dir=tools; as_fn_mkdir_p
21755 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21757 wine_fn_output_makefile ()
21759 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21760 `cat $wine_rules_file`
21761 _WINE_EOF
21762 as_fn_error $? "could not create Makefile" "$LINENO" 5
21765 _ACEOF
21767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21769 # Handling of arguments.
21770 for ac_config_target in $ac_config_targets
21772 case $ac_config_target in
21773 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21774 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21775 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21776 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21777 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21778 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21779 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21780 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21781 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21782 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21783 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21784 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21785 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21787 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21788 esac
21789 done
21792 # If the user did not use the arguments to specify the items to instantiate,
21793 # then the envvar interface is used. Set only those that are not.
21794 # We use the long form for the default assignment because of an extremely
21795 # bizarre bug on SunOS 4.1.3.
21796 if $ac_need_defaults; then
21797 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21798 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21799 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21800 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21803 # Have a temporary directory for convenience. Make it in the build tree
21804 # simply because there is no reason against having it here, and in addition,
21805 # creating and moving files from /tmp can sometimes cause problems.
21806 # Hook for its removal unless debugging.
21807 # Note that there is a small window in which the directory will not be cleaned:
21808 # after its creation but before its name has been assigned to `$tmp'.
21809 $debug ||
21811 tmp= ac_tmp=
21812 trap 'exit_status=$?
21813 : "${ac_tmp:=$tmp}"
21814 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21816 trap 'as_fn_exit 1' 1 2 13 15
21818 # Create a (secure) tmp directory for tmp files.
21821 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21822 test -d "$tmp"
21823 } ||
21825 tmp=./conf$$-$RANDOM
21826 (umask 077 && mkdir "$tmp")
21827 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21828 ac_tmp=$tmp
21830 # Set up the scripts for CONFIG_FILES section.
21831 # No need to generate them if there are no CONFIG_FILES.
21832 # This happens for instance with `./config.status config.h'.
21833 if test -n "$CONFIG_FILES"; then
21836 ac_cr=`echo X | tr X '\015'`
21837 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21838 # But we know of no other shell where ac_cr would be empty at this
21839 # point, so we can use a bashism as a fallback.
21840 if test "x$ac_cr" = x; then
21841 eval ac_cr=\$\'\\r\'
21843 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21844 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21845 ac_cs_awk_cr='\\r'
21846 else
21847 ac_cs_awk_cr=$ac_cr
21850 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21851 _ACEOF
21855 echo "cat >conf$$subs.awk <<_ACEOF" &&
21856 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21857 echo "_ACEOF"
21858 } >conf$$subs.sh ||
21859 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21860 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21861 ac_delim='%!_!# '
21862 for ac_last_try in false false false false false :; do
21863 . ./conf$$subs.sh ||
21864 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21866 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21867 if test $ac_delim_n = $ac_delim_num; then
21868 break
21869 elif $ac_last_try; then
21870 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21871 else
21872 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21874 done
21875 rm -f conf$$subs.sh
21877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21878 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21879 _ACEOF
21880 sed -n '
21882 s/^/S["/; s/!.*/"]=/
21885 s/^[^!]*!//
21886 :repl
21887 t repl
21888 s/'"$ac_delim"'$//
21889 t delim
21892 s/\(.\{148\}\)..*/\1/
21893 t more1
21894 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21897 b repl
21898 :more1
21899 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21902 s/.\{148\}//
21903 t nl
21904 :delim
21906 s/\(.\{148\}\)..*/\1/
21907 t more2
21908 s/["\\]/\\&/g; s/^/"/; s/$/"/
21911 :more2
21912 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21915 s/.\{148\}//
21916 t delim
21917 ' <conf$$subs.awk | sed '
21918 /^[^""]/{
21920 s/\n//
21922 ' >>$CONFIG_STATUS || ac_write_fail=1
21923 rm -f conf$$subs.awk
21924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21925 _ACAWK
21926 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21927 for (key in S) S_is_set[key] = 1
21928 FS = "\a"
21932 line = $ 0
21933 nfields = split(line, field, "@")
21934 substed = 0
21935 len = length(field[1])
21936 for (i = 2; i < nfields; i++) {
21937 key = field[i]
21938 keylen = length(key)
21939 if (S_is_set[key]) {
21940 value = S[key]
21941 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21942 len += length(value) + length(field[++i])
21943 substed = 1
21944 } else
21945 len += 1 + keylen
21948 print line
21951 _ACAWK
21952 _ACEOF
21953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21954 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21955 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21956 else
21958 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21959 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21960 _ACEOF
21962 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21963 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21964 # trailing colons and then remove the whole line if VPATH becomes empty
21965 # (actually we leave an empty line to preserve line numbers).
21966 if test "x$srcdir" = x.; then
21967 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21969 s///
21970 s/^/:/
21971 s/[ ]*$/:/
21972 s/:\$(srcdir):/:/g
21973 s/:\${srcdir}:/:/g
21974 s/:@srcdir@:/:/g
21975 s/^:*//
21976 s/:*$//
21978 s/\(=[ ]*\).*/\1/
21980 s/\n//
21981 s/^[^=]*=[ ]*$//
21985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21986 fi # test -n "$CONFIG_FILES"
21988 # Set up the scripts for CONFIG_HEADERS section.
21989 # No need to generate them if there are no CONFIG_HEADERS.
21990 # This happens for instance with `./config.status Makefile'.
21991 if test -n "$CONFIG_HEADERS"; then
21992 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21993 BEGIN {
21994 _ACEOF
21996 # Transform confdefs.h into an awk script `defines.awk', embedded as
21997 # here-document in config.status, that substitutes the proper values into
21998 # config.h.in to produce config.h.
22000 # Create a delimiter string that does not exist in confdefs.h, to ease
22001 # handling of long lines.
22002 ac_delim='%!_!# '
22003 for ac_last_try in false false :; do
22004 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22005 if test -z "$ac_tt"; then
22006 break
22007 elif $ac_last_try; then
22008 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22009 else
22010 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22012 done
22014 # For the awk script, D is an array of macro values keyed by name,
22015 # likewise P contains macro parameters if any. Preserve backslash
22016 # newline sequences.
22018 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22019 sed -n '
22020 s/.\{148\}/&'"$ac_delim"'/g
22021 t rset
22022 :rset
22023 s/^[ ]*#[ ]*define[ ][ ]*/ /
22024 t def
22026 :def
22027 s/\\$//
22028 t bsnl
22029 s/["\\]/\\&/g
22030 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22031 D["\1"]=" \3"/p
22032 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22034 :bsnl
22035 s/["\\]/\\&/g
22036 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22037 D["\1"]=" \3\\\\\\n"\\/p
22038 t cont
22039 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22040 t cont
22042 :cont
22044 s/.\{148\}/&'"$ac_delim"'/g
22045 t clear
22046 :clear
22047 s/\\$//
22048 t bsnlc
22049 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22051 :bsnlc
22052 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22053 b cont
22054 ' <confdefs.h | sed '
22055 s/'"$ac_delim"'/"\\\
22056 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22059 for (key in D) D_is_set[key] = 1
22060 FS = "\a"
22062 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22063 line = \$ 0
22064 split(line, arg, " ")
22065 if (arg[1] == "#") {
22066 defundef = arg[2]
22067 mac1 = arg[3]
22068 } else {
22069 defundef = substr(arg[1], 2)
22070 mac1 = arg[2]
22072 split(mac1, mac2, "(") #)
22073 macro = mac2[1]
22074 prefix = substr(line, 1, index(line, defundef) - 1)
22075 if (D_is_set[macro]) {
22076 # Preserve the white space surrounding the "#".
22077 print prefix "define", macro P[macro] D[macro]
22078 next
22079 } else {
22080 # Replace #undef with comments. This is necessary, for example,
22081 # in the case of _POSIX_SOURCE, which is predefined and required
22082 # on some systems where configure will not decide to define it.
22083 if (defundef == "undef") {
22084 print "/*", prefix defundef, macro, "*/"
22085 next
22089 { print }
22090 _ACAWK
22091 _ACEOF
22092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22093 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22094 fi # test -n "$CONFIG_HEADERS"
22097 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22098 shift
22099 for ac_tag
22101 case $ac_tag in
22102 :[FHLC]) ac_mode=$ac_tag; continue;;
22103 esac
22104 case $ac_mode$ac_tag in
22105 :[FHL]*:*);;
22106 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22107 :[FH]-) ac_tag=-:-;;
22108 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22109 esac
22110 ac_save_IFS=$IFS
22111 IFS=:
22112 set x $ac_tag
22113 IFS=$ac_save_IFS
22114 shift
22115 ac_file=$1
22116 shift
22118 case $ac_mode in
22119 :L) ac_source=$1;;
22120 :[FH])
22121 ac_file_inputs=
22122 for ac_f
22124 case $ac_f in
22125 -) ac_f="$ac_tmp/stdin";;
22126 *) # Look for the file first in the build tree, then in the source tree
22127 # (if the path is not absolute). The absolute path cannot be DOS-style,
22128 # because $ac_f cannot contain `:'.
22129 test -f "$ac_f" ||
22130 case $ac_f in
22131 [\\/$]*) false;;
22132 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22133 esac ||
22134 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22135 esac
22136 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22137 as_fn_append ac_file_inputs " '$ac_f'"
22138 done
22140 # Let's still pretend it is `configure' which instantiates (i.e., don't
22141 # use $as_me), people would be surprised to read:
22142 # /* config.h. Generated by config.status. */
22143 configure_input='Generated from '`
22144 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22145 `' by configure.'
22146 if test x"$ac_file" != x-; then
22147 configure_input="$ac_file. $configure_input"
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22149 $as_echo "$as_me: creating $ac_file" >&6;}
22151 # Neutralize special characters interpreted by sed in replacement strings.
22152 case $configure_input in #(
22153 *\&* | *\|* | *\\* )
22154 ac_sed_conf_input=`$as_echo "$configure_input" |
22155 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22156 *) ac_sed_conf_input=$configure_input;;
22157 esac
22159 case $ac_tag in
22160 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22161 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22162 esac
22164 esac
22166 ac_dir=`$as_dirname -- "$ac_file" ||
22167 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22168 X"$ac_file" : 'X\(//\)[^/]' \| \
22169 X"$ac_file" : 'X\(//\)$' \| \
22170 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22171 $as_echo X"$ac_file" |
22172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22173 s//\1/
22176 /^X\(\/\/\)[^/].*/{
22177 s//\1/
22180 /^X\(\/\/\)$/{
22181 s//\1/
22184 /^X\(\/\).*/{
22185 s//\1/
22188 s/.*/./; q'`
22189 as_dir="$ac_dir"; as_fn_mkdir_p
22190 ac_builddir=.
22192 case "$ac_dir" in
22193 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22195 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22196 # A ".." for each directory in $ac_dir_suffix.
22197 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22198 case $ac_top_builddir_sub in
22199 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22200 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22201 esac ;;
22202 esac
22203 ac_abs_top_builddir=$ac_pwd
22204 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22205 # for backward compatibility:
22206 ac_top_builddir=$ac_top_build_prefix
22208 case $srcdir in
22209 .) # We are building in place.
22210 ac_srcdir=.
22211 ac_top_srcdir=$ac_top_builddir_sub
22212 ac_abs_top_srcdir=$ac_pwd ;;
22213 [\\/]* | ?:[\\/]* ) # Absolute name.
22214 ac_srcdir=$srcdir$ac_dir_suffix;
22215 ac_top_srcdir=$srcdir
22216 ac_abs_top_srcdir=$srcdir ;;
22217 *) # Relative name.
22218 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22219 ac_top_srcdir=$ac_top_build_prefix$srcdir
22220 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22221 esac
22222 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22225 case $ac_mode in
22228 # CONFIG_FILE
22231 _ACEOF
22233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22234 # If the template does not know about datarootdir, expand it.
22235 # FIXME: This hack should be removed a few years after 2.60.
22236 ac_datarootdir_hack=; ac_datarootdir_seen=
22237 ac_sed_dataroot='
22238 /datarootdir/ {
22242 /@datadir@/p
22243 /@docdir@/p
22244 /@infodir@/p
22245 /@localedir@/p
22246 /@mandir@/p'
22247 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22248 *datarootdir*) ac_datarootdir_seen=yes;;
22249 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22251 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22252 _ACEOF
22253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22254 ac_datarootdir_hack='
22255 s&@datadir@&$datadir&g
22256 s&@docdir@&$docdir&g
22257 s&@infodir@&$infodir&g
22258 s&@localedir@&$localedir&g
22259 s&@mandir@&$mandir&g
22260 s&\\\${datarootdir}&$datarootdir&g' ;;
22261 esac
22262 _ACEOF
22264 # Neutralize VPATH when `$srcdir' = `.'.
22265 # Shell code in configure.ac might set extrasub.
22266 # FIXME: do we really want to maintain this feature?
22267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22268 ac_sed_extra="$ac_vpsub
22269 $extrasub
22270 _ACEOF
22271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22273 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22274 s|@configure_input@|$ac_sed_conf_input|;t t
22275 s&@top_builddir@&$ac_top_builddir_sub&;t t
22276 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22277 s&@srcdir@&$ac_srcdir&;t t
22278 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22279 s&@top_srcdir@&$ac_top_srcdir&;t t
22280 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22281 s&@builddir@&$ac_builddir&;t t
22282 s&@abs_builddir@&$ac_abs_builddir&;t t
22283 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22284 $ac_datarootdir_hack
22286 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22287 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22289 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22290 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22291 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22292 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22294 which seems to be undefined. Please make sure it is defined" >&5
22295 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22296 which seems to be undefined. Please make sure it is defined" >&2;}
22298 rm -f "$ac_tmp/stdin"
22299 case $ac_file in
22300 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22301 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22302 esac \
22303 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22307 # CONFIG_HEADER
22309 if test x"$ac_file" != x-; then
22311 $as_echo "/* $configure_input */" \
22312 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22313 } >"$ac_tmp/config.h" \
22314 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22315 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22317 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22318 else
22319 rm -f "$ac_file"
22320 mv "$ac_tmp/config.h" "$ac_file" \
22321 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22323 else
22324 $as_echo "/* $configure_input */" \
22325 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22326 || as_fn_error $? "could not create -" "$LINENO" 5
22331 # CONFIG_LINK
22334 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22336 else
22337 # Prefer the file from the source tree if names are identical.
22338 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22339 ac_source=$srcdir/$ac_source
22342 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22343 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22345 if test ! -r "$ac_source"; then
22346 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22348 rm -f "$ac_file"
22350 # Try a relative symlink, then a hard link, then a copy.
22351 case $ac_source in
22352 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22353 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22354 esac
22355 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22356 ln "$ac_source" "$ac_file" 2>/dev/null ||
22357 cp -p "$ac_source" "$ac_file" ||
22358 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22361 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22362 $as_echo "$as_me: executing $ac_file commands" >&6;}
22364 esac
22367 case $ac_file$ac_mode in
22368 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22369 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22370 "Makefile":C) wine_fn_output_makefile Makefile ;;
22372 esac
22373 done # for ac_tag
22376 as_fn_exit 0
22377 _ACEOF
22378 ac_clean_files=$ac_clean_files_save
22380 test $ac_write_fail = 0 ||
22381 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22384 # configure is writing to config.log, and then calls config.status.
22385 # config.status does its own redirection, appending to config.log.
22386 # Unfortunately, on DOS this fails, as config.log is still kept open
22387 # by configure, so config.status won't be able to write to it; its
22388 # output is simply discarded. So we exec the FD to /dev/null,
22389 # effectively closing config.log, so it can be properly (re)opened and
22390 # appended to by config.status. When coming back to configure, we
22391 # need to make the FD available again.
22392 if test "$no_create" != yes; then
22393 ac_cs_success=:
22394 ac_config_status_args=
22395 test "$silent" = yes &&
22396 ac_config_status_args="$ac_config_status_args --quiet"
22397 exec 5>/dev/null
22398 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22399 exec 5>>config.log
22400 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22401 # would make configure fail if this is the last instruction.
22402 $ac_cs_success || as_fn_exit 1
22404 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22406 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22410 if test "$no_create" = "yes"
22411 then
22412 exit 0
22415 ac_save_IFS="$IFS"
22416 if test "x$wine_notices" != x; then
22417 echo >&6
22418 IFS="|"
22419 for msg in $wine_notices; do
22420 IFS="$ac_save_IFS"
22421 if ${msg:+false} :; then :
22423 else
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22425 $as_echo "$as_me: $msg" >&6;}
22427 done
22429 IFS="|"
22430 for msg in $wine_warnings; do
22431 IFS="$ac_save_IFS"
22432 if ${msg:+false} :; then :
22434 else
22435 echo >&2
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22437 $as_echo "$as_me: WARNING: $msg" >&2;}
22439 done
22440 IFS="$ac_save_IFS"
22442 $as_echo "
22443 $as_me: Finished. Do '${ac_make}' to compile Wine.
22444 " >&6