wined3d: Don't use strcasecmp.
[wine.git] / configure
blobc7ce13c1be677c91fab98f8e53923049034f6491
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.5.
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.5'
584 PACKAGE_STRING='Wine 4.5'
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 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 VKD3D_LIBS
639 VKD3D_CFLAGS
640 NETAPI_LIBS
641 NETAPI_CFLAGS
642 PROCSTAT_LIBS
643 KSTAT_LIBS
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 Z_LIBS
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 XSLT_LIBS
694 XSLT_CFLAGS
695 XML2_LIBS
696 XML2_CFLAGS
697 PCAP_LIBS
698 X_EXTRA_LIBS
699 X_LIBS
700 X_PRE_LIBS
701 X_CFLAGS
702 XMKMF
703 PTHREAD_LIBS
704 CROSSCFLAGS
705 CROSSCC
706 CROSSTARGET
707 LIBWINE_DEPENDS
708 PRELINK
709 WINELOADER_DEPENDS
710 LIBWINE_LDFLAGS
711 LIBWINE_SHAREDLIB
712 METAL_LIBS
713 CARBON_LIBS
714 QUICKTIME_LIBS
715 OPENCL_LIBS
716 OPENAL_LIBS
717 COREAUDIO_LIBS
718 SECURITY_LIBS
719 DISKARBITRATION_LIBS
720 APPKIT_LIBS
721 CORESERVICES_LIBS
722 APPLICATIONSERVICES_LIBS
723 FORCEFEEDBACK_LIBS
724 IOKIT_LIBS
725 COREFOUNDATION_LIBS
726 OBJCPP
727 ac_ct_OBJC
728 OBJCFLAGS
729 OBJC
730 DLLTOOL
731 WINELOADER_PROGRAMS
732 CONFIGURE_TARGETS
733 DISABLED_SUBDIRS
734 SUBDIRS
735 READELF
736 OTOOL
738 WINEPRELOADER_LDFLAGS
739 WINELOADER_LDFLAGS
740 TOP_INSTALL_DEV
741 TOP_INSTALL_LIB
742 LDEXECFLAGS
743 LDRPATH_LOCAL
744 LDRPATH_INSTALL
745 DLLFLAGS
747 OPENGL_LIBS
748 ICOTOOL
749 CONVERT
750 RSVG
751 FONTFORGE
752 PKG_CONFIG
753 MSGFMT
754 LDCONFIG
755 EGREP
756 GREP
757 LN_S
758 RANLIB
759 STRIP
760 ac_ct_AR
762 BISON
763 FLEX
764 TOOLSDIR
765 TARGETFLAGS
767 CPPBIN
768 ac_ct_CXX
769 CXXFLAGS
771 OBJEXT
772 EXEEXT
773 ac_ct_CC
774 CPPFLAGS
775 LDFLAGS
776 CFLAGS
778 SET_MAKE
779 host_os
780 host_vendor
781 host_cpu
782 host
783 build_os
784 build_vendor
785 build_cpu
786 build
787 target_alias
788 host_alias
789 build_alias
790 LIBS
791 ECHO_T
792 ECHO_N
793 ECHO_C
794 DEFS
795 mandir
796 localedir
797 libdir
798 psdir
799 pdfdir
800 dvidir
801 htmldir
802 infodir
803 docdir
804 oldincludedir
805 includedir
806 runstatedir
807 localstatedir
808 sharedstatedir
809 sysconfdir
810 datadir
811 datarootdir
812 libexecdir
813 sbindir
814 bindir
815 program_transform_name
816 prefix
817 exec_prefix
818 PACKAGE_URL
819 PACKAGE_BUGREPORT
820 PACKAGE_STRING
821 PACKAGE_VERSION
822 PACKAGE_TARNAME
823 PACKAGE_NAME
824 PATH_SEPARATOR
825 SHELL'
826 ac_subst_files=''
827 ac_user_opts='
828 enable_option_checking
829 enable_win16
830 enable_win64
831 enable_tests
832 enable_maintainer_mode
833 with_alsa
834 with_capi
835 with_cms
836 with_coreaudio
837 with_cups
838 with_curses
839 with_dbus
840 with_faudio
841 with_float_abi
842 with_fontconfig
843 with_freetype
844 with_gettext
845 with_gettextpo
846 with_gphoto
847 with_glu
848 with_gnutls
849 with_gsm
850 with_gssapi
851 with_gstreamer
852 with_hal
853 with_jpeg
854 with_krb5
855 with_ldap
856 with_mingw
857 with_mpg123
858 with_netapi
859 with_openal
860 with_opencl
861 with_opengl
862 with_osmesa
863 with_oss
864 with_pcap
865 with_png
866 with_pthread
867 with_pulse
868 with_sane
869 with_sdl
870 with_tiff
871 with_udev
872 with_v4l
873 with_vkd3d
874 with_vulkan
875 with_xcomposite
876 with_xcursor
877 with_xfixes
878 with_xinerama
879 with_xinput
880 with_xinput2
881 with_xml
882 with_xrandr
883 with_xrender
884 with_xshape
885 with_xshm
886 with_xslt
887 with_xxf86vm
888 with_zlib
889 with_wine_tools
890 with_wine64
891 enable_largefile
892 with_x
893 enable_acledit
894 enable_aclui
895 enable_activeds
896 enable_actxprxy
897 enable_adsiid
898 enable_adsldp
899 enable_adsldpc
900 enable_advapi32
901 enable_advpack
902 enable_amsi
903 enable_amstream
904 enable_api_ms_win_appmodel_identity_l1_1_0
905 enable_api_ms_win_appmodel_runtime_l1_1_1
906 enable_api_ms_win_appmodel_runtime_l1_1_2
907 enable_api_ms_win_core_apiquery_l1_1_0
908 enable_api_ms_win_core_appcompat_l1_1_1
909 enable_api_ms_win_core_appinit_l1_1_0
910 enable_api_ms_win_core_atoms_l1_1_0
911 enable_api_ms_win_core_bem_l1_1_0
912 enable_api_ms_win_core_com_l1_1_0
913 enable_api_ms_win_core_com_l1_1_1
914 enable_api_ms_win_core_com_private_l1_1_0
915 enable_api_ms_win_core_comm_l1_1_0
916 enable_api_ms_win_core_console_l1_1_0
917 enable_api_ms_win_core_console_l2_1_0
918 enable_api_ms_win_core_crt_l1_1_0
919 enable_api_ms_win_core_crt_l2_1_0
920 enable_api_ms_win_core_datetime_l1_1_0
921 enable_api_ms_win_core_datetime_l1_1_1
922 enable_api_ms_win_core_debug_l1_1_0
923 enable_api_ms_win_core_debug_l1_1_1
924 enable_api_ms_win_core_delayload_l1_1_0
925 enable_api_ms_win_core_delayload_l1_1_1
926 enable_api_ms_win_core_errorhandling_l1_1_0
927 enable_api_ms_win_core_errorhandling_l1_1_1
928 enable_api_ms_win_core_errorhandling_l1_1_2
929 enable_api_ms_win_core_errorhandling_l1_1_3
930 enable_api_ms_win_core_fibers_l1_1_0
931 enable_api_ms_win_core_fibers_l1_1_1
932 enable_api_ms_win_core_file_l1_1_0
933 enable_api_ms_win_core_file_l1_2_0
934 enable_api_ms_win_core_file_l1_2_1
935 enable_api_ms_win_core_file_l1_2_2
936 enable_api_ms_win_core_file_l2_1_0
937 enable_api_ms_win_core_file_l2_1_1
938 enable_api_ms_win_core_file_l2_1_2
939 enable_api_ms_win_core_handle_l1_1_0
940 enable_api_ms_win_core_heap_l1_1_0
941 enable_api_ms_win_core_heap_l1_2_0
942 enable_api_ms_win_core_heap_l2_1_0
943 enable_api_ms_win_core_heap_obsolete_l1_1_0
944 enable_api_ms_win_core_interlocked_l1_1_0
945 enable_api_ms_win_core_interlocked_l1_2_0
946 enable_api_ms_win_core_io_l1_1_0
947 enable_api_ms_win_core_io_l1_1_1
948 enable_api_ms_win_core_job_l1_1_0
949 enable_api_ms_win_core_job_l2_1_0
950 enable_api_ms_win_core_kernel32_legacy_l1_1_0
951 enable_api_ms_win_core_kernel32_legacy_l1_1_1
952 enable_api_ms_win_core_kernel32_private_l1_1_1
953 enable_api_ms_win_core_largeinteger_l1_1_0
954 enable_api_ms_win_core_libraryloader_l1_1_0
955 enable_api_ms_win_core_libraryloader_l1_1_1
956 enable_api_ms_win_core_libraryloader_l1_2_0
957 enable_api_ms_win_core_libraryloader_l1_2_1
958 enable_api_ms_win_core_libraryloader_l1_2_2
959 enable_api_ms_win_core_localization_l1_1_0
960 enable_api_ms_win_core_localization_l1_2_0
961 enable_api_ms_win_core_localization_l1_2_1
962 enable_api_ms_win_core_localization_l2_1_0
963 enable_api_ms_win_core_localization_obsolete_l1_1_0
964 enable_api_ms_win_core_localization_obsolete_l1_2_0
965 enable_api_ms_win_core_localization_obsolete_l1_3_0
966 enable_api_ms_win_core_localization_private_l1_1_0
967 enable_api_ms_win_core_localregistry_l1_1_0
968 enable_api_ms_win_core_memory_l1_1_0
969 enable_api_ms_win_core_memory_l1_1_1
970 enable_api_ms_win_core_memory_l1_1_2
971 enable_api_ms_win_core_misc_l1_1_0
972 enable_api_ms_win_core_namedpipe_l1_1_0
973 enable_api_ms_win_core_namedpipe_l1_2_0
974 enable_api_ms_win_core_namespace_l1_1_0
975 enable_api_ms_win_core_normalization_l1_1_0
976 enable_api_ms_win_core_path_l1_1_0
977 enable_api_ms_win_core_privateprofile_l1_1_1
978 enable_api_ms_win_core_processenvironment_l1_1_0
979 enable_api_ms_win_core_processenvironment_l1_2_0
980 enable_api_ms_win_core_processthreads_l1_1_0
981 enable_api_ms_win_core_processthreads_l1_1_1
982 enable_api_ms_win_core_processthreads_l1_1_2
983 enable_api_ms_win_core_processthreads_l1_1_3
984 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
985 enable_api_ms_win_core_profile_l1_1_0
986 enable_api_ms_win_core_psapi_ansi_l1_1_0
987 enable_api_ms_win_core_psapi_l1_1_0
988 enable_api_ms_win_core_psapi_obsolete_l1_1_0
989 enable_api_ms_win_core_quirks_l1_1_0
990 enable_api_ms_win_core_realtime_l1_1_0
991 enable_api_ms_win_core_registry_l1_1_0
992 enable_api_ms_win_core_registry_l2_1_0
993 enable_api_ms_win_core_registryuserspecific_l1_1_0
994 enable_api_ms_win_core_rtlsupport_l1_1_0
995 enable_api_ms_win_core_rtlsupport_l1_2_0
996 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
997 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
998 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
999 enable_api_ms_win_core_shutdown_l1_1_0
1000 enable_api_ms_win_core_sidebyside_l1_1_0
1001 enable_api_ms_win_core_string_l1_1_0
1002 enable_api_ms_win_core_string_l2_1_0
1003 enable_api_ms_win_core_string_obsolete_l1_1_0
1004 enable_api_ms_win_core_stringansi_l1_1_0
1005 enable_api_ms_win_core_stringloader_l1_1_1
1006 enable_api_ms_win_core_synch_ansi_l1_1_0
1007 enable_api_ms_win_core_synch_l1_1_0
1008 enable_api_ms_win_core_synch_l1_2_0
1009 enable_api_ms_win_core_synch_l1_2_1
1010 enable_api_ms_win_core_sysinfo_l1_1_0
1011 enable_api_ms_win_core_sysinfo_l1_2_0
1012 enable_api_ms_win_core_sysinfo_l1_2_1
1013 enable_api_ms_win_core_threadpool_l1_1_0
1014 enable_api_ms_win_core_threadpool_l1_2_0
1015 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1016 enable_api_ms_win_core_threadpool_private_l1_1_0
1017 enable_api_ms_win_core_timezone_l1_1_0
1018 enable_api_ms_win_core_toolhelp_l1_1_0
1019 enable_api_ms_win_core_url_l1_1_0
1020 enable_api_ms_win_core_util_l1_1_0
1021 enable_api_ms_win_core_version_l1_1_0
1022 enable_api_ms_win_core_version_l1_1_1
1023 enable_api_ms_win_core_version_private_l1_1_0
1024 enable_api_ms_win_core_versionansi_l1_1_0
1025 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1026 enable_api_ms_win_core_winrt_error_l1_1_0
1027 enable_api_ms_win_core_winrt_error_l1_1_1
1028 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1029 enable_api_ms_win_core_winrt_l1_1_0
1030 enable_api_ms_win_core_winrt_registration_l1_1_0
1031 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1032 enable_api_ms_win_core_winrt_string_l1_1_0
1033 enable_api_ms_win_core_winrt_string_l1_1_1
1034 enable_api_ms_win_core_wow64_l1_1_0
1035 enable_api_ms_win_core_wow64_l1_1_1
1036 enable_api_ms_win_core_xstate_l1_1_0
1037 enable_api_ms_win_core_xstate_l2_1_0
1038 enable_api_ms_win_crt_conio_l1_1_0
1039 enable_api_ms_win_crt_convert_l1_1_0
1040 enable_api_ms_win_crt_environment_l1_1_0
1041 enable_api_ms_win_crt_filesystem_l1_1_0
1042 enable_api_ms_win_crt_heap_l1_1_0
1043 enable_api_ms_win_crt_locale_l1_1_0
1044 enable_api_ms_win_crt_math_l1_1_0
1045 enable_api_ms_win_crt_multibyte_l1_1_0
1046 enable_api_ms_win_crt_private_l1_1_0
1047 enable_api_ms_win_crt_process_l1_1_0
1048 enable_api_ms_win_crt_runtime_l1_1_0
1049 enable_api_ms_win_crt_stdio_l1_1_0
1050 enable_api_ms_win_crt_string_l1_1_0
1051 enable_api_ms_win_crt_time_l1_1_0
1052 enable_api_ms_win_crt_utility_l1_1_0
1053 enable_api_ms_win_devices_config_l1_1_0
1054 enable_api_ms_win_devices_config_l1_1_1
1055 enable_api_ms_win_devices_query_l1_1_1
1056 enable_api_ms_win_downlevel_advapi32_l1_1_0
1057 enable_api_ms_win_downlevel_advapi32_l2_1_0
1058 enable_api_ms_win_downlevel_normaliz_l1_1_0
1059 enable_api_ms_win_downlevel_ole32_l1_1_0
1060 enable_api_ms_win_downlevel_shell32_l1_1_0
1061 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1062 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1063 enable_api_ms_win_downlevel_user32_l1_1_0
1064 enable_api_ms_win_downlevel_version_l1_1_0
1065 enable_api_ms_win_dx_d3dkmt_l1_1_0
1066 enable_api_ms_win_eventing_classicprovider_l1_1_0
1067 enable_api_ms_win_eventing_consumer_l1_1_0
1068 enable_api_ms_win_eventing_controller_l1_1_0
1069 enable_api_ms_win_eventing_legacy_l1_1_0
1070 enable_api_ms_win_eventing_provider_l1_1_0
1071 enable_api_ms_win_eventlog_legacy_l1_1_0
1072 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1073 enable_api_ms_win_mm_joystick_l1_1_0
1074 enable_api_ms_win_mm_misc_l1_1_1
1075 enable_api_ms_win_mm_mme_l1_1_0
1076 enable_api_ms_win_mm_time_l1_1_0
1077 enable_api_ms_win_ntuser_dc_access_l1_1_0
1078 enable_api_ms_win_ntuser_rectangle_l1_1_0
1079 enable_api_ms_win_ntuser_sysparams_l1_1_0
1080 enable_api_ms_win_perf_legacy_l1_1_0
1081 enable_api_ms_win_power_base_l1_1_0
1082 enable_api_ms_win_power_setting_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1086 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1090 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1091 enable_api_ms_win_security_audit_l1_1_1
1092 enable_api_ms_win_security_base_l1_1_0
1093 enable_api_ms_win_security_base_l1_2_0
1094 enable_api_ms_win_security_base_private_l1_1_1
1095 enable_api_ms_win_security_credentials_l1_1_0
1096 enable_api_ms_win_security_cryptoapi_l1_1_0
1097 enable_api_ms_win_security_grouppolicy_l1_1_0
1098 enable_api_ms_win_security_lsalookup_l1_1_0
1099 enable_api_ms_win_security_lsalookup_l1_1_1
1100 enable_api_ms_win_security_lsalookup_l2_1_0
1101 enable_api_ms_win_security_lsalookup_l2_1_1
1102 enable_api_ms_win_security_lsapolicy_l1_1_0
1103 enable_api_ms_win_security_provider_l1_1_0
1104 enable_api_ms_win_security_sddl_l1_1_0
1105 enable_api_ms_win_security_systemfunctions_l1_1_0
1106 enable_api_ms_win_service_core_l1_1_0
1107 enable_api_ms_win_service_core_l1_1_1
1108 enable_api_ms_win_service_management_l1_1_0
1109 enable_api_ms_win_service_management_l2_1_0
1110 enable_api_ms_win_service_private_l1_1_1
1111 enable_api_ms_win_service_winsvc_l1_1_0
1112 enable_api_ms_win_service_winsvc_l1_2_0
1113 enable_api_ms_win_shcore_obsolete_l1_1_0
1114 enable_api_ms_win_shcore_scaling_l1_1_1
1115 enable_api_ms_win_shcore_stream_l1_1_0
1116 enable_api_ms_win_shcore_thread_l1_1_0
1117 enable_api_ms_win_shell_shellcom_l1_1_0
1118 enable_api_ms_win_shell_shellfolders_l1_1_0
1119 enable_apphelp
1120 enable_appwiz_cpl
1121 enable_atl
1122 enable_atl100
1123 enable_atl110
1124 enable_atl80
1125 enable_atl90
1126 enable_atlthunk
1127 enable_atmlib
1128 enable_authz
1129 enable_avicap32
1130 enable_avifil32
1131 enable_avrt
1132 enable_bcrypt
1133 enable_bluetoothapis
1134 enable_browseui
1135 enable_bthprops_cpl
1136 enable_cabinet
1137 enable_capi2032
1138 enable_cards
1139 enable_cdosys
1140 enable_cfgmgr32
1141 enable_clusapi
1142 enable_combase
1143 enable_comcat
1144 enable_comctl32
1145 enable_comdlg32
1146 enable_compstui
1147 enable_comsvcs
1148 enable_concrt140
1149 enable_connect
1150 enable_credui
1151 enable_crtdll
1152 enable_crypt32
1153 enable_cryptdlg
1154 enable_cryptdll
1155 enable_cryptext
1156 enable_cryptnet
1157 enable_cryptui
1158 enable_ctapi32
1159 enable_ctl3d32
1160 enable_d2d1
1161 enable_d3d10
1162 enable_d3d10_1
1163 enable_d3d10core
1164 enable_d3d11
1165 enable_d3d12
1166 enable_d3d8
1167 enable_d3d9
1168 enable_d3dcompiler_33
1169 enable_d3dcompiler_34
1170 enable_d3dcompiler_35
1171 enable_d3dcompiler_36
1172 enable_d3dcompiler_37
1173 enable_d3dcompiler_38
1174 enable_d3dcompiler_39
1175 enable_d3dcompiler_40
1176 enable_d3dcompiler_41
1177 enable_d3dcompiler_42
1178 enable_d3dcompiler_43
1179 enable_d3dcompiler_46
1180 enable_d3dcompiler_47
1181 enable_d3dim
1182 enable_d3drm
1183 enable_d3dx10_33
1184 enable_d3dx10_34
1185 enable_d3dx10_35
1186 enable_d3dx10_36
1187 enable_d3dx10_37
1188 enable_d3dx10_38
1189 enable_d3dx10_39
1190 enable_d3dx10_40
1191 enable_d3dx10_41
1192 enable_d3dx10_42
1193 enable_d3dx10_43
1194 enable_d3dx11_42
1195 enable_d3dx11_43
1196 enable_d3dx9_24
1197 enable_d3dx9_25
1198 enable_d3dx9_26
1199 enable_d3dx9_27
1200 enable_d3dx9_28
1201 enable_d3dx9_29
1202 enable_d3dx9_30
1203 enable_d3dx9_31
1204 enable_d3dx9_32
1205 enable_d3dx9_33
1206 enable_d3dx9_34
1207 enable_d3dx9_35
1208 enable_d3dx9_36
1209 enable_d3dx9_37
1210 enable_d3dx9_38
1211 enable_d3dx9_39
1212 enable_d3dx9_40
1213 enable_d3dx9_41
1214 enable_d3dx9_42
1215 enable_d3dx9_43
1216 enable_d3dxof
1217 enable_davclnt
1218 enable_dbgeng
1219 enable_dbghelp
1220 enable_dciman32
1221 enable_ddraw
1222 enable_ddrawex
1223 enable_devenum
1224 enable_dhcpcsvc
1225 enable_dhtmled_ocx
1226 enable_difxapi
1227 enable_dinput
1228 enable_dinput8
1229 enable_dispex
1230 enable_dmband
1231 enable_dmcompos
1232 enable_dmime
1233 enable_dmloader
1234 enable_dmoguids
1235 enable_dmscript
1236 enable_dmstyle
1237 enable_dmsynth
1238 enable_dmusic
1239 enable_dmusic32
1240 enable_dnsapi
1241 enable_dplay
1242 enable_dplayx
1243 enable_dpnaddr
1244 enable_dpnet
1245 enable_dpnhpast
1246 enable_dpnlobby
1247 enable_dpvoice
1248 enable_dpwsockx
1249 enable_drmclien
1250 enable_dsound
1251 enable_dsquery
1252 enable_dssenh
1253 enable_dswave
1254 enable_dwmapi
1255 enable_dwrite
1256 enable_dx8vb
1257 enable_dxdiagn
1258 enable_dxerr8
1259 enable_dxerr9
1260 enable_dxgi
1261 enable_dxguid
1262 enable_dxva2
1263 enable_esent
1264 enable_evr
1265 enable_explorerframe
1266 enable_ext_ms_win_authz_context_l1_1_0
1267 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1268 enable_ext_ms_win_dwmapi_ext_l1_1_0
1269 enable_ext_ms_win_gdi_dc_create_l1_1_0
1270 enable_ext_ms_win_gdi_dc_create_l1_1_1
1271 enable_ext_ms_win_gdi_dc_l1_2_0
1272 enable_ext_ms_win_gdi_devcaps_l1_1_0
1273 enable_ext_ms_win_gdi_draw_l1_1_0
1274 enable_ext_ms_win_gdi_draw_l1_1_1
1275 enable_ext_ms_win_gdi_font_l1_1_0
1276 enable_ext_ms_win_gdi_font_l1_1_1
1277 enable_ext_ms_win_gdi_render_l1_1_0
1278 enable_ext_ms_win_kernel32_package_current_l1_1_0
1279 enable_ext_ms_win_kernel32_package_l1_1_1
1280 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1281 enable_ext_ms_win_ntuser_draw_l1_1_0
1282 enable_ext_ms_win_ntuser_gui_l1_1_0
1283 enable_ext_ms_win_ntuser_gui_l1_3_0
1284 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1285 enable_ext_ms_win_ntuser_message_l1_1_0
1286 enable_ext_ms_win_ntuser_message_l1_1_1
1287 enable_ext_ms_win_ntuser_misc_l1_1_0
1288 enable_ext_ms_win_ntuser_misc_l1_2_0
1289 enable_ext_ms_win_ntuser_misc_l1_5_1
1290 enable_ext_ms_win_ntuser_mouse_l1_1_0
1291 enable_ext_ms_win_ntuser_private_l1_1_1
1292 enable_ext_ms_win_ntuser_private_l1_3_1
1293 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1294 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1295 enable_ext_ms_win_ntuser_window_l1_1_0
1296 enable_ext_ms_win_ntuser_window_l1_1_1
1297 enable_ext_ms_win_ntuser_window_l1_1_4
1298 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1299 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1300 enable_ext_ms_win_oleacc_l1_1_0
1301 enable_ext_ms_win_ras_rasapi32_l1_1_0
1302 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1303 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1304 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1305 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1306 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1307 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1308 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1309 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1312 enable_ext_ms_win_security_credui_l1_1_0
1313 enable_ext_ms_win_security_cryptui_l1_1_0
1314 enable_ext_ms_win_uxtheme_themes_l1_1_0
1315 enable_faultrep
1316 enable_feclient
1317 enable_fltlib
1318 enable_fltmgr_sys
1319 enable_fntcache
1320 enable_fontsub
1321 enable_fusion
1322 enable_fwpuclnt
1323 enable_gameux
1324 enable_gdi32
1325 enable_gdiplus
1326 enable_glu32
1327 enable_gphoto2_ds
1328 enable_gpkcsp
1329 enable_hal
1330 enable_hhctrl_ocx
1331 enable_hid
1332 enable_hidclass_sys
1333 enable_hlink
1334 enable_hnetcfg
1335 enable_httpapi
1336 enable_iccvid
1337 enable_icmp
1338 enable_ieframe
1339 enable_ieproxy
1340 enable_imaadp32_acm
1341 enable_imagehlp
1342 enable_imm32
1343 enable_inetcomm
1344 enable_inetcpl_cpl
1345 enable_inetmib1
1346 enable_infosoft
1347 enable_initpki
1348 enable_inkobj
1349 enable_inseng
1350 enable_iphlpapi
1351 enable_iprop
1352 enable_irprops_cpl
1353 enable_itircl
1354 enable_itss
1355 enable_joy_cpl
1356 enable_jscript
1357 enable_jsproxy
1358 enable_kerberos
1359 enable_kernel32
1360 enable_kernelbase
1361 enable_ksuser
1362 enable_ktmw32
1363 enable_l3codeca_acm
1364 enable_loadperf
1365 enable_localspl
1366 enable_localui
1367 enable_lz32
1368 enable_mapi32
1369 enable_mapistub
1370 enable_mciavi32
1371 enable_mcicda
1372 enable_mciqtz32
1373 enable_mciseq
1374 enable_mciwave
1375 enable_mf
1376 enable_mf3216
1377 enable_mferror
1378 enable_mfplat
1379 enable_mfplay
1380 enable_mfreadwrite
1381 enable_mfuuid
1382 enable_mgmtapi
1383 enable_midimap
1384 enable_mlang
1385 enable_mmcndmgr
1386 enable_mmdevapi
1387 enable_mountmgr_sys
1388 enable_mp3dmod
1389 enable_mpr
1390 enable_mprapi
1391 enable_msacm32_drv
1392 enable_msacm32
1393 enable_msadp32_acm
1394 enable_msasn1
1395 enable_mscat32
1396 enable_mscms
1397 enable_mscoree
1398 enable_msctf
1399 enable_msctfp
1400 enable_msdaps
1401 enable_msdelta
1402 enable_msdmo
1403 enable_msdrm
1404 enable_msftedit
1405 enable_msg711_acm
1406 enable_msgsm32_acm
1407 enable_mshtml_tlb
1408 enable_mshtml
1409 enable_msi
1410 enable_msident
1411 enable_msimg32
1412 enable_msimsg
1413 enable_msimtf
1414 enable_msisip
1415 enable_msisys_ocx
1416 enable_msls31
1417 enable_msnet32
1418 enable_mspatcha
1419 enable_msports
1420 enable_msrle32
1421 enable_msscript_ocx
1422 enable_mssign32
1423 enable_mssip32
1424 enable_mstask
1425 enable_msvcirt
1426 enable_msvcm80
1427 enable_msvcm90
1428 enable_msvcp100
1429 enable_msvcp110
1430 enable_msvcp120
1431 enable_msvcp120_app
1432 enable_msvcp140
1433 enable_msvcp60
1434 enable_msvcp70
1435 enable_msvcp71
1436 enable_msvcp80
1437 enable_msvcp90
1438 enable_msvcr100
1439 enable_msvcr110
1440 enable_msvcr120
1441 enable_msvcr120_app
1442 enable_msvcr70
1443 enable_msvcr71
1444 enable_msvcr80
1445 enable_msvcr90
1446 enable_msvcrt
1447 enable_msvcrt20
1448 enable_msvcrt40
1449 enable_msvcrtd
1450 enable_msvfw32
1451 enable_msvidc32
1452 enable_mswsock
1453 enable_msxml
1454 enable_msxml2
1455 enable_msxml3
1456 enable_msxml4
1457 enable_msxml6
1458 enable_mtxdm
1459 enable_ncrypt
1460 enable_nddeapi
1461 enable_ndis_sys
1462 enable_netapi32
1463 enable_netcfgx
1464 enable_netprofm
1465 enable_newdev
1466 enable_ninput
1467 enable_normaliz
1468 enable_npmshtml
1469 enable_npptools
1470 enable_ntdll
1471 enable_ntdsapi
1472 enable_ntoskrnl_exe
1473 enable_ntprint
1474 enable_objsel
1475 enable_odbc32
1476 enable_odbccp32
1477 enable_odbccu32
1478 enable_ole32
1479 enable_oleacc
1480 enable_oleaut32
1481 enable_olecli32
1482 enable_oledb32
1483 enable_oledlg
1484 enable_olepro32
1485 enable_olesvr32
1486 enable_olethk32
1487 enable_opcservices
1488 enable_openal32
1489 enable_opencl
1490 enable_opengl32
1491 enable_packager
1492 enable_pdh
1493 enable_photometadatahandler
1494 enable_pidgen
1495 enable_powrprof
1496 enable_printui
1497 enable_prntvpt
1498 enable_propsys
1499 enable_psapi
1500 enable_pstorec
1501 enable_qcap
1502 enable_qedit
1503 enable_qmgr
1504 enable_qmgrprxy
1505 enable_quartz
1506 enable_query
1507 enable_qwave
1508 enable_rasapi32
1509 enable_rasdlg
1510 enable_regapi
1511 enable_resutils
1512 enable_riched20
1513 enable_riched32
1514 enable_rpcrt4
1515 enable_rsabase
1516 enable_rsaenh
1517 enable_rstrtmgr
1518 enable_rtutils
1519 enable_samlib
1520 enable_sane_ds
1521 enable_sapi
1522 enable_sas
1523 enable_scarddlg
1524 enable_sccbase
1525 enable_schannel
1526 enable_schedsvc
1527 enable_scrobj
1528 enable_scrrun
1529 enable_scsiport_sys
1530 enable_secur32
1531 enable_security
1532 enable_sensapi
1533 enable_serialui
1534 enable_setupapi
1535 enable_sfc
1536 enable_sfc_os
1537 enable_shcore
1538 enable_shdoclc
1539 enable_shdocvw
1540 enable_shell32
1541 enable_shfolder
1542 enable_shlwapi
1543 enable_slbcsp
1544 enable_slc
1545 enable_snmpapi
1546 enable_softpub
1547 enable_spoolss
1548 enable_srclient
1549 enable_sspicli
1550 enable_stdole2_tlb
1551 enable_stdole32_tlb
1552 enable_sti
1553 enable_strmbase
1554 enable_strmdll
1555 enable_strmiids
1556 enable_svrapi
1557 enable_sxs
1558 enable_t2embed
1559 enable_tapi32
1560 enable_taskschd
1561 enable_tdh
1562 enable_tdi_sys
1563 enable_traffic
1564 enable_twain_32
1565 enable_tzres
1566 enable_ucrtbase
1567 enable_uianimation
1568 enable_uiautomationcore
1569 enable_uiribbon
1570 enable_unicows
1571 enable_updspapi
1572 enable_url
1573 enable_urlmon
1574 enable_usbd_sys
1575 enable_user32
1576 enable_userenv
1577 enable_usp10
1578 enable_uuid
1579 enable_uxtheme
1580 enable_vbscript
1581 enable_vcomp
1582 enable_vcomp100
1583 enable_vcomp110
1584 enable_vcomp120
1585 enable_vcomp140
1586 enable_vcomp90
1587 enable_vcruntime140
1588 enable_vdmdbg
1589 enable_version
1590 enable_virtdisk
1591 enable_vssapi
1592 enable_vulkan_1
1593 enable_wbemdisp
1594 enable_wbemprox
1595 enable_wdscore
1596 enable_webservices
1597 enable_wer
1598 enable_wevtapi
1599 enable_wiaservc
1600 enable_wimgapi
1601 enable_windowscodecs
1602 enable_windowscodecsext
1603 enable_winealsa_drv
1604 enable_wineandroid_drv
1605 enable_winebus_sys
1606 enable_winecoreaudio_drv
1607 enable_winecrt0
1608 enable_wined3d
1609 enable_winegstreamer
1610 enable_winehid_sys
1611 enable_winejoystick_drv
1612 enable_winemac_drv
1613 enable_winemapi
1614 enable_wineoss_drv
1615 enable_wineps_drv
1616 enable_winepulse_drv
1617 enable_wineqtdecoder
1618 enable_winevulkan
1619 enable_winex11_drv
1620 enable_wing32
1621 enable_winhttp
1622 enable_wininet
1623 enable_winmm
1624 enable_winnls32
1625 enable_winscard
1626 enable_winspool_drv
1627 enable_winsta
1628 enable_wintab32
1629 enable_wintrust
1630 enable_winusb
1631 enable_wlanapi
1632 enable_wldap32
1633 enable_wmasf
1634 enable_wmcodecdspuuid
1635 enable_wmi
1636 enable_wmiutils
1637 enable_wmp
1638 enable_wmphoto
1639 enable_wmvcore
1640 enable_wnaspi32
1641 enable_wpc
1642 enable_wpcap
1643 enable_ws2_32
1644 enable_wsdapi
1645 enable_wshom_ocx
1646 enable_wsnmp32
1647 enable_wsock32
1648 enable_wtsapi32
1649 enable_wuapi
1650 enable_wuaueng
1651 enable_x3daudio1_0
1652 enable_x3daudio1_1
1653 enable_x3daudio1_2
1654 enable_x3daudio1_3
1655 enable_x3daudio1_4
1656 enable_x3daudio1_5
1657 enable_x3daudio1_6
1658 enable_x3daudio1_7
1659 enable_xapofx1_1
1660 enable_xapofx1_2
1661 enable_xapofx1_3
1662 enable_xapofx1_4
1663 enable_xapofx1_5
1664 enable_xaudio2_0
1665 enable_xaudio2_1
1666 enable_xaudio2_2
1667 enable_xaudio2_3
1668 enable_xaudio2_4
1669 enable_xaudio2_5
1670 enable_xaudio2_6
1671 enable_xaudio2_7
1672 enable_xaudio2_8
1673 enable_xaudio2_9
1674 enable_xinput1_1
1675 enable_xinput1_2
1676 enable_xinput1_3
1677 enable_xinput1_4
1678 enable_xinput9_1_0
1679 enable_xmllite
1680 enable_xolehlp
1681 enable_xpsprint
1682 enable_xpssvcs
1683 enable_fonts
1684 enable_include
1685 enable_port
1686 enable_wine
1687 enable_wpp
1688 enable_loader
1689 enable_po
1690 enable_arp
1691 enable_aspnet_regiis
1692 enable_attrib
1693 enable_cabarc
1694 enable_cacls
1695 enable_clock
1696 enable_cmd
1697 enable_conhost
1698 enable_control
1699 enable_cscript
1700 enable_dism
1701 enable_dpnsvr
1702 enable_dxdiag
1703 enable_eject
1704 enable_expand
1705 enable_explorer
1706 enable_extrac32
1707 enable_fc
1708 enable_find
1709 enable_findstr
1710 enable_fsutil
1711 enable_hh
1712 enable_hostname
1713 enable_icacls
1714 enable_icinfo
1715 enable_iexplore
1716 enable_ipconfig
1717 enable_lodctr
1718 enable_mofcomp
1719 enable_mshta
1720 enable_msidb
1721 enable_msiexec
1722 enable_msinfo32
1723 enable_net
1724 enable_netsh
1725 enable_netstat
1726 enable_ngen
1727 enable_notepad
1728 enable_oleview
1729 enable_ping
1730 enable_plugplay
1731 enable_powershell
1732 enable_presentationfontcache
1733 enable_progman
1734 enable_reg
1735 enable_regasm
1736 enable_regedit
1737 enable_regsvcs
1738 enable_regsvr32
1739 enable_rpcss
1740 enable_rundll32
1741 enable_sc
1742 enable_schtasks
1743 enable_sdbinst
1744 enable_secedit
1745 enable_servicemodelreg
1746 enable_services
1747 enable_shutdown
1748 enable_spoolsv
1749 enable_start
1750 enable_subst
1751 enable_svchost
1752 enable_systeminfo
1753 enable_taskkill
1754 enable_tasklist
1755 enable_taskmgr
1756 enable_termsv
1757 enable_uninstaller
1758 enable_unlodctr
1759 enable_view
1760 enable_wevtutil
1761 enable_wineboot
1762 enable_winebrowser
1763 enable_winecfg
1764 enable_wineconsole
1765 enable_winedbg
1766 enable_winedevice
1767 enable_winefile
1768 enable_winemenubuilder
1769 enable_winemine
1770 enable_winemsibuilder
1771 enable_winepath
1772 enable_winetest
1773 enable_winhlp32
1774 enable_winmgmt
1775 enable_winver
1776 enable_wmic
1777 enable_wmplayer
1778 enable_wordpad
1779 enable_write
1780 enable_wscript
1781 enable_wusa
1782 enable_xcopy
1783 enable_server
1784 enable_tools
1785 enable_sfnt2fon
1786 enable_widl
1787 enable_winebuild
1788 enable_winedump
1789 enable_winegcc
1790 enable_winemaker
1791 enable_wmc
1792 enable_wrc
1794 ac_precious_vars='build_alias
1795 host_alias
1796 target_alias
1798 CFLAGS
1799 LDFLAGS
1800 LIBS
1801 CPPFLAGS
1803 CXXFLAGS
1806 OBJC
1807 OBJCFLAGS
1808 OBJCPP
1809 XMKMF
1810 XML2_CFLAGS
1811 XML2_LIBS
1812 XSLT_CFLAGS
1813 XSLT_LIBS
1814 DBUS_CFLAGS
1815 DBUS_LIBS
1816 HAL_CFLAGS
1817 HAL_LIBS
1818 GNUTLS_CFLAGS
1819 GNUTLS_LIBS
1820 SANE_CFLAGS
1821 SANE_LIBS
1822 GPHOTO2_CFLAGS
1823 GPHOTO2_LIBS
1824 GPHOTO2_PORT_CFLAGS
1825 GPHOTO2_PORT_LIBS
1826 LCMS2_CFLAGS
1827 LCMS2_LIBS
1828 FREETYPE_CFLAGS
1829 FREETYPE_LIBS
1830 PULSE_CFLAGS
1831 PULSE_LIBS
1832 GSTREAMER_CFLAGS
1833 GSTREAMER_LIBS
1834 UDEV_CFLAGS
1835 UDEV_LIBS
1836 SDL2_CFLAGS
1837 SDL2_LIBS
1838 FAUDIO_CFLAGS
1839 FAUDIO_LIBS
1840 CAPI20_CFLAGS
1841 CAPI20_LIBS
1842 CUPS_CFLAGS
1843 CUPS_LIBS
1844 FONTCONFIG_CFLAGS
1845 FONTCONFIG_LIBS
1846 KRB5_CFLAGS
1847 KRB5_LIBS
1848 GSSAPI_CFLAGS
1849 GSSAPI_LIBS
1850 JPEG_CFLAGS
1851 JPEG_LIBS
1852 PNG_CFLAGS
1853 PNG_LIBS
1854 TIFF_CFLAGS
1855 TIFF_LIBS
1856 MPG123_CFLAGS
1857 MPG123_LIBS
1858 NETAPI_CFLAGS
1859 NETAPI_LIBS
1860 VKD3D_CFLAGS
1861 VKD3D_LIBS
1862 LDAP_CFLAGS
1863 LDAP_LIBS'
1866 # Initialize some variables set by options.
1867 ac_init_help=
1868 ac_init_version=false
1869 ac_unrecognized_opts=
1870 ac_unrecognized_sep=
1871 # The variables have the same names as the options, with
1872 # dashes changed to underlines.
1873 cache_file=/dev/null
1874 exec_prefix=NONE
1875 no_create=
1876 no_recursion=
1877 prefix=NONE
1878 program_prefix=NONE
1879 program_suffix=NONE
1880 program_transform_name=s,x,x,
1881 silent=
1882 site=
1883 srcdir=
1884 verbose=
1885 x_includes=NONE
1886 x_libraries=NONE
1888 # Installation directory options.
1889 # These are left unexpanded so users can "make install exec_prefix=/foo"
1890 # and all the variables that are supposed to be based on exec_prefix
1891 # by default will actually change.
1892 # Use braces instead of parens because sh, perl, etc. also accept them.
1893 # (The list follows the same order as the GNU Coding Standards.)
1894 bindir='${exec_prefix}/bin'
1895 sbindir='${exec_prefix}/sbin'
1896 libexecdir='${exec_prefix}/libexec'
1897 datarootdir='${prefix}/share'
1898 datadir='${datarootdir}'
1899 sysconfdir='${prefix}/etc'
1900 sharedstatedir='${prefix}/com'
1901 localstatedir='${prefix}/var'
1902 runstatedir='${localstatedir}/run'
1903 includedir='${prefix}/include'
1904 oldincludedir='/usr/include'
1905 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1906 infodir='${datarootdir}/info'
1907 htmldir='${docdir}'
1908 dvidir='${docdir}'
1909 pdfdir='${docdir}'
1910 psdir='${docdir}'
1911 libdir='${exec_prefix}/lib'
1912 localedir='${datarootdir}/locale'
1913 mandir='${datarootdir}/man'
1915 ac_prev=
1916 ac_dashdash=
1917 for ac_option
1919 # If the previous option needs an argument, assign it.
1920 if test -n "$ac_prev"; then
1921 eval $ac_prev=\$ac_option
1922 ac_prev=
1923 continue
1926 case $ac_option in
1927 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1928 *=) ac_optarg= ;;
1929 *) ac_optarg=yes ;;
1930 esac
1932 # Accept the important Cygnus configure options, so we can diagnose typos.
1934 case $ac_dashdash$ac_option in
1936 ac_dashdash=yes ;;
1938 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1939 ac_prev=bindir ;;
1940 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1941 bindir=$ac_optarg ;;
1943 -build | --build | --buil | --bui | --bu)
1944 ac_prev=build_alias ;;
1945 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1946 build_alias=$ac_optarg ;;
1948 -cache-file | --cache-file | --cache-fil | --cache-fi \
1949 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1950 ac_prev=cache_file ;;
1951 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1952 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1953 cache_file=$ac_optarg ;;
1955 --config-cache | -C)
1956 cache_file=config.cache ;;
1958 -datadir | --datadir | --datadi | --datad)
1959 ac_prev=datadir ;;
1960 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1961 datadir=$ac_optarg ;;
1963 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1964 | --dataroo | --dataro | --datar)
1965 ac_prev=datarootdir ;;
1966 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1967 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1968 datarootdir=$ac_optarg ;;
1970 -disable-* | --disable-*)
1971 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1972 # Reject names that are not valid shell variable names.
1973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1974 as_fn_error $? "invalid feature name: $ac_useropt"
1975 ac_useropt_orig=$ac_useropt
1976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1977 case $ac_user_opts in
1979 "enable_$ac_useropt"
1980 "*) ;;
1981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1982 ac_unrecognized_sep=', ';;
1983 esac
1984 eval enable_$ac_useropt=no ;;
1986 -docdir | --docdir | --docdi | --doc | --do)
1987 ac_prev=docdir ;;
1988 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1989 docdir=$ac_optarg ;;
1991 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1992 ac_prev=dvidir ;;
1993 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1994 dvidir=$ac_optarg ;;
1996 -enable-* | --enable-*)
1997 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1998 # Reject names that are not valid shell variable names.
1999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2000 as_fn_error $? "invalid feature name: $ac_useropt"
2001 ac_useropt_orig=$ac_useropt
2002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2003 case $ac_user_opts in
2005 "enable_$ac_useropt"
2006 "*) ;;
2007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2008 ac_unrecognized_sep=', ';;
2009 esac
2010 eval enable_$ac_useropt=\$ac_optarg ;;
2012 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2013 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2014 | --exec | --exe | --ex)
2015 ac_prev=exec_prefix ;;
2016 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2017 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2018 | --exec=* | --exe=* | --ex=*)
2019 exec_prefix=$ac_optarg ;;
2021 -gas | --gas | --ga | --g)
2022 # Obsolete; use --with-gas.
2023 with_gas=yes ;;
2025 -help | --help | --hel | --he | -h)
2026 ac_init_help=long ;;
2027 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2028 ac_init_help=recursive ;;
2029 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2030 ac_init_help=short ;;
2032 -host | --host | --hos | --ho)
2033 ac_prev=host_alias ;;
2034 -host=* | --host=* | --hos=* | --ho=*)
2035 host_alias=$ac_optarg ;;
2037 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2038 ac_prev=htmldir ;;
2039 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2040 | --ht=*)
2041 htmldir=$ac_optarg ;;
2043 -includedir | --includedir | --includedi | --included | --include \
2044 | --includ | --inclu | --incl | --inc)
2045 ac_prev=includedir ;;
2046 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2047 | --includ=* | --inclu=* | --incl=* | --inc=*)
2048 includedir=$ac_optarg ;;
2050 -infodir | --infodir | --infodi | --infod | --info | --inf)
2051 ac_prev=infodir ;;
2052 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2053 infodir=$ac_optarg ;;
2055 -libdir | --libdir | --libdi | --libd)
2056 ac_prev=libdir ;;
2057 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2058 libdir=$ac_optarg ;;
2060 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2061 | --libexe | --libex | --libe)
2062 ac_prev=libexecdir ;;
2063 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2064 | --libexe=* | --libex=* | --libe=*)
2065 libexecdir=$ac_optarg ;;
2067 -localedir | --localedir | --localedi | --localed | --locale)
2068 ac_prev=localedir ;;
2069 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2070 localedir=$ac_optarg ;;
2072 -localstatedir | --localstatedir | --localstatedi | --localstated \
2073 | --localstate | --localstat | --localsta | --localst | --locals)
2074 ac_prev=localstatedir ;;
2075 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2076 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2077 localstatedir=$ac_optarg ;;
2079 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2080 ac_prev=mandir ;;
2081 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2082 mandir=$ac_optarg ;;
2084 -nfp | --nfp | --nf)
2085 # Obsolete; use --without-fp.
2086 with_fp=no ;;
2088 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2089 | --no-cr | --no-c | -n)
2090 no_create=yes ;;
2092 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2093 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2094 no_recursion=yes ;;
2096 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2097 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2098 | --oldin | --oldi | --old | --ol | --o)
2099 ac_prev=oldincludedir ;;
2100 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2101 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2102 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2103 oldincludedir=$ac_optarg ;;
2105 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2106 ac_prev=prefix ;;
2107 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2108 prefix=$ac_optarg ;;
2110 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2111 | --program-pre | --program-pr | --program-p)
2112 ac_prev=program_prefix ;;
2113 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2114 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2115 program_prefix=$ac_optarg ;;
2117 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2118 | --program-suf | --program-su | --program-s)
2119 ac_prev=program_suffix ;;
2120 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2121 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2122 program_suffix=$ac_optarg ;;
2124 -program-transform-name | --program-transform-name \
2125 | --program-transform-nam | --program-transform-na \
2126 | --program-transform-n | --program-transform- \
2127 | --program-transform | --program-transfor \
2128 | --program-transfo | --program-transf \
2129 | --program-trans | --program-tran \
2130 | --progr-tra | --program-tr | --program-t)
2131 ac_prev=program_transform_name ;;
2132 -program-transform-name=* | --program-transform-name=* \
2133 | --program-transform-nam=* | --program-transform-na=* \
2134 | --program-transform-n=* | --program-transform-=* \
2135 | --program-transform=* | --program-transfor=* \
2136 | --program-transfo=* | --program-transf=* \
2137 | --program-trans=* | --program-tran=* \
2138 | --progr-tra=* | --program-tr=* | --program-t=*)
2139 program_transform_name=$ac_optarg ;;
2141 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2142 ac_prev=pdfdir ;;
2143 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2144 pdfdir=$ac_optarg ;;
2146 -psdir | --psdir | --psdi | --psd | --ps)
2147 ac_prev=psdir ;;
2148 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2149 psdir=$ac_optarg ;;
2151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2152 | -silent | --silent | --silen | --sile | --sil)
2153 silent=yes ;;
2155 -runstatedir | --runstatedir | --runstatedi | --runstated \
2156 | --runstate | --runstat | --runsta | --runst | --runs \
2157 | --run | --ru | --r)
2158 ac_prev=runstatedir ;;
2159 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2160 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2161 | --run=* | --ru=* | --r=*)
2162 runstatedir=$ac_optarg ;;
2164 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2165 ac_prev=sbindir ;;
2166 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2167 | --sbi=* | --sb=*)
2168 sbindir=$ac_optarg ;;
2170 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2171 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2172 | --sharedst | --shareds | --shared | --share | --shar \
2173 | --sha | --sh)
2174 ac_prev=sharedstatedir ;;
2175 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2176 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2177 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2178 | --sha=* | --sh=*)
2179 sharedstatedir=$ac_optarg ;;
2181 -site | --site | --sit)
2182 ac_prev=site ;;
2183 -site=* | --site=* | --sit=*)
2184 site=$ac_optarg ;;
2186 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2187 ac_prev=srcdir ;;
2188 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2189 srcdir=$ac_optarg ;;
2191 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2192 | --syscon | --sysco | --sysc | --sys | --sy)
2193 ac_prev=sysconfdir ;;
2194 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2195 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2196 sysconfdir=$ac_optarg ;;
2198 -target | --target | --targe | --targ | --tar | --ta | --t)
2199 ac_prev=target_alias ;;
2200 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2201 target_alias=$ac_optarg ;;
2203 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2204 verbose=yes ;;
2206 -version | --version | --versio | --versi | --vers | -V)
2207 ac_init_version=: ;;
2209 -with-* | --with-*)
2210 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2211 # Reject names that are not valid shell variable names.
2212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2213 as_fn_error $? "invalid package name: $ac_useropt"
2214 ac_useropt_orig=$ac_useropt
2215 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2216 case $ac_user_opts in
2218 "with_$ac_useropt"
2219 "*) ;;
2220 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2221 ac_unrecognized_sep=', ';;
2222 esac
2223 eval with_$ac_useropt=\$ac_optarg ;;
2225 -without-* | --without-*)
2226 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2227 # Reject names that are not valid shell variable names.
2228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2229 as_fn_error $? "invalid package name: $ac_useropt"
2230 ac_useropt_orig=$ac_useropt
2231 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2232 case $ac_user_opts in
2234 "with_$ac_useropt"
2235 "*) ;;
2236 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2237 ac_unrecognized_sep=', ';;
2238 esac
2239 eval with_$ac_useropt=no ;;
2241 --x)
2242 # Obsolete; use --with-x.
2243 with_x=yes ;;
2245 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2246 | --x-incl | --x-inc | --x-in | --x-i)
2247 ac_prev=x_includes ;;
2248 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2249 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2250 x_includes=$ac_optarg ;;
2252 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2253 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2254 ac_prev=x_libraries ;;
2255 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2256 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2257 x_libraries=$ac_optarg ;;
2259 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2260 Try \`$0 --help' for more information"
2263 *=*)
2264 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2265 # Reject names that are not valid shell variable names.
2266 case $ac_envvar in #(
2267 '' | [0-9]* | *[!_$as_cr_alnum]* )
2268 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2269 esac
2270 eval $ac_envvar=\$ac_optarg
2271 export $ac_envvar ;;
2274 # FIXME: should be removed in autoconf 3.0.
2275 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2276 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2277 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2278 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2281 esac
2282 done
2284 if test -n "$ac_prev"; then
2285 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2286 as_fn_error $? "missing argument to $ac_option"
2289 if test -n "$ac_unrecognized_opts"; then
2290 case $enable_option_checking in
2291 no) ;;
2292 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2293 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2294 esac
2297 # Check all directory arguments for consistency.
2298 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2299 datadir sysconfdir sharedstatedir localstatedir includedir \
2300 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2301 libdir localedir mandir runstatedir
2303 eval ac_val=\$$ac_var
2304 # Remove trailing slashes.
2305 case $ac_val in
2306 */ )
2307 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2308 eval $ac_var=\$ac_val;;
2309 esac
2310 # Be sure to have absolute directory names.
2311 case $ac_val in
2312 [\\/$]* | ?:[\\/]* ) continue;;
2313 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2314 esac
2315 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2316 done
2318 # There might be people who depend on the old broken behavior: `$host'
2319 # used to hold the argument of --host etc.
2320 # FIXME: To remove some day.
2321 build=$build_alias
2322 host=$host_alias
2323 target=$target_alias
2325 # FIXME: To remove some day.
2326 if test "x$host_alias" != x; then
2327 if test "x$build_alias" = x; then
2328 cross_compiling=maybe
2329 elif test "x$build_alias" != "x$host_alias"; then
2330 cross_compiling=yes
2334 ac_tool_prefix=
2335 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2337 test "$silent" = yes && exec 6>/dev/null
2340 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2341 ac_ls_di=`ls -di .` &&
2342 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2343 as_fn_error $? "working directory cannot be determined"
2344 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2345 as_fn_error $? "pwd does not report name of working directory"
2348 # Find the source files, if location was not specified.
2349 if test -z "$srcdir"; then
2350 ac_srcdir_defaulted=yes
2351 # Try the directory containing this script, then the parent directory.
2352 ac_confdir=`$as_dirname -- "$as_myself" ||
2353 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2354 X"$as_myself" : 'X\(//\)[^/]' \| \
2355 X"$as_myself" : 'X\(//\)$' \| \
2356 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2357 $as_echo X"$as_myself" |
2358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2359 s//\1/
2362 /^X\(\/\/\)[^/].*/{
2363 s//\1/
2366 /^X\(\/\/\)$/{
2367 s//\1/
2370 /^X\(\/\).*/{
2371 s//\1/
2374 s/.*/./; q'`
2375 srcdir=$ac_confdir
2376 if test ! -r "$srcdir/$ac_unique_file"; then
2377 srcdir=..
2379 else
2380 ac_srcdir_defaulted=no
2382 if test ! -r "$srcdir/$ac_unique_file"; then
2383 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2384 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2386 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2387 ac_abs_confdir=`(
2388 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2389 pwd)`
2390 # When building in place, set srcdir=.
2391 if test "$ac_abs_confdir" = "$ac_pwd"; then
2392 srcdir=.
2394 # Remove unnecessary trailing slashes from srcdir.
2395 # Double slashes in file names in object file debugging info
2396 # mess up M-x gdb in Emacs.
2397 case $srcdir in
2398 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2399 esac
2400 for ac_var in $ac_precious_vars; do
2401 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2402 eval ac_env_${ac_var}_value=\$${ac_var}
2403 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2404 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2405 done
2408 # Report the --help message.
2410 if test "$ac_init_help" = "long"; then
2411 # Omit some internal or obsolete options to make the list less imposing.
2412 # This message is too long to be a string in the A/UX 3.1 sh.
2413 cat <<_ACEOF
2414 \`configure' configures Wine 4.5 to adapt to many kinds of systems.
2416 Usage: $0 [OPTION]... [VAR=VALUE]...
2418 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2419 VAR=VALUE. See below for descriptions of some of the useful variables.
2421 Defaults for the options are specified in brackets.
2423 Configuration:
2424 -h, --help display this help and exit
2425 --help=short display options specific to this package
2426 --help=recursive display the short help of all the included packages
2427 -V, --version display version information and exit
2428 -q, --quiet, --silent do not print \`checking ...' messages
2429 --cache-file=FILE cache test results in FILE [disabled]
2430 -C, --config-cache alias for \`--cache-file=config.cache'
2431 -n, --no-create do not create output files
2432 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2434 Installation directories:
2435 --prefix=PREFIX install architecture-independent files in PREFIX
2436 [$ac_default_prefix]
2437 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2438 [PREFIX]
2440 By default, \`make install' will install all the files in
2441 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2442 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2443 for instance \`--prefix=\$HOME'.
2445 For better control, use the options below.
2447 Fine tuning of the installation directories:
2448 --bindir=DIR user executables [EPREFIX/bin]
2449 --sbindir=DIR system admin executables [EPREFIX/sbin]
2450 --libexecdir=DIR program executables [EPREFIX/libexec]
2451 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2452 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2453 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2454 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2455 --libdir=DIR object code libraries [EPREFIX/lib]
2456 --includedir=DIR C header files [PREFIX/include]
2457 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2458 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2459 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2460 --infodir=DIR info documentation [DATAROOTDIR/info]
2461 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2462 --mandir=DIR man documentation [DATAROOTDIR/man]
2463 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2464 --htmldir=DIR html documentation [DOCDIR]
2465 --dvidir=DIR dvi documentation [DOCDIR]
2466 --pdfdir=DIR pdf documentation [DOCDIR]
2467 --psdir=DIR ps documentation [DOCDIR]
2468 _ACEOF
2470 cat <<\_ACEOF
2472 X features:
2473 --x-includes=DIR X include files are in DIR
2474 --x-libraries=DIR X library files are in DIR
2476 System types:
2477 --build=BUILD configure for building on BUILD [guessed]
2478 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2479 _ACEOF
2482 if test -n "$ac_init_help"; then
2483 case $ac_init_help in
2484 short | recursive ) echo "Configuration of Wine 4.5:";;
2485 esac
2486 cat <<\_ACEOF
2488 Optional Features:
2489 --disable-option-checking ignore unrecognized --enable/--with options
2490 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2491 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2492 --disable-win16 do not include Win16 support
2493 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2494 binaries)
2495 --disable-tests do not build the regression tests
2496 --enable-maintainer-mode
2497 enable maintainer-specific build rules
2498 --disable-largefile omit support for large files
2500 Optional Packages:
2501 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2502 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2503 --without-alsa do not use the Alsa sound support
2504 --without-capi do not use CAPI (ISDN support)
2505 --without-cms do not use CMS (color management support)
2506 --without-coreaudio do not use the CoreAudio sound support
2507 --without-cups do not use CUPS
2508 --without-curses do not use (n)curses
2509 --without-dbus do not use DBus (dynamic device support)
2510 --without-faudio do not use FAudio (XAudio2 support)
2511 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2512 --without-fontconfig do not use fontconfig
2513 --without-freetype do not use the FreeType library
2514 --without-gettext do not use gettext
2515 --with-gettextpo use the GetTextPO library to rebuild po files
2516 --without-gphoto do not use gphoto (Digital Camera support)
2517 --without-glu do not use the GLU library
2518 --without-gnutls do not use GnuTLS (schannel support)
2519 --without-gsm do not use libgsm (GSM 06.10 codec support)
2520 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2521 --without-gstreamer do not use GStreamer (codecs support)
2522 --without-hal do not use HAL (dynamic device support)
2523 --without-jpeg do not use JPEG
2524 --without-krb5 do not use krb5 (Kerberos)
2525 --without-ldap do not use LDAP
2526 --without-mingw do not use the MinGW cross-compiler
2527 --without-mpg123 do not use the mpg123 library
2528 --without-netapi do not use the Samba NetAPI library
2529 --without-openal do not use OpenAL
2530 --without-opencl do not use OpenCL
2531 --without-opengl do not use OpenGL
2532 --without-osmesa do not use the OSMesa library
2533 --without-oss do not use the OSS sound support
2534 --without-pcap do not use the Packet Capture library
2535 --without-png do not use PNG
2536 --without-pthread do not use the pthread library
2537 --without-pulse do not use PulseAudio sound support
2538 --without-sane do not use SANE (scanner support)
2539 --without-sdl do not use SDL
2540 --without-tiff do not use TIFF
2541 --without-udev do not use udev (plug and play support)
2542 --without-v4l do not use v4l1 (v4l support)
2543 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2544 --without-vulkan do not use Vulkan
2545 --without-xcomposite do not use the Xcomposite extension
2546 --without-xcursor do not use the Xcursor extension
2547 --without-xfixes do not use Xfixes for clipboard change notifications
2548 --without-xinerama do not use Xinerama (multi-monitor support)
2549 --without-xinput do not use the Xinput extension
2550 --without-xinput2 do not use the Xinput 2 extension
2551 --without-xml do not use XML
2552 --without-xrandr do not use Xrandr (resolution changes)
2553 --without-xrender do not use the Xrender extension
2554 --without-xshape do not use the Xshape extension
2555 --without-xshm do not use XShm (shared memory extension)
2556 --without-xslt do not use XSLT
2557 --without-xxf86vm do not use XFree video mode extension
2558 --without-zlib do not use Zlib (data compression)
2559 --with-wine-tools=DIR use Wine tools from directory DIR
2560 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2561 --with-x use the X Window System
2563 Some influential environment variables:
2564 CC C compiler command
2565 CFLAGS C compiler flags
2566 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2567 nonstandard directory <lib dir>
2568 LIBS libraries to pass to the linker, e.g. -l<library>
2569 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2570 you have headers in a nonstandard directory <include dir>
2571 CXX C++ compiler command
2572 CXXFLAGS C++ compiler flags
2573 CPP C preprocessor
2574 OBJC Objective C compiler command
2575 OBJCFLAGS Objective C compiler flags
2576 OBJCPP Objective C preprocessor
2577 XMKMF Path to xmkmf, Makefile generator for X Window System
2578 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2579 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2580 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2581 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2582 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2583 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2584 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2585 HAL_LIBS Linker flags for hal, overriding pkg-config
2586 GNUTLS_CFLAGS
2587 C compiler flags for gnutls, overriding pkg-config
2588 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2589 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2590 SANE_LIBS Linker flags for libsane, overriding pkg-config
2591 GPHOTO2_CFLAGS
2592 C compiler flags for libgphoto2, overriding pkg-config
2593 GPHOTO2_LIBS
2594 Linker flags for libgphoto2, overriding pkg-config
2595 GPHOTO2_PORT_CFLAGS
2596 C compiler flags for libgphoto2_port, overriding pkg-config
2597 GPHOTO2_PORT_LIBS
2598 Linker flags for libgphoto2_port, overriding pkg-config
2599 LCMS2_CFLAGS
2600 C compiler flags for lcms2, overriding pkg-config
2601 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2602 FREETYPE_CFLAGS
2603 C compiler flags for freetype2, overriding pkg-config
2604 FREETYPE_LIBS
2605 Linker flags for freetype2, overriding pkg-config
2606 PULSE_CFLAGS
2607 C compiler flags for libpulse, overriding pkg-config
2608 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2609 GSTREAMER_CFLAGS
2610 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2611 gstreamer-audio-1.0, overriding pkg-config
2612 GSTREAMER_LIBS
2613 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2614 gstreamer-audio-1.0, overriding pkg-config
2615 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2616 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2617 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2618 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2619 FAUDIO_CFLAGS
2620 C compiler flags for faudio, overriding pkg-config
2621 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2622 CAPI20_CFLAGS
2623 C compiler flags for capi20, overriding pkg-config
2624 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2625 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2626 CUPS_LIBS Linker flags for cups, overriding pkg-config
2627 FONTCONFIG_CFLAGS
2628 C compiler flags for fontconfig, overriding pkg-config
2629 FONTCONFIG_LIBS
2630 Linker flags for fontconfig, overriding pkg-config
2631 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2632 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2633 GSSAPI_CFLAGS
2634 C compiler flags for krb5-gssapi, overriding pkg-config
2635 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2636 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2637 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2638 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2639 PNG_LIBS Linker flags for libpng, overriding pkg-config
2640 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2641 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2642 MPG123_CFLAGS
2643 C compiler flags for libmpg123, overriding pkg-config
2644 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2645 NETAPI_CFLAGS
2646 C compiler flags for netapi, overriding pkg-config
2647 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2648 VKD3D_CFLAGS
2649 C compiler flags for libvkd3d, overriding pkg-config
2650 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2651 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2652 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2654 Use these variables to override the choices made by `configure' or to help
2655 it to find libraries and programs with nonstandard names/locations.
2657 Report bugs to <wine-devel@winehq.org>.
2658 Wine home page: <https://www.winehq.org>.
2659 _ACEOF
2660 ac_status=$?
2663 if test "$ac_init_help" = "recursive"; then
2664 # If there are subdirs, report their specific --help.
2665 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2666 test -d "$ac_dir" ||
2667 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2668 continue
2669 ac_builddir=.
2671 case "$ac_dir" in
2672 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2674 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2675 # A ".." for each directory in $ac_dir_suffix.
2676 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2677 case $ac_top_builddir_sub in
2678 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2679 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2680 esac ;;
2681 esac
2682 ac_abs_top_builddir=$ac_pwd
2683 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2684 # for backward compatibility:
2685 ac_top_builddir=$ac_top_build_prefix
2687 case $srcdir in
2688 .) # We are building in place.
2689 ac_srcdir=.
2690 ac_top_srcdir=$ac_top_builddir_sub
2691 ac_abs_top_srcdir=$ac_pwd ;;
2692 [\\/]* | ?:[\\/]* ) # Absolute name.
2693 ac_srcdir=$srcdir$ac_dir_suffix;
2694 ac_top_srcdir=$srcdir
2695 ac_abs_top_srcdir=$srcdir ;;
2696 *) # Relative name.
2697 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2698 ac_top_srcdir=$ac_top_build_prefix$srcdir
2699 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2700 esac
2701 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2703 cd "$ac_dir" || { ac_status=$?; continue; }
2704 # Check for guested configure.
2705 if test -f "$ac_srcdir/configure.gnu"; then
2706 echo &&
2707 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2708 elif test -f "$ac_srcdir/configure"; then
2709 echo &&
2710 $SHELL "$ac_srcdir/configure" --help=recursive
2711 else
2712 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2713 fi || ac_status=$?
2714 cd "$ac_pwd" || { ac_status=$?; break; }
2715 done
2718 test -n "$ac_init_help" && exit $ac_status
2719 if $ac_init_version; then
2720 cat <<\_ACEOF
2721 Wine configure 4.5
2722 generated by GNU Autoconf 2.69
2724 Copyright (C) 2012 Free Software Foundation, Inc.
2725 This configure script is free software; the Free Software Foundation
2726 gives unlimited permission to copy, distribute and modify it.
2727 _ACEOF
2728 exit
2731 ## ------------------------ ##
2732 ## Autoconf initialization. ##
2733 ## ------------------------ ##
2735 # ac_fn_c_try_compile LINENO
2736 # --------------------------
2737 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2738 ac_fn_c_try_compile ()
2740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2741 rm -f conftest.$ac_objext
2742 if { { ac_try="$ac_compile"
2743 case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748 $as_echo "$ac_try_echo"; } >&5
2749 (eval "$ac_compile") 2>conftest.err
2750 ac_status=$?
2751 if test -s conftest.err; then
2752 grep -v '^ *+' conftest.err >conftest.er1
2753 cat conftest.er1 >&5
2754 mv -f conftest.er1 conftest.err
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; } && {
2758 test -z "$ac_c_werror_flag" ||
2759 test ! -s conftest.err
2760 } && test -s conftest.$ac_objext; then :
2761 ac_retval=0
2762 else
2763 $as_echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 ac_retval=1
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 as_fn_set_status $ac_retval
2771 } # ac_fn_c_try_compile
2773 # ac_fn_cxx_try_compile LINENO
2774 # ----------------------------
2775 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2776 ac_fn_cxx_try_compile ()
2778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2779 rm -f conftest.$ac_objext
2780 if { { ac_try="$ac_compile"
2781 case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2784 esac
2785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2786 $as_echo "$ac_try_echo"; } >&5
2787 (eval "$ac_compile") 2>conftest.err
2788 ac_status=$?
2789 if test -s conftest.err; then
2790 grep -v '^ *+' conftest.err >conftest.er1
2791 cat conftest.er1 >&5
2792 mv -f conftest.er1 conftest.err
2794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; } && {
2796 test -z "$ac_cxx_werror_flag" ||
2797 test ! -s conftest.err
2798 } && test -s conftest.$ac_objext; then :
2799 ac_retval=0
2800 else
2801 $as_echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 ac_retval=1
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 as_fn_set_status $ac_retval
2809 } # ac_fn_cxx_try_compile
2811 # ac_fn_c_try_link LINENO
2812 # -----------------------
2813 # Try to link conftest.$ac_ext, and return whether this succeeded.
2814 ac_fn_c_try_link ()
2816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2817 rm -f conftest.$ac_objext conftest$ac_exeext
2818 if { { ac_try="$ac_link"
2819 case "(($ac_try" in
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2822 esac
2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2824 $as_echo "$ac_try_echo"; } >&5
2825 (eval "$ac_link") 2>conftest.err
2826 ac_status=$?
2827 if test -s conftest.err; then
2828 grep -v '^ *+' conftest.err >conftest.er1
2829 cat conftest.er1 >&5
2830 mv -f conftest.er1 conftest.err
2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2833 test $ac_status = 0; } && {
2834 test -z "$ac_c_werror_flag" ||
2835 test ! -s conftest.err
2836 } && test -s conftest$ac_exeext && {
2837 test "$cross_compiling" = yes ||
2838 test -x conftest$ac_exeext
2839 }; then :
2840 ac_retval=0
2841 else
2842 $as_echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2845 ac_retval=1
2847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2849 # interfere with the next link command; also delete a directory that is
2850 # left behind by Apple's compiler. We do this before executing the actions.
2851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2853 as_fn_set_status $ac_retval
2855 } # ac_fn_c_try_link
2857 # ac_fn_c_try_cpp LINENO
2858 # ----------------------
2859 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2860 ac_fn_c_try_cpp ()
2862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2863 if { { ac_try="$ac_cpp conftest.$ac_ext"
2864 case "(($ac_try" in
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2867 esac
2868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2869 $as_echo "$ac_try_echo"; } >&5
2870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2871 ac_status=$?
2872 if test -s conftest.err; then
2873 grep -v '^ *+' conftest.err >conftest.er1
2874 cat conftest.er1 >&5
2875 mv -f conftest.er1 conftest.err
2877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878 test $ac_status = 0; } > conftest.i && {
2879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2880 test ! -s conftest.err
2881 }; then :
2882 ac_retval=0
2883 else
2884 $as_echo "$as_me: failed program was:" >&5
2885 sed 's/^/| /' conftest.$ac_ext >&5
2887 ac_retval=1
2889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2890 as_fn_set_status $ac_retval
2892 } # ac_fn_c_try_cpp
2894 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2895 # -------------------------------------------------------
2896 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2897 # the include files in INCLUDES and setting the cache variable VAR
2898 # accordingly.
2899 ac_fn_c_check_header_mongrel ()
2901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2902 if eval \${$3+:} false; then :
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2904 $as_echo_n "checking for $2... " >&6; }
2905 if eval \${$3+:} false; then :
2906 $as_echo_n "(cached) " >&6
2908 eval ac_res=\$$3
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2910 $as_echo "$ac_res" >&6; }
2911 else
2912 # Is the header compilable?
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2914 $as_echo_n "checking $2 usability... " >&6; }
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2918 #include <$2>
2919 _ACEOF
2920 if ac_fn_c_try_compile "$LINENO"; then :
2921 ac_header_compiler=yes
2922 else
2923 ac_header_compiler=no
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2927 $as_echo "$ac_header_compiler" >&6; }
2929 # Is the header present?
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2931 $as_echo_n "checking $2 presence... " >&6; }
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2934 #include <$2>
2935 _ACEOF
2936 if ac_fn_c_try_cpp "$LINENO"; then :
2937 ac_header_preproc=yes
2938 else
2939 ac_header_preproc=no
2941 rm -f conftest.err conftest.i conftest.$ac_ext
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2943 $as_echo "$ac_header_preproc" >&6; }
2945 # So? What about this header?
2946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2947 yes:no: )
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2949 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2951 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2953 no:yes:* )
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2955 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2957 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2959 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2961 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2964 ( $as_echo "## ------------------------------------ ##
2965 ## Report this to wine-devel@winehq.org ##
2966 ## ------------------------------------ ##"
2967 ) | sed "s/^/$as_me: WARNING: /" >&2
2969 esac
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 eval "$3=\$ac_header_compiler"
2977 eval ac_res=\$$3
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 $as_echo "$ac_res" >&6; }
2981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2983 } # ac_fn_c_check_header_mongrel
2985 # ac_fn_c_try_run LINENO
2986 # ----------------------
2987 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2988 # that executables *can* be run.
2989 ac_fn_c_try_run ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 if { { ac_try="$ac_link"
2993 case "(($ac_try" in
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2996 esac
2997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2998 $as_echo "$ac_try_echo"; } >&5
2999 (eval "$ac_link") 2>&5
3000 ac_status=$?
3001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3002 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3003 { { case "(($ac_try" in
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3006 esac
3007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3008 $as_echo "$ac_try_echo"; } >&5
3009 (eval "$ac_try") 2>&5
3010 ac_status=$?
3011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3012 test $ac_status = 0; }; }; then :
3013 ac_retval=0
3014 else
3015 $as_echo "$as_me: program exited with status $ac_status" >&5
3016 $as_echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3019 ac_retval=$ac_status
3021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3023 as_fn_set_status $ac_retval
3025 } # ac_fn_c_try_run
3027 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3028 # -------------------------------------------------------
3029 # Tests whether HEADER exists and can be compiled using the include files in
3030 # INCLUDES, setting the cache variable VAR accordingly.
3031 ac_fn_c_check_header_compile ()
3033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3035 $as_echo_n "checking for $2... " >&6; }
3036 if eval \${$3+:} false; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3042 #include <$2>
3043 _ACEOF
3044 if ac_fn_c_try_compile "$LINENO"; then :
3045 eval "$3=yes"
3046 else
3047 eval "$3=no"
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 eval ac_res=\$$3
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3053 $as_echo "$ac_res" >&6; }
3054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3056 } # ac_fn_c_check_header_compile
3058 # ac_fn_objc_try_compile LINENO
3059 # -----------------------------
3060 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3061 ac_fn_objc_try_compile ()
3063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3064 rm -f conftest.$ac_objext
3065 if { { ac_try="$ac_compile"
3066 case "(($ac_try" in
3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3069 esac
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_compile") 2>conftest.err
3073 ac_status=$?
3074 if test -s conftest.err; then
3075 grep -v '^ *+' conftest.err >conftest.er1
3076 cat conftest.er1 >&5
3077 mv -f conftest.er1 conftest.err
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; } && {
3081 test -z "$ac_objc_werror_flag" ||
3082 test ! -s conftest.err
3083 } && test -s conftest.$ac_objext; then :
3084 ac_retval=0
3085 else
3086 $as_echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3089 ac_retval=1
3091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3092 as_fn_set_status $ac_retval
3094 } # ac_fn_objc_try_compile
3096 # ac_fn_objc_try_cpp LINENO
3097 # -------------------------
3098 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3099 ac_fn_objc_try_cpp ()
3101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3102 if { { ac_try="$ac_cpp conftest.$ac_ext"
3103 case "(($ac_try" in
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3106 esac
3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3110 ac_status=$?
3111 if test -s conftest.err; then
3112 grep -v '^ *+' conftest.err >conftest.er1
3113 cat conftest.er1 >&5
3114 mv -f conftest.er1 conftest.err
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; } > conftest.i && {
3118 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3119 test ! -s conftest.err
3120 }; then :
3121 ac_retval=0
3122 else
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3126 ac_retval=1
3128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3129 as_fn_set_status $ac_retval
3131 } # ac_fn_objc_try_cpp
3133 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3134 # ----------------------------------------------------------
3135 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3136 # the include files in INCLUDES and setting the cache variable VAR
3137 # accordingly.
3138 ac_fn_objc_check_header_mongrel ()
3140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3141 if eval \${$3+:} false; then :
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3143 $as_echo_n "checking for $2... " >&6; }
3144 if eval \${$3+:} false; then :
3145 $as_echo_n "(cached) " >&6
3147 eval ac_res=\$$3
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3149 $as_echo "$ac_res" >&6; }
3150 else
3151 # Is the header compilable?
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3153 $as_echo_n "checking $2 usability... " >&6; }
3154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3157 #include <$2>
3158 _ACEOF
3159 if ac_fn_objc_try_compile "$LINENO"; then :
3160 ac_header_compiler=yes
3161 else
3162 ac_header_compiler=no
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3166 $as_echo "$ac_header_compiler" >&6; }
3168 # Is the header present?
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3170 $as_echo_n "checking $2 presence... " >&6; }
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3173 #include <$2>
3174 _ACEOF
3175 if ac_fn_objc_try_cpp "$LINENO"; then :
3176 ac_header_preproc=yes
3177 else
3178 ac_header_preproc=no
3180 rm -f conftest.err conftest.i conftest.$ac_ext
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3182 $as_echo "$ac_header_preproc" >&6; }
3184 # So? What about this header?
3185 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3186 yes:no: )
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3188 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3190 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3192 no:yes:* )
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3194 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3196 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3198 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3200 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3203 ( $as_echo "## ------------------------------------ ##
3204 ## Report this to wine-devel@winehq.org ##
3205 ## ------------------------------------ ##"
3206 ) | sed "s/^/$as_me: WARNING: /" >&2
3208 esac
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3210 $as_echo_n "checking for $2... " >&6; }
3211 if eval \${$3+:} false; then :
3212 $as_echo_n "(cached) " >&6
3213 else
3214 eval "$3=\$ac_header_compiler"
3216 eval ac_res=\$$3
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3218 $as_echo "$ac_res" >&6; }
3220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3222 } # ac_fn_objc_check_header_mongrel
3224 # ac_fn_c_check_func LINENO FUNC VAR
3225 # ----------------------------------
3226 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3227 ac_fn_c_check_func ()
3229 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3237 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3239 #define $2 innocuous_$2
3241 /* System header to define __stub macros and hopefully few prototypes,
3242 which can conflict with char $2 (); below.
3243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3244 <limits.h> exists even on freestanding compilers. */
3246 #ifdef __STDC__
3247 # include <limits.h>
3248 #else
3249 # include <assert.h>
3250 #endif
3252 #undef $2
3254 /* Override any GCC internal prototype to avoid an error.
3255 Use char because int might match the return type of a GCC
3256 builtin and then its argument prototype would still apply. */
3257 #ifdef __cplusplus
3258 extern "C"
3259 #endif
3260 char $2 ();
3261 /* The GNU C library defines this for functions which it implements
3262 to always fail with ENOSYS. Some functions are actually named
3263 something starting with __ and the normal name is an alias. */
3264 #if defined __stub_$2 || defined __stub___$2
3265 choke me
3266 #endif
3269 main ()
3271 return $2 ();
3273 return 0;
3275 _ACEOF
3276 if ac_fn_c_try_link "$LINENO"; then :
3277 eval "$3=yes"
3278 else
3279 eval "$3=no"
3281 rm -f core conftest.err conftest.$ac_objext \
3282 conftest$ac_exeext conftest.$ac_ext
3284 eval ac_res=\$$3
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3286 $as_echo "$ac_res" >&6; }
3287 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3289 } # ac_fn_c_check_func
3291 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3292 # ----------------------------------------------------
3293 # Tries to find if the field MEMBER exists in type AGGR, after including
3294 # INCLUDES, setting cache variable VAR accordingly.
3295 ac_fn_c_check_member ()
3297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3299 $as_echo_n "checking for $2.$3... " >&6; }
3300 if eval \${$4+:} false; then :
3301 $as_echo_n "(cached) " >&6
3302 else
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3307 main ()
3309 static $2 ac_aggr;
3310 if (ac_aggr.$3)
3311 return 0;
3313 return 0;
3315 _ACEOF
3316 if ac_fn_c_try_compile "$LINENO"; then :
3317 eval "$4=yes"
3318 else
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3323 main ()
3325 static $2 ac_aggr;
3326 if (sizeof ac_aggr.$3)
3327 return 0;
3329 return 0;
3331 _ACEOF
3332 if ac_fn_c_try_compile "$LINENO"; then :
3333 eval "$4=yes"
3334 else
3335 eval "$4=no"
3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 eval ac_res=\$$4
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3343 $as_echo "$ac_res" >&6; }
3344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3346 } # ac_fn_c_check_member
3348 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3349 # -------------------------------------------
3350 # Tests whether TYPE exists after having included INCLUDES, setting cache
3351 # variable VAR accordingly.
3352 ac_fn_c_check_type ()
3354 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3356 $as_echo_n "checking for $2... " >&6; }
3357 if eval \${$3+:} false; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 eval "$3=no"
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3365 main ()
3367 if (sizeof ($2))
3368 return 0;
3370 return 0;
3372 _ACEOF
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3378 main ()
3380 if (sizeof (($2)))
3381 return 0;
3383 return 0;
3385 _ACEOF
3386 if ac_fn_c_try_compile "$LINENO"; then :
3388 else
3389 eval "$3=yes"
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 eval ac_res=\$$3
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3397 $as_echo "$ac_res" >&6; }
3398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3400 } # ac_fn_c_check_type
3401 cat >config.log <<_ACEOF
3402 This file contains any messages produced by compilers while
3403 running configure, to aid debugging if configure makes a mistake.
3405 It was created by Wine $as_me 4.5, which was
3406 generated by GNU Autoconf 2.69. Invocation command line was
3408 $ $0 $@
3410 _ACEOF
3411 exec 5>>config.log
3413 cat <<_ASUNAME
3414 ## --------- ##
3415 ## Platform. ##
3416 ## --------- ##
3418 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3419 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3420 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3421 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3422 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3424 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3425 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3427 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3428 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3429 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3430 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3431 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3432 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3433 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3435 _ASUNAME
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438 for as_dir in $PATH
3440 IFS=$as_save_IFS
3441 test -z "$as_dir" && as_dir=.
3442 $as_echo "PATH: $as_dir"
3443 done
3444 IFS=$as_save_IFS
3446 } >&5
3448 cat >&5 <<_ACEOF
3451 ## ----------- ##
3452 ## Core tests. ##
3453 ## ----------- ##
3455 _ACEOF
3458 # Keep a trace of the command line.
3459 # Strip out --no-create and --no-recursion so they do not pile up.
3460 # Strip out --silent because we don't want to record it for future runs.
3461 # Also quote any args containing shell meta-characters.
3462 # Make two passes to allow for proper duplicate-argument suppression.
3463 ac_configure_args=
3464 ac_configure_args0=
3465 ac_configure_args1=
3466 ac_must_keep_next=false
3467 for ac_pass in 1 2
3469 for ac_arg
3471 case $ac_arg in
3472 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3473 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3474 | -silent | --silent | --silen | --sile | --sil)
3475 continue ;;
3476 *\'*)
3477 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3478 esac
3479 case $ac_pass in
3480 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3482 as_fn_append ac_configure_args1 " '$ac_arg'"
3483 if test $ac_must_keep_next = true; then
3484 ac_must_keep_next=false # Got value, back to normal.
3485 else
3486 case $ac_arg in
3487 *=* | --config-cache | -C | -disable-* | --disable-* \
3488 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3489 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3490 | -with-* | --with-* | -without-* | --without-* | --x)
3491 case "$ac_configure_args0 " in
3492 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3493 esac
3495 -* ) ac_must_keep_next=true ;;
3496 esac
3498 as_fn_append ac_configure_args " '$ac_arg'"
3500 esac
3501 done
3502 done
3503 { ac_configure_args0=; unset ac_configure_args0;}
3504 { ac_configure_args1=; unset ac_configure_args1;}
3506 # When interrupted or exit'd, cleanup temporary files, and complete
3507 # config.log. We remove comments because anyway the quotes in there
3508 # would cause problems or look ugly.
3509 # WARNING: Use '\'' to represent an apostrophe within the trap.
3510 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3511 trap 'exit_status=$?
3512 # Save into config.log some information that might help in debugging.
3514 echo
3516 $as_echo "## ---------------- ##
3517 ## Cache variables. ##
3518 ## ---------------- ##"
3519 echo
3520 # The following way of writing the cache mishandles newlines in values,
3522 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3523 eval ac_val=\$$ac_var
3524 case $ac_val in #(
3525 *${as_nl}*)
3526 case $ac_var in #(
3527 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3528 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3529 esac
3530 case $ac_var in #(
3531 _ | IFS | as_nl) ;; #(
3532 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3533 *) { eval $ac_var=; unset $ac_var;} ;;
3534 esac ;;
3535 esac
3536 done
3537 (set) 2>&1 |
3538 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3539 *${as_nl}ac_space=\ *)
3540 sed -n \
3541 "s/'\''/'\''\\\\'\'''\''/g;
3542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3543 ;; #(
3545 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3547 esac |
3548 sort
3550 echo
3552 $as_echo "## ----------------- ##
3553 ## Output variables. ##
3554 ## ----------------- ##"
3555 echo
3556 for ac_var in $ac_subst_vars
3558 eval ac_val=\$$ac_var
3559 case $ac_val in
3560 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3561 esac
3562 $as_echo "$ac_var='\''$ac_val'\''"
3563 done | sort
3564 echo
3566 if test -n "$ac_subst_files"; then
3567 $as_echo "## ------------------- ##
3568 ## File substitutions. ##
3569 ## ------------------- ##"
3570 echo
3571 for ac_var in $ac_subst_files
3573 eval ac_val=\$$ac_var
3574 case $ac_val in
3575 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3576 esac
3577 $as_echo "$ac_var='\''$ac_val'\''"
3578 done | sort
3579 echo
3582 if test -s confdefs.h; then
3583 $as_echo "## ----------- ##
3584 ## confdefs.h. ##
3585 ## ----------- ##"
3586 echo
3587 cat confdefs.h
3588 echo
3590 test "$ac_signal" != 0 &&
3591 $as_echo "$as_me: caught signal $ac_signal"
3592 $as_echo "$as_me: exit $exit_status"
3593 } >&5
3594 rm -f core *.core core.conftest.* &&
3595 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3596 exit $exit_status
3598 for ac_signal in 1 2 13 15; do
3599 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3600 done
3601 ac_signal=0
3603 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3604 rm -f -r conftest* confdefs.h
3606 $as_echo "/* confdefs.h */" > confdefs.h
3608 # Predefined preprocessor variables.
3610 cat >>confdefs.h <<_ACEOF
3611 #define PACKAGE_NAME "$PACKAGE_NAME"
3612 _ACEOF
3614 cat >>confdefs.h <<_ACEOF
3615 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3616 _ACEOF
3618 cat >>confdefs.h <<_ACEOF
3619 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3620 _ACEOF
3622 cat >>confdefs.h <<_ACEOF
3623 #define PACKAGE_STRING "$PACKAGE_STRING"
3624 _ACEOF
3626 cat >>confdefs.h <<_ACEOF
3627 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3628 _ACEOF
3630 cat >>confdefs.h <<_ACEOF
3631 #define PACKAGE_URL "$PACKAGE_URL"
3632 _ACEOF
3635 # Let the site file select an alternate cache file if it wants to.
3636 # Prefer an explicitly selected file to automatically selected ones.
3637 ac_site_file1=NONE
3638 ac_site_file2=NONE
3639 if test -n "$CONFIG_SITE"; then
3640 # We do not want a PATH search for config.site.
3641 case $CONFIG_SITE in #((
3642 -*) ac_site_file1=./$CONFIG_SITE;;
3643 */*) ac_site_file1=$CONFIG_SITE;;
3644 *) ac_site_file1=./$CONFIG_SITE;;
3645 esac
3646 elif test "x$prefix" != xNONE; then
3647 ac_site_file1=$prefix/share/config.site
3648 ac_site_file2=$prefix/etc/config.site
3649 else
3650 ac_site_file1=$ac_default_prefix/share/config.site
3651 ac_site_file2=$ac_default_prefix/etc/config.site
3653 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3655 test "x$ac_site_file" = xNONE && continue
3656 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3658 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3659 sed 's/^/| /' "$ac_site_file" >&5
3660 . "$ac_site_file" \
3661 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663 as_fn_error $? "failed to load site script $ac_site_file
3664 See \`config.log' for more details" "$LINENO" 5; }
3666 done
3668 if test -r "$cache_file"; then
3669 # Some versions of bash will fail to source /dev/null (special files
3670 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3671 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3673 $as_echo "$as_me: loading cache $cache_file" >&6;}
3674 case $cache_file in
3675 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3676 *) . "./$cache_file";;
3677 esac
3679 else
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3681 $as_echo "$as_me: creating cache $cache_file" >&6;}
3682 >$cache_file
3685 # Check that the precious variables saved in the cache have kept the same
3686 # value.
3687 ac_cache_corrupted=false
3688 for ac_var in $ac_precious_vars; do
3689 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3690 eval ac_new_set=\$ac_env_${ac_var}_set
3691 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3692 eval ac_new_val=\$ac_env_${ac_var}_value
3693 case $ac_old_set,$ac_new_set in
3694 set,)
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3696 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3697 ac_cache_corrupted=: ;;
3698 ,set)
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3700 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3701 ac_cache_corrupted=: ;;
3702 ,);;
3704 if test "x$ac_old_val" != "x$ac_new_val"; then
3705 # differences in whitespace do not lead to failure.
3706 ac_old_val_w=`echo x $ac_old_val`
3707 ac_new_val_w=`echo x $ac_new_val`
3708 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3710 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3711 ac_cache_corrupted=:
3712 else
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3714 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3715 eval $ac_var=\$ac_old_val
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3718 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3720 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3721 fi;;
3722 esac
3723 # Pass precious variables to config.status.
3724 if test "$ac_new_set" = set; then
3725 case $ac_new_val in
3726 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3727 *) ac_arg=$ac_var=$ac_new_val ;;
3728 esac
3729 case " $ac_configure_args " in
3730 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3731 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3732 esac
3734 done
3735 if $ac_cache_corrupted; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3739 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3740 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3742 ## -------------------- ##
3743 ## Main body of script. ##
3744 ## -------------------- ##
3746 ac_ext=c
3747 ac_cpp='$CPP $CPPFLAGS'
3748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3754 ac_config_headers="$ac_config_headers include/config.h"
3756 ac_aux_dir=
3757 for ac_dir in tools "$srcdir"/tools; do
3758 if test -f "$ac_dir/install-sh"; then
3759 ac_aux_dir=$ac_dir
3760 ac_install_sh="$ac_aux_dir/install-sh -c"
3761 break
3762 elif test -f "$ac_dir/install.sh"; then
3763 ac_aux_dir=$ac_dir
3764 ac_install_sh="$ac_aux_dir/install.sh -c"
3765 break
3766 elif test -f "$ac_dir/shtool"; then
3767 ac_aux_dir=$ac_dir
3768 ac_install_sh="$ac_aux_dir/shtool install -c"
3769 break
3771 done
3772 if test -z "$ac_aux_dir"; then
3773 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3776 # These three variables are undocumented and unsupported,
3777 # and are intended to be withdrawn in a future Autoconf release.
3778 # They can cause serious problems if a builder's source tree is in a directory
3779 # whose full name contains unusual characters.
3780 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3781 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3782 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3786 libwine_version="1.0"
3790 # Check whether --enable-win16 was given.
3791 if test "${enable_win16+set}" = set; then :
3792 enableval=$enable_win16;
3795 # Check whether --enable-win64 was given.
3796 if test "${enable_win64+set}" = set; then :
3797 enableval=$enable_win64;
3800 # Check whether --enable-tests was given.
3801 if test "${enable_tests+set}" = set; then :
3802 enableval=$enable_tests;
3805 # Check whether --enable-maintainer-mode was given.
3806 if test "${enable_maintainer_mode+set}" = set; then :
3807 enableval=$enable_maintainer_mode;
3812 # Check whether --with-alsa was given.
3813 if test "${with_alsa+set}" = set; then :
3814 withval=$with_alsa;
3818 # Check whether --with-capi was given.
3819 if test "${with_capi+set}" = set; then :
3820 withval=$with_capi;
3824 # Check whether --with-cms was given.
3825 if test "${with_cms+set}" = set; then :
3826 withval=$with_cms;
3830 # Check whether --with-coreaudio was given.
3831 if test "${with_coreaudio+set}" = set; then :
3832 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3836 # Check whether --with-cups was given.
3837 if test "${with_cups+set}" = set; then :
3838 withval=$with_cups;
3842 # Check whether --with-curses was given.
3843 if test "${with_curses+set}" = set; then :
3844 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3848 # Check whether --with-dbus was given.
3849 if test "${with_dbus+set}" = set; then :
3850 withval=$with_dbus;
3854 # Check whether --with-faudio was given.
3855 if test "${with_faudio+set}" = set; then :
3856 withval=$with_faudio;
3860 # Check whether --with-float-abi was given.
3861 if test "${with_float_abi+set}" = set; then :
3862 withval=$with_float_abi;
3866 # Check whether --with-fontconfig was given.
3867 if test "${with_fontconfig+set}" = set; then :
3868 withval=$with_fontconfig;
3872 # Check whether --with-freetype was given.
3873 if test "${with_freetype+set}" = set; then :
3874 withval=$with_freetype;
3878 # Check whether --with-gettext was given.
3879 if test "${with_gettext+set}" = set; then :
3880 withval=$with_gettext;
3884 # Check whether --with-gettextpo was given.
3885 if test "${with_gettextpo+set}" = set; then :
3886 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3890 # Check whether --with-gphoto was given.
3891 if test "${with_gphoto+set}" = set; then :
3892 withval=$with_gphoto;
3896 # Check whether --with-glu was given.
3897 if test "${with_glu+set}" = set; then :
3898 withval=$with_glu;
3902 # Check whether --with-gnutls was given.
3903 if test "${with_gnutls+set}" = set; then :
3904 withval=$with_gnutls;
3908 # Check whether --with-gsm was given.
3909 if test "${with_gsm+set}" = set; then :
3910 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3914 # Check whether --with-gssapi was given.
3915 if test "${with_gssapi+set}" = set; then :
3916 withval=$with_gssapi;
3920 # Check whether --with-gstreamer was given.
3921 if test "${with_gstreamer+set}" = set; then :
3922 withval=$with_gstreamer;
3926 # Check whether --with-hal was given.
3927 if test "${with_hal+set}" = set; then :
3928 withval=$with_hal;
3932 # Check whether --with-jpeg was given.
3933 if test "${with_jpeg+set}" = set; then :
3934 withval=$with_jpeg;
3938 # Check whether --with-krb5 was given.
3939 if test "${with_krb5+set}" = set; then :
3940 withval=$with_krb5;
3944 # Check whether --with-ldap was given.
3945 if test "${with_ldap+set}" = set; then :
3946 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3950 # Check whether --with-mingw was given.
3951 if test "${with_mingw+set}" = set; then :
3952 withval=$with_mingw;
3956 # Check whether --with-mpg123 was given.
3957 if test "${with_mpg123+set}" = set; then :
3958 withval=$with_mpg123;
3962 # Check whether --with-netapi was given.
3963 if test "${with_netapi+set}" = set; then :
3964 withval=$with_netapi;
3968 # Check whether --with-openal was given.
3969 if test "${with_openal+set}" = set; then :
3970 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3974 # Check whether --with-opencl was given.
3975 if test "${with_opencl+set}" = set; then :
3976 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3980 # Check whether --with-opengl was given.
3981 if test "${with_opengl+set}" = set; then :
3982 withval=$with_opengl;
3986 # Check whether --with-osmesa was given.
3987 if test "${with_osmesa+set}" = set; then :
3988 withval=$with_osmesa;
3992 # Check whether --with-oss was given.
3993 if test "${with_oss+set}" = set; then :
3994 withval=$with_oss;
3998 # Check whether --with-pcap was given.
3999 if test "${with_pcap+set}" = set; then :
4000 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4004 # Check whether --with-png was given.
4005 if test "${with_png+set}" = set; then :
4006 withval=$with_png;
4010 # Check whether --with-pthread was given.
4011 if test "${with_pthread+set}" = set; then :
4012 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4016 # Check whether --with-pulse was given.
4017 if test "${with_pulse+set}" = set; then :
4018 withval=$with_pulse;
4022 # Check whether --with-sane was given.
4023 if test "${with_sane+set}" = set; then :
4024 withval=$with_sane;
4028 # Check whether --with-sdl was given.
4029 if test "${with_sdl+set}" = set; then :
4030 withval=$with_sdl;
4034 # Check whether --with-tiff was given.
4035 if test "${with_tiff+set}" = set; then :
4036 withval=$with_tiff;
4040 # Check whether --with-udev was given.
4041 if test "${with_udev+set}" = set; then :
4042 withval=$with_udev;
4046 # Check whether --with-v4l was given.
4047 if test "${with_v4l+set}" = set; then :
4048 withval=$with_v4l;
4052 # Check whether --with-vkd3d was given.
4053 if test "${with_vkd3d+set}" = set; then :
4054 withval=$with_vkd3d;
4058 # Check whether --with-vulkan was given.
4059 if test "${with_vulkan+set}" = set; then :
4060 withval=$with_vulkan;
4064 # Check whether --with-xcomposite was given.
4065 if test "${with_xcomposite+set}" = set; then :
4066 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4070 # Check whether --with-xcursor was given.
4071 if test "${with_xcursor+set}" = set; then :
4072 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4076 # Check whether --with-xfixes was given.
4077 if test "${with_xfixes+set}" = set; then :
4078 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4082 # Check whether --with-xinerama was given.
4083 if test "${with_xinerama+set}" = set; then :
4084 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4088 # Check whether --with-xinput was given.
4089 if test "${with_xinput+set}" = set; then :
4090 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4094 # Check whether --with-xinput2 was given.
4095 if test "${with_xinput2+set}" = set; then :
4096 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4100 # Check whether --with-xml was given.
4101 if test "${with_xml+set}" = set; then :
4102 withval=$with_xml;
4106 # Check whether --with-xrandr was given.
4107 if test "${with_xrandr+set}" = set; then :
4108 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4112 # Check whether --with-xrender was given.
4113 if test "${with_xrender+set}" = set; then :
4114 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4118 # Check whether --with-xshape was given.
4119 if test "${with_xshape+set}" = set; then :
4120 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4124 # Check whether --with-xshm was given.
4125 if test "${with_xshm+set}" = set; then :
4126 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4130 # Check whether --with-xslt was given.
4131 if test "${with_xslt+set}" = set; then :
4132 withval=$with_xslt;
4136 # Check whether --with-xxf86vm was given.
4137 if test "${with_xxf86vm+set}" = set; then :
4138 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
4142 # Check whether --with-zlib was given.
4143 if test "${with_zlib+set}" = set; then :
4144 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4149 # Check whether --with-wine-tools was given.
4150 if test "${with_wine_tools+set}" = set; then :
4151 withval=$with_wine_tools;
4155 # Check whether --with-wine64 was given.
4156 if test "${with_wine64+set}" = set; then :
4157 withval=$with_wine64;
4161 # Make sure we can run config.sub.
4162 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4163 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4166 $as_echo_n "checking build system type... " >&6; }
4167 if ${ac_cv_build+:} false; then :
4168 $as_echo_n "(cached) " >&6
4169 else
4170 ac_build_alias=$build_alias
4171 test "x$ac_build_alias" = x &&
4172 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4173 test "x$ac_build_alias" = x &&
4174 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4175 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4176 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4180 $as_echo "$ac_cv_build" >&6; }
4181 case $ac_cv_build in
4182 *-*-*) ;;
4183 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4184 esac
4185 build=$ac_cv_build
4186 ac_save_IFS=$IFS; IFS='-'
4187 set x $ac_cv_build
4188 shift
4189 build_cpu=$1
4190 build_vendor=$2
4191 shift; shift
4192 # Remember, the first character of IFS is used to create $*,
4193 # except with old shells:
4194 build_os=$*
4195 IFS=$ac_save_IFS
4196 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4200 $as_echo_n "checking host system type... " >&6; }
4201 if ${ac_cv_host+:} false; then :
4202 $as_echo_n "(cached) " >&6
4203 else
4204 if test "x$host_alias" = x; then
4205 ac_cv_host=$ac_cv_build
4206 else
4207 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4208 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4213 $as_echo "$ac_cv_host" >&6; }
4214 case $ac_cv_host in
4215 *-*-*) ;;
4216 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4217 esac
4218 host=$ac_cv_host
4219 ac_save_IFS=$IFS; IFS='-'
4220 set x $ac_cv_host
4221 shift
4222 host_cpu=$1
4223 host_vendor=$2
4224 shift; shift
4225 # Remember, the first character of IFS is used to create $*,
4226 # except with old shells:
4227 host_os=$*
4228 IFS=$ac_save_IFS
4229 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4233 case "$srcdir" in
4234 .) ;;
4235 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4236 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4237 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4238 fi ;;
4239 esac
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4243 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4244 set x ${MAKE-make}
4245 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4246 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 cat >conftest.make <<\_ACEOF
4250 SHELL = /bin/sh
4251 all:
4252 @echo '@@@%%%=$(MAKE)=@@@%%%'
4253 _ACEOF
4254 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4255 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4256 *@@@%%%=?*=@@@%%%*)
4257 eval ac_cv_prog_make_${ac_make}_set=yes;;
4259 eval ac_cv_prog_make_${ac_make}_set=no;;
4260 esac
4261 rm -f conftest.make
4263 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4265 $as_echo "yes" >&6; }
4266 SET_MAKE=
4267 else
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4270 SET_MAKE="MAKE=${MAKE-make}"
4273 ac_ext=c
4274 ac_cpp='$CPP $CPPFLAGS'
4275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4278 if test -n "$ac_tool_prefix"; then
4279 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4280 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282 $as_echo_n "checking for $ac_word... " >&6; }
4283 if ${ac_cv_prog_CC+:} false; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 if test -n "$CC"; then
4287 ac_cv_prog_CC="$CC" # Let the user override the test.
4288 else
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in $PATH
4292 IFS=$as_save_IFS
4293 test -z "$as_dir" && as_dir=.
4294 for ac_exec_ext in '' $ac_executable_extensions; do
4295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4296 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 break 2
4300 done
4301 done
4302 IFS=$as_save_IFS
4306 CC=$ac_cv_prog_CC
4307 if test -n "$CC"; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4309 $as_echo "$CC" >&6; }
4310 else
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4317 if test -z "$ac_cv_prog_CC"; then
4318 ac_ct_CC=$CC
4319 # Extract the first word of "gcc", so it can be a program name with args.
4320 set dummy gcc; ac_word=$2
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4322 $as_echo_n "checking for $ac_word... " >&6; }
4323 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4324 $as_echo_n "(cached) " >&6
4325 else
4326 if test -n "$ac_ct_CC"; then
4327 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4328 else
4329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 for as_dir in $PATH
4332 IFS=$as_save_IFS
4333 test -z "$as_dir" && as_dir=.
4334 for ac_exec_ext in '' $ac_executable_extensions; do
4335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4336 ac_cv_prog_ac_ct_CC="gcc"
4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 break 2
4340 done
4341 done
4342 IFS=$as_save_IFS
4346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4347 if test -n "$ac_ct_CC"; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4349 $as_echo "$ac_ct_CC" >&6; }
4350 else
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352 $as_echo "no" >&6; }
4355 if test "x$ac_ct_CC" = x; then
4356 CC=""
4357 else
4358 case $cross_compiling:$ac_tool_warned in
4359 yes:)
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4362 ac_tool_warned=yes ;;
4363 esac
4364 CC=$ac_ct_CC
4366 else
4367 CC="$ac_cv_prog_CC"
4370 if test -z "$CC"; then
4371 if test -n "$ac_tool_prefix"; then
4372 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4373 set dummy ${ac_tool_prefix}cc; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CC+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$CC"; then
4380 ac_cv_prog_CC="$CC" # Let the user override the test.
4381 else
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 for as_dir in $PATH
4385 IFS=$as_save_IFS
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_CC="${ac_tool_prefix}cc"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 break 2
4393 done
4394 done
4395 IFS=$as_save_IFS
4399 CC=$ac_cv_prog_CC
4400 if test -n "$CC"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4402 $as_echo "$CC" >&6; }
4403 else
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4411 if test -z "$CC"; then
4412 # Extract the first word of "cc", so it can be a program name with args.
4413 set dummy cc; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_CC+:} false; then :
4417 $as_echo_n "(cached) " >&6
4418 else
4419 if test -n "$CC"; then
4420 ac_cv_prog_CC="$CC" # Let the user override the test.
4421 else
4422 ac_prog_rejected=no
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4431 ac_prog_rejected=yes
4432 continue
4434 ac_cv_prog_CC="cc"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 break 2
4438 done
4439 done
4440 IFS=$as_save_IFS
4442 if test $ac_prog_rejected = yes; then
4443 # We found a bogon in the path, so make sure we never use it.
4444 set dummy $ac_cv_prog_CC
4445 shift
4446 if test $# != 0; then
4447 # We chose a different compiler from the bogus one.
4448 # However, it has the same basename, so the bogon will be chosen
4449 # first if we set CC to just the basename; use the full file name.
4450 shift
4451 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4456 CC=$ac_cv_prog_CC
4457 if test -n "$CC"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4459 $as_echo "$CC" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4467 if test -z "$CC"; then
4468 if test -n "$ac_tool_prefix"; then
4469 for ac_prog in cl.exe
4471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4472 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_CC+:} false; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 if test -n "$CC"; then
4479 ac_cv_prog_CC="$CC" # Let the user override the test.
4480 else
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4498 CC=$ac_cv_prog_CC
4499 if test -n "$CC"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4501 $as_echo "$CC" >&6; }
4502 else
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4508 test -n "$CC" && break
4509 done
4511 if test -z "$CC"; then
4512 ac_ct_CC=$CC
4513 for ac_prog in cl.exe
4515 # Extract the first word of "$ac_prog", so it can be a program name with args.
4516 set dummy $ac_prog; ac_word=$2
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4518 $as_echo_n "checking for $ac_word... " >&6; }
4519 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 if test -n "$ac_ct_CC"; then
4523 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4524 else
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 for as_dir in $PATH
4528 IFS=$as_save_IFS
4529 test -z "$as_dir" && as_dir=.
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4532 ac_cv_prog_ac_ct_CC="$ac_prog"
4533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 break 2
4536 done
4537 done
4538 IFS=$as_save_IFS
4542 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4543 if test -n "$ac_ct_CC"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4545 $as_echo "$ac_ct_CC" >&6; }
4546 else
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4552 test -n "$ac_ct_CC" && break
4553 done
4555 if test "x$ac_ct_CC" = x; then
4556 CC=""
4557 else
4558 case $cross_compiling:$ac_tool_warned in
4559 yes:)
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4562 ac_tool_warned=yes ;;
4563 esac
4564 CC=$ac_ct_CC
4571 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4573 as_fn_error $? "no acceptable C compiler found in \$PATH
4574 See \`config.log' for more details" "$LINENO" 5; }
4576 # Provide some information about the compiler.
4577 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4578 set X $ac_compile
4579 ac_compiler=$2
4580 for ac_option in --version -v -V -qversion; do
4581 { { ac_try="$ac_compiler $ac_option >&5"
4582 case "(($ac_try" in
4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4585 esac
4586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4587 $as_echo "$ac_try_echo"; } >&5
4588 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4589 ac_status=$?
4590 if test -s conftest.err; then
4591 sed '10a\
4592 ... rest of stderr output deleted ...
4593 10q' conftest.err >conftest.er1
4594 cat conftest.er1 >&5
4596 rm -f conftest.er1 conftest.err
4597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4598 test $ac_status = 0; }
4599 done
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4605 main ()
4609 return 0;
4611 _ACEOF
4612 ac_clean_files_save=$ac_clean_files
4613 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4614 # Try to create an executable without -o first, disregard a.out.
4615 # It will help us diagnose broken compilers, and finding out an intuition
4616 # of exeext.
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4618 $as_echo_n "checking whether the C compiler works... " >&6; }
4619 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4621 # The possible output files:
4622 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4624 ac_rmfiles=
4625 for ac_file in $ac_files
4627 case $ac_file in
4628 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4629 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4630 esac
4631 done
4632 rm -f $ac_rmfiles
4634 if { { ac_try="$ac_link_default"
4635 case "(($ac_try" in
4636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4637 *) ac_try_echo=$ac_try;;
4638 esac
4639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4640 $as_echo "$ac_try_echo"; } >&5
4641 (eval "$ac_link_default") 2>&5
4642 ac_status=$?
4643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4644 test $ac_status = 0; }; then :
4645 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4646 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4647 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4648 # so that the user can short-circuit this test for compilers unknown to
4649 # Autoconf.
4650 for ac_file in $ac_files ''
4652 test -f "$ac_file" || continue
4653 case $ac_file in
4654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4656 [ab].out )
4657 # We found the default executable, but exeext='' is most
4658 # certainly right.
4659 break;;
4660 *.* )
4661 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4662 then :; else
4663 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4665 # We set ac_cv_exeext here because the later test for it is not
4666 # safe: cross compilers may not add the suffix if given an `-o'
4667 # argument, so we may need to know it at that point already.
4668 # Even if this section looks crufty: it has the advantage of
4669 # actually working.
4670 break;;
4672 break;;
4673 esac
4674 done
4675 test "$ac_cv_exeext" = no && ac_cv_exeext=
4677 else
4678 ac_file=''
4680 if test -z "$ac_file"; then :
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4683 $as_echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4688 as_fn_error 77 "C compiler cannot create executables
4689 See \`config.log' for more details" "$LINENO" 5; }
4690 else
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4692 $as_echo "yes" >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4695 $as_echo_n "checking for C compiler default output file name... " >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4697 $as_echo "$ac_file" >&6; }
4698 ac_exeext=$ac_cv_exeext
4700 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4701 ac_clean_files=$ac_clean_files_save
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4703 $as_echo_n "checking for suffix of executables... " >&6; }
4704 if { { ac_try="$ac_link"
4705 case "(($ac_try" in
4706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4708 esac
4709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4710 $as_echo "$ac_try_echo"; } >&5
4711 (eval "$ac_link") 2>&5
4712 ac_status=$?
4713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4714 test $ac_status = 0; }; then :
4715 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4716 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4717 # work properly (i.e., refer to `conftest.exe'), while it won't with
4718 # `rm'.
4719 for ac_file in conftest.exe conftest conftest.*; do
4720 test -f "$ac_file" || continue
4721 case $ac_file in
4722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4723 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4724 break;;
4725 * ) break;;
4726 esac
4727 done
4728 else
4729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4731 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4732 See \`config.log' for more details" "$LINENO" 5; }
4734 rm -f conftest conftest$ac_cv_exeext
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4736 $as_echo "$ac_cv_exeext" >&6; }
4738 rm -f conftest.$ac_ext
4739 EXEEXT=$ac_cv_exeext
4740 ac_exeext=$EXEEXT
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #include <stdio.h>
4745 main ()
4747 FILE *f = fopen ("conftest.out", "w");
4748 return ferror (f) || fclose (f) != 0;
4751 return 0;
4753 _ACEOF
4754 ac_clean_files="$ac_clean_files conftest.out"
4755 # Check that the compiler produces executables we can run. If not, either
4756 # the compiler is broken, or we cross compile.
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4758 $as_echo_n "checking whether we are cross compiling... " >&6; }
4759 if test "$cross_compiling" != yes; then
4760 { { ac_try="$ac_link"
4761 case "(($ac_try" in
4762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4763 *) ac_try_echo=$ac_try;;
4764 esac
4765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4766 $as_echo "$ac_try_echo"; } >&5
4767 (eval "$ac_link") 2>&5
4768 ac_status=$?
4769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4770 test $ac_status = 0; }
4771 if { ac_try='./conftest$ac_cv_exeext'
4772 { { case "(($ac_try" in
4773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4774 *) ac_try_echo=$ac_try;;
4775 esac
4776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4777 $as_echo "$ac_try_echo"; } >&5
4778 (eval "$ac_try") 2>&5
4779 ac_status=$?
4780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4781 test $ac_status = 0; }; }; then
4782 cross_compiling=no
4783 else
4784 if test "$cross_compiling" = maybe; then
4785 cross_compiling=yes
4786 else
4787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4789 as_fn_error $? "cannot run C compiled programs.
4790 If you meant to cross compile, use \`--host'.
4791 See \`config.log' for more details" "$LINENO" 5; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4796 $as_echo "$cross_compiling" >&6; }
4798 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4799 ac_clean_files=$ac_clean_files_save
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4801 $as_echo_n "checking for suffix of object files... " >&6; }
4802 if ${ac_cv_objext+:} false; then :
4803 $as_echo_n "(cached) " >&6
4804 else
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4809 main ()
4813 return 0;
4815 _ACEOF
4816 rm -f conftest.o conftest.obj
4817 if { { ac_try="$ac_compile"
4818 case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4821 esac
4822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4823 $as_echo "$ac_try_echo"; } >&5
4824 (eval "$ac_compile") 2>&5
4825 ac_status=$?
4826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4827 test $ac_status = 0; }; then :
4828 for ac_file in conftest.o conftest.obj conftest.*; do
4829 test -f "$ac_file" || continue;
4830 case $ac_file in
4831 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4832 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4833 break;;
4834 esac
4835 done
4836 else
4837 $as_echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4842 as_fn_error $? "cannot compute suffix of object files: cannot compile
4843 See \`config.log' for more details" "$LINENO" 5; }
4845 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4848 $as_echo "$ac_cv_objext" >&6; }
4849 OBJEXT=$ac_cv_objext
4850 ac_objext=$OBJEXT
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4852 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4853 if ${ac_cv_c_compiler_gnu+:} false; then :
4854 $as_echo_n "(cached) " >&6
4855 else
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4862 #ifndef __GNUC__
4863 choke me
4864 #endif
4867 return 0;
4869 _ACEOF
4870 if ac_fn_c_try_compile "$LINENO"; then :
4871 ac_compiler_gnu=yes
4872 else
4873 ac_compiler_gnu=no
4875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4880 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4881 if test $ac_compiler_gnu = yes; then
4882 GCC=yes
4883 else
4884 GCC=
4886 ac_test_CFLAGS=${CFLAGS+set}
4887 ac_save_CFLAGS=$CFLAGS
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4889 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4890 if ${ac_cv_prog_cc_g+:} false; then :
4891 $as_echo_n "(cached) " >&6
4892 else
4893 ac_save_c_werror_flag=$ac_c_werror_flag
4894 ac_c_werror_flag=yes
4895 ac_cv_prog_cc_g=no
4896 CFLAGS="-g"
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4901 main ()
4905 return 0;
4907 _ACEOF
4908 if ac_fn_c_try_compile "$LINENO"; then :
4909 ac_cv_prog_cc_g=yes
4910 else
4911 CFLAGS=""
4912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4916 main ()
4920 return 0;
4922 _ACEOF
4923 if ac_fn_c_try_compile "$LINENO"; then :
4925 else
4926 ac_c_werror_flag=$ac_save_c_werror_flag
4927 CFLAGS="-g"
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4932 main ()
4936 return 0;
4938 _ACEOF
4939 if ac_fn_c_try_compile "$LINENO"; then :
4940 ac_cv_prog_cc_g=yes
4942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947 ac_c_werror_flag=$ac_save_c_werror_flag
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4950 $as_echo "$ac_cv_prog_cc_g" >&6; }
4951 if test "$ac_test_CFLAGS" = set; then
4952 CFLAGS=$ac_save_CFLAGS
4953 elif test $ac_cv_prog_cc_g = yes; then
4954 if test "$GCC" = yes; then
4955 CFLAGS="-g -O2"
4956 else
4957 CFLAGS="-g"
4959 else
4960 if test "$GCC" = yes; then
4961 CFLAGS="-O2"
4962 else
4963 CFLAGS=
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4967 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4968 if ${ac_cv_prog_cc_c89+:} false; then :
4969 $as_echo_n "(cached) " >&6
4970 else
4971 ac_cv_prog_cc_c89=no
4972 ac_save_CC=$CC
4973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4975 #include <stdarg.h>
4976 #include <stdio.h>
4977 struct stat;
4978 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4979 struct buf { int x; };
4980 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4981 static char *e (p, i)
4982 char **p;
4983 int i;
4985 return p[i];
4987 static char *f (char * (*g) (char **, int), char **p, ...)
4989 char *s;
4990 va_list v;
4991 va_start (v,p);
4992 s = g (p, va_arg (v,int));
4993 va_end (v);
4994 return s;
4997 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4998 function prototypes and stuff, but not '\xHH' hex character constants.
4999 These don't provoke an error unfortunately, instead are silently treated
5000 as 'x'. The following induces an error, until -std is added to get
5001 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5002 array size at least. It's necessary to write '\x00'==0 to get something
5003 that's true only with -std. */
5004 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5006 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5007 inside strings and character constants. */
5008 #define FOO(x) 'x'
5009 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5011 int test (int i, double x);
5012 struct s1 {int (*f) (int a);};
5013 struct s2 {int (*f) (double a);};
5014 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5015 int argc;
5016 char **argv;
5018 main ()
5020 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5022 return 0;
5024 _ACEOF
5025 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5026 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5028 CC="$ac_save_CC $ac_arg"
5029 if ac_fn_c_try_compile "$LINENO"; then :
5030 ac_cv_prog_cc_c89=$ac_arg
5032 rm -f core conftest.err conftest.$ac_objext
5033 test "x$ac_cv_prog_cc_c89" != "xno" && break
5034 done
5035 rm -f conftest.$ac_ext
5036 CC=$ac_save_CC
5039 # AC_CACHE_VAL
5040 case "x$ac_cv_prog_cc_c89" in
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5043 $as_echo "none needed" >&6; } ;;
5044 xno)
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5046 $as_echo "unsupported" >&6; } ;;
5048 CC="$CC $ac_cv_prog_cc_c89"
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5050 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5051 esac
5052 if test "x$ac_cv_prog_cc_c89" != xno; then :
5056 ac_ext=c
5057 ac_cpp='$CPP $CPPFLAGS'
5058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5062 ac_ext=cpp
5063 ac_cpp='$CXXCPP $CPPFLAGS'
5064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5067 if test -z "$CXX"; then
5068 if test -n "$CCC"; then
5069 CXX=$CCC
5070 else
5071 if test -n "$ac_tool_prefix"; then
5072 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5075 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_CXX+:} false; then :
5079 $as_echo_n "(cached) " >&6
5080 else
5081 if test -n "$CXX"; then
5082 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5083 else
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5087 IFS=$as_save_IFS
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 break 2
5095 done
5096 done
5097 IFS=$as_save_IFS
5101 CXX=$ac_cv_prog_CXX
5102 if test -n "$CXX"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5104 $as_echo "$CXX" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5111 test -n "$CXX" && break
5112 done
5114 if test -z "$CXX"; then
5115 ac_ct_CXX=$CXX
5116 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5118 # Extract the first word of "$ac_prog", so it can be a program name with args.
5119 set dummy $ac_prog; ac_word=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5123 $as_echo_n "(cached) " >&6
5124 else
5125 if test -n "$ac_ct_CXX"; then
5126 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5127 else
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH
5131 IFS=$as_save_IFS
5132 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5135 ac_cv_prog_ac_ct_CXX="$ac_prog"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5146 if test -n "$ac_ct_CXX"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5148 $as_echo "$ac_ct_CXX" >&6; }
5149 else
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5155 test -n "$ac_ct_CXX" && break
5156 done
5158 if test "x$ac_ct_CXX" = x; then
5159 CXX="g++"
5160 else
5161 case $cross_compiling:$ac_tool_warned in
5162 yes:)
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5165 ac_tool_warned=yes ;;
5166 esac
5167 CXX=$ac_ct_CXX
5173 # Provide some information about the compiler.
5174 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5175 set X $ac_compile
5176 ac_compiler=$2
5177 for ac_option in --version -v -V -qversion; do
5178 { { ac_try="$ac_compiler $ac_option >&5"
5179 case "(($ac_try" in
5180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5181 *) ac_try_echo=$ac_try;;
5182 esac
5183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5184 $as_echo "$ac_try_echo"; } >&5
5185 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5186 ac_status=$?
5187 if test -s conftest.err; then
5188 sed '10a\
5189 ... rest of stderr output deleted ...
5190 10q' conftest.err >conftest.er1
5191 cat conftest.er1 >&5
5193 rm -f conftest.er1 conftest.err
5194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5195 test $ac_status = 0; }
5196 done
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5199 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5200 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5207 main ()
5209 #ifndef __GNUC__
5210 choke me
5211 #endif
5214 return 0;
5216 _ACEOF
5217 if ac_fn_cxx_try_compile "$LINENO"; then :
5218 ac_compiler_gnu=yes
5219 else
5220 ac_compiler_gnu=no
5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5223 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5227 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5228 if test $ac_compiler_gnu = yes; then
5229 GXX=yes
5230 else
5231 GXX=
5233 ac_test_CXXFLAGS=${CXXFLAGS+set}
5234 ac_save_CXXFLAGS=$CXXFLAGS
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5236 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5237 if ${ac_cv_prog_cxx_g+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5241 ac_cxx_werror_flag=yes
5242 ac_cv_prog_cxx_g=no
5243 CXXFLAGS="-g"
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5248 main ()
5252 return 0;
5254 _ACEOF
5255 if ac_fn_cxx_try_compile "$LINENO"; then :
5256 ac_cv_prog_cxx_g=yes
5257 else
5258 CXXFLAGS=""
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5260 /* end confdefs.h. */
5263 main ()
5267 return 0;
5269 _ACEOF
5270 if ac_fn_cxx_try_compile "$LINENO"; then :
5272 else
5273 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5274 CXXFLAGS="-g"
5275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5276 /* end confdefs.h. */
5279 main ()
5283 return 0;
5285 _ACEOF
5286 if ac_fn_cxx_try_compile "$LINENO"; then :
5287 ac_cv_prog_cxx_g=yes
5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5294 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5297 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5298 if test "$ac_test_CXXFLAGS" = set; then
5299 CXXFLAGS=$ac_save_CXXFLAGS
5300 elif test $ac_cv_prog_cxx_g = yes; then
5301 if test "$GXX" = yes; then
5302 CXXFLAGS="-g -O2"
5303 else
5304 CXXFLAGS="-g"
5306 else
5307 if test "$GXX" = yes; then
5308 CXXFLAGS="-O2"
5309 else
5310 CXXFLAGS=
5313 ac_ext=c
5314 ac_cpp='$CPP $CPPFLAGS'
5315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5319 if test -n "$ac_tool_prefix"; then
5320 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5321 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if ${ac_cv_prog_CPPBIN+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 if test -n "$CPPBIN"; then
5328 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5329 else
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH
5333 IFS=$as_save_IFS
5334 test -z "$as_dir" && as_dir=.
5335 for ac_exec_ext in '' $ac_executable_extensions; do
5336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 break 2
5341 done
5342 done
5343 IFS=$as_save_IFS
5347 CPPBIN=$ac_cv_prog_CPPBIN
5348 if test -n "$CPPBIN"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5350 $as_echo "$CPPBIN" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5358 if test -z "$ac_cv_prog_CPPBIN"; then
5359 ac_ct_CPPBIN=$CPPBIN
5360 # Extract the first word of "cpp", so it can be a program name with args.
5361 set dummy cpp; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$ac_ct_CPPBIN"; then
5368 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_ac_ct_CPPBIN="cpp"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 IFS=$as_save_IFS
5387 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5388 if test -n "$ac_ct_CPPBIN"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5390 $as_echo "$ac_ct_CPPBIN" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5396 if test "x$ac_ct_CPPBIN" = x; then
5397 CPPBIN="cpp"
5398 else
5399 case $cross_compiling:$ac_tool_warned in
5400 yes:)
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5403 ac_tool_warned=yes ;;
5404 esac
5405 CPPBIN=$ac_ct_CPPBIN
5407 else
5408 CPPBIN="$ac_cv_prog_CPPBIN"
5412 cat >>confdefs.h <<_ACEOF
5413 #define EXEEXT "$ac_exeext"
5414 _ACEOF
5416 if test -n "$ac_tool_prefix"; then
5417 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5418 set dummy ${ac_tool_prefix}ld; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_LD+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$LD"; then
5425 ac_cv_prog_LD="$LD" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_LD="${ac_tool_prefix}ld"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 LD=$ac_cv_prog_LD
5445 if test -n "$LD"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5447 $as_echo "$LD" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5455 if test -z "$ac_cv_prog_LD"; then
5456 ac_ct_LD=$LD
5457 # Extract the first word of "ld", so it can be a program name with args.
5458 set dummy ld; ac_word=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5462 $as_echo_n "(cached) " >&6
5463 else
5464 if test -n "$ac_ct_LD"; then
5465 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_ac_ct_LD="ld"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 break 2
5478 done
5479 done
5480 IFS=$as_save_IFS
5484 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5485 if test -n "$ac_ct_LD"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5487 $as_echo "$ac_ct_LD" >&6; }
5488 else
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5493 if test "x$ac_ct_LD" = x; then
5494 LD=""
5495 else
5496 case $cross_compiling:$ac_tool_warned in
5497 yes:)
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5500 ac_tool_warned=yes ;;
5501 esac
5502 LD=$ac_ct_LD
5504 else
5505 LD="$ac_cv_prog_LD"
5509 case $host in
5510 *-darwin*)
5511 with_fontconfig=${with_fontconfig:-no}
5513 *-mingw32*|*-cygwin*)
5514 enable_win16=${enable_win16:-no}
5515 with_mingw=${with_mingw:-no}
5516 CFLAGS="$CFLAGS -D_WIN32"
5518 esac
5520 case $host in
5521 x86_64*|amd64*)
5522 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5523 then
5524 CC="$CC -m32"
5525 CXX="$CXX -m32"
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5527 $as_echo_n "checking whether $CC works... " >&6; }
5529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */
5533 main ()
5537 return 0;
5539 _ACEOF
5540 if ac_fn_c_try_link "$LINENO"; then :
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5542 $as_echo "yes" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5546 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5548 rm -f core conftest.err conftest.$ac_objext \
5549 conftest$ac_exeext conftest.$ac_ext
5550 host_cpu="i386"
5551 notice_platform="32-bit "
5552 TARGETFLAGS="-m32"
5554 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5555 export PKG_CONFIG_PATH
5556 enable_win16=${enable_win16:-yes}
5557 else
5558 if test "x${GCC}" = "xyes"
5559 then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5561 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563 /* end confdefs.h. */
5564 #include <stdarg.h>
5566 main ()
5568 void func(__builtin_ms_va_list *args);
5570 return 0;
5572 _ACEOF
5573 if ac_fn_c_try_compile "$LINENO"; then :
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5575 $as_echo "yes" >&6; }
5576 else
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5579 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5583 CC="$CC -m64"
5584 CXX="$CXX -m64"
5585 host_cpu="x86_64"
5586 notice_platform="64-bit "
5587 TARGETFLAGS="-m64"
5591 arm*)
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5593 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596 int ac_test(int i) { return i; }
5598 main ()
5600 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5602 return 0;
5604 _ACEOF
5605 if ac_fn_c_try_link "$LINENO"; then :
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5607 $as_echo "yes" >&6; }
5608 else
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5611 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5613 rm -f core conftest.err conftest.$ac_objext \
5614 conftest$ac_exeext conftest.$ac_ext
5615 case $with_float_abi in
5616 soft|softfp|hard)
5617 float_abi=$with_float_abi ;;
5619 case $host_os in
5620 *eabihf)
5621 float_abi=hard ;;
5623 float_abi=softfp
5624 saved_CFLAGS=$CFLAGS
5625 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5627 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5632 main ()
5634 asm("vmrs r2,fpscr");
5636 return 0;
5638 _ACEOF
5639 if ac_fn_c_try_link "$LINENO"; then :
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5641 $as_echo "yes" >&6; }
5642 else
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5645 float_abi=soft
5646 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5648 rm -f core conftest.err conftest.$ac_objext \
5649 conftest$ac_exeext conftest.$ac_ext
5650 CFLAGS=$saved_CFLAGS
5651 esac
5653 esac
5654 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5655 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5658 aarch64*)
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5660 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5663 #include <stdarg.h>
5665 main ()
5667 void func(__builtin_ms_va_list *args);
5669 return 0;
5671 _ACEOF
5672 if ac_fn_c_try_compile "$LINENO"; then :
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5674 $as_echo "yes" >&6; }
5675 else
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5678 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5682 i[3456789]86*)
5683 enable_win16=${enable_win16:-yes}
5685 esac
5687 enable_win16=${enable_win16:-no}
5688 enable_win64=${enable_win64:-no}
5690 enable_winetest=${enable_winetest:-$enable_tests}
5692 if test "x$enable_win64" = "xyes"
5693 then
5694 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5695 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5696 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5700 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5701 if ${wine_cv_toolsdir+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703 else
5704 wine_cv_toolsdir="$with_wine_tools"
5705 if test -z "$with_wine_tools"; then
5706 if test "$cross_compiling" = "yes"; then
5707 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5708 elif test -n "$with_wine64"; then
5709 wine_cv_toolsdir="$with_wine64"
5712 if test -z "$wine_cv_toolsdir"; then
5713 wine_makedep=tools/makedep
5714 wine_cv_toolsdir="\$(top_builddir)"
5715 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5716 wine_makedep=$wine_cv_toolsdir/tools/makedep
5717 case "$wine_cv_toolsdir" in
5718 /*) ;;
5719 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5720 esac
5721 enable_tools=${enable_tools:-no}
5722 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5723 else
5724 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5728 $as_echo "$wine_cv_toolsdir" >&6; }
5729 TOOLSDIR=$wine_cv_toolsdir
5731 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5732 then
5733 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5737 for ac_prog in flex
5739 # Extract the first word of "$ac_prog", so it can be a program name with args.
5740 set dummy $ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_FLEX+:} false; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$FLEX"; then
5747 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_FLEX="$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5760 done
5761 done
5762 IFS=$as_save_IFS
5766 FLEX=$ac_cv_prog_FLEX
5767 if test -n "$FLEX"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5769 $as_echo "$FLEX" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$FLEX" && break
5777 done
5778 test -n "$FLEX" || FLEX="none"
5780 if test "$FLEX" = "none"
5781 then
5782 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5785 $as_echo_n "checking whether flex is recent enough... " >&6; }
5786 cat >conftest.l <<EOF
5787 %top{
5788 #include "prediluvian.h"
5792 if $FLEX -t conftest.l >/dev/null 2>&5
5793 then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5795 $as_echo "yes" >&6; }
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5799 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5802 for ac_prog in bison
5804 # Extract the first word of "$ac_prog", so it can be a program name with args.
5805 set dummy $ac_prog; ac_word=$2
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807 $as_echo_n "checking for $ac_word... " >&6; }
5808 if ${ac_cv_prog_BISON+:} false; then :
5809 $as_echo_n "(cached) " >&6
5810 else
5811 if test -n "$BISON"; then
5812 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5813 else
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5815 for as_dir in $PATH
5817 IFS=$as_save_IFS
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5821 ac_cv_prog_BISON="$ac_prog"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 break 2
5825 done
5826 done
5827 IFS=$as_save_IFS
5831 BISON=$ac_cv_prog_BISON
5832 if test -n "$BISON"; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5834 $as_echo "$BISON" >&6; }
5835 else
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837 $as_echo "no" >&6; }
5841 test -n "$BISON" && break
5842 done
5843 test -n "$BISON" || BISON="none"
5845 if test "$BISON" = "none"
5846 then
5847 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5850 if test -n "$ac_tool_prefix"; then
5851 for ac_prog in ar gar
5853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_AR+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$AR"; then
5861 ac_cv_prog_AR="$AR" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 AR=$ac_cv_prog_AR
5881 if test -n "$AR"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5883 $as_echo "$AR" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$AR" && break
5891 done
5893 if test -z "$AR"; then
5894 ac_ct_AR=$AR
5895 for ac_prog in ar gar
5897 # Extract the first word of "$ac_prog", so it can be a program name with args.
5898 set dummy $ac_prog; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 if test -n "$ac_ct_AR"; then
5905 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5906 else
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5910 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_ac_ct_AR="$ac_prog"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2
5918 done
5919 done
5920 IFS=$as_save_IFS
5924 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5925 if test -n "$ac_ct_AR"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5927 $as_echo "$ac_ct_AR" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5934 test -n "$ac_ct_AR" && break
5935 done
5937 if test "x$ac_ct_AR" = x; then
5938 AR="ar"
5939 else
5940 case $cross_compiling:$ac_tool_warned in
5941 yes:)
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5944 ac_tool_warned=yes ;;
5945 esac
5946 AR=$ac_ct_AR
5950 if test -n "$ac_tool_prefix"; then
5951 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5952 set dummy ${ac_tool_prefix}strip; ac_word=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_STRIP+:} false; then :
5956 $as_echo_n "(cached) " >&6
5957 else
5958 if test -n "$STRIP"; then
5959 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5960 else
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 break 2
5972 done
5973 done
5974 IFS=$as_save_IFS
5978 STRIP=$ac_cv_prog_STRIP
5979 if test -n "$STRIP"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5981 $as_echo "$STRIP" >&6; }
5982 else
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5989 if test -z "$ac_cv_prog_STRIP"; then
5990 ac_ct_STRIP=$STRIP
5991 # Extract the first word of "strip", so it can be a program name with args.
5992 set dummy strip; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5996 $as_echo_n "(cached) " >&6
5997 else
5998 if test -n "$ac_ct_STRIP"; then
5999 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6000 else
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 for as_dir in $PATH
6004 IFS=$as_save_IFS
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6008 ac_cv_prog_ac_ct_STRIP="strip"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 break 2
6012 done
6013 done
6014 IFS=$as_save_IFS
6018 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6019 if test -n "$ac_ct_STRIP"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6021 $as_echo "$ac_ct_STRIP" >&6; }
6022 else
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6027 if test "x$ac_ct_STRIP" = x; then
6028 STRIP="strip"
6029 else
6030 case $cross_compiling:$ac_tool_warned in
6031 yes:)
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6034 ac_tool_warned=yes ;;
6035 esac
6036 STRIP=$ac_ct_STRIP
6038 else
6039 STRIP="$ac_cv_prog_STRIP"
6042 if test -n "$ac_tool_prefix"; then
6043 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6044 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_RANLIB+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 if test -n "$RANLIB"; then
6051 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 break 2
6064 done
6065 done
6066 IFS=$as_save_IFS
6070 RANLIB=$ac_cv_prog_RANLIB
6071 if test -n "$RANLIB"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6073 $as_echo "$RANLIB" >&6; }
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6081 if test -z "$ac_cv_prog_RANLIB"; then
6082 ac_ct_RANLIB=$RANLIB
6083 # Extract the first word of "ranlib", so it can be a program name with args.
6084 set dummy ranlib; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6088 $as_echo_n "(cached) " >&6
6089 else
6090 if test -n "$ac_ct_RANLIB"; then
6091 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6092 else
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 for as_dir in $PATH
6096 IFS=$as_save_IFS
6097 test -z "$as_dir" && as_dir=.
6098 for ac_exec_ext in '' $ac_executable_extensions; do
6099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6100 ac_cv_prog_ac_ct_RANLIB="ranlib"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 break 2
6104 done
6105 done
6106 IFS=$as_save_IFS
6110 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6111 if test -n "$ac_ct_RANLIB"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6113 $as_echo "$ac_ct_RANLIB" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6119 if test "x$ac_ct_RANLIB" = x; then
6120 RANLIB=":"
6121 else
6122 case $cross_compiling:$ac_tool_warned in
6123 yes:)
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6126 ac_tool_warned=yes ;;
6127 esac
6128 RANLIB=$ac_ct_RANLIB
6130 else
6131 RANLIB="$ac_cv_prog_RANLIB"
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6135 $as_echo_n "checking whether ln -s works... " >&6; }
6136 LN_S=$as_ln_s
6137 if test "$LN_S" = "ln -s"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6139 $as_echo "yes" >&6; }
6140 else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6142 $as_echo "no, using $LN_S" >&6; }
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6146 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6147 if ${ac_cv_path_GREP+:} false; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 if test -z "$GREP"; then
6151 ac_path_GREP_found=false
6152 # Loop through the user's path and test for each of PROGNAME-LIST
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6156 IFS=$as_save_IFS
6157 test -z "$as_dir" && as_dir=.
6158 for ac_prog in grep ggrep; do
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6161 as_fn_executable_p "$ac_path_GREP" || continue
6162 # Check for GNU ac_path_GREP and select it if it is found.
6163 # Check for GNU $ac_path_GREP
6164 case `"$ac_path_GREP" --version 2>&1` in
6165 *GNU*)
6166 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6168 ac_count=0
6169 $as_echo_n 0123456789 >"conftest.in"
6170 while :
6172 cat "conftest.in" "conftest.in" >"conftest.tmp"
6173 mv "conftest.tmp" "conftest.in"
6174 cp "conftest.in" "conftest.nl"
6175 $as_echo 'GREP' >> "conftest.nl"
6176 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6177 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6178 as_fn_arith $ac_count + 1 && ac_count=$as_val
6179 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6180 # Best one so far, save it but keep looking for a better one
6181 ac_cv_path_GREP="$ac_path_GREP"
6182 ac_path_GREP_max=$ac_count
6184 # 10*(2^10) chars as input seems more than enough
6185 test $ac_count -gt 10 && break
6186 done
6187 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6188 esac
6190 $ac_path_GREP_found && break 3
6191 done
6192 done
6193 done
6194 IFS=$as_save_IFS
6195 if test -z "$ac_cv_path_GREP"; then
6196 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6198 else
6199 ac_cv_path_GREP=$GREP
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6204 $as_echo "$ac_cv_path_GREP" >&6; }
6205 GREP="$ac_cv_path_GREP"
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6209 $as_echo_n "checking for egrep... " >&6; }
6210 if ${ac_cv_path_EGREP+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6214 then ac_cv_path_EGREP="$GREP -E"
6215 else
6216 if test -z "$EGREP"; then
6217 ac_path_EGREP_found=false
6218 # Loop through the user's path and test for each of PROGNAME-LIST
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_prog in egrep; do
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6227 as_fn_executable_p "$ac_path_EGREP" || continue
6228 # Check for GNU ac_path_EGREP and select it if it is found.
6229 # Check for GNU $ac_path_EGREP
6230 case `"$ac_path_EGREP" --version 2>&1` in
6231 *GNU*)
6232 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6234 ac_count=0
6235 $as_echo_n 0123456789 >"conftest.in"
6236 while :
6238 cat "conftest.in" "conftest.in" >"conftest.tmp"
6239 mv "conftest.tmp" "conftest.in"
6240 cp "conftest.in" "conftest.nl"
6241 $as_echo 'EGREP' >> "conftest.nl"
6242 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6243 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6244 as_fn_arith $ac_count + 1 && ac_count=$as_val
6245 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6246 # Best one so far, save it but keep looking for a better one
6247 ac_cv_path_EGREP="$ac_path_EGREP"
6248 ac_path_EGREP_max=$ac_count
6250 # 10*(2^10) chars as input seems more than enough
6251 test $ac_count -gt 10 && break
6252 done
6253 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6254 esac
6256 $ac_path_EGREP_found && break 3
6257 done
6258 done
6259 done
6260 IFS=$as_save_IFS
6261 if test -z "$ac_cv_path_EGREP"; then
6262 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6264 else
6265 ac_cv_path_EGREP=$EGREP
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6271 $as_echo "$ac_cv_path_EGREP" >&6; }
6272 EGREP="$ac_cv_path_EGREP"
6275 # Extract the first word of "ldconfig", so it can be a program name with args.
6276 set dummy ldconfig; ac_word=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if ${ac_cv_path_LDCONFIG+:} false; then :
6280 $as_echo_n "(cached) " >&6
6281 else
6282 case $LDCONFIG in
6283 [\\/]* | ?:[\\/]*)
6284 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in /sbin /usr/sbin $PATH
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6294 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6298 done
6299 done
6300 IFS=$as_save_IFS
6302 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6304 esac
6306 LDCONFIG=$ac_cv_path_LDCONFIG
6307 if test -n "$LDCONFIG"; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6309 $as_echo "$LDCONFIG" >&6; }
6310 else
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312 $as_echo "no" >&6; }
6316 for ac_prog in msgfmt
6318 # Extract the first word of "$ac_prog", so it can be a program name with args.
6319 set dummy $ac_prog; ac_word=$2
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321 $as_echo_n "checking for $ac_word... " >&6; }
6322 if ${ac_cv_prog_MSGFMT+:} false; then :
6323 $as_echo_n "(cached) " >&6
6324 else
6325 if test -n "$MSGFMT"; then
6326 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6327 else
6328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6329 for as_dir in $PATH
6331 IFS=$as_save_IFS
6332 test -z "$as_dir" && as_dir=.
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6335 ac_cv_prog_MSGFMT="$ac_prog"
6336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 break 2
6339 done
6340 done
6341 IFS=$as_save_IFS
6345 MSGFMT=$ac_cv_prog_MSGFMT
6346 if test -n "$MSGFMT"; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6348 $as_echo "$MSGFMT" >&6; }
6349 else
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351 $as_echo "no" >&6; }
6355 test -n "$MSGFMT" && break
6356 done
6357 test -n "$MSGFMT" || MSGFMT="false"
6359 if ${ac_tool_prefix+:} false; then :
6360 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6361 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363 $as_echo_n "checking for $ac_word... " >&6; }
6364 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6365 $as_echo_n "(cached) " >&6
6366 else
6367 if test -n "$PKG_CONFIG"; then
6368 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6369 else
6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371 for as_dir in $PATH
6373 IFS=$as_save_IFS
6374 test -z "$as_dir" && as_dir=.
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6377 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6379 break 2
6381 done
6382 done
6383 IFS=$as_save_IFS
6387 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6388 if test -n "$PKG_CONFIG"; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6390 $as_echo "$PKG_CONFIG" >&6; }
6391 else
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6398 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6399 if test "x$cross_compiling" = xyes; then :
6401 else
6402 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6403 # Extract the first word of "pkg-config", so it can be a program name with args.
6404 set dummy pkg-config; ac_word=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406 $as_echo_n "checking for $ac_word... " >&6; }
6407 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6408 $as_echo_n "(cached) " >&6
6409 else
6410 if test -n "$PKG_CONFIG"; then
6411 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6412 else
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 for as_dir in $PATH
6416 IFS=$as_save_IFS
6417 test -z "$as_dir" && as_dir=.
6418 for ac_exec_ext in '' $ac_executable_extensions; do
6419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6420 ac_cv_prog_PKG_CONFIG="pkg-config"
6421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422 break 2
6424 done
6425 done
6426 IFS=$as_save_IFS
6430 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6431 if test -n "$PKG_CONFIG"; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6433 $as_echo "$PKG_CONFIG" >&6; }
6434 else
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436 $as_echo "no" >&6; }
6441 else
6442 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6445 if test "x$enable_maintainer_mode" != "xyes"
6446 then
6447 FONTFORGE=""
6448 RSVG=""
6449 CONVERT=""
6450 ICOTOOL=""
6451 else
6452 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6453 for ac_prog in fontforge
6455 # Extract the first word of "$ac_prog", so it can be a program name with args.
6456 set dummy $ac_prog; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 $as_echo_n "checking for $ac_word... " >&6; }
6459 if ${ac_cv_prog_FONTFORGE+:} false; then :
6460 $as_echo_n "(cached) " >&6
6461 else
6462 if test -n "$FONTFORGE"; then
6463 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6464 else
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in $PATH
6468 IFS=$as_save_IFS
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6472 ac_cv_prog_FONTFORGE="$ac_prog"
6473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6474 break 2
6476 done
6477 done
6478 IFS=$as_save_IFS
6482 FONTFORGE=$ac_cv_prog_FONTFORGE
6483 if test -n "$FONTFORGE"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6485 $as_echo "$FONTFORGE" >&6; }
6486 else
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6488 $as_echo "no" >&6; }
6492 test -n "$FONTFORGE" && break
6493 done
6494 test -n "$FONTFORGE" || FONTFORGE="false"
6496 for ac_prog in rsvg-convert rsvg
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy $ac_prog; ac_word=$2
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 $as_echo_n "checking for $ac_word... " >&6; }
6502 if ${ac_cv_prog_RSVG+:} false; then :
6503 $as_echo_n "(cached) " >&6
6504 else
6505 if test -n "$RSVG"; then
6506 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6511 IFS=$as_save_IFS
6512 test -z "$as_dir" && as_dir=.
6513 for ac_exec_ext in '' $ac_executable_extensions; do
6514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6515 ac_cv_prog_RSVG="$ac_prog"
6516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 break 2
6519 done
6520 done
6521 IFS=$as_save_IFS
6525 RSVG=$ac_cv_prog_RSVG
6526 if test -n "$RSVG"; then
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6528 $as_echo "$RSVG" >&6; }
6529 else
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6535 test -n "$RSVG" && break
6536 done
6537 test -n "$RSVG" || RSVG="false"
6539 for ac_prog in convert
6541 # Extract the first word of "$ac_prog", so it can be a program name with args.
6542 set dummy $ac_prog; ac_word=$2
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6544 $as_echo_n "checking for $ac_word... " >&6; }
6545 if ${ac_cv_prog_CONVERT+:} false; then :
6546 $as_echo_n "(cached) " >&6
6547 else
6548 if test -n "$CONVERT"; then
6549 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6550 else
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 for as_dir in $PATH
6554 IFS=$as_save_IFS
6555 test -z "$as_dir" && as_dir=.
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6558 ac_cv_prog_CONVERT="$ac_prog"
6559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6560 break 2
6562 done
6563 done
6564 IFS=$as_save_IFS
6568 CONVERT=$ac_cv_prog_CONVERT
6569 if test -n "$CONVERT"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6571 $as_echo "$CONVERT" >&6; }
6572 else
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 $as_echo "no" >&6; }
6578 test -n "$CONVERT" && break
6579 done
6580 test -n "$CONVERT" || CONVERT="false"
6582 for ac_prog in icotool
6584 # Extract the first word of "$ac_prog", so it can be a program name with args.
6585 set dummy $ac_prog; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if ${ac_cv_prog_ICOTOOL+:} false; then :
6589 $as_echo_n "(cached) " >&6
6590 else
6591 if test -n "$ICOTOOL"; then
6592 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6597 IFS=$as_save_IFS
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6601 ac_cv_prog_ICOTOOL="$ac_prog"
6602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603 break 2
6605 done
6606 done
6607 IFS=$as_save_IFS
6611 ICOTOOL=$ac_cv_prog_ICOTOOL
6612 if test -n "$ICOTOOL"; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6614 $as_echo "$ICOTOOL" >&6; }
6615 else
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6621 test -n "$ICOTOOL" && break
6622 done
6623 test -n "$ICOTOOL" || ICOTOOL="false"
6625 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6626 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6628 if test "$CONVERT" = false
6629 then
6630 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6633 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6634 convert_version=`convert --version | head -n1`
6635 if test "x$convert_version" != "x"
6636 then
6637 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6638 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6639 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6640 then
6641 CONVERT=false
6644 if test "$CONVERT" = false
6645 then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6647 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6648 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6651 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6655 if test "$ICOTOOL" = false
6656 then
6657 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6658 else
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6660 $as_echo_n "checking for recent enough icotool... " >&6; }
6661 icotool_version=`icotool --version | head -n1`
6662 if test "x$icotool_version" != "x"
6663 then
6664 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6665 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6666 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6667 then
6668 ICOTOOL=false
6669 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6672 if test "$ICOTOOL" = false
6673 then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6675 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6676 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6679 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6683 with_gettext=yes
6684 with_gettextpo=yes
6685 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6688 test "x$with_gettext" != xno || MSGFMT=false
6689 if test "$MSGFMT" != "false"
6690 then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6692 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6693 cat >conftest.po <<EOF
6694 # comment
6695 msgctxt "ctxt"
6696 msgid "id"
6697 msgstr "str"
6699 if $MSGFMT -o /dev/null conftest.po 2>&5
6700 then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6702 $as_echo "yes" >&6; }
6703 else
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
6706 MSGFMT=false
6709 if test "$MSGFMT" = false; then :
6710 case "x$with_gettext" in
6711 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6712 xno) ;;
6713 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6714 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6715 esac
6716 enable_po=${enable_po:-no}
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6721 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6722 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6723 $as_echo_n "(cached) " >&6
6724 else
6725 ac_check_lib_save_LIBS=$LIBS
6726 LIBS="-li386 $LIBS"
6727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6728 /* end confdefs.h. */
6730 /* Override any GCC internal prototype to avoid an error.
6731 Use char because int might match the return type of a GCC
6732 builtin and then its argument prototype would still apply. */
6733 #ifdef __cplusplus
6734 extern "C"
6735 #endif
6736 char i386_set_ldt ();
6738 main ()
6740 return i386_set_ldt ();
6742 return 0;
6744 _ACEOF
6745 if ac_fn_c_try_link "$LINENO"; then :
6746 ac_cv_lib_i386_i386_set_ldt=yes
6747 else
6748 ac_cv_lib_i386_i386_set_ldt=no
6750 rm -f core conftest.err conftest.$ac_objext \
6751 conftest$ac_exeext conftest.$ac_ext
6752 LIBS=$ac_check_lib_save_LIBS
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6755 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6756 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6757 cat >>confdefs.h <<_ACEOF
6758 #define HAVE_LIBI386 1
6759 _ACEOF
6761 LIBS="-li386 $LIBS"
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6766 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6767 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6768 $as_echo_n "(cached) " >&6
6769 else
6770 ac_check_lib_save_LIBS=$LIBS
6771 LIBS="-lossaudio $LIBS"
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6775 /* Override any GCC internal prototype to avoid an error.
6776 Use char because int might match the return type of a GCC
6777 builtin and then its argument prototype would still apply. */
6778 #ifdef __cplusplus
6779 extern "C"
6780 #endif
6781 char _oss_ioctl ();
6783 main ()
6785 return _oss_ioctl ();
6787 return 0;
6789 _ACEOF
6790 if ac_fn_c_try_link "$LINENO"; then :
6791 ac_cv_lib_ossaudio__oss_ioctl=yes
6792 else
6793 ac_cv_lib_ossaudio__oss_ioctl=no
6795 rm -f core conftest.err conftest.$ac_objext \
6796 conftest$ac_exeext conftest.$ac_ext
6797 LIBS=$ac_check_lib_save_LIBS
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6800 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6801 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6802 cat >>confdefs.h <<_ACEOF
6803 #define HAVE_LIBOSSAUDIO 1
6804 _ACEOF
6806 LIBS="-lossaudio $LIBS"
6811 OPENGL_LIBS=""
6815 # Check whether --enable-largefile was given.
6816 if test "${enable_largefile+set}" = set; then :
6817 enableval=$enable_largefile;
6820 if test "$enable_largefile" != no; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6823 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6824 if ${ac_cv_sys_largefile_CC+:} false; then :
6825 $as_echo_n "(cached) " >&6
6826 else
6827 ac_cv_sys_largefile_CC=no
6828 if test "$GCC" != yes; then
6829 ac_save_CC=$CC
6830 while :; do
6831 # IRIX 6.2 and later do not support large files by default,
6832 # so use the C compiler's -n32 option if that helps.
6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h. */
6835 #include <sys/types.h>
6836 /* Check that off_t can represent 2**63 - 1 correctly.
6837 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6838 since some C++ compilers masquerading as C compilers
6839 incorrectly reject 9223372036854775807. */
6840 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6841 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6842 && LARGE_OFF_T % 2147483647 == 1)
6843 ? 1 : -1];
6845 main ()
6849 return 0;
6851 _ACEOF
6852 if ac_fn_c_try_compile "$LINENO"; then :
6853 break
6855 rm -f core conftest.err conftest.$ac_objext
6856 CC="$CC -n32"
6857 if ac_fn_c_try_compile "$LINENO"; then :
6858 ac_cv_sys_largefile_CC=' -n32'; break
6860 rm -f core conftest.err conftest.$ac_objext
6861 break
6862 done
6863 CC=$ac_save_CC
6864 rm -f conftest.$ac_ext
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6868 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6869 if test "$ac_cv_sys_largefile_CC" != no; then
6870 CC=$CC$ac_cv_sys_largefile_CC
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6874 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6875 if ${ac_cv_sys_file_offset_bits+:} false; then :
6876 $as_echo_n "(cached) " >&6
6877 else
6878 while :; do
6879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6880 /* end confdefs.h. */
6881 #include <sys/types.h>
6882 /* Check that off_t can represent 2**63 - 1 correctly.
6883 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6884 since some C++ compilers masquerading as C compilers
6885 incorrectly reject 9223372036854775807. */
6886 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6887 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6888 && LARGE_OFF_T % 2147483647 == 1)
6889 ? 1 : -1];
6891 main ()
6895 return 0;
6897 _ACEOF
6898 if ac_fn_c_try_compile "$LINENO"; then :
6899 ac_cv_sys_file_offset_bits=no; break
6901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #define _FILE_OFFSET_BITS 64
6905 #include <sys/types.h>
6906 /* Check that off_t can represent 2**63 - 1 correctly.
6907 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6908 since some C++ compilers masquerading as C compilers
6909 incorrectly reject 9223372036854775807. */
6910 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6911 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6912 && LARGE_OFF_T % 2147483647 == 1)
6913 ? 1 : -1];
6915 main ()
6919 return 0;
6921 _ACEOF
6922 if ac_fn_c_try_compile "$LINENO"; then :
6923 ac_cv_sys_file_offset_bits=64; break
6925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6926 ac_cv_sys_file_offset_bits=unknown
6927 break
6928 done
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6931 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6932 case $ac_cv_sys_file_offset_bits in #(
6933 no | unknown) ;;
6935 cat >>confdefs.h <<_ACEOF
6936 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6937 _ACEOF
6939 esac
6940 rm -rf conftest*
6941 if test $ac_cv_sys_file_offset_bits = unknown; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6943 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6944 if ${ac_cv_sys_large_files+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 while :; do
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6950 #include <sys/types.h>
6951 /* Check that off_t can represent 2**63 - 1 correctly.
6952 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6953 since some C++ compilers masquerading as C compilers
6954 incorrectly reject 9223372036854775807. */
6955 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6956 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6957 && LARGE_OFF_T % 2147483647 == 1)
6958 ? 1 : -1];
6960 main ()
6964 return 0;
6966 _ACEOF
6967 if ac_fn_c_try_compile "$LINENO"; then :
6968 ac_cv_sys_large_files=no; break
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #define _LARGE_FILES 1
6974 #include <sys/types.h>
6975 /* Check that off_t can represent 2**63 - 1 correctly.
6976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6977 since some C++ compilers masquerading as C compilers
6978 incorrectly reject 9223372036854775807. */
6979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6981 && LARGE_OFF_T % 2147483647 == 1)
6982 ? 1 : -1];
6984 main ()
6988 return 0;
6990 _ACEOF
6991 if ac_fn_c_try_compile "$LINENO"; then :
6992 ac_cv_sys_large_files=1; break
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6995 ac_cv_sys_large_files=unknown
6996 break
6997 done
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7000 $as_echo "$ac_cv_sys_large_files" >&6; }
7001 case $ac_cv_sys_large_files in #(
7002 no | unknown) ;;
7004 cat >>confdefs.h <<_ACEOF
7005 #define _LARGE_FILES $ac_cv_sys_large_files
7006 _ACEOF
7008 esac
7009 rm -rf conftest*
7016 ac_ext=c
7017 ac_cpp='$CPP $CPPFLAGS'
7018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7022 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7023 # On Suns, sometimes $CPP names a directory.
7024 if test -n "$CPP" && test -d "$CPP"; then
7025 CPP=
7027 if test -z "$CPP"; then
7028 if ${ac_cv_prog_CPP+:} false; then :
7029 $as_echo_n "(cached) " >&6
7030 else
7031 # Double quotes because CPP needs to be expanded
7032 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7034 ac_preproc_ok=false
7035 for ac_c_preproc_warn_flag in '' yes
7037 # Use a header file that comes with gcc, so configuring glibc
7038 # with a fresh cross-compiler works.
7039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7040 # <limits.h> exists even on freestanding compilers.
7041 # On the NeXT, cc -E runs the code through the compiler's parser,
7042 # not just through cpp. "Syntax error" is here to catch this case.
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #ifdef __STDC__
7046 # include <limits.h>
7047 #else
7048 # include <assert.h>
7049 #endif
7050 Syntax error
7051 _ACEOF
7052 if ac_fn_c_try_cpp "$LINENO"; then :
7054 else
7055 # Broken: fails on valid input.
7056 continue
7058 rm -f conftest.err conftest.i conftest.$ac_ext
7060 # OK, works on sane cases. Now check whether nonexistent headers
7061 # can be detected and how.
7062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7063 /* end confdefs.h. */
7064 #include <ac_nonexistent.h>
7065 _ACEOF
7066 if ac_fn_c_try_cpp "$LINENO"; then :
7067 # Broken: success on invalid input.
7068 continue
7069 else
7070 # Passes both tests.
7071 ac_preproc_ok=:
7072 break
7074 rm -f conftest.err conftest.i conftest.$ac_ext
7076 done
7077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7078 rm -f conftest.i conftest.err conftest.$ac_ext
7079 if $ac_preproc_ok; then :
7080 break
7083 done
7084 ac_cv_prog_CPP=$CPP
7087 CPP=$ac_cv_prog_CPP
7088 else
7089 ac_cv_prog_CPP=$CPP
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7092 $as_echo "$CPP" >&6; }
7093 ac_preproc_ok=false
7094 for ac_c_preproc_warn_flag in '' yes
7096 # Use a header file that comes with gcc, so configuring glibc
7097 # with a fresh cross-compiler works.
7098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7099 # <limits.h> exists even on freestanding compilers.
7100 # On the NeXT, cc -E runs the code through the compiler's parser,
7101 # not just through cpp. "Syntax error" is here to catch this case.
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7104 #ifdef __STDC__
7105 # include <limits.h>
7106 #else
7107 # include <assert.h>
7108 #endif
7109 Syntax error
7110 _ACEOF
7111 if ac_fn_c_try_cpp "$LINENO"; then :
7113 else
7114 # Broken: fails on valid input.
7115 continue
7117 rm -f conftest.err conftest.i conftest.$ac_ext
7119 # OK, works on sane cases. Now check whether nonexistent headers
7120 # can be detected and how.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #include <ac_nonexistent.h>
7124 _ACEOF
7125 if ac_fn_c_try_cpp "$LINENO"; then :
7126 # Broken: success on invalid input.
7127 continue
7128 else
7129 # Passes both tests.
7130 ac_preproc_ok=:
7131 break
7133 rm -f conftest.err conftest.i conftest.$ac_ext
7135 done
7136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7137 rm -f conftest.i conftest.err conftest.$ac_ext
7138 if $ac_preproc_ok; then :
7140 else
7141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7143 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7144 See \`config.log' for more details" "$LINENO" 5; }
7147 ac_ext=c
7148 ac_cpp='$CPP $CPPFLAGS'
7149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7155 $as_echo_n "checking for ANSI C header files... " >&6; }
7156 if ${ac_cv_header_stdc+:} false; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h. */
7161 #include <stdlib.h>
7162 #include <stdarg.h>
7163 #include <string.h>
7164 #include <float.h>
7167 main ()
7171 return 0;
7173 _ACEOF
7174 if ac_fn_c_try_compile "$LINENO"; then :
7175 ac_cv_header_stdc=yes
7176 else
7177 ac_cv_header_stdc=no
7179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7181 if test $ac_cv_header_stdc = yes; then
7182 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7185 #include <string.h>
7187 _ACEOF
7188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7189 $EGREP "memchr" >/dev/null 2>&1; then :
7191 else
7192 ac_cv_header_stdc=no
7194 rm -f conftest*
7198 if test $ac_cv_header_stdc = yes; then
7199 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7201 /* end confdefs.h. */
7202 #include <stdlib.h>
7204 _ACEOF
7205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7206 $EGREP "free" >/dev/null 2>&1; then :
7208 else
7209 ac_cv_header_stdc=no
7211 rm -f conftest*
7215 if test $ac_cv_header_stdc = yes; then
7216 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7217 if test "$cross_compiling" = yes; then :
7219 else
7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h. */
7222 #include <ctype.h>
7223 #include <stdlib.h>
7224 #if ((' ' & 0x0FF) == 0x020)
7225 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7226 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7227 #else
7228 # define ISLOWER(c) \
7229 (('a' <= (c) && (c) <= 'i') \
7230 || ('j' <= (c) && (c) <= 'r') \
7231 || ('s' <= (c) && (c) <= 'z'))
7232 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7233 #endif
7235 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7237 main ()
7239 int i;
7240 for (i = 0; i < 256; i++)
7241 if (XOR (islower (i), ISLOWER (i))
7242 || toupper (i) != TOUPPER (i))
7243 return 2;
7244 return 0;
7246 _ACEOF
7247 if ac_fn_c_try_run "$LINENO"; then :
7249 else
7250 ac_cv_header_stdc=no
7252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7253 conftest.$ac_objext conftest.beam conftest.$ac_ext
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7259 $as_echo "$ac_cv_header_stdc" >&6; }
7260 if test $ac_cv_header_stdc = yes; then
7262 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7266 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7267 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7268 inttypes.h stdint.h unistd.h
7269 do :
7270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7273 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7274 cat >>confdefs.h <<_ACEOF
7275 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7276 _ACEOF
7280 done
7283 for ac_header in \
7284 AL/al.h \
7285 ApplicationServices/ApplicationServices.h \
7286 AudioToolbox/AudioConverter.h \
7287 AudioUnit/AudioUnit.h \
7288 AudioUnit/AudioComponent.h \
7289 CL/cl.h \
7290 Carbon/Carbon.h \
7291 CommonCrypto/CommonCryptor.h \
7292 CoreAudio/CoreAudio.h \
7293 CoreServices/CoreServices.h \
7294 DiskArbitration/DiskArbitration.h \
7295 EGL/egl.h \
7296 IOKit/IOKitLib.h \
7297 IOKit/hid/IOHIDLib.h \
7298 OpenAL/al.h \
7299 OpenCL/opencl.h \
7300 QuickTime/ImageCompression.h \
7301 Security/Security.h \
7302 alias.h \
7303 arpa/inet.h \
7304 arpa/nameser.h \
7305 asm/types.h \
7306 asm/user.h \
7307 curses.h \
7308 dirent.h \
7309 dlfcn.h \
7310 elf.h \
7311 float.h \
7312 fnmatch.h \
7313 getopt.h \
7314 gettext-po.h \
7315 grp.h \
7316 gsm.h \
7317 gsm/gsm.h \
7318 ieeefp.h \
7319 inet/mib2.h \
7320 kstat.h \
7321 libproc.h \
7322 link.h \
7323 linux/cdrom.h \
7324 linux/compiler.h \
7325 linux/filter.h \
7326 linux/hdreg.h \
7327 linux/hidraw.h \
7328 linux/input.h \
7329 linux/ioctl.h \
7330 linux/joystick.h \
7331 linux/major.h \
7332 linux/param.h \
7333 linux/serial.h \
7334 linux/types.h \
7335 linux/ucdrom.h \
7336 lwp.h \
7337 mach-o/nlist.h \
7338 mach-o/loader.h \
7339 mach/mach.h \
7340 mach/machine.h \
7341 machine/cpu.h \
7342 machine/limits.h \
7343 machine/sysarch.h \
7344 mntent.h \
7345 ncurses.h \
7346 netdb.h \
7347 netinet/in.h \
7348 netinet/in_systm.h \
7349 netinet/tcp.h \
7350 netinet/tcp_fsm.h \
7351 pcap/pcap.h \
7352 poll.h \
7353 port.h \
7354 pthread.h \
7355 pwd.h \
7356 sched.h \
7357 scsi/scsi.h \
7358 scsi/scsi_ioctl.h \
7359 scsi/sg.h \
7360 stdbool.h \
7361 stdint.h \
7362 stropts.h \
7363 sys/attr.h \
7364 sys/auxv.h \
7365 sys/cdio.h \
7366 sys/elf32.h \
7367 sys/epoll.h \
7368 sys/event.h \
7369 sys/exec_elf.h \
7370 sys/filio.h \
7371 sys/inotify.h \
7372 sys/ioctl.h \
7373 sys/ipc.h \
7374 sys/limits.h \
7375 sys/link.h \
7376 sys/mman.h \
7377 sys/modem.h \
7378 sys/msg.h \
7379 sys/mtio.h \
7380 sys/param.h \
7381 sys/poll.h \
7382 sys/prctl.h \
7383 sys/protosw.h \
7384 sys/ptrace.h \
7385 sys/queue.h \
7386 sys/resource.h \
7387 sys/scsiio.h \
7388 sys/shm.h \
7389 sys/signal.h \
7390 sys/socket.h \
7391 sys/socketvar.h \
7392 sys/sockio.h \
7393 sys/statvfs.h \
7394 sys/strtio.h \
7395 sys/syscall.h \
7396 sys/sysinfo.h \
7397 sys/tihdr.h \
7398 sys/time.h \
7399 sys/timeout.h \
7400 sys/times.h \
7401 sys/uio.h \
7402 sys/user.h \
7403 sys/utsname.h \
7404 sys/vnode.h \
7405 sys/wait.h \
7406 syscall.h \
7407 termios.h \
7408 unistd.h \
7409 utime.h \
7410 valgrind/memcheck.h \
7411 valgrind/valgrind.h \
7412 zlib.h
7414 do :
7415 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7416 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7417 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7418 cat >>confdefs.h <<_ACEOF
7419 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7420 _ACEOF
7424 done
7426 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7427 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7429 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7434 if test $ac_cv_header_sys_mkdev_h = no; then
7435 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7436 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7438 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7445 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7446 if ${ac_cv_header_stat_broken+:} false; then :
7447 $as_echo_n "(cached) " >&6
7448 else
7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7451 #include <sys/types.h>
7452 #include <sys/stat.h>
7454 #if defined S_ISBLK && defined S_IFDIR
7455 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7456 #endif
7458 #if defined S_ISBLK && defined S_IFCHR
7459 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7460 #endif
7462 #if defined S_ISLNK && defined S_IFREG
7463 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7464 #endif
7466 #if defined S_ISSOCK && defined S_IFREG
7467 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7468 #endif
7470 _ACEOF
7471 if ac_fn_c_try_compile "$LINENO"; then :
7472 ac_cv_header_stat_broken=no
7473 else
7474 ac_cv_header_stat_broken=yes
7476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7479 $as_echo "$ac_cv_header_stat_broken" >&6; }
7480 if test $ac_cv_header_stat_broken = yes; then
7482 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7488 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7489 do :
7490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7491 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7492 #ifdef HAVE_SYS_PARAM_H
7493 # include <sys/param.h>
7494 #endif
7496 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7497 cat >>confdefs.h <<_ACEOF
7498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7499 _ACEOF
7503 done
7506 for ac_header in \
7507 netinet/ip.h \
7508 net/if.h \
7509 net/if_arp.h \
7510 net/if_dl.h \
7511 net/if_types.h \
7512 net/route.h \
7513 netinet/if_ether.h \
7514 netinet/if_inarp.h \
7515 netinet/in_pcb.h \
7516 netinet/ip_icmp.h \
7517 netinet/ip_var.h \
7518 netinet/udp.h \
7519 netipx/ipx.h \
7520 sys/un.h \
7522 do :
7523 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7524 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7525 #ifdef HAVE_SYS_SOCKET_H
7526 # include <sys/socket.h>
7527 #endif
7528 #ifdef HAVE_SYS_SOCKETVAR_H
7529 # include <sys/socketvar.h>
7530 #endif
7531 #ifdef HAVE_NET_ROUTE_H
7532 # include <net/route.h>
7533 #endif
7534 #ifdef HAVE_NETINET_IN_H
7535 # include <netinet/in.h>
7536 #endif
7537 #ifdef HAVE_NETINET_IN_SYSTM_H
7538 # include <netinet/in_systm.h>
7539 #endif
7540 #ifdef HAVE_NET_IF_H
7541 # include <net/if.h>
7542 #endif
7543 #ifdef HAVE_NETINET_IP_H
7544 # include <netinet/ip.h>
7545 #endif
7547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7548 cat >>confdefs.h <<_ACEOF
7549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7550 _ACEOF
7554 done
7557 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7558 do :
7559 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7560 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7561 #ifdef HAVE_ALIAS_H
7562 # include <alias.h>
7563 #endif
7564 #ifdef HAVE_SYS_SOCKET_H
7565 # include <sys/socket.h>
7566 #endif
7567 #ifdef HAVE_SYS_SOCKETVAR_H
7568 # include <sys/socketvar.h>
7569 #endif
7570 #ifdef HAVE_SYS_TIMEOUT_H
7571 # include <sys/timeout.h>
7572 #endif
7573 #ifdef HAVE_NETINET_IN_H
7574 # include <netinet/in.h>
7575 #endif
7576 #ifdef HAVE_NETINET_IN_SYSTM_H
7577 # include <netinet/in_systm.h>
7578 #endif
7579 #ifdef HAVE_NETINET_IP_H
7580 # include <netinet/ip.h>
7581 #endif
7582 #ifdef HAVE_NETINET_IP_VAR_H
7583 # include <netinet/ip_var.h>
7584 #endif
7585 #ifdef HAVE_NETINET_IP_ICMP_H
7586 # include <netinet/ip_icmp.h>
7587 #endif
7588 #ifdef HAVE_NETINET_UDP_H
7589 # include <netinet/udp.h>
7590 #endif
7591 #ifdef HAVE_NETINET_TCP_H
7592 # include <netinet/tcp.h>
7593 #endif
7594 #ifdef HAVE_NETINET_TCP_TIMER_H
7595 #include <netinet/tcp_timer.h>
7596 #endif
7598 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7599 cat >>confdefs.h <<_ACEOF
7600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7601 _ACEOF
7605 done
7608 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7609 do :
7610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7611 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7612 #ifdef HAVE_ASM_TYPES_H
7613 # include <asm/types.h>
7614 #endif
7615 #ifdef HAVE_SYS_SOCKET_H
7616 # include <sys/socket.h>
7617 #endif
7618 #ifdef HAVE_LINUX_TYPES_H
7619 # include <linux/types.h>
7620 #endif
7622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7623 cat >>confdefs.h <<_ACEOF
7624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7625 _ACEOF
7629 done
7632 for ac_header in mach-o/dyld_images.h
7633 do :
7634 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7635 # include <stdbool.h>
7636 #endif
7637 #ifdef HAVE_STDINT_H
7638 # include <stdint.h>
7639 #endif
7641 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7642 cat >>confdefs.h <<_ACEOF
7643 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7644 _ACEOF
7648 done
7651 for ac_header in resolv.h
7652 do :
7653 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7654 #ifdef HAVE_SYS_SOCKET_H
7655 # include <sys/socket.h>
7656 #endif
7657 #ifdef HAVE_NETINET_IN_H
7658 # include <netinet/in.h>
7659 #endif
7660 #ifdef HAVE_ARPA_NAMESER_H
7661 # include <arpa/nameser.h>
7662 #endif
7664 if test "x$ac_cv_header_resolv_h" = xyes; then :
7665 cat >>confdefs.h <<_ACEOF
7666 #define HAVE_RESOLV_H 1
7667 _ACEOF
7671 done
7674 for ac_header in ifaddrs.h
7675 do :
7676 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7678 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7679 cat >>confdefs.h <<_ACEOF
7680 #define HAVE_IFADDRS_H 1
7681 _ACEOF
7685 done
7688 for ac_header in sys/ucontext.h
7689 do :
7690 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7692 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7693 cat >>confdefs.h <<_ACEOF
7694 #define HAVE_SYS_UCONTEXT_H 1
7695 _ACEOF
7699 done
7702 for ac_header in sys/thr.h
7703 do :
7704 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7705 #ifdef HAVE_SYS_UCONTEXT_H
7706 #include <sys/ucontext.h>
7707 #endif
7709 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7710 cat >>confdefs.h <<_ACEOF
7711 #define HAVE_SYS_THR_H 1
7712 _ACEOF
7716 done
7719 for ac_header in pthread_np.h
7720 do :
7721 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7722 #include <pthread.h>
7723 #endif
7725 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7726 cat >>confdefs.h <<_ACEOF
7727 #define HAVE_PTHREAD_NP_H 1
7728 _ACEOF
7732 done
7735 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7736 do :
7737 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7738 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7739 #include <sys/time.h>
7740 #endif
7741 #include <sys/types.h>
7742 #ifdef HAVE_ASM_TYPES_H
7743 #include <asm/types.h>
7744 #endif
7746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7749 _ACEOF
7753 done
7756 for ac_header in libprocstat.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7759 #include <sys/param.h>
7760 #endif
7761 #ifdef HAVE_SYS_QUEUE_H
7762 #include <sys/queue.h>
7763 #endif
7764 #ifdef HAVE_SYS_SOCKET_H
7765 #include <sys/socket.h>
7766 #endif
7768 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_LIBPROCSTAT_H 1
7771 _ACEOF
7775 done
7779 DLLFLAGS="-D_REENTRANT"
7781 LDRPATH_INSTALL=""
7783 LDRPATH_LOCAL=""
7785 LDEXECFLAGS=""
7787 TOP_INSTALL_LIB=""
7789 TOP_INSTALL_DEV=""
7791 WINELOADER_LDFLAGS=""
7793 WINEPRELOADER_LDFLAGS=""
7795 LIBEXT="so"
7796 DLLEXT=".so"
7797 # Extract the first word of "ldd", so it can be a program name with args.
7798 set dummy ldd; ac_word=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800 $as_echo_n "checking for $ac_word... " >&6; }
7801 if ${ac_cv_path_LDD+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 case $LDD in
7805 [\\/]* | ?:[\\/]*)
7806 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7810 as_dummy="/sbin:/usr/sbin:$PATH"
7811 for as_dir in $as_dummy
7813 IFS=$as_save_IFS
7814 test -z "$as_dir" && as_dir=.
7815 for ac_exec_ext in '' $ac_executable_extensions; do
7816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7817 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7819 break 2
7821 done
7822 done
7823 IFS=$as_save_IFS
7825 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7827 esac
7829 LDD=$ac_cv_path_LDD
7830 if test -n "$LDD"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7832 $as_echo "$LDD" >&6; }
7833 else
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7839 if test -n "$ac_tool_prefix"; then
7840 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7841 set dummy ${ac_tool_prefix}otool; ac_word=$2
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if ${ac_cv_prog_OTOOL+:} false; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 if test -n "$OTOOL"; then
7848 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7849 else
7850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851 for as_dir in $PATH
7853 IFS=$as_save_IFS
7854 test -z "$as_dir" && as_dir=.
7855 for ac_exec_ext in '' $ac_executable_extensions; do
7856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7857 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7859 break 2
7861 done
7862 done
7863 IFS=$as_save_IFS
7867 OTOOL=$ac_cv_prog_OTOOL
7868 if test -n "$OTOOL"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7870 $as_echo "$OTOOL" >&6; }
7871 else
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873 $as_echo "no" >&6; }
7878 if test -z "$ac_cv_prog_OTOOL"; then
7879 ac_ct_OTOOL=$OTOOL
7880 # Extract the first word of "otool", so it can be a program name with args.
7881 set dummy otool; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 if test -n "$ac_ct_OTOOL"; then
7888 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7889 else
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891 for as_dir in $PATH
7893 IFS=$as_save_IFS
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_ac_ct_OTOOL="otool"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7899 break 2
7901 done
7902 done
7903 IFS=$as_save_IFS
7907 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7908 if test -n "$ac_ct_OTOOL"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7910 $as_echo "$ac_ct_OTOOL" >&6; }
7911 else
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7916 if test "x$ac_ct_OTOOL" = x; then
7917 OTOOL="otool"
7918 else
7919 case $cross_compiling:$ac_tool_warned in
7920 yes:)
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7923 ac_tool_warned=yes ;;
7924 esac
7925 OTOOL=$ac_ct_OTOOL
7927 else
7928 OTOOL="$ac_cv_prog_OTOOL"
7931 if test -n "$ac_tool_prefix"; then
7932 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7933 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935 $as_echo_n "checking for $ac_word... " >&6; }
7936 if ${ac_cv_prog_READELF+:} false; then :
7937 $as_echo_n "(cached) " >&6
7938 else
7939 if test -n "$READELF"; then
7940 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7941 else
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 for as_dir in $PATH
7945 IFS=$as_save_IFS
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7951 break 2
7953 done
7954 done
7955 IFS=$as_save_IFS
7959 READELF=$ac_cv_prog_READELF
7960 if test -n "$READELF"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7962 $as_echo "$READELF" >&6; }
7963 else
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965 $as_echo "no" >&6; }
7970 if test -z "$ac_cv_prog_READELF"; then
7971 ac_ct_READELF=$READELF
7972 # Extract the first word of "readelf", so it can be a program name with args.
7973 set dummy readelf; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 if test -n "$ac_ct_READELF"; then
7980 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_ac_ct_READELF="readelf"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7999 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8000 if test -n "$ac_ct_READELF"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8002 $as_echo "$ac_ct_READELF" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8008 if test "x$ac_ct_READELF" = x; then
8009 READELF="true"
8010 else
8011 case $cross_compiling:$ac_tool_warned in
8012 yes:)
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8015 ac_tool_warned=yes ;;
8016 esac
8017 READELF=$ac_ct_READELF
8019 else
8020 READELF="$ac_cv_prog_READELF"
8023 wine_rules_file=conf$$rules.make
8024 rm -f $wine_rules_file
8025 SUBDIRS=""
8027 DISABLED_SUBDIRS=""
8029 CONFIGURE_TARGETS=""
8032 wine_fn_append_file ()
8034 as_fn_append $1 " \\$as_nl $2"
8037 wine_fn_append_rule ()
8039 $as_echo "$1" >>$wine_rules_file
8042 wine_fn_config_makefile ()
8044 wine_fn_append_file SUBDIRS $1
8045 if eval test \"x\$"$2"\" = x"no"; then :
8046 wine_fn_append_file DISABLED_SUBDIRS $1
8050 wine_fn_config_symlink ()
8052 ac_links=$@
8053 wine_fn_append_rule \
8054 "$ac_links:
8055 @./config.status \$@"
8056 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8059 wine_binary="wine"
8060 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8061 WINELOADER_PROGRAMS="$wine_binary"
8063 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8065 case $host_os in
8066 cygwin*|mingw32*)
8067 if test -n "$ac_tool_prefix"; then
8068 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8069 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8071 $as_echo_n "checking for $ac_word... " >&6; }
8072 if ${ac_cv_prog_DLLTOOL+:} false; then :
8073 $as_echo_n "(cached) " >&6
8074 else
8075 if test -n "$DLLTOOL"; then
8076 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8077 else
8078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 for as_dir in $PATH
8081 IFS=$as_save_IFS
8082 test -z "$as_dir" && as_dir=.
8083 for ac_exec_ext in '' $ac_executable_extensions; do
8084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8085 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087 break 2
8089 done
8090 done
8091 IFS=$as_save_IFS
8095 DLLTOOL=$ac_cv_prog_DLLTOOL
8096 if test -n "$DLLTOOL"; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8098 $as_echo "$DLLTOOL" >&6; }
8099 else
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101 $as_echo "no" >&6; }
8106 if test -z "$ac_cv_prog_DLLTOOL"; then
8107 ac_ct_DLLTOOL=$DLLTOOL
8108 # Extract the first word of "dlltool", so it can be a program name with args.
8109 set dummy dlltool; ac_word=$2
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8111 $as_echo_n "checking for $ac_word... " >&6; }
8112 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8113 $as_echo_n "(cached) " >&6
8114 else
8115 if test -n "$ac_ct_DLLTOOL"; then
8116 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8117 else
8118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 for as_dir in $PATH
8121 IFS=$as_save_IFS
8122 test -z "$as_dir" && as_dir=.
8123 for ac_exec_ext in '' $ac_executable_extensions; do
8124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8125 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127 break 2
8129 done
8130 done
8131 IFS=$as_save_IFS
8135 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8136 if test -n "$ac_ct_DLLTOOL"; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8138 $as_echo "$ac_ct_DLLTOOL" >&6; }
8139 else
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8141 $as_echo "no" >&6; }
8144 if test "x$ac_ct_DLLTOOL" = x; then
8145 DLLTOOL="false"
8146 else
8147 case $cross_compiling:$ac_tool_warned in
8148 yes:)
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8151 ac_tool_warned=yes ;;
8152 esac
8153 DLLTOOL=$ac_ct_DLLTOOL
8155 else
8156 DLLTOOL="$ac_cv_prog_DLLTOOL"
8159 LIBEXT="dll"
8160 DLLEXT=""
8161 enable_iphlpapi=${enable_iphlpapi:-no}
8162 enable_kernel32=${enable_kernel32:-no}
8163 enable_ntdll=${enable_ntdll:-no}
8164 enable_ws2_32=${enable_ws2_32:-no}
8165 enable_loader=${enable_loader:-no}
8166 enable_server=${enable_server:-no}
8167 with_x=${with_x:-no}
8168 with_pthread=${with_pthread:-no}
8171 darwin*|macosx*)
8172 for ac_header in libunwind.h
8173 do :
8174 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8176 cat >>confdefs.h <<_ACEOF
8177 #define HAVE_LIBUNWIND_H 1
8178 _ACEOF
8182 done
8184 ac_ext=m
8185 ac_cpp='$OBJCPP $CPPFLAGS'
8186 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8187 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8188 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8190 ac_ext=m
8191 ac_cpp='$OBJCPP $CPPFLAGS'
8192 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8195 if test -n "$ac_tool_prefix"; then
8196 for ac_prog in gcc objcc objc cc CC
8198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 $as_echo_n "checking for $ac_word... " >&6; }
8202 if ${ac_cv_prog_OBJC+:} false; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 if test -n "$OBJC"; then
8206 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8207 else
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 for as_dir in $PATH
8211 IFS=$as_save_IFS
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 break 2
8219 done
8220 done
8221 IFS=$as_save_IFS
8225 OBJC=$ac_cv_prog_OBJC
8226 if test -n "$OBJC"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8228 $as_echo "$OBJC" >&6; }
8229 else
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8235 test -n "$OBJC" && break
8236 done
8238 if test -z "$OBJC"; then
8239 ac_ct_OBJC=$OBJC
8240 for ac_prog in gcc objcc objc cc CC
8242 # Extract the first word of "$ac_prog", so it can be a program name with args.
8243 set dummy $ac_prog; ac_word=$2
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8245 $as_echo_n "checking for $ac_word... " >&6; }
8246 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 if test -n "$ac_ct_OBJC"; then
8250 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8251 else
8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 for as_dir in $PATH
8255 IFS=$as_save_IFS
8256 test -z "$as_dir" && as_dir=.
8257 for ac_exec_ext in '' $ac_executable_extensions; do
8258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8259 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8261 break 2
8263 done
8264 done
8265 IFS=$as_save_IFS
8269 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8270 if test -n "$ac_ct_OBJC"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8272 $as_echo "$ac_ct_OBJC" >&6; }
8273 else
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275 $as_echo "no" >&6; }
8279 test -n "$ac_ct_OBJC" && break
8280 done
8282 if test "x$ac_ct_OBJC" = x; then
8283 OBJC="gcc"
8284 else
8285 case $cross_compiling:$ac_tool_warned in
8286 yes:)
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8289 ac_tool_warned=yes ;;
8290 esac
8291 OBJC=$ac_ct_OBJC
8295 # Provide some information about the compiler.
8296 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8297 set X $ac_compile
8298 ac_compiler=$2
8299 for ac_option in --version -v -V -qversion; do
8300 { { ac_try="$ac_compiler $ac_option >&5"
8301 case "(($ac_try" in
8302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8303 *) ac_try_echo=$ac_try;;
8304 esac
8305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8306 $as_echo "$ac_try_echo"; } >&5
8307 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8308 ac_status=$?
8309 if test -s conftest.err; then
8310 sed '10a\
8311 ... rest of stderr output deleted ...
8312 10q' conftest.err >conftest.er1
8313 cat conftest.er1 >&5
8315 rm -f conftest.er1 conftest.err
8316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8317 test $ac_status = 0; }
8318 done
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8321 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8322 if ${ac_cv_objc_compiler_gnu+:} false; then :
8323 $as_echo_n "(cached) " >&6
8324 else
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8329 main ()
8331 #ifndef __GNUC__
8332 choke me
8333 #endif
8336 return 0;
8338 _ACEOF
8339 if ac_fn_objc_try_compile "$LINENO"; then :
8340 ac_compiler_gnu=yes
8341 else
8342 ac_compiler_gnu=no
8344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8345 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8349 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8350 if test $ac_compiler_gnu = yes; then
8351 GOBJC=yes
8352 else
8353 GOBJC=
8355 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8356 ac_save_OBJCFLAGS=$OBJCFLAGS
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8358 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8359 if ${ac_cv_prog_objc_g+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 ac_save_objc_werror_flag=$ac_objc_werror_flag
8363 ac_objc_werror_flag=yes
8364 ac_cv_prog_objc_g=no
8365 OBJCFLAGS="-g"
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8370 main ()
8374 return 0;
8376 _ACEOF
8377 if ac_fn_objc_try_compile "$LINENO"; then :
8378 ac_cv_prog_objc_g=yes
8379 else
8380 OBJCFLAGS=""
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8385 main ()
8389 return 0;
8391 _ACEOF
8392 if ac_fn_objc_try_compile "$LINENO"; then :
8394 else
8395 ac_objc_werror_flag=$ac_save_objc_werror_flag
8396 OBJCFLAGS="-g"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8401 main ()
8405 return 0;
8407 _ACEOF
8408 if ac_fn_objc_try_compile "$LINENO"; then :
8409 ac_cv_prog_objc_g=yes
8411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8416 ac_objc_werror_flag=$ac_save_objc_werror_flag
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8419 $as_echo "$ac_cv_prog_objc_g" >&6; }
8420 if test "$ac_test_OBJCFLAGS" = set; then
8421 OBJCFLAGS=$ac_save_OBJCFLAGS
8422 elif test $ac_cv_prog_objc_g = yes; then
8423 if test "$GOBJC" = yes; then
8424 OBJCFLAGS="-g -O2"
8425 else
8426 OBJCFLAGS="-g"
8428 else
8429 if test "$GOBJC" = yes; then
8430 OBJCFLAGS="-O2"
8431 else
8432 OBJCFLAGS=
8435 ac_ext=m
8436 ac_cpp='$OBJCPP $CPPFLAGS'
8437 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8442 ac_ext=m
8443 ac_cpp='$OBJCPP $CPPFLAGS'
8444 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8445 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8446 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8448 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8449 if test -z "$OBJCPP"; then
8450 if ${ac_cv_prog_OBJCPP+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 # Double quotes because OBJCPP needs to be expanded
8454 for OBJCPP in "$OBJC -E" "/lib/cpp"
8456 ac_preproc_ok=false
8457 for ac_objc_preproc_warn_flag in '' yes
8459 # Use a header file that comes with gcc, so configuring glibc
8460 # with a fresh cross-compiler works.
8461 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8462 # <limits.h> exists even on freestanding compilers.
8463 # On the NeXT, cc -E runs the code through the compiler's parser,
8464 # not just through cpp. "Syntax error" is here to catch this case.
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8467 #ifdef __STDC__
8468 # include <limits.h>
8469 #else
8470 # include <assert.h>
8471 #endif
8472 Syntax error
8473 _ACEOF
8474 if ac_fn_objc_try_cpp "$LINENO"; then :
8476 else
8477 # Broken: fails on valid input.
8478 continue
8480 rm -f conftest.err conftest.i conftest.$ac_ext
8482 # OK, works on sane cases. Now check whether nonexistent headers
8483 # can be detected and how.
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8486 #include <ac_nonexistent.h>
8487 _ACEOF
8488 if ac_fn_objc_try_cpp "$LINENO"; then :
8489 # Broken: success on invalid input.
8490 continue
8491 else
8492 # Passes both tests.
8493 ac_preproc_ok=:
8494 break
8496 rm -f conftest.err conftest.i conftest.$ac_ext
8498 done
8499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8500 rm -f conftest.i conftest.err conftest.$ac_ext
8501 if $ac_preproc_ok; then :
8502 break
8505 done
8506 ac_cv_prog_OBJCPP=$OBJCPP
8509 OBJCPP=$ac_cv_prog_OBJCPP
8510 else
8511 ac_cv_prog_OBJCPP=$OBJCPP
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8514 $as_echo "$OBJCPP" >&6; }
8515 ac_preproc_ok=false
8516 for ac_objc_preproc_warn_flag in '' yes
8518 # Use a header file that comes with gcc, so configuring glibc
8519 # with a fresh cross-compiler works.
8520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8521 # <limits.h> exists even on freestanding compilers.
8522 # On the NeXT, cc -E runs the code through the compiler's parser,
8523 # not just through cpp. "Syntax error" is here to catch this case.
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8526 #ifdef __STDC__
8527 # include <limits.h>
8528 #else
8529 # include <assert.h>
8530 #endif
8531 Syntax error
8532 _ACEOF
8533 if ac_fn_objc_try_cpp "$LINENO"; then :
8535 else
8536 # Broken: fails on valid input.
8537 continue
8539 rm -f conftest.err conftest.i conftest.$ac_ext
8541 # OK, works on sane cases. Now check whether nonexistent headers
8542 # can be detected and how.
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8545 #include <ac_nonexistent.h>
8546 _ACEOF
8547 if ac_fn_objc_try_cpp "$LINENO"; then :
8548 # Broken: success on invalid input.
8549 continue
8550 else
8551 # Passes both tests.
8552 ac_preproc_ok=:
8553 break
8555 rm -f conftest.err conftest.i conftest.$ac_ext
8557 done
8558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8559 rm -f conftest.i conftest.err conftest.$ac_ext
8560 if $ac_preproc_ok; then :
8562 else
8563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8565 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8566 See \`config.log' for more details" "$LINENO" 5; }
8569 ac_ext=m
8570 ac_cpp='$OBJCPP $CPPFLAGS'
8571 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8572 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8573 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8576 for ac_header in Metal/Metal.h
8577 do :
8578 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8579 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8580 cat >>confdefs.h <<_ACEOF
8581 #define HAVE_METAL_METAL_H 1
8582 _ACEOF
8586 done
8588 ac_ext=c
8589 ac_cpp='$CPP $CPPFLAGS'
8590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8594 LIBEXT="dylib"
8595 DLLFLAGS="$DLLFLAGS -fPIC"
8596 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8597 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8598 COREFOUNDATION_LIBS="-framework CoreFoundation"
8600 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8602 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8604 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8606 CORESERVICES_LIBS="-framework CoreServices"
8608 APPKIT_LIBS="-framework AppKit"
8611 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8613 wine_can_build_preloader=yes
8614 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8616 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8617 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 ac_wine_try_cflags_saved=$CFLAGS
8621 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 int main(int argc, char **argv) { return 0; }
8625 _ACEOF
8626 if ac_fn_c_try_link "$LINENO"; then :
8627 ac_cv_cflags__Wl__no_new_main__e__main=yes
8628 else
8629 ac_cv_cflags__Wl__no_new_main__e__main=no
8631 rm -f core conftest.err conftest.$ac_objext \
8632 conftest$ac_exeext conftest.$ac_ext
8633 CFLAGS=$ac_wine_try_cflags_saved
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8636 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8637 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8638 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8640 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8641 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 ac_wine_try_cflags_saved=$CFLAGS
8645 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8649 _ACEOF
8650 if ac_fn_c_try_link "$LINENO"; then :
8651 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8652 else
8653 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8655 rm -f core conftest.err conftest.$ac_objext \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8660 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8661 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8662 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8663 else
8664 { $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
8665 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8666 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 ac_wine_try_cflags_saved=$CFLAGS
8670 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 int main(int argc, char **argv) { return 0; }
8674 _ACEOF
8675 if ac_fn_c_try_link "$LINENO"; then :
8676 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8677 else
8678 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8680 rm -f core conftest.err conftest.$ac_objext \
8681 conftest$ac_exeext conftest.$ac_ext
8682 CFLAGS=$ac_wine_try_cflags_saved
8684 { $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
8685 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8686 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8687 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8688 else
8689 wine_can_build_preloader=no
8692 else
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8694 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8695 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 int main(int argc, char **argv) { return 0; }
8703 _ACEOF
8704 if ac_fn_c_try_link "$LINENO"; then :
8705 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8706 else
8707 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8709 rm -f core conftest.err conftest.$ac_objext \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8714 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8715 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8716 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8717 else
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8719 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8720 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 int main(int argc, char **argv) { return 0; }
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8731 else
8732 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8739 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8740 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8741 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8742 else
8743 wine_can_build_preloader=no
8747 if test "$wine_can_build_preloader" = "yes"
8748 then
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8750 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8751 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 ac_wine_try_cflags_saved=$CFLAGS
8755 CFLAGS="$CFLAGS -Wl,-no_pie"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int main(int argc, char **argv) { return 0; }
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 ac_cv_cflags__Wl__no_pie=yes
8762 else
8763 ac_cv_cflags__Wl__no_pie=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8770 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8771 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8772 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8774 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8775 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8776 else
8777 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8780 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8781 then
8782 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8785 if test "$ac_cv_header_Security_Security_h" = "yes"
8786 then
8787 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8789 ac_save_LIBS="$LIBS"
8790 LIBS="$LIBS $SECURITY_LIBS"
8791 for ac_func in SSLCopyPeerCertificates
8792 do :
8793 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8794 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8795 cat >>confdefs.h <<_ACEOF
8796 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8797 _ACEOF
8800 done
8802 LIBS="$ac_save_LIBS"
8804 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8805 then
8806 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8807 then
8808 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8810 else
8811 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8814 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8815 ac_save_LIBS="$LIBS"
8816 LIBS="$LIBS $COREAUDIO_LIBS"
8817 for ac_func in AUGraphAddNode
8818 do :
8819 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8820 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8821 cat >>confdefs.h <<_ACEOF
8822 #define HAVE_AUGRAPHADDNODE 1
8823 _ACEOF
8826 done
8828 LIBS="$ac_save_LIBS"
8830 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8831 then
8832 OPENAL_LIBS="-framework OpenAL"
8835 cat >>confdefs.h <<_ACEOF
8836 #define HAVE_OPENAL 1
8837 _ACEOF
8839 ac_cv_lib_openal=yes
8841 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8842 then
8843 OPENCL_LIBS="-framework OpenCL"
8845 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8847 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8848 then
8849 ac_save_LIBS="$LIBS"
8850 LIBS="$LIBS $IOKIT_LIBS"
8851 for ac_func in IOHIDManagerCreate
8852 do :
8853 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8854 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8855 cat >>confdefs.h <<_ACEOF
8856 #define HAVE_IOHIDMANAGERCREATE 1
8857 _ACEOF
8860 done
8862 LIBS="$ac_save_LIBS"
8864 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8865 then
8866 ac_save_LIBS="$LIBS"
8867 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8869 $as_echo_n "checking for the QuickTime framework... " >&6; }
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 #include <QuickTime/ImageCompression.h>
8874 main ()
8876 CodecManagerVersion(NULL);
8878 return 0;
8880 _ACEOF
8881 if ac_fn_c_try_link "$LINENO"; then :
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8883 $as_echo "yes" >&6; }
8884 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8886 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889 $as_echo "no" >&6; }
8890 ac_cv_header_QuickTime_ImageCompression_h=no
8892 rm -f core conftest.err conftest.$ac_objext \
8893 conftest$ac_exeext conftest.$ac_ext
8894 LIBS="$ac_save_LIBS"
8896 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8897 then
8898 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8900 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8901 then
8902 CARBON_LIBS="-framework Carbon"
8905 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8906 then
8907 METAL_LIBS="-framework Metal -framework QuartzCore"
8911 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8912 then
8913 ac_save_LIBS="$LIBS"
8914 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8915 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8916 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8917 enable_winemac_drv=${enable_winemac_drv:-yes}
8920 LIBS="$ac_save_LIBS"
8923 if test "x$enable_win16" = "xyes"
8924 then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8926 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8927 if test "$cross_compiling" = yes; then :
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8929 $as_echo "cross-compiling, assuming yes" >&6; }
8930 else
8931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8933 asm(".text\n"
8934 "bad:\tnop;nop\n"
8935 "good:\tnop;nop\n\t"
8936 ".globl _testfunc\n"
8937 "_testfunc:\tcallw good");
8938 extern void testfunc();
8940 main ()
8942 unsigned short *p = (unsigned short *)testfunc;
8943 return p[0] != 0xe866 || p[1] != 0xfffa
8945 return 0;
8947 _ACEOF
8948 if ac_fn_c_try_run "$LINENO"; then :
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8950 $as_echo "yes" >&6; }
8951 else
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8953 $as_echo "no" >&6; }
8954 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
8956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8957 conftest.$ac_objext conftest.beam conftest.$ac_ext
8962 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8964 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8966 WINELOADER_DEPENDS="wine_info.plist"
8968 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8969 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8972 linux-android*)
8973 DLLFLAGS="$DLLFLAGS -fPIC"
8974 LDEXECFLAGS="-Wl,-pie"
8975 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8977 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8978 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8979 $as_echo_n "(cached) " >&6
8980 else
8981 ac_wine_try_cflags_saved=$CFLAGS
8982 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8985 int main(int argc, char **argv) { return 0; }
8986 _ACEOF
8987 if ac_fn_c_try_link "$LINENO"; then :
8988 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8989 else
8990 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8992 rm -f core conftest.err conftest.$ac_objext \
8993 conftest$ac_exeext conftest.$ac_ext
8994 CFLAGS=$ac_wine_try_cflags_saved
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8997 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8998 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8999 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9001 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9002 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9004 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9005 if eval \${$as_ac_var+:} false; then :
9006 $as_echo_n "(cached) " >&6
9007 else
9008 ac_wine_try_cflags_saved=$CFLAGS
9009 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9011 /* end confdefs.h. */
9012 int main(int argc, char **argv) { return 0; }
9013 _ACEOF
9014 if ac_fn_c_try_link "$LINENO"; then :
9015 eval "$as_ac_var=yes"
9016 else
9017 eval "$as_ac_var=no"
9019 rm -f core conftest.err conftest.$ac_objext \
9020 conftest$ac_exeext conftest.$ac_ext
9021 CFLAGS=$ac_wine_try_cflags_saved
9023 eval ac_res=\$$as_ac_var
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9025 $as_echo "$ac_res" >&6; }
9026 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9027 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9028 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9029 else
9030 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9032 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9033 if eval \${$as_ac_var+:} false; then :
9034 $as_echo_n "(cached) " >&6
9035 else
9036 ac_wine_try_cflags_saved=$CFLAGS
9037 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9039 /* end confdefs.h. */
9040 int main(int argc, char **argv) { return 0; }
9041 _ACEOF
9042 if ac_fn_c_try_link "$LINENO"; then :
9043 eval "$as_ac_var=yes"
9044 else
9045 eval "$as_ac_var=no"
9047 rm -f core conftest.err conftest.$ac_objext \
9048 conftest$ac_exeext conftest.$ac_ext
9049 CFLAGS=$ac_wine_try_cflags_saved
9051 eval ac_res=\$$as_ac_var
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9053 $as_echo "$ac_res" >&6; }
9054 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9055 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9056 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9060 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9061 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 ac_wine_try_cflags_saved=$CFLAGS
9065 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9068 int main(int argc, char **argv) { return 0; }
9069 _ACEOF
9070 if ac_fn_c_try_link "$LINENO"; then :
9071 ac_cv_cflags__Wl___enable_new_dtags=yes
9072 else
9073 ac_cv_cflags__Wl___enable_new_dtags=no
9075 rm -f core conftest.err conftest.$ac_objext \
9076 conftest$ac_exeext conftest.$ac_ext
9077 CFLAGS=$ac_wine_try_cflags_saved
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9080 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9081 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9082 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9085 LIBWINE_SHAREDLIB="libwine.so"
9087 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9089 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9092 $as_echo_n "checking for -lEGL... " >&6; }
9093 if ${ac_cv_lib_soname_EGL+:} false; then :
9094 $as_echo_n "(cached) " >&6
9095 else
9096 ac_check_soname_save_LIBS=$LIBS
9097 LIBS="-lEGL $LIBS"
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9101 /* Override any GCC internal prototype to avoid an error.
9102 Use char because int might match the return type of a GCC
9103 builtin and then its argument prototype would still apply. */
9104 #ifdef __cplusplus
9105 extern "C"
9106 #endif
9107 char eglGetProcAddress ();
9109 main ()
9111 return eglGetProcAddress ();
9113 return 0;
9115 _ACEOF
9116 if ac_fn_c_try_link "$LINENO"; then :
9117 case "$LIBEXT" in
9118 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9119 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'` ;;
9120 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9121 if ${ac_cv_lib_soname_EGL:+false} :; then :
9122 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9123 fi ;;
9124 esac
9126 rm -f core conftest.err conftest.$ac_objext \
9127 conftest$ac_exeext conftest.$ac_ext
9128 LIBS=$ac_check_soname_save_LIBS
9130 if ${ac_cv_lib_soname_EGL:+false} :; then :
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9132 $as_echo "not found" >&6; }
9134 else
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9136 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9138 cat >>confdefs.h <<_ACEOF
9139 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9140 _ACEOF
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9145 $as_echo_n "checking for -lGLESv2... " >&6; }
9146 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9147 $as_echo_n "(cached) " >&6
9148 else
9149 ac_check_soname_save_LIBS=$LIBS
9150 LIBS="-lGLESv2 $LIBS"
9151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9152 /* end confdefs.h. */
9154 /* Override any GCC internal prototype to avoid an error.
9155 Use char because int might match the return type of a GCC
9156 builtin and then its argument prototype would still apply. */
9157 #ifdef __cplusplus
9158 extern "C"
9159 #endif
9160 char glFlush ();
9162 main ()
9164 return glFlush ();
9166 return 0;
9168 _ACEOF
9169 if ac_fn_c_try_link "$LINENO"; then :
9170 case "$LIBEXT" in
9171 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9172 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'` ;;
9173 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9174 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9175 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9176 fi ;;
9177 esac
9179 rm -f core conftest.err conftest.$ac_objext \
9180 conftest$ac_exeext conftest.$ac_ext
9181 LIBS=$ac_check_soname_save_LIBS
9183 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9185 $as_echo "not found" >&6; }
9187 else
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9189 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9191 cat >>confdefs.h <<_ACEOF
9192 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9193 _ACEOF
9198 if test "x$exec_prefix" = xNONE
9199 then
9200 case $host_cpu in
9201 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9202 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9203 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9204 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9205 esac
9210 DLLFLAGS="$DLLFLAGS -fPIC"
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9212 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9213 if ${ac_cv_c_dll_gnuelf+:} false; then :
9214 $as_echo_n "(cached) " >&6
9215 else
9216 ac_wine_try_cflags_saved=$CFLAGS
9217 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9220 void myfunc() {}
9221 _ACEOF
9222 if ac_fn_c_try_link "$LINENO"; then :
9223 ac_cv_c_dll_gnuelf="yes"
9224 else
9225 ac_cv_c_dll_gnuelf="no"
9227 rm -f core conftest.err conftest.$ac_objext \
9228 conftest$ac_exeext conftest.$ac_ext
9229 CFLAGS=$ac_wine_try_cflags_saved
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9232 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9233 if test "$ac_cv_c_dll_gnuelf" = "yes"
9234 then
9235 LIBWINE_LDFLAGS="-shared"
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9237 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9238 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_wine_try_cflags_saved=$CFLAGS
9242 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9245 int main(int argc, char **argv) { return 0; }
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9249 else
9250 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9252 rm -f core conftest.err conftest.$ac_objext \
9253 conftest$ac_exeext conftest.$ac_ext
9254 CFLAGS=$ac_wine_try_cflags_saved
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9257 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9258 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9259 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9260 else
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9262 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9263 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9264 $as_echo_n "(cached) " >&6
9265 else
9266 ac_wine_try_cflags_saved=$CFLAGS
9267 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9269 /* end confdefs.h. */
9270 int main(int argc, char **argv) { return 0; }
9271 _ACEOF
9272 if ac_fn_c_try_link "$LINENO"; then :
9273 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9274 else
9275 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9277 rm -f core conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 CFLAGS=$ac_wine_try_cflags_saved
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9282 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9283 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9284 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9288 echo '{ global: *; };' >conftest.map
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9290 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9291 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9292 $as_echo_n "(cached) " >&6
9293 else
9294 ac_wine_try_cflags_saved=$CFLAGS
9295 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9298 int main(int argc, char **argv) { return 0; }
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9302 else
9303 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 CFLAGS=$ac_wine_try_cflags_saved
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9310 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9311 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9312 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9314 rm -f conftest.map
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9317 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9318 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_wine_try_cflags_saved=$CFLAGS
9322 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9325 int main(int argc, char **argv) { return 0; }
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9329 else
9330 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 CFLAGS=$ac_wine_try_cflags_saved
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9337 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9338 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9339 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9341 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9343 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9345 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9346 if eval \${$as_ac_var+:} false; then :
9347 $as_echo_n "(cached) " >&6
9348 else
9349 ac_wine_try_cflags_saved=$CFLAGS
9350 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9353 int main(int argc, char **argv) { return 0; }
9354 _ACEOF
9355 if ac_fn_c_try_link "$LINENO"; then :
9356 eval "$as_ac_var=yes"
9357 else
9358 eval "$as_ac_var=no"
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 CFLAGS=$ac_wine_try_cflags_saved
9364 eval ac_res=\$$as_ac_var
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9366 $as_echo "$ac_res" >&6; }
9367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9368 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9369 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9370 else
9371 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9373 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9374 if eval \${$as_ac_var+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_wine_try_cflags_saved=$CFLAGS
9378 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9381 int main(int argc, char **argv) { return 0; }
9382 _ACEOF
9383 if ac_fn_c_try_link "$LINENO"; then :
9384 eval "$as_ac_var=yes"
9385 else
9386 eval "$as_ac_var=no"
9388 rm -f core conftest.err conftest.$ac_objext \
9389 conftest$ac_exeext conftest.$ac_ext
9390 CFLAGS=$ac_wine_try_cflags_saved
9392 eval ac_res=\$$as_ac_var
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9394 $as_echo "$ac_res" >&6; }
9395 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9396 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9397 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9402 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9403 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_wine_try_cflags_saved=$CFLAGS
9407 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9410 int main(int argc, char **argv) { return 0; }
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 ac_cv_cflags__Wl___enable_new_dtags=yes
9414 else
9415 ac_cv_cflags__Wl___enable_new_dtags=no
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 CFLAGS=$ac_wine_try_cflags_saved
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9422 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9423 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9424 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9427 case $host_cpu in
9428 *i[3456789]86* | x86_64 | *aarch64*)
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9430 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9431 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_wine_try_cflags_saved=$CFLAGS
9435 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9442 else
9443 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 CFLAGS=$ac_wine_try_cflags_saved
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9450 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9451 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9452 case $host_os in
9453 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9454 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9455 esac
9456 else
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9458 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9459 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9460 $as_echo_n "(cached) " >&6
9461 else
9462 ac_wine_try_cflags_saved=$CFLAGS
9463 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9466 int main(int argc, char **argv) { return 0; }
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9470 else
9471 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 CFLAGS=$ac_wine_try_cflags_saved
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9478 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9479 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9480 case $host_os in
9481 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9482 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9483 esac
9485 # Extract the first word of "prelink", so it can be a program name with args.
9486 set dummy prelink; ac_word=$2
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9488 $as_echo_n "checking for $ac_word... " >&6; }
9489 if ${ac_cv_path_PRELINK+:} false; then :
9490 $as_echo_n "(cached) " >&6
9491 else
9492 case $PRELINK in
9493 [\\/]* | ?:[\\/]*)
9494 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9498 for as_dir in /sbin /usr/sbin $PATH
9500 IFS=$as_save_IFS
9501 test -z "$as_dir" && as_dir=.
9502 for ac_exec_ext in '' $ac_executable_extensions; do
9503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9504 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9506 break 2
9508 done
9509 done
9510 IFS=$as_save_IFS
9512 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9514 esac
9516 PRELINK=$ac_cv_path_PRELINK
9517 if test -n "$PRELINK"; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9519 $as_echo "$PRELINK" >&6; }
9520 else
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9522 $as_echo "no" >&6; }
9526 if test "x$PRELINK" = xfalse
9527 then
9528 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9532 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9533 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9534 $as_echo_n "(cached) " >&6
9535 else
9536 ac_wine_try_cflags_saved=$CFLAGS
9537 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9540 int main(int argc, char **argv) { return 0; }
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9544 else
9545 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 CFLAGS=$ac_wine_try_cflags_saved
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9552 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9553 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9554 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9557 esac
9559 else
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9561 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9562 if ${ac_cv_c_dll_unixware+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_wine_try_cflags_saved=$CFLAGS
9566 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569 void myfunc() {}
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_c_dll_unixware="yes"
9573 else
9574 ac_cv_c_dll_unixware="no"
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 CFLAGS=$ac_wine_try_cflags_saved
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9581 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9582 if test "$ac_cv_c_dll_unixware" = "yes"
9583 then
9584 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9587 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9589 LIBWINE_DEPENDS="wine.map"
9591 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9592 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9594 esac
9596 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9597 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9598 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9599 enable_winemac_drv=${enable_winemac_drv:-no}
9600 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9602 CROSSTARGET=""
9604 if test "x$with_mingw" != xno
9605 then
9606 case "x$with_mingw" in
9607 x|xyes) case "$host_cpu" in
9608 aarch64*)
9609 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9610 arm*)
9611 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9612 i[3456789]86*)
9613 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
9614 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9615 mingw32-gcc" ;;
9616 x86_64)
9617 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
9618 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9620 ac_prefix_list="" ;;
9621 esac
9622 for ac_prog in $ac_prefix_list
9624 # Extract the first word of "$ac_prog", so it can be a program name with args.
9625 set dummy $ac_prog; ac_word=$2
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9627 $as_echo_n "checking for $ac_word... " >&6; }
9628 if ${ac_cv_prog_CROSSCC+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 if test -n "$CROSSCC"; then
9632 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9633 else
9634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9635 for as_dir in $PATH
9637 IFS=$as_save_IFS
9638 test -z "$as_dir" && as_dir=.
9639 for ac_exec_ext in '' $ac_executable_extensions; do
9640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9641 ac_cv_prog_CROSSCC="$ac_prog"
9642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9643 break 2
9645 done
9646 done
9647 IFS=$as_save_IFS
9651 CROSSCC=$ac_cv_prog_CROSSCC
9652 if test -n "$CROSSCC"; then
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9654 $as_echo "$CROSSCC" >&6; }
9655 else
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9657 $as_echo "no" >&6; }
9661 test -n "$CROSSCC" && break
9662 done
9663 test -n "$CROSSCC" || CROSSCC="false"
9665 *) CROSSCC=$with_mingw ;;
9666 esac
9667 if test "$CROSSCC" != "false"
9668 then
9669 ac_save_CC="$CC"
9670 CC="$CROSSCC"
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9672 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9677 main ()
9681 return 0;
9683 _ACEOF
9684 if ac_fn_c_try_compile "$LINENO"; then :
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9686 $as_echo "yes" >&6; }
9687 set x $CROSSCC
9688 shift
9689 while test $# -ge 1
9691 case "$1" in
9692 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9693 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9694 esac
9695 shift
9696 done
9697 else
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 $as_echo "no" >&6; }
9701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9702 CC="$ac_save_CC"
9703 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9707 if test "x$CROSSTARGET" = "x"; then :
9708 case "x$with_mingw" in
9709 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
9710 xno) ;;
9711 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
9712 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
9713 esac
9718 if test "$ac_cv_header_pthread_h" = "yes"
9719 then
9720 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9721 if test "x$ac_cv_func_pthread_create" = xyes; then :
9723 else
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9725 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9726 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9727 $as_echo_n "(cached) " >&6
9728 else
9729 ac_check_lib_save_LIBS=$LIBS
9730 LIBS="-lpthread $LIBS"
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9734 /* Override any GCC internal prototype to avoid an error.
9735 Use char because int might match the return type of a GCC
9736 builtin and then its argument prototype would still apply. */
9737 #ifdef __cplusplus
9738 extern "C"
9739 #endif
9740 char pthread_create ();
9742 main ()
9744 return pthread_create ();
9746 return 0;
9748 _ACEOF
9749 if ac_fn_c_try_link "$LINENO"; then :
9750 ac_cv_lib_pthread_pthread_create=yes
9751 else
9752 ac_cv_lib_pthread_pthread_create=no
9754 rm -f core conftest.err conftest.$ac_objext \
9755 conftest$ac_exeext conftest.$ac_ext
9756 LIBS=$ac_check_lib_save_LIBS
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9759 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9760 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9761 PTHREAD_LIBS="-lpthread"
9768 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9769 case "x$with_pthread" in
9770 xno) ;;
9771 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9772 Wine cannot support threads without libpthread.
9773 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9774 esac
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9780 $as_echo_n "checking for X... " >&6; }
9783 # Check whether --with-x was given.
9784 if test "${with_x+set}" = set; then :
9785 withval=$with_x;
9788 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9789 if test "x$with_x" = xno; then
9790 # The user explicitly disabled X.
9791 have_x=disabled
9792 else
9793 case $x_includes,$x_libraries in #(
9794 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9795 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 # One or both of the vars are not set, and there is no cached value.
9799 ac_x_includes=no ac_x_libraries=no
9800 rm -f -r conftest.dir
9801 if mkdir conftest.dir; then
9802 cd conftest.dir
9803 cat >Imakefile <<'_ACEOF'
9804 incroot:
9805 @echo incroot='${INCROOT}'
9806 usrlibdir:
9807 @echo usrlibdir='${USRLIBDIR}'
9808 libdir:
9809 @echo libdir='${LIBDIR}'
9810 _ACEOF
9811 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9812 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9813 for ac_var in incroot usrlibdir libdir; do
9814 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9815 done
9816 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9817 for ac_extension in a so sl dylib la dll; do
9818 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9819 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9820 ac_im_usrlibdir=$ac_im_libdir; break
9822 done
9823 # Screen out bogus values from the imake configuration. They are
9824 # bogus both because they are the default anyway, and because
9825 # using them would break gcc on systems where it needs fixed includes.
9826 case $ac_im_incroot in
9827 /usr/include) ac_x_includes= ;;
9828 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9829 esac
9830 case $ac_im_usrlibdir in
9831 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9832 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9833 esac
9835 cd ..
9836 rm -f -r conftest.dir
9839 # Standard set of common directories for X headers.
9840 # Check X11 before X11Rn because it is often a symlink to the current release.
9841 ac_x_header_dirs='
9842 /usr/X11/include
9843 /usr/X11R7/include
9844 /usr/X11R6/include
9845 /usr/X11R5/include
9846 /usr/X11R4/include
9848 /usr/include/X11
9849 /usr/include/X11R7
9850 /usr/include/X11R6
9851 /usr/include/X11R5
9852 /usr/include/X11R4
9854 /usr/local/X11/include
9855 /usr/local/X11R7/include
9856 /usr/local/X11R6/include
9857 /usr/local/X11R5/include
9858 /usr/local/X11R4/include
9860 /usr/local/include/X11
9861 /usr/local/include/X11R7
9862 /usr/local/include/X11R6
9863 /usr/local/include/X11R5
9864 /usr/local/include/X11R4
9866 /usr/X386/include
9867 /usr/x386/include
9868 /usr/XFree86/include/X11
9870 /usr/include
9871 /usr/local/include
9872 /usr/unsupported/include
9873 /usr/athena/include
9874 /usr/local/x11r5/include
9875 /usr/lpp/Xamples/include
9877 /usr/openwin/include
9878 /usr/openwin/share/include'
9880 if test "$ac_x_includes" = no; then
9881 # Guess where to find include files, by looking for Xlib.h.
9882 # First, try using that file with no special directory specified.
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 #include <X11/Xlib.h>
9886 _ACEOF
9887 if ac_fn_c_try_cpp "$LINENO"; then :
9888 # We can compile using X headers with no special include directory.
9889 ac_x_includes=
9890 else
9891 for ac_dir in $ac_x_header_dirs; do
9892 if test -r "$ac_dir/X11/Xlib.h"; then
9893 ac_x_includes=$ac_dir
9894 break
9896 done
9898 rm -f conftest.err conftest.i conftest.$ac_ext
9899 fi # $ac_x_includes = no
9901 if test "$ac_x_libraries" = no; then
9902 # Check for the libraries.
9903 # See if we find them without any special options.
9904 # Don't add to $LIBS permanently.
9905 ac_save_LIBS=$LIBS
9906 LIBS="-lX11 $LIBS"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 #include <X11/Xlib.h>
9911 main ()
9913 XrmInitialize ()
9915 return 0;
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 LIBS=$ac_save_LIBS
9920 # We can link X programs with no special library path.
9921 ac_x_libraries=
9922 else
9923 LIBS=$ac_save_LIBS
9924 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9926 # Don't even attempt the hair of trying to link an X program!
9927 for ac_extension in a so sl dylib la dll; do
9928 if test -r "$ac_dir/libX11.$ac_extension"; then
9929 ac_x_libraries=$ac_dir
9930 break 2
9932 done
9933 done
9935 rm -f core conftest.err conftest.$ac_objext \
9936 conftest$ac_exeext conftest.$ac_ext
9937 fi # $ac_x_libraries = no
9939 case $ac_x_includes,$ac_x_libraries in #(
9940 no,* | *,no | *\'*)
9941 # Didn't find X, or a directory has "'" in its name.
9942 ac_cv_have_x="have_x=no";; #(
9944 # Record where we found X for the cache.
9945 ac_cv_have_x="have_x=yes\
9946 ac_x_includes='$ac_x_includes'\
9947 ac_x_libraries='$ac_x_libraries'"
9948 esac
9950 ;; #(
9951 *) have_x=yes;;
9952 esac
9953 eval "$ac_cv_have_x"
9954 fi # $with_x != no
9956 if test "$have_x" != yes; then
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9958 $as_echo "$have_x" >&6; }
9959 no_x=yes
9960 else
9961 # If each of the values was on the command line, it overrides each guess.
9962 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9963 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9964 # Update the cache value to reflect the command line values.
9965 ac_cv_have_x="have_x=yes\
9966 ac_x_includes='$x_includes'\
9967 ac_x_libraries='$x_libraries'"
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9969 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9972 if test "$no_x" = yes; then
9973 # Not all programs may use this symbol, but it does not hurt to define it.
9975 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9977 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9978 else
9979 if test -n "$x_includes"; then
9980 X_CFLAGS="$X_CFLAGS -I$x_includes"
9983 # It would also be nice to do this for all -L options, not just this one.
9984 if test -n "$x_libraries"; then
9985 X_LIBS="$X_LIBS -L$x_libraries"
9986 # For Solaris; some versions of Sun CC require a space after -R and
9987 # others require no space. Words are not sufficient . . . .
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9989 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9990 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9991 ac_xsave_c_werror_flag=$ac_c_werror_flag
9992 ac_c_werror_flag=yes
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9997 main ()
10001 return 0;
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10006 $as_echo "no" >&6; }
10007 X_LIBS="$X_LIBS -R$x_libraries"
10008 else
10009 LIBS="$ac_xsave_LIBS -R $x_libraries"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10014 main ()
10018 return 0;
10020 _ACEOF
10021 if ac_fn_c_try_link "$LINENO"; then :
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10023 $as_echo "yes" >&6; }
10024 X_LIBS="$X_LIBS -R $x_libraries"
10025 else
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10027 $as_echo "neither works" >&6; }
10029 rm -f core conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10032 rm -f core conftest.err conftest.$ac_objext \
10033 conftest$ac_exeext conftest.$ac_ext
10034 ac_c_werror_flag=$ac_xsave_c_werror_flag
10035 LIBS=$ac_xsave_LIBS
10038 # Check for system-dependent libraries X programs must link with.
10039 # Do this before checking for the system-independent R6 libraries
10040 # (-lICE), since we may need -lsocket or whatever for X linking.
10042 if test "$ISC" = yes; then
10043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10044 else
10045 # Martyn Johnson says this is needed for Ultrix, if the X
10046 # libraries were built with DECnet support. And Karl Berry says
10047 # the Alpha needs dnet_stub (dnet does not exist).
10048 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10055 #ifdef __cplusplus
10056 extern "C"
10057 #endif
10058 char XOpenDisplay ();
10060 main ()
10062 return XOpenDisplay ();
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10069 else
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10071 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10072 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10073 $as_echo_n "(cached) " >&6
10074 else
10075 ac_check_lib_save_LIBS=$LIBS
10076 LIBS="-ldnet $LIBS"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10083 #ifdef __cplusplus
10084 extern "C"
10085 #endif
10086 char dnet_ntoa ();
10088 main ()
10090 return dnet_ntoa ();
10092 return 0;
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_lib_dnet_dnet_ntoa=yes
10097 else
10098 ac_cv_lib_dnet_dnet_ntoa=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 LIBS=$ac_check_lib_save_LIBS
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10105 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10106 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10107 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10110 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10112 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10113 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_check_lib_save_LIBS=$LIBS
10117 LIBS="-ldnet_stub $LIBS"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 char dnet_ntoa ();
10129 main ()
10131 return dnet_ntoa ();
10133 return 0;
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10138 else
10139 ac_cv_lib_dnet_stub_dnet_ntoa=no
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_lib_save_LIBS
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10146 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10147 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10148 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10153 rm -f core conftest.err conftest.$ac_objext \
10154 conftest$ac_exeext conftest.$ac_ext
10155 LIBS="$ac_xsave_LIBS"
10157 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10158 # to get the SysV transport functions.
10159 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10160 # needs -lnsl.
10161 # The nsl library prevents programs from opening the X display
10162 # on Irix 5.2, according to T.E. Dickey.
10163 # The functions gethostbyname, getservbyname, and inet_addr are
10164 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10165 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10166 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10170 if test $ac_cv_func_gethostbyname = no; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10172 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10173 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_check_lib_save_LIBS=$LIBS
10177 LIBS="-lnsl $LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10184 #ifdef __cplusplus
10185 extern "C"
10186 #endif
10187 char gethostbyname ();
10189 main ()
10191 return gethostbyname ();
10193 return 0;
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 ac_cv_lib_nsl_gethostbyname=yes
10198 else
10199 ac_cv_lib_nsl_gethostbyname=no
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 LIBS=$ac_check_lib_save_LIBS
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10206 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10207 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10208 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10211 if test $ac_cv_lib_nsl_gethostbyname = no; then
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10213 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10214 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-lbsd $LIBS"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10225 #ifdef __cplusplus
10226 extern "C"
10227 #endif
10228 char gethostbyname ();
10230 main ()
10232 return gethostbyname ();
10234 return 0;
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 ac_cv_lib_bsd_gethostbyname=yes
10239 else
10240 ac_cv_lib_bsd_gethostbyname=no
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_lib_save_LIBS
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10247 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10248 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10249 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10255 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10256 # socket/setsockopt and other routines are undefined under SCO ODT
10257 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10258 # on later versions), says Simon Leinen: it contains gethostby*
10259 # variants that don't use the name server (or something). -lsocket
10260 # must be given before -lnsl if both are needed. We assume that
10261 # if connect needs -lnsl, so does gethostbyname.
10262 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10263 if test "x$ac_cv_func_connect" = xyes; then :
10267 if test $ac_cv_func_connect = no; then
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10269 $as_echo_n "checking for connect in -lsocket... " >&6; }
10270 if ${ac_cv_lib_socket_connect+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_check_lib_save_LIBS=$LIBS
10274 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10281 #ifdef __cplusplus
10282 extern "C"
10283 #endif
10284 char connect ();
10286 main ()
10288 return connect ();
10290 return 0;
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_lib_socket_connect=yes
10295 else
10296 ac_cv_lib_socket_connect=no
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 LIBS=$ac_check_lib_save_LIBS
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10303 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10304 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10305 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10310 # Guillermo Gomez says -lposix is necessary on A/UX.
10311 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10312 if test "x$ac_cv_func_remove" = xyes; then :
10316 if test $ac_cv_func_remove = no; then
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10318 $as_echo_n "checking for remove in -lposix... " >&6; }
10319 if ${ac_cv_lib_posix_remove+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_check_lib_save_LIBS=$LIBS
10323 LIBS="-lposix $LIBS"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10327 /* Override any GCC internal prototype to avoid an error.
10328 Use char because int might match the return type of a GCC
10329 builtin and then its argument prototype would still apply. */
10330 #ifdef __cplusplus
10331 extern "C"
10332 #endif
10333 char remove ();
10335 main ()
10337 return remove ();
10339 return 0;
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_lib_posix_remove=yes
10344 else
10345 ac_cv_lib_posix_remove=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 LIBS=$ac_check_lib_save_LIBS
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10352 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10353 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10354 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10359 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10360 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10361 if test "x$ac_cv_func_shmat" = xyes; then :
10365 if test $ac_cv_func_shmat = no; then
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10367 $as_echo_n "checking for shmat in -lipc... " >&6; }
10368 if ${ac_cv_lib_ipc_shmat+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_check_lib_save_LIBS=$LIBS
10372 LIBS="-lipc $LIBS"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10379 #ifdef __cplusplus
10380 extern "C"
10381 #endif
10382 char shmat ();
10384 main ()
10386 return shmat ();
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 ac_cv_lib_ipc_shmat=yes
10393 else
10394 ac_cv_lib_ipc_shmat=no
10396 rm -f core conftest.err conftest.$ac_objext \
10397 conftest$ac_exeext conftest.$ac_ext
10398 LIBS=$ac_check_lib_save_LIBS
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10401 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10402 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10409 # Check for libraries that X11R6 Xt/Xaw programs need.
10410 ac_save_LDFLAGS=$LDFLAGS
10411 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10412 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10413 # check for ICE first), but we must link in the order -lSM -lICE or
10414 # we get undefined symbols. So assume we have SM if we have ICE.
10415 # These have to be linked with before -lX11, unlike the other
10416 # libraries we check for below, so use a different variable.
10417 # John Interrante, Karl Berry
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10419 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10420 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10421 $as_echo_n "(cached) " >&6
10422 else
10423 ac_check_lib_save_LIBS=$LIBS
10424 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10428 /* Override any GCC internal prototype to avoid an error.
10429 Use char because int might match the return type of a GCC
10430 builtin and then its argument prototype would still apply. */
10431 #ifdef __cplusplus
10432 extern "C"
10433 #endif
10434 char IceConnectionNumber ();
10436 main ()
10438 return IceConnectionNumber ();
10440 return 0;
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 ac_cv_lib_ICE_IceConnectionNumber=yes
10445 else
10446 ac_cv_lib_ICE_IceConnectionNumber=no
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 LIBS=$ac_check_lib_save_LIBS
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10453 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10454 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10455 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10458 LDFLAGS=$ac_save_LDFLAGS
10463 if test "$have_x" = "yes"
10464 then
10465 ac_save_CPPFLAGS="$CPPFLAGS"
10466 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10469 $as_echo_n "checking for -lX11... " >&6; }
10470 if ${ac_cv_lib_soname_X11+:} false; then :
10471 $as_echo_n "(cached) " >&6
10472 else
10473 ac_check_soname_save_LIBS=$LIBS
10474 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10481 #ifdef __cplusplus
10482 extern "C"
10483 #endif
10484 char XCreateWindow ();
10486 main ()
10488 return XCreateWindow ();
10490 return 0;
10492 _ACEOF
10493 if ac_fn_c_try_link "$LINENO"; then :
10494 case "$LIBEXT" in
10495 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10496 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'` ;;
10497 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10498 if ${ac_cv_lib_soname_X11:+false} :; then :
10499 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10500 fi ;;
10501 esac
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 LIBS=$ac_check_soname_save_LIBS
10507 if ${ac_cv_lib_soname_X11:+false} :; then :
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10509 $as_echo "not found" >&6; }
10511 else
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10513 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10515 cat >>confdefs.h <<_ACEOF
10516 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10517 _ACEOF
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10522 $as_echo_n "checking for -lXext... " >&6; }
10523 if ${ac_cv_lib_soname_Xext+:} false; then :
10524 $as_echo_n "(cached) " >&6
10525 else
10526 ac_check_soname_save_LIBS=$LIBS
10527 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10531 /* Override any GCC internal prototype to avoid an error.
10532 Use char because int might match the return type of a GCC
10533 builtin and then its argument prototype would still apply. */
10534 #ifdef __cplusplus
10535 extern "C"
10536 #endif
10537 char XextCreateExtension ();
10539 main ()
10541 return XextCreateExtension ();
10543 return 0;
10545 _ACEOF
10546 if ac_fn_c_try_link "$LINENO"; then :
10547 case "$LIBEXT" in
10548 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10549 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'` ;;
10550 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10551 if ${ac_cv_lib_soname_Xext:+false} :; then :
10552 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10553 fi ;;
10554 esac
10556 rm -f core conftest.err conftest.$ac_objext \
10557 conftest$ac_exeext conftest.$ac_ext
10558 LIBS=$ac_check_soname_save_LIBS
10560 if ${ac_cv_lib_soname_Xext:+false} :; then :
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10562 $as_echo "not found" >&6; }
10564 else
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10566 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10568 cat >>confdefs.h <<_ACEOF
10569 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10570 _ACEOF
10572 X_LIBS="$X_LIBS -lXext"
10574 X_LIBS="$X_LIBS -lX11"
10576 for ac_header in X11/Xlib.h \
10577 X11/XKBlib.h \
10578 X11/Xutil.h \
10579 X11/Xcursor/Xcursor.h \
10580 X11/extensions/shape.h \
10581 X11/extensions/XInput.h \
10582 X11/extensions/XInput2.h \
10583 X11/extensions/XShm.h \
10584 X11/extensions/Xcomposite.h \
10585 X11/extensions/Xfixes.h \
10586 X11/extensions/Xinerama.h \
10587 X11/extensions/Xrandr.h \
10588 X11/extensions/Xrender.h \
10589 X11/extensions/xf86vmode.h \
10590 X11/extensions/xf86vmproto.h
10591 do :
10592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10594 # include <X11/Xlib.h>
10595 #endif
10596 #ifdef HAVE_X11_XUTIL_H
10597 # include <X11/Xutil.h>
10598 #endif
10600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10601 cat >>confdefs.h <<_ACEOF
10602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10603 _ACEOF
10607 done
10610 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10611 then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10613 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10614 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 ac_check_lib_save_LIBS=$LIBS
10618 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10622 /* Override any GCC internal prototype to avoid an error.
10623 Use char because int might match the return type of a GCC
10624 builtin and then its argument prototype would still apply. */
10625 #ifdef __cplusplus
10626 extern "C"
10627 #endif
10628 char XkbQueryExtension ();
10630 main ()
10632 return XkbQueryExtension ();
10634 return 0;
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"; then :
10638 ac_cv_lib_X11_XkbQueryExtension=yes
10639 else
10640 ac_cv_lib_X11_XkbQueryExtension=no
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 LIBS=$ac_check_lib_save_LIBS
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10647 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10648 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10650 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10656 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10657 then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10659 $as_echo_n "checking for -lXcursor... " >&6; }
10660 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_check_soname_save_LIBS=$LIBS
10664 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10671 #ifdef __cplusplus
10672 extern "C"
10673 #endif
10674 char XcursorImageLoadCursor ();
10676 main ()
10678 return XcursorImageLoadCursor ();
10680 return 0;
10682 _ACEOF
10683 if ac_fn_c_try_link "$LINENO"; then :
10684 case "$LIBEXT" in
10685 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10686 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'` ;;
10687 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10688 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10689 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10690 fi ;;
10691 esac
10693 rm -f core conftest.err conftest.$ac_objext \
10694 conftest$ac_exeext conftest.$ac_ext
10695 LIBS=$ac_check_soname_save_LIBS
10697 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10699 $as_echo "not found" >&6; }
10701 else
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10703 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10705 cat >>confdefs.h <<_ACEOF
10706 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10707 _ACEOF
10712 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10713 case "x$with_xcursor" in
10714 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10715 xno) ;;
10716 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10717 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10718 esac
10722 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10723 then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10725 $as_echo_n "checking for -lXi... " >&6; }
10726 if ${ac_cv_lib_soname_Xi+:} false; then :
10727 $as_echo_n "(cached) " >&6
10728 else
10729 ac_check_soname_save_LIBS=$LIBS
10730 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10737 #ifdef __cplusplus
10738 extern "C"
10739 #endif
10740 char XOpenDevice ();
10742 main ()
10744 return XOpenDevice ();
10746 return 0;
10748 _ACEOF
10749 if ac_fn_c_try_link "$LINENO"; then :
10750 case "$LIBEXT" in
10751 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10752 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'` ;;
10753 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10754 if ${ac_cv_lib_soname_Xi:+false} :; then :
10755 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10756 fi ;;
10757 esac
10759 rm -f core conftest.err conftest.$ac_objext \
10760 conftest$ac_exeext conftest.$ac_ext
10761 LIBS=$ac_check_soname_save_LIBS
10763 if ${ac_cv_lib_soname_Xi:+false} :; then :
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10765 $as_echo "not found" >&6; }
10767 else
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10769 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10771 cat >>confdefs.h <<_ACEOF
10772 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10773 _ACEOF
10778 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10779 case "x$with_xinput" in
10780 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10781 xno) ;;
10782 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10783 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10784 esac
10788 if test "x$ac_cv_lib_soname_Xi" != x
10789 then
10790 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10791 case "x$with_xinput2" in
10792 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10793 xno) ;;
10794 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10795 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10796 esac
10801 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10802 then
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10804 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10805 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10806 $as_echo_n "(cached) " >&6
10807 else
10808 ac_check_lib_save_LIBS=$LIBS
10809 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10816 #ifdef __cplusplus
10817 extern "C"
10818 #endif
10819 char XShmQueryExtension ();
10821 main ()
10823 return XShmQueryExtension ();
10825 return 0;
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"; then :
10829 ac_cv_lib_Xext_XShmQueryExtension=yes
10830 else
10831 ac_cv_lib_Xext_XShmQueryExtension=no
10833 rm -f core conftest.err conftest.$ac_objext \
10834 conftest$ac_exeext conftest.$ac_ext
10835 LIBS=$ac_check_lib_save_LIBS
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10838 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10839 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10841 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10846 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10847 case "x$with_xshm" in
10848 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10849 xno) ;;
10850 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10851 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10852 esac
10856 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10857 then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10859 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10860 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10861 $as_echo_n "(cached) " >&6
10862 else
10863 ac_check_lib_save_LIBS=$LIBS
10864 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10871 #ifdef __cplusplus
10872 extern "C"
10873 #endif
10874 char XShapeQueryExtension ();
10876 main ()
10878 return XShapeQueryExtension ();
10880 return 0;
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 ac_cv_lib_Xext_XShapeQueryExtension=yes
10885 else
10886 ac_cv_lib_Xext_XShapeQueryExtension=no
10888 rm -f core conftest.err conftest.$ac_objext \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10893 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10894 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10896 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10901 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10902 case "x$with_xshape" in
10903 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10904 xno) ;;
10905 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10906 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10907 esac
10911 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10912 then
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10914 $as_echo_n "checking for -lXxf86vm... " >&6; }
10915 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 ac_check_soname_save_LIBS=$LIBS
10919 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10926 #ifdef __cplusplus
10927 extern "C"
10928 #endif
10929 char XF86VidModeQueryExtension ();
10931 main ()
10933 return XF86VidModeQueryExtension ();
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 case "$LIBEXT" in
10940 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10941 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'` ;;
10942 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10943 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10944 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10945 fi ;;
10946 esac
10948 rm -f core conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 LIBS=$ac_check_soname_save_LIBS
10952 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10954 $as_echo "not found" >&6; }
10956 else
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10958 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10960 cat >>confdefs.h <<_ACEOF
10961 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10962 _ACEOF
10967 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10968 case "x$with_xxf86vm" in
10969 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10970 xno) ;;
10971 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10972 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10973 esac
10977 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10978 then
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10980 $as_echo_n "checking for -lXrender... " >&6; }
10981 if ${ac_cv_lib_soname_Xrender+:} false; then :
10982 $as_echo_n "(cached) " >&6
10983 else
10984 ac_check_soname_save_LIBS=$LIBS
10985 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 char XRenderQueryExtension ();
10997 main ()
10999 return XRenderQueryExtension ();
11001 return 0;
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"; then :
11005 case "$LIBEXT" in
11006 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11007 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'` ;;
11008 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11009 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11010 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11011 fi ;;
11012 esac
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_soname_save_LIBS
11018 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11020 $as_echo "not found" >&6; }
11022 else
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11024 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11026 cat >>confdefs.h <<_ACEOF
11027 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11028 _ACEOF
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11031 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11032 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11033 $as_echo_n "(cached) " >&6
11034 else
11035 ac_check_lib_save_LIBS=$LIBS
11036 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11040 /* Override any GCC internal prototype to avoid an error.
11041 Use char because int might match the return type of a GCC
11042 builtin and then its argument prototype would still apply. */
11043 #ifdef __cplusplus
11044 extern "C"
11045 #endif
11046 char XRenderSetPictureTransform ();
11048 main ()
11050 return XRenderSetPictureTransform ();
11052 return 0;
11054 _ACEOF
11055 if ac_fn_c_try_link "$LINENO"; then :
11056 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11057 else
11058 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11060 rm -f core conftest.err conftest.$ac_objext \
11061 conftest$ac_exeext conftest.$ac_ext
11062 LIBS=$ac_check_lib_save_LIBS
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11065 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11066 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11068 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11073 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11074 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11075 $as_echo_n "(cached) " >&6
11076 else
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11085 #ifdef __cplusplus
11086 extern "C"
11087 #endif
11088 char XRenderCreateLinearGradient ();
11090 main ()
11092 return XRenderCreateLinearGradient ();
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11099 else
11100 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11107 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11108 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11110 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11117 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11118 case "x$with_xrender" in
11119 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11120 xno) ;;
11121 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11122 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11123 esac
11127 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11128 then
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11131 #include <X11/Xlib.h>
11132 #include <X11/extensions/Xrandr.h>
11134 main ()
11136 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11138 return 0;
11140 _ACEOF
11141 if ac_fn_c_try_compile "$LINENO"; then :
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11143 $as_echo_n "checking for -lXrandr... " >&6; }
11144 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_soname_save_LIBS=$LIBS
11148 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char XRRQueryExtension ();
11160 main ()
11162 return XRRQueryExtension ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 case "$LIBEXT" in
11169 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11170 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'` ;;
11171 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11172 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11173 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11174 fi ;;
11175 esac
11177 rm -f core conftest.err conftest.$ac_objext \
11178 conftest$ac_exeext conftest.$ac_ext
11179 LIBS=$ac_check_soname_save_LIBS
11181 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11183 $as_echo "not found" >&6; }
11185 else
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11187 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11189 cat >>confdefs.h <<_ACEOF
11190 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11191 _ACEOF
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11195 #include <X11/Xlib.h>
11196 #include <X11/extensions/Xrandr.h>
11198 main ()
11200 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11202 return 0;
11204 _ACEOF
11205 if ac_fn_c_try_compile "$LINENO"; then :
11207 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11215 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11216 case "x$with_xrandr" in
11217 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11218 xno) ;;
11219 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11220 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11221 esac
11225 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11226 then
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11229 #include <X11/Xlib.h>
11230 #include <X11/extensions/Xfixes.h>
11232 main ()
11234 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11236 return 0;
11238 _ACEOF
11239 if ac_fn_c_try_compile "$LINENO"; then :
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11241 $as_echo_n "checking for -lXfixes... " >&6; }
11242 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_soname_save_LIBS=$LIBS
11246 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char XFixesQueryVersion ();
11258 main ()
11260 return XFixesQueryVersion ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 case "$LIBEXT" in
11267 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11268 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'` ;;
11269 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11270 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11271 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11272 fi ;;
11273 esac
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_soname_save_LIBS
11279 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11281 $as_echo "not found" >&6; }
11283 else
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11285 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11287 cat >>confdefs.h <<_ACEOF
11288 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11289 _ACEOF
11294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11296 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11297 case "x$with_xfixes" in
11298 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11299 xno) ;;
11300 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11301 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11302 esac
11306 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11307 then
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11310 #include <X11/Xlib.h>
11311 #include <X11/extensions/Xinerama.h>
11313 main ()
11315 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11317 return 0;
11319 _ACEOF
11320 if ac_fn_c_try_compile "$LINENO"; then :
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11322 $as_echo_n "checking for -lXinerama... " >&6; }
11323 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_soname_save_LIBS=$LIBS
11327 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char XineramaQueryScreens ();
11339 main ()
11341 return XineramaQueryScreens ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 case "$LIBEXT" in
11348 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11349 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'` ;;
11350 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11351 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11352 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11353 fi ;;
11354 esac
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_soname_save_LIBS
11360 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11362 $as_echo "not found" >&6; }
11364 else
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11366 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11368 cat >>confdefs.h <<_ACEOF
11369 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11370 _ACEOF
11375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11377 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11378 case "x$with_xinerama" in
11379 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11380 xno) ;;
11381 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11382 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11383 esac
11387 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11388 then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11390 $as_echo_n "checking for -lXcomposite... " >&6; }
11391 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11392 $as_echo_n "(cached) " >&6
11393 else
11394 ac_check_soname_save_LIBS=$LIBS
11395 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11399 /* Override any GCC internal prototype to avoid an error.
11400 Use char because int might match the return type of a GCC
11401 builtin and then its argument prototype would still apply. */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 char XCompositeRedirectWindow ();
11407 main ()
11409 return XCompositeRedirectWindow ();
11411 return 0;
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"; then :
11415 case "$LIBEXT" in
11416 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11417 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'` ;;
11418 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11419 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11420 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11421 fi ;;
11422 esac
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_soname_save_LIBS
11428 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11430 $as_echo "not found" >&6; }
11432 else
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11434 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11436 cat >>confdefs.h <<_ACEOF
11437 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11438 _ACEOF
11443 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11444 case "x$with_xcomposite" in
11445 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11446 xno) ;;
11447 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11448 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11449 esac
11453 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11454 #include <X11/Xlib.h>
11455 #endif
11457 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11459 cat >>confdefs.h <<_ACEOF
11460 #define HAVE_XICCALLBACK_CALLBACK 1
11461 _ACEOF
11465 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11466 #include <X11/Xlib.h>
11467 #endif
11469 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11471 cat >>confdefs.h <<_ACEOF
11472 #define HAVE_XEVENT_XCOOKIE 1
11473 _ACEOF
11480 opengl_msg=""
11481 if test "x$with_opengl" != "xno"
11482 then
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11484 $as_echo_n "checking for -lGL... " >&6; }
11485 if ${ac_cv_lib_soname_GL+:} false; then :
11486 $as_echo_n "(cached) " >&6
11487 else
11488 ac_check_soname_save_LIBS=$LIBS
11489 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11496 #ifdef __cplusplus
11497 extern "C"
11498 #endif
11499 char glXCreateContext ();
11501 main ()
11503 return glXCreateContext ();
11505 return 0;
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"; then :
11509 case "$LIBEXT" in
11510 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11511 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'` ;;
11512 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11513 if ${ac_cv_lib_soname_GL:+false} :; then :
11514 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11515 fi ;;
11516 esac
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_soname_save_LIBS
11522 if ${ac_cv_lib_soname_GL:+false} :; then :
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11524 $as_echo "not found" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11526 $as_echo_n "checking for -lGL... " >&6; }
11527 if ${ac_cv_lib_soname_GL+:} false; then :
11528 $as_echo_n "(cached) " >&6
11529 else
11530 ac_check_soname_save_LIBS=$LIBS
11531 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"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char glXCreateContext ();
11543 main ()
11545 return glXCreateContext ();
11547 return 0;
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 case "$LIBEXT" in
11552 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11553 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'` ;;
11554 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11555 if ${ac_cv_lib_soname_GL:+false} :; then :
11556 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11557 fi ;;
11558 esac
11560 rm -f core conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_soname_save_LIBS
11564 if ${ac_cv_lib_soname_GL:+false} :; then :
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11566 $as_echo "not found" >&6; }
11567 if test -f /usr/X11R6/lib/libGL.a
11568 then
11569 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11570 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11571 else
11572 opengl_msg="No OpenGL library found on this system."
11574 else
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11576 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11578 cat >>confdefs.h <<_ACEOF
11579 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11580 _ACEOF
11582 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"
11584 else
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11586 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11588 cat >>confdefs.h <<_ACEOF
11589 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11590 _ACEOF
11592 OPENGL_LIBS="-lGL"
11594 if test "x$with_glu" != "xno"
11595 then
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11597 $as_echo_n "checking for -lGLU... " >&6; }
11598 if ${ac_cv_lib_soname_GLU+:} false; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 ac_check_soname_save_LIBS=$LIBS
11602 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char gluLookAt ();
11614 main ()
11616 return gluLookAt ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 case "$LIBEXT" in
11623 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11624 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'` ;;
11625 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11626 if ${ac_cv_lib_soname_GLU:+false} :; then :
11627 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11628 fi ;;
11629 esac
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_soname_save_LIBS
11635 if ${ac_cv_lib_soname_GLU:+false} :; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11637 $as_echo "not found" >&6; }
11639 else
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11641 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11643 cat >>confdefs.h <<_ACEOF
11644 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11645 _ACEOF
11649 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11650 case "x$with_glu" in
11651 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11652 xno) ;;
11653 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11654 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11655 esac
11660 if test "x$with_osmesa" != "xno"
11661 then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11663 $as_echo_n "checking for -lOSMesa... " >&6; }
11664 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11665 $as_echo_n "(cached) " >&6
11666 else
11667 ac_check_soname_save_LIBS=$LIBS
11668 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11672 /* Override any GCC internal prototype to avoid an error.
11673 Use char because int might match the return type of a GCC
11674 builtin and then its argument prototype would still apply. */
11675 #ifdef __cplusplus
11676 extern "C"
11677 #endif
11678 char OSMesaGetProcAddress ();
11680 main ()
11682 return OSMesaGetProcAddress ();
11684 return 0;
11686 _ACEOF
11687 if ac_fn_c_try_link "$LINENO"; then :
11688 case "$LIBEXT" in
11689 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11690 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'` ;;
11691 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11692 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11693 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11694 fi ;;
11695 esac
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_OSMesa:+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_OSMesa" >&5
11707 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11709 cat >>confdefs.h <<_ACEOF
11710 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11711 _ACEOF
11715 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11716 case "x$with_osmesa" in
11717 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11718 xno) ;;
11719 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11720 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11721 esac
11726 if test -n "$opengl_msg"; then :
11727 case "x$with_opengl" in
11728 x) as_fn_append wine_warnings "|$opengl_msg
11729 OpenGL and Direct3D won't be supported." ;;
11730 xno) ;;
11731 *) as_fn_error $? "$opengl_msg
11732 OpenGL and Direct3D won't be supported.
11733 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11734 esac
11738 CPPFLAGS="$ac_save_CPPFLAGS"
11739 else
11740 X_CFLAGS=""
11741 X_LIBS=""
11744 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11745 then
11746 if test "x$X_LIBS" = "x"; then :
11747 case "x$with_x" in
11748 xno) ;;
11749 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11750 without X support, which probably isn't what you want. You will need
11751 to install ${notice_platform}development packages of Xlib at the very least.
11752 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11753 esac
11754 enable_winex11_drv=${enable_winex11_drv:-no}
11756 else
11757 if test "x$X_LIBS" = "x"; then :
11758 case "x$with_x" in
11759 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11760 xno) ;;
11761 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11762 This is an error since --with-x was requested." "$LINENO" 5 ;;
11763 esac
11764 enable_winex11_drv=${enable_winex11_drv:-no}
11768 if test "$ac_cv_header_CL_cl_h" = "yes"
11769 then
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11771 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11772 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11773 $as_echo_n "(cached) " >&6
11774 else
11775 ac_check_lib_save_LIBS=$LIBS
11776 LIBS="-lOpenCL $LIBS"
11777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11783 #ifdef __cplusplus
11784 extern "C"
11785 #endif
11786 char clGetPlatformInfo ();
11788 main ()
11790 return clGetPlatformInfo ();
11792 return 0;
11794 _ACEOF
11795 if ac_fn_c_try_link "$LINENO"; then :
11796 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11797 else
11798 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11800 rm -f core conftest.err conftest.$ac_objext \
11801 conftest$ac_exeext conftest.$ac_ext
11802 LIBS=$ac_check_lib_save_LIBS
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11805 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11806 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11807 OPENCL_LIBS="-lOpenCL"
11812 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11813 case "x$with_opencl" in
11814 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11815 xno) ;;
11816 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11817 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11818 esac
11819 enable_opencl=${enable_opencl:-no}
11822 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11823 then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11825 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11826 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11827 $as_echo_n "(cached) " >&6
11828 else
11829 ac_check_lib_save_LIBS=$LIBS
11830 LIBS="-lpcap $LIBS"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11837 #ifdef __cplusplus
11838 extern "C"
11839 #endif
11840 char pcap_create ();
11842 main ()
11844 return pcap_create ();
11846 return 0;
11848 _ACEOF
11849 if ac_fn_c_try_link "$LINENO"; then :
11850 ac_cv_lib_pcap_pcap_create=yes
11851 else
11852 ac_cv_lib_pcap_pcap_create=no
11854 rm -f core conftest.err conftest.$ac_objext \
11855 conftest$ac_exeext conftest.$ac_ext
11856 LIBS=$ac_check_lib_save_LIBS
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11859 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11860 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11861 PCAP_LIBS="-lpcap"
11866 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11867 case "x$with_pcap" in
11868 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11869 xno) ;;
11870 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11871 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11872 esac
11873 enable_wpcap=${enable_wpcap:-no}
11877 if test "x$with_xml" != "xno"
11878 then
11879 if ${XML2_CFLAGS:+false} :; then :
11880 if ${PKG_CONFIG+:} false; then :
11881 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11884 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11885 if ${XML2_LIBS:+false} :; then :
11886 if ${PKG_CONFIG+:} false; then :
11887 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11890 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11891 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11892 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11893 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11894 ac_save_CPPFLAGS=$CPPFLAGS
11895 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11896 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11897 do :
11898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11899 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11900 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11901 cat >>confdefs.h <<_ACEOF
11902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11903 _ACEOF
11907 done
11909 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"
11910 then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11912 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11913 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11914 $as_echo_n "(cached) " >&6
11915 else
11916 ac_check_lib_save_LIBS=$LIBS
11917 LIBS="-lxml2 $XML2_LIBS $LIBS"
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11921 /* Override any GCC internal prototype to avoid an error.
11922 Use char because int might match the return type of a GCC
11923 builtin and then its argument prototype would still apply. */
11924 #ifdef __cplusplus
11925 extern "C"
11926 #endif
11927 char xmlParseMemory ();
11929 main ()
11931 return xmlParseMemory ();
11933 return 0;
11935 _ACEOF
11936 if ac_fn_c_try_link "$LINENO"; then :
11937 ac_cv_lib_xml2_xmlParseMemory=yes
11938 else
11939 ac_cv_lib_xml2_xmlParseMemory=no
11941 rm -f core conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11943 LIBS=$ac_check_lib_save_LIBS
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11946 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11947 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11949 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11951 else
11952 XML2_LIBS=""
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11956 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11957 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11958 $as_echo_n "(cached) " >&6
11959 else
11960 ac_check_lib_save_LIBS=$LIBS
11961 LIBS="-lxml2 $XML2_LIBS $LIBS"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11968 #ifdef __cplusplus
11969 extern "C"
11970 #endif
11971 char xmlReadMemory ();
11973 main ()
11975 return xmlReadMemory ();
11977 return 0;
11979 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then :
11981 ac_cv_lib_xml2_xmlReadMemory=yes
11982 else
11983 ac_cv_lib_xml2_xmlReadMemory=no
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11990 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11991 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11993 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11998 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11999 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12000 $as_echo_n "(cached) " >&6
12001 else
12002 ac_check_lib_save_LIBS=$LIBS
12003 LIBS="-lxml2 $XML2_LIBS $LIBS"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12010 #ifdef __cplusplus
12011 extern "C"
12012 #endif
12013 char xmlNewDocPI ();
12015 main ()
12017 return xmlNewDocPI ();
12019 return 0;
12021 _ACEOF
12022 if ac_fn_c_try_link "$LINENO"; then :
12023 ac_cv_lib_xml2_xmlNewDocPI=yes
12024 else
12025 ac_cv_lib_xml2_xmlNewDocPI=no
12027 rm -f core conftest.err conftest.$ac_objext \
12028 conftest$ac_exeext conftest.$ac_ext
12029 LIBS=$ac_check_lib_save_LIBS
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12032 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12033 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12035 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12040 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12041 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12042 $as_echo_n "(cached) " >&6
12043 else
12044 ac_check_lib_save_LIBS=$LIBS
12045 LIBS="-lxml2 $XML2_LIBS $LIBS"
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12052 #ifdef __cplusplus
12053 extern "C"
12054 #endif
12055 char xmlSchemaSetParserStructuredErrors ();
12057 main ()
12059 return xmlSchemaSetParserStructuredErrors ();
12061 return 0;
12063 _ACEOF
12064 if ac_fn_c_try_link "$LINENO"; then :
12065 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12066 else
12067 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12069 rm -f core conftest.err conftest.$ac_objext \
12070 conftest$ac_exeext conftest.$ac_ext
12071 LIBS=$ac_check_lib_save_LIBS
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12074 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12075 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12077 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12082 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12083 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_lib_save_LIBS=$LIBS
12087 LIBS="-lxml2 $XML2_LIBS $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char xmlSchemaSetValidStructuredErrors ();
12099 main ()
12101 return xmlSchemaSetValidStructuredErrors ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12108 else
12109 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12111 rm -f core conftest.err conftest.$ac_objext \
12112 conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_lib_save_LIBS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12116 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12117 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12119 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12124 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12125 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12126 $as_echo_n "(cached) " >&6
12127 else
12128 ac_check_lib_save_LIBS=$LIBS
12129 LIBS="-lxml2 $XML2_LIBS $LIBS"
12130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12136 #ifdef __cplusplus
12137 extern "C"
12138 #endif
12139 char xmlFirstElementChild ();
12141 main ()
12143 return xmlFirstElementChild ();
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_link "$LINENO"; then :
12149 ac_cv_lib_xml2_xmlFirstElementChild=yes
12150 else
12151 ac_cv_lib_xml2_xmlFirstElementChild=no
12153 rm -f core conftest.err conftest.$ac_objext \
12154 conftest$ac_exeext conftest.$ac_ext
12155 LIBS=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12158 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12159 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12161 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12165 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12167 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12169 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12173 else
12174 XML2_CFLAGS=""
12175 XML2_LIBS=""
12177 CPPFLAGS=$ac_save_CPPFLAGS
12178 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12179 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12182 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12183 case "x$with_xml" in
12184 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12185 xno) ;;
12186 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12187 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12188 esac
12192 if test "x$with_xslt" != "xno"
12193 then
12194 if ${XSLT_CFLAGS:+false} :; then :
12195 if ${PKG_CONFIG+:} false; then :
12196 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12199 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12200 if ${XSLT_LIBS:+false} :; then :
12201 if ${PKG_CONFIG+:} false; then :
12202 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12205 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12206 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12207 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12208 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12209 ac_save_CPPFLAGS=$CPPFLAGS
12210 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12211 for ac_header in libxslt/pattern.h libxslt/transform.h
12212 do :
12213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12214 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12215 # include <libxslt/pattern.h>
12216 #endif
12218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12219 cat >>confdefs.h <<_ACEOF
12220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12221 _ACEOF
12225 done
12227 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12228 then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12230 $as_echo_n "checking for -lxslt... " >&6; }
12231 if ${ac_cv_lib_soname_xslt+:} false; then :
12232 $as_echo_n "(cached) " >&6
12233 else
12234 ac_check_soname_save_LIBS=$LIBS
12235 LIBS="-lxslt $XSLT_LIBS $LIBS"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12242 #ifdef __cplusplus
12243 extern "C"
12244 #endif
12245 char xsltCompilePattern ();
12247 main ()
12249 return xsltCompilePattern ();
12251 return 0;
12253 _ACEOF
12254 if ac_fn_c_try_link "$LINENO"; then :
12255 case "$LIBEXT" in
12256 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12257 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'` ;;
12258 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12259 if ${ac_cv_lib_soname_xslt:+false} :; then :
12260 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12261 fi ;;
12262 esac
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_soname_save_LIBS
12268 if ${ac_cv_lib_soname_xslt:+false} :; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12270 $as_echo "not found" >&6; }
12272 else
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12274 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12276 cat >>confdefs.h <<_ACEOF
12277 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12278 _ACEOF
12282 else
12283 XSLT_CFLAGS=""
12285 CPPFLAGS=$ac_save_CPPFLAGS
12286 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12287 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12290 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12291 case "x$with_xslt" in
12292 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12293 xno) ;;
12294 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12295 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12296 esac
12300 if test "x$with_dbus" != "xno"
12301 then
12302 if ${DBUS_CFLAGS:+false} :; then :
12303 if ${PKG_CONFIG+:} false; then :
12304 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12308 if ${DBUS_LIBS:+false} :; then :
12309 if ${PKG_CONFIG+:} false; then :
12310 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12315 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12316 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12317 ac_save_CPPFLAGS=$CPPFLAGS
12318 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12319 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12320 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12322 $as_echo_n "checking for -ldbus-1... " >&6; }
12323 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_soname_save_LIBS=$LIBS
12327 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char dbus_connection_close ();
12339 main ()
12341 return dbus_connection_close ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 case "$LIBEXT" in
12348 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12349 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'` ;;
12350 *) 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'`
12351 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12352 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12353 fi ;;
12354 esac
12356 rm -f core conftest.err conftest.$ac_objext \
12357 conftest$ac_exeext conftest.$ac_ext
12358 LIBS=$ac_check_soname_save_LIBS
12360 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12362 $as_echo "not found" >&6; }
12363 DBUS_CFLAGS=""
12364 else
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12366 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12368 cat >>confdefs.h <<_ACEOF
12369 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12370 _ACEOF
12374 else
12375 DBUS_CFLAGS=""
12379 CPPFLAGS=$ac_save_CPPFLAGS
12380 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12381 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12384 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12385 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12386 case "x$with_dbus" in
12387 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12388 xno) ;;
12389 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12390 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12391 esac
12395 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12396 then
12397 if ${HAL_CFLAGS:+false} :; then :
12398 if ${PKG_CONFIG+:} false; then :
12399 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12403 if ${HAL_LIBS:+false} :; then :
12404 if ${PKG_CONFIG+:} false; then :
12405 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12409 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12410 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12411 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12412 ac_save_CPPFLAGS=$CPPFLAGS
12413 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12414 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12415 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12417 $as_echo_n "checking for -lhal... " >&6; }
12418 if ${ac_cv_lib_soname_hal+:} false; then :
12419 $as_echo_n "(cached) " >&6
12420 else
12421 ac_check_soname_save_LIBS=$LIBS
12422 LIBS="-lhal $HAL_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char libhal_ctx_new ();
12434 main ()
12436 return libhal_ctx_new ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 case "$LIBEXT" in
12443 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12444 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'` ;;
12445 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12446 if ${ac_cv_lib_soname_hal:+false} :; then :
12447 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12448 fi ;;
12449 esac
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 LIBS=$ac_check_soname_save_LIBS
12455 if ${ac_cv_lib_soname_hal:+false} :; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12457 $as_echo "not found" >&6; }
12458 HAL_CFLAGS=""
12459 else
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12461 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12463 cat >>confdefs.h <<_ACEOF
12464 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12465 _ACEOF
12469 else
12470 HAL_CFLAGS=""
12474 CPPFLAGS=$ac_save_CPPFLAGS
12475 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12476 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12478 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12479 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12480 case "x$with_hal" in
12481 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12482 xno) ;;
12483 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12484 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12485 esac
12490 if test "x$with_gnutls" != "xno"
12491 then
12492 if ${GNUTLS_CFLAGS:+false} :; then :
12493 if ${PKG_CONFIG+:} false; then :
12494 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12498 if ${GNUTLS_LIBS:+false} :; then :
12499 if ${PKG_CONFIG+:} false; then :
12500 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12505 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12506 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12507 ac_save_CPPFLAGS=$CPPFLAGS
12508 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12509 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12510 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12513 #include <gnutls/gnutls.h>
12514 #include <gnutls/crypto.h>
12516 main ()
12518 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12520 return 0;
12522 _ACEOF
12523 if ac_fn_c_try_compile "$LINENO"; then :
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12525 $as_echo_n "checking for -lgnutls... " >&6; }
12526 if ${ac_cv_lib_soname_gnutls+:} false; then :
12527 $as_echo_n "(cached) " >&6
12528 else
12529 ac_check_soname_save_LIBS=$LIBS
12530 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12537 #ifdef __cplusplus
12538 extern "C"
12539 #endif
12540 char gnutls_global_init ();
12542 main ()
12544 return gnutls_global_init ();
12546 return 0;
12548 _ACEOF
12549 if ac_fn_c_try_link "$LINENO"; then :
12550 case "$LIBEXT" in
12551 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12552 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'` ;;
12553 *) 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'`
12554 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12555 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'`
12556 fi ;;
12557 esac
12559 rm -f core conftest.err conftest.$ac_objext \
12560 conftest$ac_exeext conftest.$ac_ext
12561 LIBS=$ac_check_soname_save_LIBS
12563 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12565 $as_echo "not found" >&6; }
12566 GNUTLS_CFLAGS=""
12567 else
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12569 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12571 cat >>confdefs.h <<_ACEOF
12572 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12573 _ACEOF
12577 ac_wine_check_funcs_save_LIBS="$LIBS"
12578 LIBS="$LIBS $GNUTLS_LIBS"
12579 for ac_func in gnutls_cipher_init
12580 do :
12581 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12582 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12583 cat >>confdefs.h <<_ACEOF
12584 #define HAVE_GNUTLS_CIPHER_INIT 1
12585 _ACEOF
12587 else
12588 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12590 done
12592 LIBS="$ac_wine_check_funcs_save_LIBS"
12594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12595 else
12596 GNUTLS_CFLAGS=""
12600 CPPFLAGS=$ac_save_CPPFLAGS
12601 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12602 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12605 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12606 case "x$with_gnutls" in
12607 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12608 xno) ;;
12609 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12610 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12611 esac
12615 CURSES_LIBS=""
12616 if test "$ac_cv_header_ncurses_h" = "yes"
12617 then
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12619 $as_echo_n "checking for -lncurses... " >&6; }
12620 if ${ac_cv_lib_soname_ncurses+:} false; then :
12621 $as_echo_n "(cached) " >&6
12622 else
12623 ac_check_soname_save_LIBS=$LIBS
12624 LIBS="-lncurses $LIBS"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 #ifdef __cplusplus
12632 extern "C"
12633 #endif
12634 char waddch ();
12636 main ()
12638 return waddch ();
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 case "$LIBEXT" in
12645 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12646 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'` ;;
12647 *) 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'`
12648 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12649 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12650 fi ;;
12651 esac
12653 rm -f core conftest.err conftest.$ac_objext \
12654 conftest$ac_exeext conftest.$ac_ext
12655 LIBS=$ac_check_soname_save_LIBS
12657 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12659 $as_echo "not found" >&6; }
12661 else
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12663 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12665 cat >>confdefs.h <<_ACEOF
12666 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12667 _ACEOF
12669 CURSES_LIBS="-lncurses"
12671 elif test "$ac_cv_header_curses_h" = "yes"
12672 then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12674 $as_echo_n "checking for -lcurses... " >&6; }
12675 if ${ac_cv_lib_soname_curses+:} false; then :
12676 $as_echo_n "(cached) " >&6
12677 else
12678 ac_check_soname_save_LIBS=$LIBS
12679 LIBS="-lcurses $LIBS"
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12686 #ifdef __cplusplus
12687 extern "C"
12688 #endif
12689 char waddch ();
12691 main ()
12693 return waddch ();
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_link "$LINENO"; then :
12699 case "$LIBEXT" in
12700 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12701 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'` ;;
12702 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12703 if ${ac_cv_lib_soname_curses:+false} :; then :
12704 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12705 fi ;;
12706 esac
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_soname_save_LIBS
12712 if ${ac_cv_lib_soname_curses:+false} :; then :
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12714 $as_echo "not found" >&6; }
12716 else
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12718 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12720 cat >>confdefs.h <<_ACEOF
12721 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12722 _ACEOF
12724 CURSES_LIBS="-lcurses"
12727 ac_save_LIBS="$LIBS"
12728 LIBS="$LIBS $CURSES_LIBS"
12729 for ac_func in mousemask
12730 do :
12731 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12732 if test "x$ac_cv_func_mousemask" = xyes; then :
12733 cat >>confdefs.h <<_ACEOF
12734 #define HAVE_MOUSEMASK 1
12735 _ACEOF
12738 done
12740 LIBS="$ac_save_LIBS"
12741 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12742 case "x$with_curses" in
12743 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12744 xno) ;;
12745 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12746 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12747 esac
12751 if test "x$with_sane" != "xno"
12752 then
12753 if ${SANE_CFLAGS:+false} :; then :
12754 if ${PKG_CONFIG+:} false; then :
12755 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12758 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12759 if ${SANE_LIBS:+false} :; then :
12760 if ${PKG_CONFIG+:} false; then :
12761 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12764 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12766 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12767 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12768 ac_save_CPPFLAGS=$CPPFLAGS
12769 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12770 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12771 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12773 $as_echo_n "checking for -lsane... " >&6; }
12774 if ${ac_cv_lib_soname_sane+:} false; then :
12775 $as_echo_n "(cached) " >&6
12776 else
12777 ac_check_soname_save_LIBS=$LIBS
12778 LIBS="-lsane $SANE_LIBS $LIBS"
12779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12780 /* end confdefs.h. */
12782 /* Override any GCC internal prototype to avoid an error.
12783 Use char because int might match the return type of a GCC
12784 builtin and then its argument prototype would still apply. */
12785 #ifdef __cplusplus
12786 extern "C"
12787 #endif
12788 char sane_init ();
12790 main ()
12792 return sane_init ();
12794 return 0;
12796 _ACEOF
12797 if ac_fn_c_try_link "$LINENO"; then :
12798 case "$LIBEXT" in
12799 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12800 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'` ;;
12801 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12802 if ${ac_cv_lib_soname_sane:+false} :; then :
12803 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12804 fi ;;
12805 esac
12807 rm -f core conftest.err conftest.$ac_objext \
12808 conftest$ac_exeext conftest.$ac_ext
12809 LIBS=$ac_check_soname_save_LIBS
12811 if ${ac_cv_lib_soname_sane:+false} :; then :
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12813 $as_echo "not found" >&6; }
12814 SANE_CFLAGS=""
12815 else
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12817 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12819 cat >>confdefs.h <<_ACEOF
12820 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12821 _ACEOF
12825 else
12826 SANE_CFLAGS=""
12830 CPPFLAGS=$ac_save_CPPFLAGS
12831 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12832 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12835 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12836 case "x$with_sane" in
12837 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12838 xno) ;;
12839 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12840 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12841 esac
12845 if test "x$with_v4l" != "xno"
12846 then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12848 $as_echo_n "checking for -lv4l1... " >&6; }
12849 if ${ac_cv_lib_soname_v4l1+:} false; then :
12850 $as_echo_n "(cached) " >&6
12851 else
12852 ac_check_soname_save_LIBS=$LIBS
12853 LIBS="-lv4l1 $LIBS"
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12860 #ifdef __cplusplus
12861 extern "C"
12862 #endif
12863 char v4l1_open ();
12865 main ()
12867 return v4l1_open ();
12869 return 0;
12871 _ACEOF
12872 if ac_fn_c_try_link "$LINENO"; then :
12873 case "$LIBEXT" in
12874 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12875 dylib) ac_cv_lib_soname_v4l1=`$OTOOL -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12876 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12877 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12878 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12879 fi ;;
12880 esac
12882 rm -f core conftest.err conftest.$ac_objext \
12883 conftest$ac_exeext conftest.$ac_ext
12884 LIBS=$ac_check_soname_save_LIBS
12886 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12888 $as_echo "not found" >&6; }
12890 else
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12892 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12894 cat >>confdefs.h <<_ACEOF
12895 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12896 _ACEOF
12901 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12902 case "x$with_v4l" in
12903 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12904 xno) ;;
12905 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12906 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12907 esac
12911 if test "x$with_gphoto" != "xno"
12912 then
12913 if ${GPHOTO2_CFLAGS:+false} :; then :
12914 if ${PKG_CONFIG+:} false; then :
12915 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12918 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12919 if ${GPHOTO2_LIBS:+false} :; then :
12920 if ${PKG_CONFIG+:} false; then :
12921 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12924 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12925 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12926 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12927 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12928 ac_save_CPPFLAGS=$CPPFLAGS
12929 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12930 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12931 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12933 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12934 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_lib_save_LIBS=$LIBS
12938 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char gp_camera_new ();
12950 main ()
12952 return gp_camera_new ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 ac_cv_lib_gphoto2_gp_camera_new=yes
12959 else
12960 ac_cv_lib_gphoto2_gp_camera_new=no
12962 rm -f core conftest.err conftest.$ac_objext \
12963 conftest$ac_exeext conftest.$ac_ext
12964 LIBS=$ac_check_lib_save_LIBS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12967 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12968 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12970 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12972 else
12973 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12976 else
12977 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12981 CPPFLAGS=$ac_save_CPPFLAGS
12982 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12983 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12985 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12986 if ${PKG_CONFIG+:} false; then :
12987 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12990 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12991 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12992 if ${PKG_CONFIG+:} false; then :
12993 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12996 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12997 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13000 ac_save_CPPFLAGS=$CPPFLAGS
13001 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13002 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13003 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13005 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13006 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13007 $as_echo_n "(cached) " >&6
13008 else
13009 ac_check_lib_save_LIBS=$LIBS
13010 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13017 #ifdef __cplusplus
13018 extern "C"
13019 #endif
13020 char gp_port_info_list_new ();
13022 main ()
13024 return gp_port_info_list_new ();
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_link "$LINENO"; then :
13030 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13031 else
13032 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13034 rm -f core conftest.err conftest.$ac_objext \
13035 conftest$ac_exeext conftest.$ac_ext
13036 LIBS=$ac_check_lib_save_LIBS
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13039 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13040 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13042 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13044 else
13045 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13048 else
13049 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13053 CPPFLAGS=$ac_save_CPPFLAGS
13054 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13055 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13058 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13059 case "x$with_gphoto" in
13060 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13061 xno) ;;
13062 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13063 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13064 esac
13067 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13068 case "x$with_gphoto" in
13069 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13070 xno) ;;
13071 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13072 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13073 esac
13078 if test "$ac_cv_header_resolv_h" = "yes"
13079 then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13081 $as_echo_n "checking for resolver library... " >&6; }
13082 if ${ac_cv_have_resolv+:} false; then :
13083 $as_echo_n "(cached) " >&6
13084 else
13085 ac_save_LIBS="$LIBS"
13086 for lib in '' -lresolv
13088 LIBS="$lib $ac_save_LIBS"
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13091 #ifdef HAVE_NETINET_IN_H
13092 #include <netinet/in.h>
13093 #endif
13094 #include <resolv.h>
13096 main ()
13098 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13100 return 0;
13102 _ACEOF
13103 if ac_fn_c_try_link "$LINENO"; then :
13104 ac_cv_have_resolv=${lib:-"none required"}
13105 else
13106 ac_cv_have_resolv="not found"
13108 rm -f core conftest.err conftest.$ac_objext \
13109 conftest$ac_exeext conftest.$ac_ext
13110 test "x$ac_cv_have_resolv" = "xnot found" || break
13111 done
13112 LIBS="$ac_save_LIBS"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13115 $as_echo "$ac_cv_have_resolv" >&6; }
13117 case "$ac_cv_have_resolv" in
13118 "not found") ;;
13119 "none required")
13121 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13124 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13126 RESOLV_LIBS=$ac_cv_have_resolv
13128 esac
13131 if test "x$with_cms" != "xno"
13132 then
13133 if ${LCMS2_CFLAGS:+false} :; then :
13134 if ${PKG_CONFIG+:} false; then :
13135 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13139 if ${LCMS2_LIBS:+false} :; then :
13140 if ${PKG_CONFIG+:} false; then :
13141 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13145 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13146 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13147 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13148 ac_save_CPPFLAGS=$CPPFLAGS
13149 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13150 for ac_header in lcms2.h
13151 do :
13152 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13153 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13154 cat >>confdefs.h <<_ACEOF
13155 #define HAVE_LCMS2_H 1
13156 _ACEOF
13160 done
13162 if test "$ac_cv_header_lcms2_h" = "yes"
13163 then
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13165 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13166 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13167 $as_echo_n "(cached) " >&6
13168 else
13169 ac_check_lib_save_LIBS=$LIBS
13170 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13177 #ifdef __cplusplus
13178 extern "C"
13179 #endif
13180 char cmsOpenProfileFromFile ();
13182 main ()
13184 return cmsOpenProfileFromFile ();
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13191 else
13192 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13194 rm -f core conftest.err conftest.$ac_objext \
13195 conftest$ac_exeext conftest.$ac_ext
13196 LIBS=$ac_check_lib_save_LIBS
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13199 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13200 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13202 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13204 else
13205 LCMS2_LIBS=""
13208 else
13209 LCMS2_CFLAGS=""
13210 LCMS2_LIBS=""
13212 CPPFLAGS=$ac_save_CPPFLAGS
13213 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13214 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13217 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13218 case "x$with_cms" in
13219 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13220 xno) ;;
13221 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13222 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13223 esac
13227 if test "x$with_freetype" != "xno"
13228 then
13229 if ${FREETYPE_CFLAGS:+false} :; then :
13230 if ${PKG_CONFIG+:} false; then :
13231 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13234 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13235 if ${FREETYPE_LIBS:+false} :; then :
13236 if ${PKG_CONFIG+:} false; then :
13237 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13240 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13241 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13242 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13243 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13244 ac_save_CPPFLAGS=$CPPFLAGS
13245 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13246 for ac_header in ft2build.h
13247 do :
13248 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13249 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13250 cat >>confdefs.h <<_ACEOF
13251 #define HAVE_FT2BUILD_H 1
13252 _ACEOF
13256 done
13258 if test "$ac_cv_header_ft2build_h" = "yes"
13259 then
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13261 $as_echo_n "checking for -lfreetype... " >&6; }
13262 if ${ac_cv_lib_soname_freetype+:} false; then :
13263 $as_echo_n "(cached) " >&6
13264 else
13265 ac_check_soname_save_LIBS=$LIBS
13266 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13270 /* Override any GCC internal prototype to avoid an error.
13271 Use char because int might match the return type of a GCC
13272 builtin and then its argument prototype would still apply. */
13273 #ifdef __cplusplus
13274 extern "C"
13275 #endif
13276 char FT_Init_FreeType ();
13278 main ()
13280 return FT_Init_FreeType ();
13282 return 0;
13284 _ACEOF
13285 if ac_fn_c_try_link "$LINENO"; then :
13286 case "$LIBEXT" in
13287 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13288 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'` ;;
13289 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13290 if ${ac_cv_lib_soname_freetype:+false} :; then :
13291 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13292 fi ;;
13293 esac
13295 rm -f core conftest.err conftest.$ac_objext \
13296 conftest$ac_exeext conftest.$ac_ext
13297 LIBS=$ac_check_soname_save_LIBS
13299 if ${ac_cv_lib_soname_freetype:+false} :; then :
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13301 $as_echo "not found" >&6; }
13302 FREETYPE_LIBS=""
13303 else
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13305 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13307 cat >>confdefs.h <<_ACEOF
13308 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13309 _ACEOF
13312 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13314 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13315 #include FT_MODULE_H
13317 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13319 cat >>confdefs.h <<_ACEOF
13320 #define HAVE_FT_TRUETYPEENGINETYPE 1
13321 _ACEOF
13327 else
13328 FREETYPE_CFLAGS=""
13329 FREETYPE_LIBS=""
13331 CPPFLAGS=$ac_save_CPPFLAGS
13332 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13333 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13336 if test "x$ac_cv_lib_soname_freetype" = x; then :
13337 case "x$with_freetype" in
13338 xno) ;;
13339 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13340 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13341 esac
13342 enable_fonts=${enable_fonts:-no}
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13346 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13347 if ${ac_cv_c_ppdev+:} false; then :
13348 $as_echo_n "(cached) " >&6
13349 else
13350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13352 #ifdef HAVE_SYS_IOCTL_H
13353 # include <sys/ioctl.h>
13354 #endif
13355 #include <linux/ppdev.h>
13357 main ()
13359 ioctl (1,PPCLAIM,0)
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_compile "$LINENO"; then :
13365 ac_cv_c_ppdev="yes"
13366 else
13367 ac_cv_c_ppdev="no"
13369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13372 $as_echo "$ac_cv_c_ppdev" >&6; }
13373 if test "$ac_cv_c_ppdev" = "yes"
13374 then
13376 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13380 ac_wine_check_funcs_save_LIBS="$LIBS"
13381 LIBS="$LIBS "
13382 for ac_func in \
13383 pthread_getthreadid_np \
13384 $PTHREAD_LIBS
13385 do :
13386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13388 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13389 cat >>confdefs.h <<_ACEOF
13390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13391 _ACEOF
13394 done
13396 LIBS="$ac_wine_check_funcs_save_LIBS"
13398 if test "$ac_cv_header_zlib_h" = "yes"
13399 then
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13401 $as_echo_n "checking for inflate in -lz... " >&6; }
13402 if ${ac_cv_lib_z_inflate+:} false; then :
13403 $as_echo_n "(cached) " >&6
13404 else
13405 ac_check_lib_save_LIBS=$LIBS
13406 LIBS="-lz $LIBS"
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13410 /* Override any GCC internal prototype to avoid an error.
13411 Use char because int might match the return type of a GCC
13412 builtin and then its argument prototype would still apply. */
13413 #ifdef __cplusplus
13414 extern "C"
13415 #endif
13416 char inflate ();
13418 main ()
13420 return inflate ();
13422 return 0;
13424 _ACEOF
13425 if ac_fn_c_try_link "$LINENO"; then :
13426 ac_cv_lib_z_inflate=yes
13427 else
13428 ac_cv_lib_z_inflate=no
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 LIBS=$ac_check_lib_save_LIBS
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13435 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13436 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13438 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13440 Z_LIBS="-lz"
13445 if test "x$Z_LIBS" = "x"; then :
13446 case "x$with_zlib" in
13447 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13448 xno) ;;
13449 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13450 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13451 esac
13455 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13456 then
13457 if test "$ac_cv_header_gettext_po_h" = "yes"
13458 then
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13460 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13461 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13462 $as_echo_n "(cached) " >&6
13463 else
13464 ac_check_lib_save_LIBS=$LIBS
13465 LIBS="-lgettextpo $LIBS"
13466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13469 /* Override any GCC internal prototype to avoid an error.
13470 Use char because int might match the return type of a GCC
13471 builtin and then its argument prototype would still apply. */
13472 #ifdef __cplusplus
13473 extern "C"
13474 #endif
13475 char po_message_msgctxt ();
13477 main ()
13479 return po_message_msgctxt ();
13481 return 0;
13483 _ACEOF
13484 if ac_fn_c_try_link "$LINENO"; then :
13485 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13486 else
13487 ac_cv_lib_gettextpo_po_message_msgctxt=no
13489 rm -f core conftest.err conftest.$ac_objext \
13490 conftest$ac_exeext conftest.$ac_ext
13491 LIBS=$ac_check_lib_save_LIBS
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13494 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13495 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13497 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13499 GETTEXTPO_LIBS="-lgettextpo"
13504 if test "x$GETTEXTPO_LIBS" = "x"; then :
13505 case "x$with_gettextpo" in
13506 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13507 xno) ;;
13508 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13509 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13510 esac
13513 if test "$srcdir" != .; then :
13514 case "x$with_gettextpo" in
13515 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13516 xno) ;;
13517 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13518 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13519 esac
13524 if test "x$with_pulse" != "xno";
13525 then
13526 if ${PULSE_CFLAGS:+false} :; then :
13527 if ${PKG_CONFIG+:} false; then :
13528 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13532 if ${PULSE_LIBS:+false} :; then :
13533 if ${PKG_CONFIG+:} false; then :
13534 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13539 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13540 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13541 ac_save_CPPFLAGS=$CPPFLAGS
13542 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13543 for ac_header in pulse/pulseaudio.h
13544 do :
13545 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13546 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13547 cat >>confdefs.h <<_ACEOF
13548 #define HAVE_PULSE_PULSEAUDIO_H 1
13549 _ACEOF
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13551 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13552 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13553 $as_echo_n "(cached) " >&6
13554 else
13555 ac_check_lib_save_LIBS=$LIBS
13556 LIBS="-lpulse $PULSE_LIBS $LIBS"
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13560 /* Override any GCC internal prototype to avoid an error.
13561 Use char because int might match the return type of a GCC
13562 builtin and then its argument prototype would still apply. */
13563 #ifdef __cplusplus
13564 extern "C"
13565 #endif
13566 char pa_stream_is_corked ();
13568 main ()
13570 return pa_stream_is_corked ();
13572 return 0;
13574 _ACEOF
13575 if ac_fn_c_try_link "$LINENO"; then :
13576 ac_cv_lib_pulse_pa_stream_is_corked=yes
13577 else
13578 ac_cv_lib_pulse_pa_stream_is_corked=no
13580 rm -f core conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13582 LIBS=$ac_check_lib_save_LIBS
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13585 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13586 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13588 else
13589 PULSE_LIBS=""
13592 else
13593 PULSE_LIBS=""
13596 done
13598 CPPFLAGS=$ac_save_CPPFLAGS
13599 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13600 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13603 if test -z "$PULSE_LIBS"; then :
13604 case "x$with_pulse" in
13605 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13606 xno) ;;
13607 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13608 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13609 esac
13610 enable_winepulse_drv=${enable_winepulse_drv:-no}
13613 if test "x$with_gstreamer" != "xno"
13614 then
13615 if ${GSTREAMER_CFLAGS:+false} :; then :
13616 if ${PKG_CONFIG+:} false; then :
13617 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13621 if ${GSTREAMER_LIBS:+false} :; then :
13622 if ${PKG_CONFIG+:} false; then :
13623 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13628 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13630 ac_save_CPPFLAGS=$CPPFLAGS
13631 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13632 ac_gst_incl=""
13633 for i in $GSTREAMER_CFLAGS
13635 case "$i" in
13636 -I*) ac_gst_incl="$ac_gst_incl $i";;
13637 esac
13638 done
13639 GSTREAMER_CFLAGS=$ac_gst_incl
13640 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13641 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13642 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13644 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 #include <gst/gst.h>
13649 main ()
13651 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13653 return 0;
13655 _ACEOF
13656 if ac_fn_c_try_compile "$LINENO"; then :
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13658 $as_echo "yes" >&6; }
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13660 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13661 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13662 $as_echo_n "(cached) " >&6
13663 else
13664 ac_check_lib_save_LIBS=$LIBS
13665 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13669 /* Override any GCC internal prototype to avoid an error.
13670 Use char because int might match the return type of a GCC
13671 builtin and then its argument prototype would still apply. */
13672 #ifdef __cplusplus
13673 extern "C"
13674 #endif
13675 char gst_pad_new ();
13677 main ()
13679 return gst_pad_new ();
13681 return 0;
13683 _ACEOF
13684 if ac_fn_c_try_link "$LINENO"; then :
13685 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13686 else
13687 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13691 LIBS=$ac_check_lib_save_LIBS
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13694 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13695 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13699 else
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701 $as_echo "no" >&6; }
13702 ac_glib2_broken=yes
13703 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13709 CPPFLAGS=$ac_save_CPPFLAGS
13710 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13711 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13714 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 :
13715 case "x$with_gstreamer" in
13716 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13717 xno) ;;
13718 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13719 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13720 esac
13723 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13725 ALSA_LIBS=""
13727 if test "x$with_alsa" != "xno"
13728 then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13730 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13731 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13732 $as_echo_n "(cached) " >&6
13733 else
13734 ac_check_lib_save_LIBS=$LIBS
13735 LIBS="-lasound $LIBS"
13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13739 /* Override any GCC internal prototype to avoid an error.
13740 Use char because int might match the return type of a GCC
13741 builtin and then its argument prototype would still apply. */
13742 #ifdef __cplusplus
13743 extern "C"
13744 #endif
13745 char snd_pcm_hw_params_get_access_mask ();
13747 main ()
13749 return snd_pcm_hw_params_get_access_mask ();
13751 return 0;
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"; then :
13755 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13756 else
13757 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13759 rm -f core conftest.err conftest.$ac_objext \
13760 conftest$ac_exeext conftest.$ac_ext
13761 LIBS=$ac_check_lib_save_LIBS
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13764 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13765 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 #include <alsa/asoundlib.h>
13770 main ()
13772 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13774 return 0;
13776 _ACEOF
13777 if ac_fn_c_try_compile "$LINENO"; then :
13778 ALSA_LIBS="-lasound"
13780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13784 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13786 if test "x$with_oss" != xno
13787 then
13788 ac_save_CPPFLAGS="$CPPFLAGS"
13789 if test -f /etc/oss.conf
13790 then
13791 . /etc/oss.conf
13793 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13794 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13795 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13796 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13797 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13799 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13801 cat >>confdefs.h <<_ACEOF
13802 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13803 _ACEOF
13805 OSS4_CFLAGS="$ac_oss_incl"
13812 CPPFLAGS="$ac_save_CPPFLAGS"
13814 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13815 case "x$with_oss" in
13816 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13817 xno) ;;
13818 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13819 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13820 esac
13821 enable_wineoss_drv=${enable_wineoss_drv:-no}
13824 if test "x$with_udev" != "xno"
13825 then
13826 if ${UDEV_CFLAGS:+false} :; then :
13827 if ${PKG_CONFIG+:} false; then :
13828 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13832 if ${UDEV_LIBS:+false} :; then :
13833 if ${PKG_CONFIG+:} false; then :
13834 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13838 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13839 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13840 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13841 ac_save_CPPFLAGS=$CPPFLAGS
13842 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13843 for ac_header in libudev.h
13844 do :
13845 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13846 if test "x$ac_cv_header_libudev_h" = xyes; then :
13847 cat >>confdefs.h <<_ACEOF
13848 #define HAVE_LIBUDEV_H 1
13849 _ACEOF
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13851 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13852 if ${ac_cv_lib_udev_udev_new+:} false; then :
13853 $as_echo_n "(cached) " >&6
13854 else
13855 ac_check_lib_save_LIBS=$LIBS
13856 LIBS="-ludev $UDEV_LIBS $LIBS"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 #ifdef __cplusplus
13864 extern "C"
13865 #endif
13866 char udev_new ();
13868 main ()
13870 return udev_new ();
13872 return 0;
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_lib_udev_udev_new=yes
13877 else
13878 ac_cv_lib_udev_udev_new=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 LIBS=$ac_check_lib_save_LIBS
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13885 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13886 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13888 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13890 else
13891 UDEV_LIBS=""
13894 else
13895 UDEV_LIBS=""
13898 done
13900 CPPFLAGS=$ac_save_CPPFLAGS
13901 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13902 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13905 if test "x$UDEV_LIBS" = "x"; then :
13906 case "x$with_udev" in
13907 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13908 xno) ;;
13909 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13910 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13911 esac
13915 if test "x$with_sdl" != "xno"
13916 then
13917 if ${SDL2_CFLAGS:+false} :; then :
13918 if ${PKG_CONFIG+:} false; then :
13919 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13923 if ${SDL2_LIBS:+false} :; then :
13924 if ${PKG_CONFIG+:} false; then :
13925 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13929 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13930 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13931 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13932 ac_save_CPPFLAGS=$CPPFLAGS
13933 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13934 for ac_header in SDL2/SDL.h
13935 do :
13936 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13937 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13938 cat >>confdefs.h <<_ACEOF
13939 #define HAVE_SDL2_SDL_H 1
13940 _ACEOF
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13942 $as_echo_n "checking for -lSDL2... " >&6; }
13943 if ${ac_cv_lib_soname_SDL2+:} false; then :
13944 $as_echo_n "(cached) " >&6
13945 else
13946 ac_check_soname_save_LIBS=$LIBS
13947 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13951 /* Override any GCC internal prototype to avoid an error.
13952 Use char because int might match the return type of a GCC
13953 builtin and then its argument prototype would still apply. */
13954 #ifdef __cplusplus
13955 extern "C"
13956 #endif
13957 char SDL_Init ();
13959 main ()
13961 return SDL_Init ();
13963 return 0;
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"; then :
13967 case "$LIBEXT" in
13968 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13969 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'` ;;
13970 *) 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'`
13971 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13972 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13973 fi ;;
13974 esac
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 LIBS=$ac_check_soname_save_LIBS
13980 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13982 $as_echo "not found" >&6; }
13984 else
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13986 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13988 cat >>confdefs.h <<_ACEOF
13989 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13990 _ACEOF
13996 done
13998 CPPFLAGS=$ac_save_CPPFLAGS
13999 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14000 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14003 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14004 case "x$with_sdl" in
14005 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14006 xno) ;;
14007 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14008 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14009 esac
14013 if test "x$with_faudio" != "xno"
14014 then
14015 if ${FAUDIO_CFLAGS:+false} :; then :
14016 if ${PKG_CONFIG+:} false; then :
14017 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14021 if ${FAUDIO_LIBS:+false} :; then :
14022 if ${PKG_CONFIG+:} false; then :
14023 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14027 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14028 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14029 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14030 ac_save_CPPFLAGS=$CPPFLAGS
14031 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14032 for ac_header in FAudio.h
14033 do :
14034 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14035 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14036 cat >>confdefs.h <<_ACEOF
14037 #define HAVE_FAUDIO_H 1
14038 _ACEOF
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14040 $as_echo_n "checking for -lFAudio... " >&6; }
14041 if ${ac_cv_lib_soname_FAudio+:} false; then :
14042 $as_echo_n "(cached) " >&6
14043 else
14044 ac_check_soname_save_LIBS=$LIBS
14045 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 #ifdef __cplusplus
14053 extern "C"
14054 #endif
14055 char FAudioCreate ();
14057 main ()
14059 return FAudioCreate ();
14061 return 0;
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"; then :
14065 case "$LIBEXT" in
14066 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14067 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'` ;;
14068 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14069 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14070 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14071 fi ;;
14072 esac
14074 rm -f core conftest.err conftest.$ac_objext \
14075 conftest$ac_exeext conftest.$ac_ext
14076 LIBS=$ac_check_soname_save_LIBS
14078 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14080 $as_echo "not found" >&6; }
14082 else
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14084 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14086 cat >>confdefs.h <<_ACEOF
14087 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14088 _ACEOF
14094 done
14096 CPPFLAGS=$ac_save_CPPFLAGS
14097 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14098 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14101 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14102 case "x$with_faudio" in
14103 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14104 xno) ;;
14105 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14106 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14107 esac
14111 if test "x$with_capi" != "xno"
14112 then
14113 if ${CAPI20_CFLAGS:+false} :; then :
14114 if ${PKG_CONFIG+:} false; then :
14115 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14119 if ${CAPI20_LIBS:+false} :; then :
14120 if ${PKG_CONFIG+:} false; then :
14121 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14126 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14127 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14128 ac_save_CPPFLAGS=$CPPFLAGS
14129 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14130 for ac_header in capi20.h linux/capi.h
14131 do :
14132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14133 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14135 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14136 cat >>confdefs.h <<_ACEOF
14137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14138 _ACEOF
14142 done
14144 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14145 then
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14147 $as_echo_n "checking for -lcapi20... " >&6; }
14148 if ${ac_cv_lib_soname_capi20+:} false; then :
14149 $as_echo_n "(cached) " >&6
14150 else
14151 ac_check_soname_save_LIBS=$LIBS
14152 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14156 /* Override any GCC internal prototype to avoid an error.
14157 Use char because int might match the return type of a GCC
14158 builtin and then its argument prototype would still apply. */
14159 #ifdef __cplusplus
14160 extern "C"
14161 #endif
14162 char capi20_register ();
14164 main ()
14166 return capi20_register ();
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 case "$LIBEXT" in
14173 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14174 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'` ;;
14175 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14176 if ${ac_cv_lib_soname_capi20:+false} :; then :
14177 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14178 fi ;;
14179 esac
14181 rm -f core conftest.err conftest.$ac_objext \
14182 conftest$ac_exeext conftest.$ac_ext
14183 LIBS=$ac_check_soname_save_LIBS
14185 if ${ac_cv_lib_soname_capi20:+false} :; then :
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14187 $as_echo "not found" >&6; }
14189 else
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14191 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14193 cat >>confdefs.h <<_ACEOF
14194 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14195 _ACEOF
14200 CPPFLAGS=$ac_save_CPPFLAGS
14201 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14202 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14205 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14206 case "x$with_capi" in
14207 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14208 xno) ;;
14209 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14210 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14211 esac
14215 if test "x$with_cups" != "xno"
14216 then
14217 if ${CUPS_CFLAGS:+false} :; then :
14218 if ${PKG_CONFIG+:} false; then :
14219 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14222 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14223 if ${CUPS_LIBS:+false} :; then :
14224 if ${PKG_CONFIG+:} false; then :
14225 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14228 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14229 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14230 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14231 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14232 ac_save_CPPFLAGS=$CPPFLAGS
14233 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14234 for ac_header in cups/cups.h cups/ppd.h
14235 do :
14236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14237 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14239 cat >>confdefs.h <<_ACEOF
14240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14241 _ACEOF
14245 done
14247 if test "$ac_cv_header_cups_cups_h" = "yes"
14248 then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14250 $as_echo_n "checking for -lcups... " >&6; }
14251 if ${ac_cv_lib_soname_cups+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 ac_check_soname_save_LIBS=$LIBS
14255 LIBS="-lcups $CUPS_LIBS $LIBS"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 #ifdef __cplusplus
14263 extern "C"
14264 #endif
14265 char cupsGetDefault ();
14267 main ()
14269 return cupsGetDefault ();
14271 return 0;
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"; then :
14275 case "$LIBEXT" in
14276 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14277 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'` ;;
14278 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14279 if ${ac_cv_lib_soname_cups:+false} :; then :
14280 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14281 fi ;;
14282 esac
14284 rm -f core conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14286 LIBS=$ac_check_soname_save_LIBS
14288 if ${ac_cv_lib_soname_cups:+false} :; then :
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14290 $as_echo "not found" >&6; }
14291 CUPS_LIBS=""
14292 else
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14294 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14296 cat >>confdefs.h <<_ACEOF
14297 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14298 _ACEOF
14302 else
14303 CUPS_CFLAGS=""
14304 CUPS_LIBS=""
14306 CPPFLAGS=$ac_save_CPPFLAGS
14307 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14308 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14311 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14312 case "x$with_cups" in
14313 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14314 xno) ;;
14315 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14316 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14317 esac
14321 if test "x$with_fontconfig" != "xno"
14322 then
14323 if ${FONTCONFIG_CFLAGS:+false} :; then :
14324 if ${PKG_CONFIG+:} false; then :
14325 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14328 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14329 if ${FONTCONFIG_LIBS:+false} :; then :
14330 if ${PKG_CONFIG+:} false; then :
14331 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14334 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14336 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14337 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14338 ac_save_CPPFLAGS=$CPPFLAGS
14339 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14340 for ac_header in fontconfig/fontconfig.h
14341 do :
14342 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14343 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14344 cat >>confdefs.h <<_ACEOF
14345 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14346 _ACEOF
14350 done
14352 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14353 then
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14355 $as_echo_n "checking for -lfontconfig... " >&6; }
14356 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 ac_check_soname_save_LIBS=$LIBS
14360 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14364 /* Override any GCC internal prototype to avoid an error.
14365 Use char because int might match the return type of a GCC
14366 builtin and then its argument prototype would still apply. */
14367 #ifdef __cplusplus
14368 extern "C"
14369 #endif
14370 char FcInit ();
14372 main ()
14374 return FcInit ();
14376 return 0;
14378 _ACEOF
14379 if ac_fn_c_try_link "$LINENO"; then :
14380 case "$LIBEXT" in
14381 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14382 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'` ;;
14383 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14384 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14385 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14386 fi ;;
14387 esac
14389 rm -f core conftest.err conftest.$ac_objext \
14390 conftest$ac_exeext conftest.$ac_ext
14391 LIBS=$ac_check_soname_save_LIBS
14393 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14395 $as_echo "not found" >&6; }
14396 FONTCONFIG_CFLAGS=""
14397 else
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14399 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14401 cat >>confdefs.h <<_ACEOF
14402 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14403 _ACEOF
14407 else
14408 FONTCONFIG_CFLAGS=""
14410 CPPFLAGS=$ac_save_CPPFLAGS
14411 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14412 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14415 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14416 case "x$with_fontconfig" in
14417 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14418 xno) ;;
14419 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14420 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14421 esac
14425 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14426 then
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14428 $as_echo_n "checking for -lgsm... " >&6; }
14429 if ${ac_cv_lib_soname_gsm+:} false; then :
14430 $as_echo_n "(cached) " >&6
14431 else
14432 ac_check_soname_save_LIBS=$LIBS
14433 LIBS="-lgsm $LIBS"
14434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14435 /* end confdefs.h. */
14437 /* Override any GCC internal prototype to avoid an error.
14438 Use char because int might match the return type of a GCC
14439 builtin and then its argument prototype would still apply. */
14440 #ifdef __cplusplus
14441 extern "C"
14442 #endif
14443 char gsm_create ();
14445 main ()
14447 return gsm_create ();
14449 return 0;
14451 _ACEOF
14452 if ac_fn_c_try_link "$LINENO"; then :
14453 case "$LIBEXT" in
14454 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14455 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'` ;;
14456 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14457 if ${ac_cv_lib_soname_gsm:+false} :; then :
14458 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14459 fi ;;
14460 esac
14462 rm -f core conftest.err conftest.$ac_objext \
14463 conftest$ac_exeext conftest.$ac_ext
14464 LIBS=$ac_check_soname_save_LIBS
14466 if ${ac_cv_lib_soname_gsm:+false} :; then :
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14468 $as_echo "not found" >&6; }
14470 else
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14472 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14474 cat >>confdefs.h <<_ACEOF
14475 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14476 _ACEOF
14481 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14482 case "x$with_gsm" in
14483 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14484 xno) ;;
14485 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14486 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14487 esac
14491 if test "x$with_krb5" != "xno"
14492 then
14493 if ${KRB5_CFLAGS:+false} :; then :
14494 if ${PKG_CONFIG+:} false; then :
14495 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14498 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14499 if ${KRB5_LIBS:+false} :; then :
14500 if ${PKG_CONFIG+:} false; then :
14501 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14504 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14506 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14507 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14508 ac_save_CPPFLAGS=$CPPFLAGS
14509 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14510 for ac_header in krb5/krb5.h
14511 do :
14512 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14513 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14514 cat >>confdefs.h <<_ACEOF
14515 #define HAVE_KRB5_KRB5_H 1
14516 _ACEOF
14520 done
14522 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14523 then
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14525 $as_echo_n "checking for -lkrb5... " >&6; }
14526 if ${ac_cv_lib_soname_krb5+:} false; then :
14527 $as_echo_n "(cached) " >&6
14528 else
14529 ac_check_soname_save_LIBS=$LIBS
14530 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14534 /* Override any GCC internal prototype to avoid an error.
14535 Use char because int might match the return type of a GCC
14536 builtin and then its argument prototype would still apply. */
14537 #ifdef __cplusplus
14538 extern "C"
14539 #endif
14540 char krb5_is_config_principal ();
14542 main ()
14544 return krb5_is_config_principal ();
14546 return 0;
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 case "$LIBEXT" in
14551 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14552 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'` ;;
14553 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14554 if ${ac_cv_lib_soname_krb5:+false} :; then :
14555 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14556 fi ;;
14557 esac
14559 rm -f core conftest.err conftest.$ac_objext \
14560 conftest$ac_exeext conftest.$ac_ext
14561 LIBS=$ac_check_soname_save_LIBS
14563 if ${ac_cv_lib_soname_krb5:+false} :; then :
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14565 $as_echo "not found" >&6; }
14566 KRB5_CFLAGS=""
14567 else
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14569 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14571 cat >>confdefs.h <<_ACEOF
14572 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14573 _ACEOF
14577 else
14578 KRB5_CFLAGS=""
14580 CPPFLAGS=$ac_save_CPPFLAGS
14581 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14582 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14584 else
14585 with_gssapi=${with_gssapi:-no}
14587 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14588 case "x$with_krb5" in
14589 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14590 xno) ;;
14591 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14592 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14593 esac
14597 if test "x$with_gssapi" != "xno"
14598 then
14599 if ${GSSAPI_CFLAGS:+false} :; then :
14600 if ${PKG_CONFIG+:} false; then :
14601 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14604 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14605 if ${GSSAPI_LIBS:+false} :; then :
14606 if ${PKG_CONFIG+:} false; then :
14607 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14610 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14612 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14613 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14614 ac_save_CPPFLAGS=$CPPFLAGS
14615 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14616 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14617 do :
14618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14619 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14620 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14621 cat >>confdefs.h <<_ACEOF
14622 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14623 _ACEOF
14627 done
14629 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14630 then
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14632 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14633 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14634 $as_echo_n "(cached) " >&6
14635 else
14636 ac_check_soname_save_LIBS=$LIBS
14637 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14644 #ifdef __cplusplus
14645 extern "C"
14646 #endif
14647 char gss_init_sec_context ();
14649 main ()
14651 return gss_init_sec_context ();
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_link "$LINENO"; then :
14657 case "$LIBEXT" in
14658 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14659 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'` ;;
14660 *) 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'`
14661 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14662 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14663 fi ;;
14664 esac
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14668 LIBS=$ac_check_soname_save_LIBS
14670 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14672 $as_echo "not found" >&6; }
14673 GSSAPI_CFLAGS=""
14674 else
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14676 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14678 cat >>confdefs.h <<_ACEOF
14679 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14680 _ACEOF
14684 else
14685 GSSAPI_CFLAGS=""
14687 CPPFLAGS=$ac_save_CPPFLAGS
14688 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14689 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14692 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14693 case "x$with_gssapi" in
14694 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14695 xno) ;;
14696 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14697 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14698 esac
14702 if test "x$with_jpeg" != "xno"
14703 then
14704 if ${JPEG_CFLAGS:+false} :; then :
14705 if ${PKG_CONFIG+:} false; then :
14706 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14710 if ${JPEG_LIBS:+false} :; then :
14711 if ${PKG_CONFIG+:} false; then :
14712 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14717 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14718 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14719 ac_save_CPPFLAGS=$CPPFLAGS
14720 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14721 for ac_header in jpeglib.h
14722 do :
14723 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14724 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14725 cat >>confdefs.h <<_ACEOF
14726 #define HAVE_JPEGLIB_H 1
14727 _ACEOF
14731 done
14733 if test "$ac_cv_header_jpeglib_h" = "yes"
14734 then
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14736 $as_echo_n "checking for -ljpeg... " >&6; }
14737 if ${ac_cv_lib_soname_jpeg+:} false; then :
14738 $as_echo_n "(cached) " >&6
14739 else
14740 ac_check_soname_save_LIBS=$LIBS
14741 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 /* end confdefs.h. */
14745 /* Override any GCC internal prototype to avoid an error.
14746 Use char because int might match the return type of a GCC
14747 builtin and then its argument prototype would still apply. */
14748 #ifdef __cplusplus
14749 extern "C"
14750 #endif
14751 char jpeg_start_decompress ();
14753 main ()
14755 return jpeg_start_decompress ();
14757 return 0;
14759 _ACEOF
14760 if ac_fn_c_try_link "$LINENO"; then :
14761 case "$LIBEXT" in
14762 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14763 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'` ;;
14764 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14765 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14766 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14767 fi ;;
14768 esac
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 LIBS=$ac_check_soname_save_LIBS
14774 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14776 $as_echo "not found" >&6; }
14777 JPEG_CFLAGS=""
14778 else
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14780 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14782 cat >>confdefs.h <<_ACEOF
14783 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14784 _ACEOF
14788 else
14789 JPEG_CFLAGS=""
14791 CPPFLAGS=$ac_save_CPPFLAGS
14792 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14793 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14796 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14797 case "x$with_jpeg" in
14798 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14799 xno) ;;
14800 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14801 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14802 esac
14806 if test "x$with_png" != "xno"
14807 then
14808 if ${PNG_CFLAGS:+false} :; then :
14809 if ${PKG_CONFIG+:} false; then :
14810 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14813 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14814 if ${PNG_LIBS:+false} :; then :
14815 if ${PKG_CONFIG+:} false; then :
14816 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14819 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14821 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14822 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14823 ac_save_CPPFLAGS=$CPPFLAGS
14824 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14825 for ac_header in png.h
14826 do :
14827 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14828 if test "x$ac_cv_header_png_h" = xyes; then :
14829 cat >>confdefs.h <<_ACEOF
14830 #define HAVE_PNG_H 1
14831 _ACEOF
14835 done
14837 if test "$ac_cv_header_png_h" = "yes"
14838 then
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14840 $as_echo_n "checking for -lpng... " >&6; }
14841 if ${ac_cv_lib_soname_png+:} false; then :
14842 $as_echo_n "(cached) " >&6
14843 else
14844 ac_check_soname_save_LIBS=$LIBS
14845 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14852 #ifdef __cplusplus
14853 extern "C"
14854 #endif
14855 char png_create_read_struct ();
14857 main ()
14859 return png_create_read_struct ();
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"; then :
14865 case "$LIBEXT" in
14866 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14867 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'` ;;
14868 *) 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'`
14869 if ${ac_cv_lib_soname_png:+false} :; then :
14870 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14871 fi ;;
14872 esac
14874 rm -f core conftest.err conftest.$ac_objext \
14875 conftest$ac_exeext conftest.$ac_ext
14876 LIBS=$ac_check_soname_save_LIBS
14878 if ${ac_cv_lib_soname_png:+false} :; then :
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14880 $as_echo "not found" >&6; }
14881 PNG_CFLAGS=""
14882 else
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14884 $as_echo "$ac_cv_lib_soname_png" >&6; }
14886 cat >>confdefs.h <<_ACEOF
14887 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14888 _ACEOF
14892 else
14893 PNG_CFLAGS=""
14895 CPPFLAGS=$ac_save_CPPFLAGS
14896 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14897 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14900 if test "x$ac_cv_lib_soname_png" = "x"; then :
14901 case "x$with_png" in
14902 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14903 xno) ;;
14904 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14905 This is an error since --with-png was requested." "$LINENO" 5 ;;
14906 esac
14910 if test "x$with_tiff" != "xno"
14911 then
14912 if ${TIFF_CFLAGS:+false} :; then :
14913 if ${PKG_CONFIG+:} false; then :
14914 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14918 if ${TIFF_LIBS:+false} :; then :
14919 if ${PKG_CONFIG+:} false; then :
14920 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14925 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14926 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14927 ac_save_CPPFLAGS=$CPPFLAGS
14928 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14929 for ac_header in tiffio.h
14930 do :
14931 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14932 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14933 cat >>confdefs.h <<_ACEOF
14934 #define HAVE_TIFFIO_H 1
14935 _ACEOF
14939 done
14941 if test "$ac_cv_header_tiffio_h" = "yes"
14942 then
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14944 $as_echo_n "checking for -ltiff... " >&6; }
14945 if ${ac_cv_lib_soname_tiff+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 ac_check_soname_save_LIBS=$LIBS
14949 LIBS="-ltiff $TIFF_LIBS $LIBS"
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14956 #ifdef __cplusplus
14957 extern "C"
14958 #endif
14959 char TIFFClientOpen ();
14961 main ()
14963 return TIFFClientOpen ();
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"; then :
14969 case "$LIBEXT" in
14970 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14971 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'` ;;
14972 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14973 if ${ac_cv_lib_soname_tiff:+false} :; then :
14974 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14975 fi ;;
14976 esac
14978 rm -f core conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14980 LIBS=$ac_check_soname_save_LIBS
14982 if ${ac_cv_lib_soname_tiff:+false} :; then :
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14984 $as_echo "not found" >&6; }
14986 else
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14988 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14990 cat >>confdefs.h <<_ACEOF
14991 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14992 _ACEOF
14997 CPPFLAGS=$ac_save_CPPFLAGS
14998 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14999 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15002 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15003 case "x$with_tiff" in
15004 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15005 xno) ;;
15006 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15007 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15008 esac
15012 if test "x$with_mpg123" != "xno"
15013 then
15014 if ${MPG123_CFLAGS:+false} :; then :
15015 if ${PKG_CONFIG+:} false; then :
15016 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15020 if ${MPG123_LIBS:+false} :; then :
15021 if ${PKG_CONFIG+:} false; then :
15022 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15026 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15027 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15028 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15029 ac_save_CPPFLAGS=$CPPFLAGS
15030 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15031 for ac_header in mpg123.h
15032 do :
15033 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15034 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15035 cat >>confdefs.h <<_ACEOF
15036 #define HAVE_MPG123_H 1
15037 _ACEOF
15041 done
15043 if test "$ac_cv_header_mpg123_h" = "yes"
15044 then
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15046 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15047 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 ac_check_lib_save_LIBS=$LIBS
15051 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15055 /* Override any GCC internal prototype to avoid an error.
15056 Use char because int might match the return type of a GCC
15057 builtin and then its argument prototype would still apply. */
15058 #ifdef __cplusplus
15059 extern "C"
15060 #endif
15061 char mpg123_feed ();
15063 main ()
15065 return mpg123_feed ();
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"; then :
15071 ac_cv_lib_mpg123_mpg123_feed=yes
15072 else
15073 ac_cv_lib_mpg123_mpg123_feed=no
15075 rm -f core conftest.err conftest.$ac_objext \
15076 conftest$ac_exeext conftest.$ac_ext
15077 LIBS=$ac_check_lib_save_LIBS
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15080 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15081 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15083 else
15084 MPG123_LIBS=""
15087 else
15088 MPG123_CFLAGS=""
15089 MPG123_LIBS=""
15091 CPPFLAGS=$ac_save_CPPFLAGS
15092 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15093 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15096 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15097 case "x$with_mpg123" in
15098 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15099 xno) ;;
15100 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15101 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15102 esac
15103 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15105 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15107 if test "$ac_cv_header_AL_al_h" = "yes"
15108 then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15110 $as_echo_n "checking for -lopenal... " >&6; }
15111 if ${ac_cv_lib_soname_openal+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_check_soname_save_LIBS=$LIBS
15115 LIBS="-lopenal $LIBS"
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15119 /* Override any GCC internal prototype to avoid an error.
15120 Use char because int might match the return type of a GCC
15121 builtin and then its argument prototype would still apply. */
15122 #ifdef __cplusplus
15123 extern "C"
15124 #endif
15125 char alGetSource3i ();
15127 main ()
15129 return alGetSource3i ();
15131 return 0;
15133 _ACEOF
15134 if ac_fn_c_try_link "$LINENO"; then :
15135 case "$LIBEXT" in
15136 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15137 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'` ;;
15138 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15139 if ${ac_cv_lib_soname_openal:+false} :; then :
15140 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15141 fi ;;
15142 esac
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15146 LIBS=$ac_check_soname_save_LIBS
15148 if ${ac_cv_lib_soname_openal:+false} :; then :
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15150 $as_echo "not found" >&6; }
15152 else
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15154 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15156 cat >>confdefs.h <<_ACEOF
15157 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15158 _ACEOF
15160 OPENAL_LIBS="-lopenal"
15162 ac_cv_lib_openal=yes
15164 cat >>confdefs.h <<_ACEOF
15165 #define HAVE_OPENAL 1
15166 _ACEOF
15170 if test "x$ac_cv_lib_openal" != xyes; then :
15171 case "x$with_openal" in
15172 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15173 xno) ;;
15174 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15175 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15176 esac
15177 enable_openal32=${enable_openal32:-no}
15180 if test "x$ac_cv_lib_soname_FAudio" = "x"
15181 then
15182 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15183 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15184 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15185 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15186 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15187 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15188 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15189 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15190 enable_xapofx1_1=${enable_xapofx1_1:-no}
15191 enable_xapofx1_2=${enable_xapofx1_2:-no}
15192 enable_xapofx1_3=${enable_xapofx1_3:-no}
15193 enable_xapofx1_4=${enable_xapofx1_4:-no}
15194 enable_xapofx1_5=${enable_xapofx1_5:-no}
15195 enable_xaudio2_0=${enable_xaudio2_0:-no}
15196 enable_xaudio2_1=${enable_xaudio2_1:-no}
15197 enable_xaudio2_2=${enable_xaudio2_2:-no}
15198 enable_xaudio2_3=${enable_xaudio2_3:-no}
15199 enable_xaudio2_4=${enable_xaudio2_4:-no}
15200 enable_xaudio2_5=${enable_xaudio2_5:-no}
15201 enable_xaudio2_6=${enable_xaudio2_6:-no}
15202 enable_xaudio2_7=${enable_xaudio2_7:-no}
15203 enable_xaudio2_8=${enable_xaudio2_8:-no}
15204 enable_xaudio2_9=${enable_xaudio2_9:-no}
15207 if test "$ac_cv_header_kstat_h" = "yes"
15208 then
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15210 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15211 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15212 $as_echo_n "(cached) " >&6
15213 else
15214 ac_check_lib_save_LIBS=$LIBS
15215 LIBS="-lkstat $LIBS"
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15222 #ifdef __cplusplus
15223 extern "C"
15224 #endif
15225 char kstat_open ();
15227 main ()
15229 return kstat_open ();
15231 return 0;
15233 _ACEOF
15234 if ac_fn_c_try_link "$LINENO"; then :
15235 ac_cv_lib_kstat_kstat_open=yes
15236 else
15237 ac_cv_lib_kstat_kstat_open=no
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241 LIBS=$ac_check_lib_save_LIBS
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15244 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15245 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15247 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15249 KSTAT_LIBS="-lkstat"
15255 if test "$ac_cv_header_libprocstat_h" = "yes"
15256 then
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15258 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15259 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15260 $as_echo_n "(cached) " >&6
15261 else
15262 ac_check_lib_save_LIBS=$LIBS
15263 LIBS="-lprocstat $LIBS"
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 #ifdef __cplusplus
15271 extern "C"
15272 #endif
15273 char procstat_open_sysctl ();
15275 main ()
15277 return procstat_open_sysctl ();
15279 return 0;
15281 _ACEOF
15282 if ac_fn_c_try_link "$LINENO"; then :
15283 ac_cv_lib_procstat_procstat_open_sysctl=yes
15284 else
15285 ac_cv_lib_procstat_procstat_open_sysctl=no
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15289 LIBS=$ac_check_lib_save_LIBS
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15292 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15293 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15295 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15297 PROCSTAT_LIBS="-lprocstat"
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15304 $as_echo_n "checking for -lodbc... " >&6; }
15305 if ${ac_cv_lib_soname_odbc+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lodbc $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char SQLConnect ();
15321 main ()
15323 return SQLConnect ();
15325 return 0;
15327 _ACEOF
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 case "$LIBEXT" in
15330 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15331 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'` ;;
15332 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15333 if ${ac_cv_lib_soname_odbc:+false} :; then :
15334 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15335 fi ;;
15336 esac
15338 rm -f core conftest.err conftest.$ac_objext \
15339 conftest$ac_exeext conftest.$ac_ext
15340 LIBS=$ac_check_soname_save_LIBS
15342 if ${ac_cv_lib_soname_odbc:+false} :; then :
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15344 $as_echo "not found" >&6; }
15345 cat >>confdefs.h <<_ACEOF
15346 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15347 _ACEOF
15349 else
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15351 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15353 cat >>confdefs.h <<_ACEOF
15354 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15355 _ACEOF
15360 if test "x$with_netapi" != "xno"
15361 then
15362 if ${NETAPI_CFLAGS:+false} :; then :
15363 if ${PKG_CONFIG+:} false; then :
15364 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15368 if ${NETAPI_LIBS:+false} :; then :
15369 if ${PKG_CONFIG+:} false; then :
15370 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15375 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15376 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15377 ac_save_CPPFLAGS=$CPPFLAGS
15378 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15380 $as_echo_n "checking for -lnetapi... " >&6; }
15381 if ${ac_cv_lib_soname_netapi+:} false; then :
15382 $as_echo_n "(cached) " >&6
15383 else
15384 ac_check_soname_save_LIBS=$LIBS
15385 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15389 /* Override any GCC internal prototype to avoid an error.
15390 Use char because int might match the return type of a GCC
15391 builtin and then its argument prototype would still apply. */
15392 #ifdef __cplusplus
15393 extern "C"
15394 #endif
15395 char libnetapi_init ();
15397 main ()
15399 return libnetapi_init ();
15401 return 0;
15403 _ACEOF
15404 if ac_fn_c_try_link "$LINENO"; then :
15405 case "$LIBEXT" in
15406 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15407 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'` ;;
15408 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15409 if ${ac_cv_lib_soname_netapi:+false} :; then :
15410 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15411 fi ;;
15412 esac
15414 rm -f core conftest.err conftest.$ac_objext \
15415 conftest$ac_exeext conftest.$ac_ext
15416 LIBS=$ac_check_soname_save_LIBS
15418 if ${ac_cv_lib_soname_netapi:+false} :; then :
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15420 $as_echo "not found" >&6; }
15421 cat >>confdefs.h <<_ACEOF
15422 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15423 _ACEOF
15425 else
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15427 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15429 cat >>confdefs.h <<_ACEOF
15430 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15431 _ACEOF
15435 CPPFLAGS=$ac_save_CPPFLAGS
15436 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15437 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15441 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15442 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15443 then
15444 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15447 if test "x$with_vulkan" != "xno"
15448 then
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15450 $as_echo_n "checking for -lvulkan... " >&6; }
15451 if ${ac_cv_lib_soname_vulkan+:} false; then :
15452 $as_echo_n "(cached) " >&6
15453 else
15454 ac_check_soname_save_LIBS=$LIBS
15455 LIBS="-lvulkan $LIBS"
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15459 /* Override any GCC internal prototype to avoid an error.
15460 Use char because int might match the return type of a GCC
15461 builtin and then its argument prototype would still apply. */
15462 #ifdef __cplusplus
15463 extern "C"
15464 #endif
15465 char vkGetInstanceProcAddr ();
15467 main ()
15469 return vkGetInstanceProcAddr ();
15471 return 0;
15473 _ACEOF
15474 if ac_fn_c_try_link "$LINENO"; then :
15475 case "$LIBEXT" in
15476 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15477 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'` ;;
15478 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15479 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15480 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15481 fi ;;
15482 esac
15484 rm -f core conftest.err conftest.$ac_objext \
15485 conftest$ac_exeext conftest.$ac_ext
15486 LIBS=$ac_check_soname_save_LIBS
15488 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15490 $as_echo "not found" >&6; }
15492 else
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15494 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15496 cat >>confdefs.h <<_ACEOF
15497 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15498 _ACEOF
15502 if test "x$ac_cv_lib_soname_vulkan" = "x"
15503 then
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15505 $as_echo_n "checking for -lMoltenVK... " >&6; }
15506 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15507 $as_echo_n "(cached) " >&6
15508 else
15509 ac_check_soname_save_LIBS=$LIBS
15510 LIBS="-lMoltenVK $LIBS"
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15514 /* Override any GCC internal prototype to avoid an error.
15515 Use char because int might match the return type of a GCC
15516 builtin and then its argument prototype would still apply. */
15517 #ifdef __cplusplus
15518 extern "C"
15519 #endif
15520 char vkGetInstanceProcAddr ();
15522 main ()
15524 return vkGetInstanceProcAddr ();
15526 return 0;
15528 _ACEOF
15529 if ac_fn_c_try_link "$LINENO"; then :
15530 case "$LIBEXT" in
15531 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15532 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'` ;;
15533 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15534 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15535 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15536 fi ;;
15537 esac
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15541 LIBS=$ac_check_soname_save_LIBS
15543 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15545 $as_echo "not found" >&6; }
15547 else
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15549 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15551 cat >>confdefs.h <<_ACEOF
15552 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15553 _ACEOF
15559 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15560 case "x$with_vulkan" in
15561 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15562 xno) ;;
15563 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15564 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15565 esac
15569 if test "x$with_vkd3d" != "xno"
15570 then
15571 if ${VKD3D_CFLAGS:+false} :; then :
15572 if ${PKG_CONFIG+:} false; then :
15573 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15577 if ${VKD3D_LIBS:+false} :; then :
15578 if ${PKG_CONFIG+:} false; then :
15579 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15584 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15585 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15586 ac_save_CPPFLAGS=$CPPFLAGS
15587 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15589 $as_echo_n "checking for -lvkd3d... " >&6; }
15590 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 ac_check_soname_save_LIBS=$LIBS
15594 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15598 /* Override any GCC internal prototype to avoid an error.
15599 Use char because int might match the return type of a GCC
15600 builtin and then its argument prototype would still apply. */
15601 #ifdef __cplusplus
15602 extern "C"
15603 #endif
15604 char vkd3d_get_dxgi_format ();
15606 main ()
15608 return vkd3d_get_dxgi_format ();
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_link "$LINENO"; then :
15614 case "$LIBEXT" in
15615 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15616 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'` ;;
15617 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15618 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15619 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15620 fi ;;
15621 esac
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15625 LIBS=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15629 $as_echo "not found" >&6; }
15631 else
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15633 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15635 cat >>confdefs.h <<_ACEOF
15636 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15637 _ACEOF
15641 CPPFLAGS=$ac_save_CPPFLAGS
15642 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15643 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15646 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15647 case "x$with_vkd3d" in
15648 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
15649 xno) ;;
15650 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
15651 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15652 esac
15655 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15658 EXTRACFLAGS=""
15660 if test "x${GCC}" = "xyes"
15661 then
15662 EXTRACFLAGS="-Wall -pipe"
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15665 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15666 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15667 $as_echo_n "(cached) " >&6
15668 else
15669 if test "$cross_compiling" = yes; then :
15670 ac_cv_c_gcc_strength_bug="no"
15671 else
15672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h. */
15674 int L[4] = {0,1,2,3};
15676 main ()
15678 static int Array[3];
15679 unsigned int B = 3;
15680 int i;
15681 for(i=0; i<B; i++) Array[i] = i - 3;
15682 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15683 L[i] = 4;
15684 return (Array[1] != -2 || L[2] != 3)
15686 return 0;
15688 _ACEOF
15689 if ac_fn_c_try_run "$LINENO"; then :
15690 ac_cv_c_gcc_strength_bug="no"
15691 else
15692 ac_cv_c_gcc_strength_bug="yes"
15694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15695 conftest.$ac_objext conftest.beam conftest.$ac_ext
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15700 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15701 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15702 then
15703 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15707 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15708 if ${ac_cv_cflags__fno_builtin+:} false; then :
15709 $as_echo_n "(cached) " >&6
15710 else
15711 ac_wine_try_cflags_saved=$CFLAGS
15712 CFLAGS="$CFLAGS -fno-builtin"
15713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15715 int main(int argc, char **argv) { return 0; }
15716 _ACEOF
15717 if ac_fn_c_try_link "$LINENO"; then :
15718 ac_cv_cflags__fno_builtin=yes
15719 else
15720 ac_cv_cflags__fno_builtin=no
15722 rm -f core conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext conftest.$ac_ext
15724 CFLAGS=$ac_wine_try_cflags_saved
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15727 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15728 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15729 BUILTINFLAG="-fno-builtin"
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15733 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15734 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15735 $as_echo_n "(cached) " >&6
15736 else
15737 ac_wine_try_cflags_saved=$CFLAGS
15738 CFLAGS="$CFLAGS -fno-strict-aliasing"
15739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h. */
15741 int main(int argc, char **argv) { return 0; }
15742 _ACEOF
15743 if ac_fn_c_try_link "$LINENO"; then :
15744 ac_cv_cflags__fno_strict_aliasing=yes
15745 else
15746 ac_cv_cflags__fno_strict_aliasing=no
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15750 CFLAGS=$ac_wine_try_cflags_saved
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15753 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15754 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15755 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15758 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15759 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15762 ac_wine_try_cflags_saved=$CFLAGS
15763 CFLAGS="$CFLAGS -fexcess-precision=standard"
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15766 int main(int argc, char **argv) { return 0; }
15767 _ACEOF
15768 if ac_fn_c_try_link "$LINENO"; then :
15769 ac_cv_cflags__fexcess_precision_standard=yes
15770 else
15771 ac_cv_cflags__fexcess_precision_standard=no
15773 rm -f core conftest.err conftest.$ac_objext \
15774 conftest$ac_exeext conftest.$ac_ext
15775 CFLAGS=$ac_wine_try_cflags_saved
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15778 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15779 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15780 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15783 saved_CFLAGS=$CFLAGS
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15785 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15786 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15787 $as_echo_n "(cached) " >&6
15788 else
15789 ac_wine_try_cflags_saved=$CFLAGS
15790 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15793 int main(int argc, char **argv) { return 0; }
15794 _ACEOF
15795 if ac_fn_c_try_link "$LINENO"; then :
15796 ac_cv_cflags__Werror_unknown_warning_option=yes
15797 else
15798 ac_cv_cflags__Werror_unknown_warning_option=no
15800 rm -f core conftest.err conftest.$ac_objext \
15801 conftest$ac_exeext conftest.$ac_ext
15802 CFLAGS=$ac_wine_try_cflags_saved
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15805 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15806 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15807 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15810 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15811 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15812 $as_echo_n "(cached) " >&6
15813 else
15814 ac_wine_try_cflags_saved=$CFLAGS
15815 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15817 /* end confdefs.h. */
15818 int main(int argc, char **argv) { return 0; }
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"; then :
15821 ac_cv_cflags__Wdeclaration_after_statement=yes
15822 else
15823 ac_cv_cflags__Wdeclaration_after_statement=no
15825 rm -f core conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15827 CFLAGS=$ac_wine_try_cflags_saved
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15830 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15831 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15832 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15835 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15836 if ${ac_cv_cflags__Wempty_body+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 ac_wine_try_cflags_saved=$CFLAGS
15840 CFLAGS="$CFLAGS -Wempty-body"
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15843 int main(int argc, char **argv) { return 0; }
15844 _ACEOF
15845 if ac_fn_c_try_link "$LINENO"; then :
15846 ac_cv_cflags__Wempty_body=yes
15847 else
15848 ac_cv_cflags__Wempty_body=no
15850 rm -f core conftest.err conftest.$ac_objext \
15851 conftest$ac_exeext conftest.$ac_ext
15852 CFLAGS=$ac_wine_try_cflags_saved
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15855 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15856 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15857 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15860 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15861 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15862 $as_echo_n "(cached) " >&6
15863 else
15864 ac_wine_try_cflags_saved=$CFLAGS
15865 CFLAGS="$CFLAGS -Wignored-qualifiers"
15866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15868 int main(int argc, char **argv) { return 0; }
15869 _ACEOF
15870 if ac_fn_c_try_link "$LINENO"; then :
15871 ac_cv_cflags__Wignored_qualifiers=yes
15872 else
15873 ac_cv_cflags__Wignored_qualifiers=no
15875 rm -f core conftest.err conftest.$ac_objext \
15876 conftest$ac_exeext conftest.$ac_ext
15877 CFLAGS=$ac_wine_try_cflags_saved
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15880 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15881 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15882 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15885 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15886 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 ac_wine_try_cflags_saved=$CFLAGS
15890 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 int main(int argc, char **argv) { return 0; }
15894 _ACEOF
15895 if ac_fn_c_try_link "$LINENO"; then :
15896 ac_cv_cflags__Wpacked_not_aligned=yes
15897 else
15898 ac_cv_cflags__Wpacked_not_aligned=no
15900 rm -f core conftest.err conftest.$ac_objext \
15901 conftest$ac_exeext conftest.$ac_ext
15902 CFLAGS=$ac_wine_try_cflags_saved
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15905 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15906 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15907 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15910 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15911 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15912 $as_echo_n "(cached) " >&6
15913 else
15914 ac_wine_try_cflags_saved=$CFLAGS
15915 CFLAGS="$CFLAGS -Wpragma-pack"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 int main(int argc, char **argv) { return 0; }
15919 _ACEOF
15920 if ac_fn_c_try_link "$LINENO"; then :
15921 ac_cv_cflags__Wpragma_pack=yes
15922 else
15923 ac_cv_cflags__Wpragma_pack=no
15925 rm -f core conftest.err conftest.$ac_objext \
15926 conftest$ac_exeext conftest.$ac_ext
15927 CFLAGS=$ac_wine_try_cflags_saved
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15930 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15931 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15932 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15935 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15936 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15937 $as_echo_n "(cached) " >&6
15938 else
15939 ac_wine_try_cflags_saved=$CFLAGS
15940 CFLAGS="$CFLAGS -Wshift-overflow=2"
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15943 int main(int argc, char **argv) { return 0; }
15944 _ACEOF
15945 if ac_fn_c_try_link "$LINENO"; then :
15946 ac_cv_cflags__Wshift_overflow_2=yes
15947 else
15948 ac_cv_cflags__Wshift_overflow_2=no
15950 rm -f core conftest.err conftest.$ac_objext \
15951 conftest$ac_exeext conftest.$ac_ext
15952 CFLAGS=$ac_wine_try_cflags_saved
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15955 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15956 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15957 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15960 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15961 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15962 $as_echo_n "(cached) " >&6
15963 else
15964 ac_wine_try_cflags_saved=$CFLAGS
15965 CFLAGS="$CFLAGS -Wstrict-prototypes"
15966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15967 /* end confdefs.h. */
15968 int main(int argc, char **argv) { return 0; }
15969 _ACEOF
15970 if ac_fn_c_try_link "$LINENO"; then :
15971 ac_cv_cflags__Wstrict_prototypes=yes
15972 else
15973 ac_cv_cflags__Wstrict_prototypes=no
15975 rm -f core conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext conftest.$ac_ext
15977 CFLAGS=$ac_wine_try_cflags_saved
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15980 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15981 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15982 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15985 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15986 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15987 $as_echo_n "(cached) " >&6
15988 else
15989 ac_wine_try_cflags_saved=$CFLAGS
15990 CFLAGS="$CFLAGS -Wtype-limits"
15991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15993 int main(int argc, char **argv) { return 0; }
15994 _ACEOF
15995 if ac_fn_c_try_link "$LINENO"; then :
15996 ac_cv_cflags__Wtype_limits=yes
15997 else
15998 ac_cv_cflags__Wtype_limits=no
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16002 CFLAGS=$ac_wine_try_cflags_saved
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16005 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16006 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16007 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16010 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16011 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 ac_wine_try_cflags_saved=$CFLAGS
16015 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16018 int main(int argc, char **argv) { return 0; }
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"; then :
16021 ac_cv_cflags__Wunused_but_set_parameter=yes
16022 else
16023 ac_cv_cflags__Wunused_but_set_parameter=no
16025 rm -f core conftest.err conftest.$ac_objext \
16026 conftest$ac_exeext conftest.$ac_ext
16027 CFLAGS=$ac_wine_try_cflags_saved
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16030 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16031 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16032 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16035 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16036 if ${ac_cv_cflags__Wvla+:} false; then :
16037 $as_echo_n "(cached) " >&6
16038 else
16039 ac_wine_try_cflags_saved=$CFLAGS
16040 CFLAGS="$CFLAGS -Wvla"
16041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16042 /* end confdefs.h. */
16043 int main(int argc, char **argv) { return 0; }
16044 _ACEOF
16045 if ac_fn_c_try_link "$LINENO"; then :
16046 ac_cv_cflags__Wvla=yes
16047 else
16048 ac_cv_cflags__Wvla=no
16050 rm -f core conftest.err conftest.$ac_objext \
16051 conftest$ac_exeext conftest.$ac_ext
16052 CFLAGS=$ac_wine_try_cflags_saved
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16055 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16056 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16057 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16060 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16061 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16062 $as_echo_n "(cached) " >&6
16063 else
16064 ac_wine_try_cflags_saved=$CFLAGS
16065 CFLAGS="$CFLAGS -Wwrite-strings"
16066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16067 /* end confdefs.h. */
16068 int main(int argc, char **argv) { return 0; }
16069 _ACEOF
16070 if ac_fn_c_try_link "$LINENO"; then :
16071 ac_cv_cflags__Wwrite_strings=yes
16072 else
16073 ac_cv_cflags__Wwrite_strings=no
16075 rm -f core conftest.err conftest.$ac_objext \
16076 conftest$ac_exeext conftest.$ac_ext
16077 CFLAGS=$ac_wine_try_cflags_saved
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16080 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16081 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16082 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16086 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16087 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16088 $as_echo_n "(cached) " >&6
16089 else
16090 ac_wine_try_cflags_saved=$CFLAGS
16091 CFLAGS="$CFLAGS -Wpointer-arith"
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16094 int main(int argc, char **argv) { return 0; }
16095 _ACEOF
16096 if ac_fn_c_try_link "$LINENO"; then :
16097 ac_cv_cflags__Wpointer_arith=yes
16098 else
16099 ac_cv_cflags__Wpointer_arith=no
16101 rm -f core conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16103 CFLAGS=$ac_wine_try_cflags_saved
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16106 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16107 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16108 saved_string_h_CFLAGS=$CFLAGS
16109 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16111 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16112 if ${ac_cv_c_string_h_warnings+:} false; then :
16113 $as_echo_n "(cached) " >&6
16114 else
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116 /* end confdefs.h. */
16117 #include <string.h>
16119 main ()
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_compile "$LINENO"; then :
16127 ac_cv_c_string_h_warnings=no
16128 else
16129 ac_cv_c_string_h_warnings=yes
16131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16134 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16135 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16136 CFLAGS=$saved_string_h_CFLAGS
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16140 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16141 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16142 $as_echo_n "(cached) " >&6
16143 else
16144 ac_wine_try_cflags_saved=$CFLAGS
16145 CFLAGS="$CFLAGS -Wlogical-op"
16146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16147 /* end confdefs.h. */
16148 int main(int argc, char **argv) { return 0; }
16149 _ACEOF
16150 if ac_fn_c_try_link "$LINENO"; then :
16151 ac_cv_cflags__Wlogical_op=yes
16152 else
16153 ac_cv_cflags__Wlogical_op=no
16155 rm -f core conftest.err conftest.$ac_objext \
16156 conftest$ac_exeext conftest.$ac_ext
16157 CFLAGS=$ac_wine_try_cflags_saved
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16160 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16161 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16162 saved_string_h_CFLAGS=$CFLAGS
16163 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16165 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16166 if ${ac_cv_c_logicalop_noisy+:} false; then :
16167 $as_echo_n "(cached) " >&6
16168 else
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16171 #include <string.h>
16172 char*f(const char *h,char n) {return strchr(h,n);}
16174 main ()
16178 return 0;
16180 _ACEOF
16181 if ac_fn_c_try_compile "$LINENO"; then :
16182 ac_cv_c_logicalop_noisy=no
16183 else
16184 ac_cv_c_logicalop_noisy=yes
16186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16189 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16190 CFLAGS=$saved_string_h_CFLAGS
16191 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16194 CFLAGS=$saved_CFLAGS
16196 for ac_flag in $CFLAGS; do
16197 case $ac_flag in
16198 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16199 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16200 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16201 $as_echo_n "(cached) " >&6
16202 else
16203 ac_wine_try_cflags_saved=$CFLAGS
16204 CFLAGS="$CFLAGS -gdwarf-2"
16205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16206 /* end confdefs.h. */
16207 int main(int argc, char **argv) { return 0; }
16208 _ACEOF
16209 if ac_fn_c_try_link "$LINENO"; then :
16210 ac_cv_cflags__gdwarf_2=yes
16211 else
16212 ac_cv_cflags__gdwarf_2=no
16214 rm -f core conftest.err conftest.$ac_objext \
16215 conftest$ac_exeext conftest.$ac_ext
16216 CFLAGS=$ac_wine_try_cflags_saved
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16219 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16220 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16221 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16224 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16225 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16226 $as_echo_n "(cached) " >&6
16227 else
16228 ac_wine_try_cflags_saved=$CFLAGS
16229 CFLAGS="$CFLAGS -gstrict-dwarf"
16230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16231 /* end confdefs.h. */
16232 int main(int argc, char **argv) { return 0; }
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"; then :
16235 ac_cv_cflags__gstrict_dwarf=yes
16236 else
16237 ac_cv_cflags__gstrict_dwarf=no
16239 rm -f core conftest.err conftest.$ac_objext \
16240 conftest$ac_exeext conftest.$ac_ext
16241 CFLAGS=$ac_wine_try_cflags_saved
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16244 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16245 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16246 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16247 fi ;;
16248 esac
16249 done
16251 case $host_cpu in
16252 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16253 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16254 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16255 $as_echo_n "(cached) " >&6
16256 else
16257 ac_wine_try_cflags_saved=$CFLAGS
16258 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16261 int main(int argc, char **argv) { return 0; }
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"; then :
16264 ac_cv_cflags__fno_omit_frame_pointer=yes
16265 else
16266 ac_cv_cflags__fno_omit_frame_pointer=no
16268 rm -f core conftest.err conftest.$ac_objext \
16269 conftest$ac_exeext conftest.$ac_ext
16270 CFLAGS=$ac_wine_try_cflags_saved
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16273 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16274 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16275 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16276 fi ;;
16277 esac
16279 case $host in
16280 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16281 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16282 if ${ac_cv_cflags__Wno_format+:} false; then :
16283 $as_echo_n "(cached) " >&6
16284 else
16285 ac_wine_try_cflags_saved=$CFLAGS
16286 CFLAGS="$CFLAGS -Wno-format"
16287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16289 int main(int argc, char **argv) { return 0; }
16290 _ACEOF
16291 if ac_fn_c_try_link "$LINENO"; then :
16292 ac_cv_cflags__Wno_format=yes
16293 else
16294 ac_cv_cflags__Wno_format=no
16296 rm -f core conftest.err conftest.$ac_objext \
16297 conftest$ac_exeext conftest.$ac_ext
16298 CFLAGS=$ac_wine_try_cflags_saved
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16301 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16302 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16303 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16304 fi ;;
16305 esac
16307 if test "x$enable_maintainer_mode" = "xyes"
16308 then
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16310 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16311 if ${ac_cv_cflags__Werror+:} false; then :
16312 $as_echo_n "(cached) " >&6
16313 else
16314 ac_wine_try_cflags_saved=$CFLAGS
16315 CFLAGS="$CFLAGS -Werror"
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 int main(int argc, char **argv) { return 0; }
16319 _ACEOF
16320 if ac_fn_c_try_link "$LINENO"; then :
16321 ac_cv_cflags__Werror=yes
16322 else
16323 ac_cv_cflags__Werror=no
16325 rm -f core conftest.err conftest.$ac_objext \
16326 conftest$ac_exeext conftest.$ac_ext
16327 CFLAGS=$ac_wine_try_cflags_saved
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16330 $as_echo "$ac_cv_cflags__Werror" >&6; }
16331 if test "x$ac_cv_cflags__Werror" = xyes; then :
16332 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16336 saved_CFLAGS="$CFLAGS"
16337 CFLAGS="$CFLAGS -Werror"
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16339 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16340 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16341 $as_echo_n "(cached) " >&6
16342 else
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16347 main ()
16351 return 0;
16353 _ACEOF
16354 if ac_fn_c_try_compile "$LINENO"; then :
16355 ac_cv_have_ms_hook_prologue="yes"
16356 else
16357 ac_cv_have_ms_hook_prologue="no"
16359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16362 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16363 CFLAGS="$saved_CFLAGS"
16364 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16365 then
16367 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16369 else
16370 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16377 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16378 if ${ac_cv_c_fortify_enabled+:} false; then :
16379 $as_echo_n "(cached) " >&6
16380 else
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16383 #include <string.h>
16385 main ()
16387 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16388 #error Fortify enabled
16389 #endif
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_compile "$LINENO"; then :
16395 ac_cv_c_fortify_enabled=no
16396 else
16397 ac_cv_c_fortify_enabled=yes
16399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16402 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16403 if test "$ac_cv_c_fortify_enabled" = yes
16404 then
16405 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16410 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16411 if ${ac_cv_c_extern_prefix+:} false; then :
16412 $as_echo_n "(cached) " >&6
16413 else
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 extern int ac_test;
16418 main ()
16420 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16422 return 0;
16424 _ACEOF
16425 if ac_fn_c_try_link "$LINENO"; then :
16426 ac_cv_c_extern_prefix="yes"
16427 else
16428 ac_cv_c_extern_prefix="no"
16430 rm -f core conftest.err conftest.$ac_objext \
16431 conftest$ac_exeext conftest.$ac_ext
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16434 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16436 case $host_cpu in
16437 *i[3456789]86*)
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16439 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16440 if ${ac_cv_c_stdcall_suffix+:} false; then :
16441 $as_echo_n "(cached) " >&6
16442 else
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445 #ifndef _MSC_VER
16446 #define __stdcall __attribute__((__stdcall__))
16447 #endif
16448 int __stdcall ac_test(int i) { return i; }
16450 main ()
16452 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16454 return 0;
16456 _ACEOF
16457 if ac_fn_c_try_link "$LINENO"; then :
16458 ac_cv_c_stdcall_suffix="yes"
16459 else
16460 ac_cv_c_stdcall_suffix="no"
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16466 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16467 *) ac_cv_c_stdcall_suffix="no" ;;
16468 esac
16471 if test "$ac_cv_c_extern_prefix" = "yes"
16472 then
16473 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16475 asm_name_prefix="_"
16476 else
16477 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16479 asm_name_prefix=""
16483 if test "$ac_cv_c_stdcall_suffix" = "yes"
16484 then
16485 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16487 else
16488 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16494 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16495 if ${ac_cv_asm_func_def+:} false; then :
16496 $as_echo_n "(cached) " >&6
16497 else
16498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16499 /* end confdefs.h. */
16502 main ()
16504 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 ac_cv_asm_func_def=".def"
16511 else
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16516 main ()
16518 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16520 return 0;
16522 _ACEOF
16523 if ac_fn_c_try_link "$LINENO"; then :
16524 ac_cv_asm_func_def=".type @function"
16525 else
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16530 main ()
16532 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16534 return 0;
16536 _ACEOF
16537 if ac_fn_c_try_link "$LINENO"; then :
16538 ac_cv_asm_func_def=".type 2"
16539 else
16540 ac_cv_asm_func_def="unknown"
16542 rm -f core conftest.err conftest.$ac_objext \
16543 conftest$ac_exeext conftest.$ac_ext
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16548 rm -f core conftest.err conftest.$ac_objext \
16549 conftest$ac_exeext conftest.$ac_ext
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16552 $as_echo "$ac_cv_asm_func_def" >&6; }
16554 case "$ac_cv_asm_func_def" in
16555 ".def")
16556 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16557 ".type @function")
16558 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16559 ".type 2")
16560 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16562 asm_func_header="" ;;
16563 esac
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16566 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16567 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16568 $as_echo_n "(cached) " >&6
16569 else
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572 asm(".text\n\t.long 0");
16574 main ()
16578 return 0;
16580 _ACEOF
16581 if ac_fn_c_try_compile "$LINENO"; then :
16582 ac_cv_c_asm_outside_funcs="yes"
16583 else
16584 ac_cv_c_asm_outside_funcs="no"
16586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16589 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16592 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16593 if ${ac_cv_c_dot_previous+:} false; then :
16594 $as_echo_n "(cached) " >&6
16595 else
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16600 main ()
16602 asm(".text\nac_test:\t.long 0\n\t.previous");
16604 return 0;
16606 _ACEOF
16607 if ac_fn_c_try_link "$LINENO"; then :
16608 ac_cv_c_dot_previous="yes"
16609 else
16610 ac_cv_c_dot_previous="no"
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16616 $as_echo "$ac_cv_c_dot_previous" >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16619 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16620 if ${ac_cv_c_cfi_support+:} false; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16627 main ()
16631 return 0;
16633 _ACEOF
16634 if ac_fn_c_try_compile "$LINENO"; then :
16635 ac_cv_c_cfi_support="yes"
16636 else
16637 ac_cv_c_cfi_support="no"
16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16642 $as_echo "$ac_cv_c_cfi_support" >&6; }
16644 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16645 asm_func_trailer=""
16646 if test "$ac_cv_c_dot_previous" = "yes"
16647 then
16648 asm_func_trailer="\\n\\t.previous"
16650 if test "$ac_cv_c_cfi_support" = "yes"
16651 then
16652 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16653 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16655 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16657 UNWINDFLAGS=-fasynchronous-unwind-tables
16659 else
16660 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16662 if test "x$enable_win64" = "xyes"
16663 then
16664 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16668 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16671 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16672 then
16673 cat >>confdefs.h <<_ACEOF
16674 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16675 _ACEOF
16677 else
16678 cat >>confdefs.h <<_ACEOF
16679 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16680 _ACEOF
16684 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16687 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16691 case $build_os in
16692 cygwin*|mingw32*) TOOLSEXT=".exe"
16694 esac
16696 case $host_os in
16697 linux*)
16698 case $host_cpu in
16699 *i[3456789]86*|x86_64*|*aarch64*)
16700 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16701 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16703 esac
16705 esac
16708 ac_save_CFLAGS="$CFLAGS"
16709 CFLAGS="$CFLAGS $BUILTINFLAG"
16710 for ac_func in \
16711 __res_get_state \
16712 __res_getservers \
16713 _spawnvp \
16714 dlopen \
16715 epoll_create \
16716 ffs \
16717 finitef \
16718 fnmatch \
16719 fork \
16720 fpclass \
16721 fstatfs \
16722 fstatvfs \
16723 futimens \
16724 futimes \
16725 futimesat \
16726 getattrlist \
16727 getauxval \
16728 getifaddrs \
16729 getopt_long_only \
16730 kqueue \
16731 lstat \
16732 pipe2 \
16733 poll \
16734 port_create \
16735 prctl \
16736 pread \
16737 proc_pidinfo \
16738 pwrite \
16739 readdir \
16740 readlink \
16741 sched_yield \
16742 select \
16743 setproctitle \
16744 setprogname \
16745 settimeofday \
16746 sigprocmask \
16747 statfs \
16748 statvfs \
16749 strnlen \
16750 strtold \
16751 symlink \
16752 sysinfo \
16753 tcdrain \
16754 thr_kill2 \
16755 timegm \
16756 usleep
16758 do :
16759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16761 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16762 cat >>confdefs.h <<_ACEOF
16763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16764 _ACEOF
16767 done
16769 CFLAGS="$ac_save_CFLAGS"
16771 if test "$ac_cv_func_dlopen" = no
16772 then
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16774 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16775 if ${ac_cv_lib_dl_dlopen+:} false; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 ac_check_lib_save_LIBS=$LIBS
16779 LIBS="-ldl $LIBS"
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16783 /* Override any GCC internal prototype to avoid an error.
16784 Use char because int might match the return type of a GCC
16785 builtin and then its argument prototype would still apply. */
16786 #ifdef __cplusplus
16787 extern "C"
16788 #endif
16789 char dlopen ();
16791 main ()
16793 return dlopen ();
16795 return 0;
16797 _ACEOF
16798 if ac_fn_c_try_link "$LINENO"; then :
16799 ac_cv_lib_dl_dlopen=yes
16800 else
16801 ac_cv_lib_dl_dlopen=no
16803 rm -f core conftest.err conftest.$ac_objext \
16804 conftest$ac_exeext conftest.$ac_ext
16805 LIBS=$ac_check_lib_save_LIBS
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16808 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16809 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16810 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16811 DL_LIBS="-ldl"
16816 ac_wine_check_funcs_save_LIBS="$LIBS"
16817 LIBS="$LIBS $DL_LIBS"
16818 for ac_func in dladdr
16819 do :
16820 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16821 if test "x$ac_cv_func_dladdr" = xyes; then :
16822 cat >>confdefs.h <<_ACEOF
16823 #define HAVE_DLADDR 1
16824 _ACEOF
16827 done
16829 LIBS="$ac_wine_check_funcs_save_LIBS"
16831 if test "$ac_cv_func_poll" = no
16832 then
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16834 $as_echo_n "checking for poll in -lpoll... " >&6; }
16835 if ${ac_cv_lib_poll_poll+:} false; then :
16836 $as_echo_n "(cached) " >&6
16837 else
16838 ac_check_lib_save_LIBS=$LIBS
16839 LIBS="-lpoll $LIBS"
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16843 /* Override any GCC internal prototype to avoid an error.
16844 Use char because int might match the return type of a GCC
16845 builtin and then its argument prototype would still apply. */
16846 #ifdef __cplusplus
16847 extern "C"
16848 #endif
16849 char poll ();
16851 main ()
16853 return poll ();
16855 return 0;
16857 _ACEOF
16858 if ac_fn_c_try_link "$LINENO"; then :
16859 ac_cv_lib_poll_poll=yes
16860 else
16861 ac_cv_lib_poll_poll=no
16863 rm -f core conftest.err conftest.$ac_objext \
16864 conftest$ac_exeext conftest.$ac_ext
16865 LIBS=$ac_check_lib_save_LIBS
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16868 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16869 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16870 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16871 POLL_LIBS="-lpoll"
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16878 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16879 if ${ac_cv_search_gethostbyname+:} false; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16882 ac_func_search_save_LIBS=$LIBS
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16886 /* Override any GCC internal prototype to avoid an error.
16887 Use char because int might match the return type of a GCC
16888 builtin and then its argument prototype would still apply. */
16889 #ifdef __cplusplus
16890 extern "C"
16891 #endif
16892 char gethostbyname ();
16894 main ()
16896 return gethostbyname ();
16898 return 0;
16900 _ACEOF
16901 for ac_lib in '' nsl; do
16902 if test -z "$ac_lib"; then
16903 ac_res="none required"
16904 else
16905 ac_res=-l$ac_lib
16906 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16908 if ac_fn_c_try_link "$LINENO"; then :
16909 ac_cv_search_gethostbyname=$ac_res
16911 rm -f core conftest.err conftest.$ac_objext \
16912 conftest$ac_exeext
16913 if ${ac_cv_search_gethostbyname+:} false; then :
16914 break
16916 done
16917 if ${ac_cv_search_gethostbyname+:} false; then :
16919 else
16920 ac_cv_search_gethostbyname=no
16922 rm conftest.$ac_ext
16923 LIBS=$ac_func_search_save_LIBS
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16926 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16927 ac_res=$ac_cv_search_gethostbyname
16928 if test "$ac_res" != no; then :
16929 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16935 $as_echo_n "checking for library containing connect... " >&6; }
16936 if ${ac_cv_search_connect+:} false; then :
16937 $as_echo_n "(cached) " >&6
16938 else
16939 ac_func_search_save_LIBS=$LIBS
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16943 /* Override any GCC internal prototype to avoid an error.
16944 Use char because int might match the return type of a GCC
16945 builtin and then its argument prototype would still apply. */
16946 #ifdef __cplusplus
16947 extern "C"
16948 #endif
16949 char connect ();
16951 main ()
16953 return connect ();
16955 return 0;
16957 _ACEOF
16958 for ac_lib in '' socket; do
16959 if test -z "$ac_lib"; then
16960 ac_res="none required"
16961 else
16962 ac_res=-l$ac_lib
16963 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16965 if ac_fn_c_try_link "$LINENO"; then :
16966 ac_cv_search_connect=$ac_res
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext
16970 if ${ac_cv_search_connect+:} false; then :
16971 break
16973 done
16974 if ${ac_cv_search_connect+:} false; then :
16976 else
16977 ac_cv_search_connect=no
16979 rm conftest.$ac_ext
16980 LIBS=$ac_func_search_save_LIBS
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16983 $as_echo "$ac_cv_search_connect" >&6; }
16984 ac_res=$ac_cv_search_connect
16985 if test "$ac_res" != no; then :
16986 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16992 $as_echo_n "checking for library containing inet_aton... " >&6; }
16993 if ${ac_cv_search_inet_aton+:} false; then :
16994 $as_echo_n "(cached) " >&6
16995 else
16996 ac_func_search_save_LIBS=$LIBS
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
17000 /* Override any GCC internal prototype to avoid an error.
17001 Use char because int might match the return type of a GCC
17002 builtin and then its argument prototype would still apply. */
17003 #ifdef __cplusplus
17004 extern "C"
17005 #endif
17006 char inet_aton ();
17008 main ()
17010 return inet_aton ();
17012 return 0;
17014 _ACEOF
17015 for ac_lib in '' resolv; do
17016 if test -z "$ac_lib"; then
17017 ac_res="none required"
17018 else
17019 ac_res=-l$ac_lib
17020 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17022 if ac_fn_c_try_link "$LINENO"; then :
17023 ac_cv_search_inet_aton=$ac_res
17025 rm -f core conftest.err conftest.$ac_objext \
17026 conftest$ac_exeext
17027 if ${ac_cv_search_inet_aton+:} false; then :
17028 break
17030 done
17031 if ${ac_cv_search_inet_aton+:} false; then :
17033 else
17034 ac_cv_search_inet_aton=no
17036 rm conftest.$ac_ext
17037 LIBS=$ac_func_search_save_LIBS
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17040 $as_echo "$ac_cv_search_inet_aton" >&6; }
17041 ac_res=$ac_cv_search_inet_aton
17042 if test "$ac_res" != no; then :
17043 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17048 for ac_func in \
17049 getaddrinfo \
17050 getnameinfo \
17051 getnetbyname \
17052 getprotobyname \
17053 getprotobynumber \
17054 getservbyport \
17055 inet_addr \
17056 inet_network \
17057 inet_ntop \
17058 inet_pton \
17060 do :
17061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17063 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17064 cat >>confdefs.h <<_ACEOF
17065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17066 _ACEOF
17069 done
17072 ac_save_LIBS=$LIBS
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17074 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17075 if ${ac_cv_search_clock_gettime+:} false; then :
17076 $as_echo_n "(cached) " >&6
17077 else
17078 ac_func_search_save_LIBS=$LIBS
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17082 /* Override any GCC internal prototype to avoid an error.
17083 Use char because int might match the return type of a GCC
17084 builtin and then its argument prototype would still apply. */
17085 #ifdef __cplusplus
17086 extern "C"
17087 #endif
17088 char clock_gettime ();
17090 main ()
17092 return clock_gettime ();
17094 return 0;
17096 _ACEOF
17097 for ac_lib in '' rt; do
17098 if test -z "$ac_lib"; then
17099 ac_res="none required"
17100 else
17101 ac_res=-l$ac_lib
17102 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17104 if ac_fn_c_try_link "$LINENO"; then :
17105 ac_cv_search_clock_gettime=$ac_res
17107 rm -f core conftest.err conftest.$ac_objext \
17108 conftest$ac_exeext
17109 if ${ac_cv_search_clock_gettime+:} false; then :
17110 break
17112 done
17113 if ${ac_cv_search_clock_gettime+:} false; then :
17115 else
17116 ac_cv_search_clock_gettime=no
17118 rm conftest.$ac_ext
17119 LIBS=$ac_func_search_save_LIBS
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17122 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17123 ac_res=$ac_cv_search_clock_gettime
17124 if test "$ac_res" != no; then :
17125 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17127 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17129 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17133 LIBS=$ac_save_LIBS
17135 if test "x$with_ldap" != "xno"
17136 then
17137 if ${LDAP_CFLAGS:+false} :; then :
17138 if ${PKG_CONFIG+:} false; then :
17139 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17143 if ${LDAP_LIBS:+false} :; then :
17144 if ${PKG_CONFIG+:} false; then :
17145 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17149 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17150 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17151 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17152 ac_save_CPPFLAGS=$CPPFLAGS
17153 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17154 for ac_header in ldap.h lber.h
17155 do :
17156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17157 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17159 cat >>confdefs.h <<_ACEOF
17160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17161 _ACEOF
17165 done
17167 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17168 then
17169 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17171 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17173 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17174 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17175 $as_echo_n "(cached) " >&6
17176 else
17177 ac_check_lib_save_LIBS=$LIBS
17178 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17182 /* Override any GCC internal prototype to avoid an error.
17183 Use char because int might match the return type of a GCC
17184 builtin and then its argument prototype would still apply. */
17185 #ifdef __cplusplus
17186 extern "C"
17187 #endif
17188 char ldap_initialize ();
17190 main ()
17192 return ldap_initialize ();
17194 return 0;
17196 _ACEOF
17197 if ac_fn_c_try_link "$LINENO"; then :
17198 ac_cv_lib_ldap_r_ldap_initialize=yes
17199 else
17200 ac_cv_lib_ldap_r_ldap_initialize=no
17202 rm -f core conftest.err conftest.$ac_objext \
17203 conftest$ac_exeext conftest.$ac_ext
17204 LIBS=$ac_check_lib_save_LIBS
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17207 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17208 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17210 $as_echo_n "checking for ber_init in -llber... " >&6; }
17211 if ${ac_cv_lib_lber_ber_init+:} false; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214 ac_check_lib_save_LIBS=$LIBS
17215 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17219 /* Override any GCC internal prototype to avoid an error.
17220 Use char because int might match the return type of a GCC
17221 builtin and then its argument prototype would still apply. */
17222 #ifdef __cplusplus
17223 extern "C"
17224 #endif
17225 char ber_init ();
17227 main ()
17229 return ber_init ();
17231 return 0;
17233 _ACEOF
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 ac_cv_lib_lber_ber_init=yes
17236 else
17237 ac_cv_lib_lber_ber_init=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17241 LIBS=$ac_check_lib_save_LIBS
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17244 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17245 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17247 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17249 else
17250 LDAP_LIBS=""
17253 else
17254 LDAP_LIBS=""
17257 else
17258 LDAP_LIBS=""
17261 ac_wine_check_funcs_save_LIBS="$LIBS"
17262 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17263 for ac_func in \
17264 ldap_count_references \
17265 ldap_first_reference \
17266 ldap_next_reference \
17267 ldap_parse_reference \
17268 ldap_parse_sort_control \
17269 ldap_parse_sortresponse_control \
17270 ldap_parse_vlv_control \
17271 ldap_parse_vlvresponse_control
17272 do :
17273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17276 cat >>confdefs.h <<_ACEOF
17277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17278 _ACEOF
17281 done
17283 LIBS="$ac_wine_check_funcs_save_LIBS"
17284 else
17285 LDAP_LIBS=""
17287 CPPFLAGS=$ac_save_CPPFLAGS
17288 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17289 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17292 if test "x$LDAP_LIBS" = "x"; then :
17293 case "x$with_ldap" in
17294 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17295 xno) ;;
17296 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17297 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17298 esac
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17303 $as_echo_n "checking for sched_setaffinity... " >&6; }
17304 if ${wine_cv_have_sched_setaffinity+:} false; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #define _GNU_SOURCE
17310 #include <sched.h>
17312 main ()
17314 sched_setaffinity(0, 0, 0);
17316 return 0;
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"; then :
17320 wine_cv_have_sched_setaffinity=yes
17321 else
17322 wine_cv_have_sched_setaffinity=no
17324 rm -f core conftest.err conftest.$ac_objext \
17325 conftest$ac_exeext conftest.$ac_ext
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17328 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17329 if test "$wine_cv_have_sched_setaffinity" = "yes"
17330 then
17332 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17337 $as_echo_n "checking for fallocate... " >&6; }
17338 if ${wine_cv_have_fallocate+:} false; then :
17339 $as_echo_n "(cached) " >&6
17340 else
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 #define _GNU_SOURCE
17344 #include <fcntl.h>
17346 main ()
17348 fallocate(-1, 0, 0, 0);
17350 return 0;
17352 _ACEOF
17353 if ac_fn_c_try_link "$LINENO"; then :
17354 wine_cv_have_fallocate=yes
17355 else
17356 wine_cv_have_fallocate=no
17358 rm -f core conftest.err conftest.$ac_objext \
17359 conftest$ac_exeext conftest.$ac_ext
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17362 $as_echo "$wine_cv_have_fallocate" >&6; }
17363 if test "$wine_cv_have_fallocate" = "yes"
17364 then
17366 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17372 $as_echo_n "checking for inline... " >&6; }
17373 if ${ac_cv_c_inline+:} false; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17376 ac_cv_c_inline=no
17377 for ac_kw in inline __inline__ __inline; do
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17380 #ifndef __cplusplus
17381 typedef int foo_t;
17382 static $ac_kw foo_t static_foo () {return 0; }
17383 $ac_kw foo_t foo () {return 0; }
17384 #endif
17386 _ACEOF
17387 if ac_fn_c_try_compile "$LINENO"; then :
17388 ac_cv_c_inline=$ac_kw
17390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17391 test "$ac_cv_c_inline" != no && break
17392 done
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17396 $as_echo "$ac_cv_c_inline" >&6; }
17398 case $ac_cv_c_inline in
17399 inline | yes) ;;
17401 case $ac_cv_c_inline in
17402 no) ac_val=;;
17403 *) ac_val=$ac_cv_c_inline;;
17404 esac
17405 cat >>confdefs.h <<_ACEOF
17406 #ifndef __cplusplus
17407 #define inline $ac_val
17408 #endif
17409 _ACEOF
17411 esac
17413 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17414 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17416 cat >>confdefs.h <<_ACEOF
17417 #define HAVE_FSBLKCNT_T 1
17418 _ACEOF
17422 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17423 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17425 cat >>confdefs.h <<_ACEOF
17426 #define HAVE_FSFILCNT_T 1
17427 _ACEOF
17432 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17433 #include <signal.h>
17435 if test "x$ac_cv_type_sigset_t" = xyes; then :
17437 cat >>confdefs.h <<_ACEOF
17438 #define HAVE_SIGSET_T 1
17439 _ACEOF
17444 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17446 if test "x$ac_cv_type_request_sense" = xyes; then :
17448 cat >>confdefs.h <<_ACEOF
17449 #define HAVE_REQUEST_SENSE 1
17450 _ACEOF
17456 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17457 #ifdef HAVE_SYS_SOCKET_H
17458 #include <sys/socket.h>
17459 #endif
17460 #ifdef HAVE_SYS_SOCKETVAR_H
17461 #include <sys/socketvar.h>
17462 #endif
17463 #ifdef HAVE_NET_ROUTE_H
17464 #include <net/route.h>
17465 #endif
17466 #ifdef HAVE_NETINET_IN_H
17467 #include <netinet/in.h>
17468 #endif
17469 #ifdef HAVE_NETINET_IN_SYSTM_H
17470 #include <netinet/in_systm.h>
17471 #endif
17472 #ifdef HAVE_NETINET_IP_H
17473 #include <netinet/ip.h>
17474 #endif
17475 #ifdef HAVE_NETINET_IN_PCB_H
17476 #include <netinet/in_pcb.h>
17477 #endif
17479 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17481 cat >>confdefs.h <<_ACEOF
17482 #define HAVE_STRUCT_XINPGEN 1
17483 _ACEOF
17489 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17490 #include <link.h>
17491 #endif
17492 #ifdef HAVE_SYS_LINK_H
17493 #include <sys/link.h>
17494 #endif
17496 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17498 cat >>confdefs.h <<_ACEOF
17499 #define HAVE_STRUCT_R_DEBUG 1
17500 _ACEOF
17504 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17505 #include <link.h>
17506 #endif
17507 #ifdef HAVE_SYS_LINK_H
17508 #include <sys/link.h>
17509 #endif
17511 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17513 cat >>confdefs.h <<_ACEOF
17514 #define HAVE_STRUCT_LINK_MAP 1
17515 _ACEOF
17521 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17522 #include <linux/input.h>
17523 #endif
17525 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17527 cat >>confdefs.h <<_ACEOF
17528 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17529 _ACEOF
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17536 $as_echo_n "checking for if_nameindex... " >&6; }
17537 if ${wine_cv_have_if_nameindex+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #ifdef HAVE_SYS_TYPES_H
17543 #include <sys/types.h>
17544 #endif
17545 #ifdef HAVE_SYS_SOCKET_H
17546 #include <sys/socket.h>
17547 #endif
17548 #ifdef HAVE_NET_IF_H
17549 # include <net/if.h>
17550 #endif
17552 main ()
17554 struct if_nameindex *p = if_nameindex(); return p->if_index;
17556 return 0;
17558 _ACEOF
17559 if ac_fn_c_try_link "$LINENO"; then :
17560 wine_cv_have_if_nameindex=yes
17561 else
17562 wine_cv_have_if_nameindex=no
17564 rm -f core conftest.err conftest.$ac_objext \
17565 conftest$ac_exeext conftest.$ac_ext
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17568 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17569 if test "$wine_cv_have_if_nameindex" = "yes"
17570 then
17572 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17577 $as_echo_n "checking for sigaddset... " >&6; }
17578 if ${wine_cv_have_sigaddset+:} false; then :
17579 $as_echo_n "(cached) " >&6
17580 else
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17583 #include <signal.h>
17585 main ()
17587 sigset_t set; sigaddset(&set,SIGTERM);
17589 return 0;
17591 _ACEOF
17592 if ac_fn_c_try_link "$LINENO"; then :
17593 wine_cv_have_sigaddset=yes
17594 else
17595 wine_cv_have_sigaddset=no
17597 rm -f core conftest.err conftest.$ac_objext \
17598 conftest$ac_exeext conftest.$ac_ext
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17601 $as_echo "$wine_cv_have_sigaddset" >&6; }
17602 if test "$wine_cv_have_sigaddset" = "yes"
17603 then
17605 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17611 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17612 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617 #include <netdb.h>
17619 main ()
17622 char *name=0;
17623 struct hostent he;
17624 struct hostent *result;
17625 char *buf=0;
17626 int bufsize=0;
17627 int errnr;
17628 char *addr=0;
17629 int addrlen=0;
17630 int addrtype=0;
17631 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17632 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17635 return 0;
17637 _ACEOF
17638 if ac_fn_c_try_link "$LINENO"; then :
17639 wine_cv_linux_gethostbyname_r_6=yes
17640 else
17641 wine_cv_linux_gethostbyname_r_6=no
17644 rm -f core conftest.err conftest.$ac_objext \
17645 conftest$ac_exeext conftest.$ac_ext
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17649 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17650 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17651 then
17653 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17657 if test "$ac_cv_header_linux_joystick_h" = "yes"
17658 then
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17660 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17661 if ${wine_cv_linux_joystick_22_api+:} false; then :
17662 $as_echo_n "(cached) " >&6
17663 else
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17667 #include <sys/ioctl.h>
17668 #include <sys/types.h>
17669 #include <linux/joystick.h>
17671 struct js_event blub;
17672 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17673 #error "no 2.2 header"
17674 #endif
17677 main ()
17679 /*empty*/
17681 return 0;
17683 _ACEOF
17684 if ac_fn_c_try_compile "$LINENO"; then :
17685 wine_cv_linux_joystick_22_api=yes
17686 else
17687 wine_cv_linux_joystick_22_api=no
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17693 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17694 if test "$wine_cv_linux_joystick_22_api" = "yes"
17695 then
17697 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17703 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17704 #ifdef HAVE_SYS_PARAM_H
17705 # include <sys/param.h>
17706 #endif
17707 #ifdef HAVE_SYS_MOUNT_H
17708 # include <sys/mount.h>
17709 #endif
17710 #ifdef HAVE_SYS_VFS_H
17711 # include <sys/vfs.h>
17712 #endif
17713 #ifdef HAVE_SYS_STATFS_H
17714 # include <sys/statfs.h>
17715 #endif
17717 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17719 cat >>confdefs.h <<_ACEOF
17720 #define HAVE_STRUCT_STATFS_F_BFREE 1
17721 _ACEOF
17725 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17726 #ifdef HAVE_SYS_PARAM_H
17727 # include <sys/param.h>
17728 #endif
17729 #ifdef HAVE_SYS_MOUNT_H
17730 # include <sys/mount.h>
17731 #endif
17732 #ifdef HAVE_SYS_VFS_H
17733 # include <sys/vfs.h>
17734 #endif
17735 #ifdef HAVE_SYS_STATFS_H
17736 # include <sys/statfs.h>
17737 #endif
17739 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17741 cat >>confdefs.h <<_ACEOF
17742 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17743 _ACEOF
17747 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17748 #ifdef HAVE_SYS_PARAM_H
17749 # include <sys/param.h>
17750 #endif
17751 #ifdef HAVE_SYS_MOUNT_H
17752 # include <sys/mount.h>
17753 #endif
17754 #ifdef HAVE_SYS_VFS_H
17755 # include <sys/vfs.h>
17756 #endif
17757 #ifdef HAVE_SYS_STATFS_H
17758 # include <sys/statfs.h>
17759 #endif
17761 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17763 cat >>confdefs.h <<_ACEOF
17764 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17765 _ACEOF
17769 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17770 #ifdef HAVE_SYS_PARAM_H
17771 # include <sys/param.h>
17772 #endif
17773 #ifdef HAVE_SYS_MOUNT_H
17774 # include <sys/mount.h>
17775 #endif
17776 #ifdef HAVE_SYS_VFS_H
17777 # include <sys/vfs.h>
17778 #endif
17779 #ifdef HAVE_SYS_STATFS_H
17780 # include <sys/statfs.h>
17781 #endif
17783 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17785 cat >>confdefs.h <<_ACEOF
17786 #define HAVE_STRUCT_STATFS_F_FFREE 1
17787 _ACEOF
17791 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17792 #ifdef HAVE_SYS_PARAM_H
17793 # include <sys/param.h>
17794 #endif
17795 #ifdef HAVE_SYS_MOUNT_H
17796 # include <sys/mount.h>
17797 #endif
17798 #ifdef HAVE_SYS_VFS_H
17799 # include <sys/vfs.h>
17800 #endif
17801 #ifdef HAVE_SYS_STATFS_H
17802 # include <sys/statfs.h>
17803 #endif
17805 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17807 cat >>confdefs.h <<_ACEOF
17808 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17809 _ACEOF
17813 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17814 #ifdef HAVE_SYS_PARAM_H
17815 # include <sys/param.h>
17816 #endif
17817 #ifdef HAVE_SYS_MOUNT_H
17818 # include <sys/mount.h>
17819 #endif
17820 #ifdef HAVE_SYS_VFS_H
17821 # include <sys/vfs.h>
17822 #endif
17823 #ifdef HAVE_SYS_STATFS_H
17824 # include <sys/statfs.h>
17825 #endif
17827 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17829 cat >>confdefs.h <<_ACEOF
17830 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17831 _ACEOF
17837 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17838 #include <sys/statvfs.h>
17839 #endif
17841 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17843 cat >>confdefs.h <<_ACEOF
17844 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17845 _ACEOF
17851 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17852 #include <dirent.h>
17853 #endif
17855 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17857 cat >>confdefs.h <<_ACEOF
17858 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17859 _ACEOF
17865 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17866 #ifdef HAVE_SYS_SOCKET_H
17867 # include <sys/socket.h>
17868 #endif
17869 #ifdef HAVE_SYS_UN_H
17870 # include <sys/un.h>
17871 #endif
17873 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17875 cat >>confdefs.h <<_ACEOF
17876 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17877 _ACEOF
17881 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17882 #ifdef HAVE_SYS_SOCKET_H
17883 # include <sys/socket.h>
17884 #endif
17885 #ifdef HAVE_SYS_UN_H
17886 # include <sys/un.h>
17887 #endif
17889 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17891 cat >>confdefs.h <<_ACEOF
17892 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17893 _ACEOF
17897 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17898 #ifdef HAVE_SYS_SOCKET_H
17899 # include <sys/socket.h>
17900 #endif
17901 #ifdef HAVE_SYS_UN_H
17902 # include <sys/un.h>
17903 #endif
17905 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17907 cat >>confdefs.h <<_ACEOF
17908 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17909 _ACEOF
17915 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17916 #ifdef HAVE_SCSI_SG_H
17917 #include <scsi/sg.h>
17918 #endif
17920 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17922 cat >>confdefs.h <<_ACEOF
17923 #define HAVE_SCSIREQ_T_CMD 1
17924 _ACEOF
17928 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>
17929 #ifdef HAVE_SCSI_SG_H
17930 #include <scsi/sg.h>
17931 #endif
17933 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17937 _ACEOF
17943 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17945 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17947 cat >>confdefs.h <<_ACEOF
17948 #define HAVE_SIGINFO_T_SI_FD 1
17949 _ACEOF
17955 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17956 #ifdef HAVE_SYS_MTIO_H
17957 #include <sys/mtio.h>
17958 #endif
17960 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17962 cat >>confdefs.h <<_ACEOF
17963 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17964 _ACEOF
17968 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17969 #ifdef HAVE_SYS_MTIO_H
17970 #include <sys/mtio.h>
17971 #endif
17973 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17975 cat >>confdefs.h <<_ACEOF
17976 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17977 _ACEOF
17981 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17982 #ifdef HAVE_SYS_MTIO_H
17983 #include <sys/mtio.h>
17984 #endif
17986 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17988 cat >>confdefs.h <<_ACEOF
17989 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17990 _ACEOF
17996 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17997 #include <getopt.h>
17998 #endif
18000 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18002 cat >>confdefs.h <<_ACEOF
18003 #define HAVE_STRUCT_OPTION_NAME 1
18004 _ACEOF
18010 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18011 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18013 cat >>confdefs.h <<_ACEOF
18014 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18015 _ACEOF
18019 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18020 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18022 cat >>confdefs.h <<_ACEOF
18023 #define HAVE_STRUCT_STAT_ST_MTIM 1
18024 _ACEOF
18028 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18029 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18031 cat >>confdefs.h <<_ACEOF
18032 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18033 _ACEOF
18037 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18038 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18040 cat >>confdefs.h <<_ACEOF
18041 #define HAVE_STRUCT_STAT_ST_CTIM 1
18042 _ACEOF
18046 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18047 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18049 cat >>confdefs.h <<_ACEOF
18050 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18051 _ACEOF
18055 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18056 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18058 cat >>confdefs.h <<_ACEOF
18059 #define HAVE_STRUCT_STAT_ST_ATIM 1
18060 _ACEOF
18064 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18065 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18067 cat >>confdefs.h <<_ACEOF
18068 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18069 _ACEOF
18073 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18074 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18076 cat >>confdefs.h <<_ACEOF
18077 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18078 _ACEOF
18082 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18083 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18087 _ACEOF
18091 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18092 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18096 _ACEOF
18100 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18101 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18105 _ACEOF
18109 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18110 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18112 cat >>confdefs.h <<_ACEOF
18113 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18114 _ACEOF
18120 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
18121 #include <sys/types.h>
18122 #endif
18123 #ifdef HAVE_NETINET_IN_H
18124 #include <netinet/in.h>
18125 #endif
18127 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18129 cat >>confdefs.h <<_ACEOF
18130 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18131 _ACEOF
18137 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18138 #include <sys/types.h>
18139 #endif
18140 #ifdef HAVE_NETINET_IN_H
18141 #include <netinet/in.h>
18142 #endif
18143 #ifdef HAVE_RESOLV_H
18144 #include <resolv.h>
18145 #endif
18147 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18149 cat >>confdefs.h <<_ACEOF
18150 #define HAVE_STRUCT___RES_STATE 1
18151 _ACEOF
18157 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
18158 #include <resolv.h>
18159 #endif
18161 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18163 cat >>confdefs.h <<_ACEOF
18164 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18165 _ACEOF
18171 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18172 #include <sys/types.h>
18173 #endif
18174 #ifdef HAVE_NETINET_IN_H
18175 # include <netinet/in.h>
18176 #endif
18177 #ifdef HAVE_ARPA_NAMESER_H
18178 # include <arpa/nameser.h>
18179 #endif
18181 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18183 cat >>confdefs.h <<_ACEOF
18184 #define HAVE_NS_MSG__MSG_PTR 1
18185 _ACEOF
18191 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18192 #include <sys/types.h>
18193 #endif
18194 #ifdef HAVE_NETINET_IN_H
18195 #include <netinet/in.h>
18196 #endif
18197 #ifdef HAVE_NETINET_IP_H
18198 #include <netinet/ip.h>
18199 #endif
18200 #ifdef HAVE_NETINET_IP_ICMP_H
18201 #include <netinet/ip_icmp.h>
18202 #endif
18203 #ifdef HAVE_NETINET_ICMP_VAR_H
18204 #include <netinet/icmp_var.h>
18205 #endif
18207 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18209 cat >>confdefs.h <<_ACEOF
18210 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18211 _ACEOF
18217 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18218 #include <sys/types.h>
18219 #endif
18220 #ifdef HAVE_ALIAS_H
18221 #include <alias.h>
18222 #endif
18223 #ifdef HAVE_SYS_SOCKET_H
18224 #include <sys/socket.h>
18225 #endif
18226 #ifdef HAVE_SYS_SOCKETVAR_H
18227 #include <sys/socketvar.h>
18228 #endif
18229 #ifdef HAVE_SYS_TIMEOUT_H
18230 #include <sys/timeout.h>
18231 #endif
18232 #ifdef HAVE_NETINET_IN_H
18233 #include <netinet/in.h>
18234 #endif
18235 #ifdef HAVE_NETINET_IN_SYSTM_H
18236 #include <netinet/in_systm.h>
18237 #endif
18238 #ifdef HAVE_NETINET_IP_H
18239 #include <netinet/ip.h>
18240 #endif
18241 #ifdef HAVE_NETINET_IP_VAR_H
18242 #include <netinet/ip_var.h>
18243 #endif
18244 #ifdef HAVE_NETINET_IP_ICMP_H
18245 #include <netinet/ip_icmp.h>
18246 #endif
18247 #ifdef HAVE_NETINET_ICMP_VAR_H
18248 #include <netinet/icmp_var.h>
18249 #endif
18251 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18253 cat >>confdefs.h <<_ACEOF
18254 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18255 _ACEOF
18261 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18262 #include <sys/types.h>
18263 #endif
18264 #ifdef HAVE_SYS_SOCKETVAR_H
18265 #include <sys/socketvar.h>
18266 #endif
18267 #ifdef HAVE_NETINET_IN_H
18268 #include <netinet/in.h>
18269 #endif
18270 #ifdef HAVE_NETINET_IP_VAR_H
18271 #include <netinet/ip_var.h>
18272 #endif
18274 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18276 cat >>confdefs.h <<_ACEOF
18277 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18278 _ACEOF
18284 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
18285 #include <netinet/ip_var.h>
18286 #endif
18288 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18290 cat >>confdefs.h <<_ACEOF
18291 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18292 _ACEOF
18298 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18299 #include <sys/types.h>
18300 #endif
18301 #ifdef HAVE_SYS_SOCKETVAR_H
18302 #include <sys/socketvar.h>
18303 #endif
18304 #ifdef HAVE_NETINET_IN_H
18305 #include <netinet/in.h>
18306 #endif
18307 #ifdef HAVE_NETINET_TCP_H
18308 #include <netinet/tcp.h>
18309 #endif
18310 #ifdef HAVE_NETINET_TCP_VAR_H
18311 #include <netinet/tcp_var.h>
18312 #endif
18314 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18316 cat >>confdefs.h <<_ACEOF
18317 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18318 _ACEOF
18324 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
18325 #include <netinet/tcp_var.h>
18326 #endif
18328 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18330 cat >>confdefs.h <<_ACEOF
18331 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18332 _ACEOF
18338 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18339 #include <sys/types.h>
18340 #endif
18341 #ifdef HAVE_NETINET_IN_H
18342 #include <netinet/in.h>
18343 #endif
18344 #ifdef HAVE_NETINET_IP_VAR_H
18345 #include <netinet/ip_var.h>
18346 #endif
18347 #ifdef HAVE_NETINET_UDP_H
18348 #include <netinet/udp.h>
18349 #endif
18350 #ifdef HAVE_NETINET_UDP_VAR_H
18351 #include <netinet/udp_var.h>
18352 #endif
18354 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18356 cat >>confdefs.h <<_ACEOF
18357 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18358 _ACEOF
18364 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18365 #include <sys/types.h>
18366 #endif
18367 #ifdef HAVE_NET_IF_H
18368 # include <net/if.h>
18369 #endif
18371 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18373 cat >>confdefs.h <<_ACEOF
18374 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18375 _ACEOF
18381 ac_save_LIBS="$LIBS"
18382 LIBS="$LIBS -lm"
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18384 $as_echo_n "checking for isfinite... " >&6; }
18385 if ${ac_cv_have_isfinite+:} false; then :
18386 $as_echo_n "(cached) " >&6
18387 else
18388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h. */
18390 #define _GNU_SOURCE
18391 #include <math.h>
18393 main ()
18395 float f = 0.0; return isfinite(f)
18397 return 0;
18399 _ACEOF
18400 if ac_fn_c_try_link "$LINENO"; then :
18401 ac_cv_have_isfinite="yes"
18402 else
18403 ac_cv_have_isfinite="no"
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext conftest.$ac_ext
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18409 $as_echo "$ac_cv_have_isfinite" >&6; }
18410 if test "$ac_cv_have_isfinite" = "yes"
18411 then
18413 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18418 $as_echo_n "checking for isinf... " >&6; }
18419 if ${ac_cv_have_isinf+:} false; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18424 #include <math.h>
18426 main ()
18428 float f = 0.0; return isinf(f)
18430 return 0;
18432 _ACEOF
18433 if ac_fn_c_try_link "$LINENO"; then :
18434 ac_cv_have_isinf="yes"
18435 else
18436 ac_cv_have_isinf="no"
18438 rm -f core conftest.err conftest.$ac_objext \
18439 conftest$ac_exeext conftest.$ac_ext
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18442 $as_echo "$ac_cv_have_isinf" >&6; }
18443 if test "$ac_cv_have_isinf" = "yes"
18444 then
18446 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18451 $as_echo_n "checking for isnan... " >&6; }
18452 if ${ac_cv_have_isnan+:} false; then :
18453 $as_echo_n "(cached) " >&6
18454 else
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 #include <math.h>
18459 main ()
18461 float f = 0.0; return isnan(f)
18463 return 0;
18465 _ACEOF
18466 if ac_fn_c_try_link "$LINENO"; then :
18467 ac_cv_have_isnan="yes"
18468 else
18469 ac_cv_have_isnan="no"
18471 rm -f core conftest.err conftest.$ac_objext \
18472 conftest$ac_exeext conftest.$ac_ext
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18475 $as_echo "$ac_cv_have_isnan" >&6; }
18476 if test "$ac_cv_have_isnan" = "yes"
18477 then
18479 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18483 for ac_func in \
18484 acosh \
18485 acoshf \
18486 asinh \
18487 asinhf \
18488 atanh \
18489 atanhf \
18490 cbrt \
18491 cbrtf \
18492 erf \
18493 erfc \
18494 erfcf \
18495 erff \
18496 exp2 \
18497 exp2f \
18498 expm1 \
18499 expm1f \
18500 ilogb \
18501 ilogbf \
18502 j0 \
18503 j1 \
18504 jn \
18505 lgamma \
18506 lgammaf \
18507 llrint \
18508 llrintf \
18509 llround \
18510 llroundf \
18511 log1p \
18512 log1pf \
18513 log2 \
18514 log2f \
18515 lrint \
18516 lrintf \
18517 lround \
18518 lroundf \
18519 nearbyint \
18520 nearbyintf \
18521 nexttoward \
18522 nexttowardf \
18523 powl \
18524 remainder \
18525 remainderf \
18526 rint \
18527 rintf \
18528 round \
18529 roundf \
18530 trunc \
18531 truncf \
18532 y0 \
18533 y1 \
18536 do :
18537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18539 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18540 cat >>confdefs.h <<_ACEOF
18541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18542 _ACEOF
18545 done
18547 LIBS="$ac_save_LIBS"
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18550 $as_echo_n "checking for __builtin_clz... " >&6; }
18551 if ${ac_cv_have___builtin_clz+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18558 main ()
18560 return __builtin_clz(1)
18562 return 0;
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"; then :
18566 ac_cv_have___builtin_clz="yes"
18567 else
18568 ac_cv_have___builtin_clz="no"
18570 rm -f core conftest.err conftest.$ac_objext \
18571 conftest$ac_exeext conftest.$ac_ext
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18574 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18575 if test "$ac_cv_have___builtin_clz" = "yes"
18576 then
18578 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18583 $as_echo_n "checking for __builtin_popcount... " >&6; }
18584 if ${ac_cv_have___builtin_popcount+:} false; then :
18585 $as_echo_n "(cached) " >&6
18586 else
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18591 main ()
18593 return __builtin_popcount(1)
18595 return 0;
18597 _ACEOF
18598 if ac_fn_c_try_link "$LINENO"; then :
18599 ac_cv_have___builtin_popcount="yes"
18600 else
18601 ac_cv_have___builtin_popcount="no"
18603 rm -f core conftest.err conftest.$ac_objext \
18604 conftest$ac_exeext conftest.$ac_ext
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18607 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18608 if test "$ac_cv_have___builtin_popcount" = "yes"
18609 then
18611 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18616 $as_echo_n "checking for __clear_cache... " >&6; }
18617 if ${ac_cv_have___clear_cache+:} false; then :
18618 $as_echo_n "(cached) " >&6
18619 else
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18624 main ()
18626 __clear_cache((void*)0, (void*)0); return 0;
18628 return 0;
18630 _ACEOF
18631 if ac_fn_c_try_link "$LINENO"; then :
18632 ac_cv_have___clear_cache="yes"
18633 else
18634 ac_cv_have___clear_cache="no"
18636 rm -f core conftest.err conftest.$ac_objext \
18637 conftest$ac_exeext conftest.$ac_ext
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18640 $as_echo "$ac_cv_have___clear_cache" >&6; }
18641 if test "$ac_cv_have___clear_cache" = "yes"
18642 then
18644 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18649 case $host_cpu in
18650 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18651 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18652 if ${ac_cv_cpp_def___i386__+:} false; then :
18653 $as_echo_n "(cached) " >&6
18654 else
18655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18657 #ifndef __i386__
18659 #endif
18660 _ACEOF
18661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18662 $EGREP "yes" >/dev/null 2>&1; then :
18663 ac_cv_cpp_def___i386__=yes
18664 else
18665 ac_cv_cpp_def___i386__=no
18667 rm -f conftest*
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18671 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18672 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18673 CFLAGS="$CFLAGS -D__i386__"
18674 LINTFLAGS="$LINTFLAGS -D__i386__"
18675 fi ;;
18676 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18677 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18678 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18679 $as_echo_n "(cached) " >&6
18680 else
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #ifndef __x86_64__
18685 #endif
18686 _ACEOF
18687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18688 $EGREP "yes" >/dev/null 2>&1; then :
18689 ac_cv_cpp_def___x86_64__=yes
18690 else
18691 ac_cv_cpp_def___x86_64__=no
18693 rm -f conftest*
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18697 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18698 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18699 CFLAGS="$CFLAGS -D__x86_64__"
18700 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18701 fi ;;
18702 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18703 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18704 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18705 $as_echo_n "(cached) " >&6
18706 else
18707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18708 /* end confdefs.h. */
18709 #ifndef __sparc64__
18711 #endif
18712 _ACEOF
18713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18714 $EGREP "yes" >/dev/null 2>&1; then :
18715 ac_cv_cpp_def___sparc64__=yes
18716 else
18717 ac_cv_cpp_def___sparc64__=no
18719 rm -f conftest*
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18723 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18724 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18725 CFLAGS="$CFLAGS -D__sparc64__"
18726 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18727 fi ;;
18728 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18729 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18730 if ${ac_cv_cpp_def___sparc__+:} false; then :
18731 $as_echo_n "(cached) " >&6
18732 else
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 #ifndef __sparc__
18737 #endif
18738 _ACEOF
18739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18740 $EGREP "yes" >/dev/null 2>&1; then :
18741 ac_cv_cpp_def___sparc__=yes
18742 else
18743 ac_cv_cpp_def___sparc__=no
18745 rm -f conftest*
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18749 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18750 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18751 CFLAGS="$CFLAGS -D__sparc__"
18752 LINTFLAGS="$LINTFLAGS -D__sparc__"
18753 fi ;;
18754 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18755 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18756 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18757 $as_echo_n "(cached) " >&6
18758 else
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 #ifndef __powerpc64__
18763 #endif
18764 _ACEOF
18765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18766 $EGREP "yes" >/dev/null 2>&1; then :
18767 ac_cv_cpp_def___powerpc64__=yes
18768 else
18769 ac_cv_cpp_def___powerpc64__=no
18771 rm -f conftest*
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18775 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18776 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18777 CFLAGS="$CFLAGS -D__powerpc64__"
18778 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18779 fi ;;
18780 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18781 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18782 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18783 $as_echo_n "(cached) " >&6
18784 else
18785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18786 /* end confdefs.h. */
18787 #ifndef __powerpc__
18789 #endif
18790 _ACEOF
18791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18792 $EGREP "yes" >/dev/null 2>&1; then :
18793 ac_cv_cpp_def___powerpc__=yes
18794 else
18795 ac_cv_cpp_def___powerpc__=no
18797 rm -f conftest*
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18801 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18802 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18803 CFLAGS="$CFLAGS -D__powerpc__"
18804 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18805 fi ;;
18806 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18807 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18808 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #ifndef __aarch64__
18815 #endif
18816 _ACEOF
18817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18818 $EGREP "yes" >/dev/null 2>&1; then :
18819 ac_cv_cpp_def___aarch64__=yes
18820 else
18821 ac_cv_cpp_def___aarch64__=no
18823 rm -f conftest*
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18827 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18828 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18829 CFLAGS="$CFLAGS -D__aarch64__"
18830 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18831 fi ;;
18832 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18833 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18834 if ${ac_cv_cpp_def___arm__+:} false; then :
18835 $as_echo_n "(cached) " >&6
18836 else
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 #ifndef __arm__
18841 #endif
18842 _ACEOF
18843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18844 $EGREP "yes" >/dev/null 2>&1; then :
18845 ac_cv_cpp_def___arm__=yes
18846 else
18847 ac_cv_cpp_def___arm__=no
18849 rm -f conftest*
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18853 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18854 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18855 CFLAGS="$CFLAGS -D__arm__"
18856 LINTFLAGS="$LINTFLAGS -D__arm__"
18857 fi ;;
18858 esac
18860 case $host_vendor in
18861 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18862 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18863 if ${ac_cv_cpp_def___sun__+:} false; then :
18864 $as_echo_n "(cached) " >&6
18865 else
18866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18867 /* end confdefs.h. */
18868 #ifndef __sun__
18870 #endif
18871 _ACEOF
18872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18873 $EGREP "yes" >/dev/null 2>&1; then :
18874 ac_cv_cpp_def___sun__=yes
18875 else
18876 ac_cv_cpp_def___sun__=no
18878 rm -f conftest*
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18882 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18883 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18884 CFLAGS="$CFLAGS -D__sun__"
18885 LINTFLAGS="$LINTFLAGS -D__sun__"
18886 fi ;;
18887 esac
18893 ac_config_commands="$ac_config_commands include/stamp-h"
18895 $as_echo_n "creating Makefile rules..." >&6
18897 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18898 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18899 IOKIT_LIBS = $IOKIT_LIBS
18900 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18901 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18902 CORESERVICES_LIBS = $CORESERVICES_LIBS
18903 APPKIT_LIBS = $APPKIT_LIBS
18904 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18905 SECURITY_LIBS = $SECURITY_LIBS
18906 COREAUDIO_LIBS = $COREAUDIO_LIBS
18907 OPENAL_LIBS = $OPENAL_LIBS
18908 OPENCL_LIBS = $OPENCL_LIBS
18909 QUICKTIME_LIBS = $QUICKTIME_LIBS
18910 CARBON_LIBS = $CARBON_LIBS
18911 METAL_LIBS = $METAL_LIBS
18912 PTHREAD_LIBS = $PTHREAD_LIBS
18913 X_CFLAGS = $X_CFLAGS
18914 X_PRE_LIBS = $X_PRE_LIBS
18915 X_LIBS = $X_LIBS
18916 X_EXTRA_LIBS = $X_EXTRA_LIBS
18917 PCAP_LIBS = $PCAP_LIBS
18918 XML2_CFLAGS = $XML2_CFLAGS
18919 XML2_LIBS = $XML2_LIBS
18920 XSLT_CFLAGS = $XSLT_CFLAGS
18921 XSLT_LIBS = $XSLT_LIBS
18922 DBUS_CFLAGS = $DBUS_CFLAGS
18923 DBUS_LIBS = $DBUS_LIBS
18924 HAL_CFLAGS = $HAL_CFLAGS
18925 HAL_LIBS = $HAL_LIBS
18926 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18927 GNUTLS_LIBS = $GNUTLS_LIBS
18928 SANE_CFLAGS = $SANE_CFLAGS
18929 SANE_LIBS = $SANE_LIBS
18930 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18931 GPHOTO2_LIBS = $GPHOTO2_LIBS
18932 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18933 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18934 RESOLV_LIBS = $RESOLV_LIBS
18935 LCMS2_CFLAGS = $LCMS2_CFLAGS
18936 LCMS2_LIBS = $LCMS2_LIBS
18937 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18938 FREETYPE_LIBS = $FREETYPE_LIBS
18939 Z_LIBS = $Z_LIBS
18940 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18941 PULSE_CFLAGS = $PULSE_CFLAGS
18942 PULSE_LIBS = $PULSE_LIBS
18943 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18944 GSTREAMER_LIBS = $GSTREAMER_LIBS
18945 ALSA_LIBS = $ALSA_LIBS
18946 OSS4_CFLAGS = $OSS4_CFLAGS
18947 UDEV_CFLAGS = $UDEV_CFLAGS
18948 UDEV_LIBS = $UDEV_LIBS
18949 SDL2_CFLAGS = $SDL2_CFLAGS
18950 SDL2_LIBS = $SDL2_LIBS
18951 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
18952 FAUDIO_LIBS = $FAUDIO_LIBS
18953 CAPI20_CFLAGS = $CAPI20_CFLAGS
18954 CAPI20_LIBS = $CAPI20_LIBS
18955 CUPS_CFLAGS = $CUPS_CFLAGS
18956 CUPS_LIBS = $CUPS_LIBS
18957 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18958 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18959 KRB5_CFLAGS = $KRB5_CFLAGS
18960 KRB5_LIBS = $KRB5_LIBS
18961 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18962 GSSAPI_LIBS = $GSSAPI_LIBS
18963 JPEG_CFLAGS = $JPEG_CFLAGS
18964 JPEG_LIBS = $JPEG_LIBS
18965 PNG_CFLAGS = $PNG_CFLAGS
18966 PNG_LIBS = $PNG_LIBS
18967 TIFF_CFLAGS = $TIFF_CFLAGS
18968 TIFF_LIBS = $TIFF_LIBS
18969 MPG123_CFLAGS = $MPG123_CFLAGS
18970 MPG123_LIBS = $MPG123_LIBS
18971 KSTAT_LIBS = $KSTAT_LIBS
18972 PROCSTAT_LIBS = $PROCSTAT_LIBS
18973 NETAPI_CFLAGS = $NETAPI_CFLAGS
18974 NETAPI_LIBS = $NETAPI_LIBS
18975 VKD3D_CFLAGS = $VKD3D_CFLAGS
18976 VKD3D_LIBS = $VKD3D_LIBS
18977 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18978 DL_LIBS = $DL_LIBS
18979 POLL_LIBS = $POLL_LIBS
18980 RT_LIBS = $RT_LIBS
18981 LDAP_CFLAGS = $LDAP_CFLAGS
18982 LDAP_LIBS = $LDAP_LIBS
18987 wine_fn_append_rule "
18988 # Rules automatically generated by configure
18990 .INIT: Makefile
18991 .MAKEFILEDEPS:
18992 all: Makefile
18993 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18994 @./config.status Make.tmp Makefile
18995 depend: \$(MAKEDEP) dummy
18996 \$(MAKEDEP)"
18998 if test "x$enable_fonts" != xno; then
18999 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19000 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19001 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19002 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19003 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19004 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19006 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19007 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19008 ac_config_links="$ac_config_links wine:tools/winewrapper"
19009 wine_fn_config_symlink wine
19010 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19011 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19012 wine_fn_config_symlink wine64
19015 wine_fn_config_makefile dlls/acledit enable_acledit
19016 wine_fn_config_makefile dlls/aclui enable_aclui
19017 wine_fn_config_makefile dlls/activeds enable_activeds
19018 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19019 wine_fn_config_makefile dlls/adsiid enable_adsiid
19020 wine_fn_config_makefile dlls/adsldp enable_adsldp
19021 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19022 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19023 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19024 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19025 wine_fn_config_makefile dlls/advpack enable_advpack
19026 wine_fn_config_makefile dlls/advpack/tests enable_tests
19027 wine_fn_config_makefile dlls/amsi enable_amsi
19028 wine_fn_config_makefile dlls/amstream enable_amstream
19029 wine_fn_config_makefile dlls/amstream/tests enable_tests
19030 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19031 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19032 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19033 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19035 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19038 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19040 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19041 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19044 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19048 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19050 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19052 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19054 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19055 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19056 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19058 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19061 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19062 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19064 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19065 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19074 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19078 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19079 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19082 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19084 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19085 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19088 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19096 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19097 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19104 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19108 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19109 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19110 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19132 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19135 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19136 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19138 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19139 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19141 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19149 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19154 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19155 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19160 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19162 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19181 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19182 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19201 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19208 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19209 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19210 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19211 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19212 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19213 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19214 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19216 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19218 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19219 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19220 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19221 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19222 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19223 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19224 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19225 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19226 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19227 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19228 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19229 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19230 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19231 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19232 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19233 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19234 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19235 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19236 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19237 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19238 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19239 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19240 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19241 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19242 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19243 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19244 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19245 wine_fn_config_makefile dlls/apphelp enable_apphelp
19246 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19247 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19248 wine_fn_config_makefile dlls/atl enable_atl
19249 wine_fn_config_makefile dlls/atl/tests enable_tests
19250 wine_fn_config_makefile dlls/atl100 enable_atl100
19251 wine_fn_config_makefile dlls/atl100/tests enable_tests
19252 wine_fn_config_makefile dlls/atl110 enable_atl110
19253 wine_fn_config_makefile dlls/atl80 enable_atl80
19254 wine_fn_config_makefile dlls/atl80/tests enable_tests
19255 wine_fn_config_makefile dlls/atl90 enable_atl90
19256 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19257 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19258 wine_fn_config_makefile dlls/atmlib enable_atmlib
19259 wine_fn_config_makefile dlls/authz enable_authz
19260 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19261 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19262 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19263 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19264 wine_fn_config_makefile dlls/avrt enable_avrt
19265 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19266 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19267 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19268 wine_fn_config_makefile dlls/browseui enable_browseui
19269 wine_fn_config_makefile dlls/browseui/tests enable_tests
19270 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19271 wine_fn_config_makefile dlls/cabinet enable_cabinet
19272 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19273 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19274 wine_fn_config_makefile dlls/cards enable_cards
19275 wine_fn_config_makefile dlls/cdosys enable_cdosys
19276 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19277 wine_fn_config_makefile dlls/clusapi enable_clusapi
19278 wine_fn_config_makefile dlls/combase enable_combase
19279 wine_fn_config_makefile dlls/combase/tests enable_tests
19280 wine_fn_config_makefile dlls/comcat enable_comcat
19281 wine_fn_config_makefile dlls/comcat/tests enable_tests
19282 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19283 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19284 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19285 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19286 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19287 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19288 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19289 wine_fn_config_makefile dlls/compstui enable_compstui
19290 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19291 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19292 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19293 wine_fn_config_makefile dlls/connect enable_connect
19294 wine_fn_config_makefile dlls/credui enable_credui
19295 wine_fn_config_makefile dlls/credui/tests enable_tests
19296 wine_fn_config_makefile dlls/crtdll enable_crtdll
19297 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19298 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19299 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19300 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19301 wine_fn_config_makefile dlls/cryptext enable_cryptext
19302 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19303 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19304 wine_fn_config_makefile dlls/cryptui enable_cryptui
19305 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19306 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19307 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19308 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19309 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19310 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19311 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19312 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19313 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19314 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19315 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19316 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19317 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19318 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19319 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19320 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19321 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19322 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19323 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19324 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19325 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19326 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19327 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19328 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19329 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19330 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19331 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19332 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19333 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19334 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19335 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19336 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19337 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19338 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19339 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19340 wine_fn_config_makefile dlls/d3dim enable_d3dim
19341 wine_fn_config_makefile dlls/d3drm enable_d3drm
19342 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19343 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19344 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19345 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19346 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19347 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19348 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19349 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19350 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19351 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19352 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19353 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19354 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19355 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19356 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19357 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19358 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19359 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19360 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19361 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19362 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19363 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19364 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19365 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19366 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19367 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19368 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19369 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19370 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19371 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19372 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19373 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19374 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19375 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19376 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19377 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19378 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19379 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19380 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19381 wine_fn_config_makefile dlls/davclnt enable_davclnt
19382 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19383 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19384 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19385 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19386 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19387 wine_fn_config_makefile dlls/ddraw enable_ddraw
19388 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19389 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19390 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19391 wine_fn_config_makefile dlls/devenum enable_devenum
19392 wine_fn_config_makefile dlls/devenum/tests enable_tests
19393 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19394 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19395 wine_fn_config_makefile dlls/difxapi enable_difxapi
19396 wine_fn_config_makefile dlls/dinput enable_dinput
19397 wine_fn_config_makefile dlls/dinput/tests enable_tests
19398 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19399 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19400 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19401 wine_fn_config_makefile dlls/dispex enable_dispex
19402 wine_fn_config_makefile dlls/dispex/tests enable_tests
19403 wine_fn_config_makefile dlls/display.drv16 enable_win16
19404 wine_fn_config_makefile dlls/dmband enable_dmband
19405 wine_fn_config_makefile dlls/dmband/tests enable_tests
19406 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19407 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19408 wine_fn_config_makefile dlls/dmime enable_dmime
19409 wine_fn_config_makefile dlls/dmime/tests enable_tests
19410 wine_fn_config_makefile dlls/dmloader enable_dmloader
19411 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19412 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19413 wine_fn_config_makefile dlls/dmscript enable_dmscript
19414 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19415 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19416 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19417 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19418 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19419 wine_fn_config_makefile dlls/dmusic enable_dmusic
19420 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19421 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19422 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19423 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19424 wine_fn_config_makefile dlls/dplay enable_dplay
19425 wine_fn_config_makefile dlls/dplayx enable_dplayx
19426 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19427 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19428 wine_fn_config_makefile dlls/dpnet enable_dpnet
19429 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19430 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19431 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19432 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19433 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19434 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19435 wine_fn_config_makefile dlls/drmclien enable_drmclien
19436 wine_fn_config_makefile dlls/dsound enable_dsound
19437 wine_fn_config_makefile dlls/dsound/tests enable_tests
19438 wine_fn_config_makefile dlls/dsquery enable_dsquery
19439 wine_fn_config_makefile dlls/dssenh enable_dssenh
19440 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19441 wine_fn_config_makefile dlls/dswave enable_dswave
19442 wine_fn_config_makefile dlls/dswave/tests enable_tests
19443 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19444 wine_fn_config_makefile dlls/dwrite enable_dwrite
19445 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19446 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19447 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19448 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19449 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19450 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19451 wine_fn_config_makefile dlls/dxgi enable_dxgi
19452 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19453 wine_fn_config_makefile dlls/dxguid enable_dxguid
19454 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19455 wine_fn_config_makefile dlls/esent enable_esent
19456 wine_fn_config_makefile dlls/evr enable_evr
19457 wine_fn_config_makefile dlls/evr/tests enable_tests
19458 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19459 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19460 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19461 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19462 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19463 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19464 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19465 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19466 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19467 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19468 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19469 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19470 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19471 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19472 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19473 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19474 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19475 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19476 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19477 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19478 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19479 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19480 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19481 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19482 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19483 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19484 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19485 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19486 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19487 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19488 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19489 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19490 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19491 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19492 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19493 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19494 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19495 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19496 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19497 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19498 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19499 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19500 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
19501 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19502 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19503 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19504 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19505 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19506 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19507 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19508 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19509 wine_fn_config_makefile dlls/faultrep enable_faultrep
19510 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19511 wine_fn_config_makefile dlls/feclient enable_feclient
19512 wine_fn_config_makefile dlls/fltlib enable_fltlib
19513 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19514 wine_fn_config_makefile dlls/fntcache enable_fntcache
19515 wine_fn_config_makefile dlls/fontsub enable_fontsub
19516 wine_fn_config_makefile dlls/fusion enable_fusion
19517 wine_fn_config_makefile dlls/fusion/tests enable_tests
19518 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19519 wine_fn_config_makefile dlls/gameux enable_gameux
19520 wine_fn_config_makefile dlls/gameux/tests enable_tests
19521 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19522 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19523 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19524 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19525 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19526 wine_fn_config_makefile dlls/glu32 enable_glu32
19527 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19528 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19529 wine_fn_config_makefile dlls/hal enable_hal
19530 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19531 wine_fn_config_makefile dlls/hid enable_hid
19532 wine_fn_config_makefile dlls/hid/tests enable_tests
19533 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19534 wine_fn_config_makefile dlls/hlink enable_hlink
19535 wine_fn_config_makefile dlls/hlink/tests enable_tests
19536 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19537 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19538 wine_fn_config_makefile dlls/httpapi enable_httpapi
19539 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19540 wine_fn_config_makefile dlls/iccvid enable_iccvid
19541 wine_fn_config_makefile dlls/icmp enable_icmp
19542 wine_fn_config_makefile dlls/ieframe enable_ieframe
19543 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19544 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19545 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19546 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19547 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19548 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19549 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19550 wine_fn_config_makefile dlls/imm32 enable_imm32
19551 wine_fn_config_makefile dlls/imm32/tests enable_tests
19552 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19553 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19554 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19555 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19556 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19557 wine_fn_config_makefile dlls/infosoft enable_infosoft
19558 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19559 wine_fn_config_makefile dlls/initpki enable_initpki
19560 wine_fn_config_makefile dlls/inkobj enable_inkobj
19561 wine_fn_config_makefile dlls/inseng enable_inseng
19562 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19563 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19564 wine_fn_config_makefile dlls/iprop enable_iprop
19565 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19566 wine_fn_config_makefile dlls/itircl enable_itircl
19567 wine_fn_config_makefile dlls/itss enable_itss
19568 wine_fn_config_makefile dlls/itss/tests enable_tests
19569 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19570 wine_fn_config_makefile dlls/jscript enable_jscript
19571 wine_fn_config_makefile dlls/jscript/tests enable_tests
19572 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19573 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19574 wine_fn_config_makefile dlls/kerberos enable_kerberos
19575 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19576 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19577 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19578 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19579 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19580 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19581 wine_fn_config_makefile dlls/ksuser enable_ksuser
19582 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19583 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19584 wine_fn_config_makefile dlls/loadperf enable_loadperf
19585 wine_fn_config_makefile dlls/localspl enable_localspl
19586 wine_fn_config_makefile dlls/localspl/tests enable_tests
19587 wine_fn_config_makefile dlls/localui enable_localui
19588 wine_fn_config_makefile dlls/localui/tests enable_tests
19589 wine_fn_config_makefile dlls/lz32 enable_lz32
19590 wine_fn_config_makefile dlls/lz32/tests enable_tests
19591 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19592 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19593 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19594 wine_fn_config_makefile dlls/mapistub enable_mapistub
19595 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19596 wine_fn_config_makefile dlls/mcicda enable_mcicda
19597 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19598 wine_fn_config_makefile dlls/mciseq enable_mciseq
19599 wine_fn_config_makefile dlls/mciwave enable_mciwave
19600 wine_fn_config_makefile dlls/mf enable_mf
19601 wine_fn_config_makefile dlls/mf/tests enable_tests
19602 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19603 wine_fn_config_makefile dlls/mferror enable_mferror
19604 wine_fn_config_makefile dlls/mfplat enable_mfplat
19605 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19606 wine_fn_config_makefile dlls/mfplay enable_mfplay
19607 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19608 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19609 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19610 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19611 wine_fn_config_makefile dlls/midimap enable_midimap
19612 wine_fn_config_makefile dlls/mlang enable_mlang
19613 wine_fn_config_makefile dlls/mlang/tests enable_tests
19614 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19615 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19616 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19617 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19618 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19619 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19620 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19621 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19622 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19623 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19624 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19625 wine_fn_config_makefile dlls/mpr enable_mpr
19626 wine_fn_config_makefile dlls/mpr/tests enable_tests
19627 wine_fn_config_makefile dlls/mprapi enable_mprapi
19628 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19629 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19630 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19631 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19632 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19633 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19634 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19635 wine_fn_config_makefile dlls/mscms enable_mscms
19636 wine_fn_config_makefile dlls/mscms/tests enable_tests
19637 wine_fn_config_makefile dlls/mscoree enable_mscoree
19638 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19639 wine_fn_config_makefile dlls/msctf enable_msctf
19640 wine_fn_config_makefile dlls/msctf/tests enable_tests
19641 wine_fn_config_makefile dlls/msctfp enable_msctfp
19642 wine_fn_config_makefile dlls/msdaps enable_msdaps
19643 wine_fn_config_makefile dlls/msdelta enable_msdelta
19644 wine_fn_config_makefile dlls/msdmo enable_msdmo
19645 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19646 wine_fn_config_makefile dlls/msdrm enable_msdrm
19647 wine_fn_config_makefile dlls/msftedit enable_msftedit
19648 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19649 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19650 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19651 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19652 wine_fn_config_makefile dlls/mshtml enable_mshtml
19653 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19654 wine_fn_config_makefile dlls/msi enable_msi
19655 wine_fn_config_makefile dlls/msi/tests enable_tests
19656 wine_fn_config_makefile dlls/msident enable_msident
19657 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19658 wine_fn_config_makefile dlls/msimsg enable_msimsg
19659 wine_fn_config_makefile dlls/msimtf enable_msimtf
19660 wine_fn_config_makefile dlls/msisip enable_msisip
19661 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19662 wine_fn_config_makefile dlls/msls31 enable_msls31
19663 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19664 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19665 wine_fn_config_makefile dlls/msports enable_msports
19666 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19667 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19668 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19669 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19670 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19671 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19672 wine_fn_config_makefile dlls/mstask enable_mstask
19673 wine_fn_config_makefile dlls/mstask/tests enable_tests
19674 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19675 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19676 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19677 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19678 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19679 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19680 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19681 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19682 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19683 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19684 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19685 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19686 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19687 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19688 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19689 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19690 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19691 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19692 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19693 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19694 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19695 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19696 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19697 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19698 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19699 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19700 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19701 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19702 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19703 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19704 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19705 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19706 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19707 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19708 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19709 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19710 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19711 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19712 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19713 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19714 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19715 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19716 wine_fn_config_makefile dlls/mswsock enable_mswsock
19717 wine_fn_config_makefile dlls/msxml enable_msxml
19718 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19719 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19720 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19721 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19722 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19723 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19724 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19725 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19726 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19727 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19728 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19729 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19730 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19731 wine_fn_config_makefile dlls/netprofm enable_netprofm
19732 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19733 wine_fn_config_makefile dlls/newdev enable_newdev
19734 wine_fn_config_makefile dlls/ninput enable_ninput
19735 wine_fn_config_makefile dlls/ninput/tests enable_tests
19736 wine_fn_config_makefile dlls/normaliz enable_normaliz
19737 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19738 wine_fn_config_makefile dlls/npptools enable_npptools
19739 wine_fn_config_makefile dlls/ntdll enable_ntdll
19740 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19741 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19742 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19743 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19744 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19745 wine_fn_config_makefile dlls/ntprint enable_ntprint
19746 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19747 wine_fn_config_makefile dlls/objsel enable_objsel
19748 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19749 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19750 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19751 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19752 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19753 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19754 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19755 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19756 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19757 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19758 wine_fn_config_makefile dlls/ole32 enable_ole32
19759 wine_fn_config_makefile dlls/ole32/tests enable_tests
19760 wine_fn_config_makefile dlls/oleacc enable_oleacc
19761 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19762 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19763 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19764 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19765 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19766 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19767 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19768 wine_fn_config_makefile dlls/oledlg enable_oledlg
19769 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19770 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19771 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19772 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19773 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19774 wine_fn_config_makefile dlls/opcservices enable_opcservices
19775 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19776 wine_fn_config_makefile dlls/openal32 enable_openal32
19777 wine_fn_config_makefile dlls/opencl enable_opencl
19778 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19779 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19780 wine_fn_config_makefile dlls/packager enable_packager
19781 wine_fn_config_makefile dlls/packager/tests enable_tests
19782 wine_fn_config_makefile dlls/pdh enable_pdh
19783 wine_fn_config_makefile dlls/pdh/tests enable_tests
19784 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19785 wine_fn_config_makefile dlls/pidgen enable_pidgen
19786 wine_fn_config_makefile dlls/powrprof enable_powrprof
19787 wine_fn_config_makefile dlls/printui enable_printui
19788 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19789 wine_fn_config_makefile dlls/propsys enable_propsys
19790 wine_fn_config_makefile dlls/propsys/tests enable_tests
19791 wine_fn_config_makefile dlls/psapi enable_psapi
19792 wine_fn_config_makefile dlls/psapi/tests enable_tests
19793 wine_fn_config_makefile dlls/pstorec enable_pstorec
19794 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19795 wine_fn_config_makefile dlls/qcap enable_qcap
19796 wine_fn_config_makefile dlls/qcap/tests enable_tests
19797 wine_fn_config_makefile dlls/qedit enable_qedit
19798 wine_fn_config_makefile dlls/qedit/tests enable_tests
19799 wine_fn_config_makefile dlls/qmgr enable_qmgr
19800 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19801 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19802 wine_fn_config_makefile dlls/quartz enable_quartz
19803 wine_fn_config_makefile dlls/quartz/tests enable_tests
19804 wine_fn_config_makefile dlls/query enable_query
19805 wine_fn_config_makefile dlls/qwave enable_qwave
19806 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19807 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19808 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19809 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19810 wine_fn_config_makefile dlls/regapi enable_regapi
19811 wine_fn_config_makefile dlls/resutils enable_resutils
19812 wine_fn_config_makefile dlls/riched20 enable_riched20
19813 wine_fn_config_makefile dlls/riched20/tests enable_tests
19814 wine_fn_config_makefile dlls/riched32 enable_riched32
19815 wine_fn_config_makefile dlls/riched32/tests enable_tests
19816 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19817 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19818 wine_fn_config_makefile dlls/rsabase enable_rsabase
19819 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19820 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19821 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19822 wine_fn_config_makefile dlls/rtutils enable_rtutils
19823 wine_fn_config_makefile dlls/samlib enable_samlib
19824 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19825 wine_fn_config_makefile dlls/sapi enable_sapi
19826 wine_fn_config_makefile dlls/sapi/tests enable_tests
19827 wine_fn_config_makefile dlls/sas enable_sas
19828 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19829 wine_fn_config_makefile dlls/sccbase enable_sccbase
19830 wine_fn_config_makefile dlls/schannel enable_schannel
19831 wine_fn_config_makefile dlls/schannel/tests enable_tests
19832 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19833 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19834 wine_fn_config_makefile dlls/scrobj enable_scrobj
19835 wine_fn_config_makefile dlls/scrrun enable_scrrun
19836 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19837 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19838 wine_fn_config_makefile dlls/secur32 enable_secur32
19839 wine_fn_config_makefile dlls/secur32/tests enable_tests
19840 wine_fn_config_makefile dlls/security enable_security
19841 wine_fn_config_makefile dlls/sensapi enable_sensapi
19842 wine_fn_config_makefile dlls/serialui enable_serialui
19843 wine_fn_config_makefile dlls/serialui/tests enable_tests
19844 wine_fn_config_makefile dlls/setupapi enable_setupapi
19845 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19846 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19847 wine_fn_config_makefile dlls/sfc enable_sfc
19848 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19849 wine_fn_config_makefile dlls/shcore enable_shcore
19850 wine_fn_config_makefile dlls/shcore/tests enable_tests
19851 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19852 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19853 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19854 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19855 wine_fn_config_makefile dlls/shell32 enable_shell32
19856 wine_fn_config_makefile dlls/shell32/tests enable_tests
19857 wine_fn_config_makefile dlls/shfolder enable_shfolder
19858 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19859 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19860 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19861 wine_fn_config_makefile dlls/slc enable_slc
19862 wine_fn_config_makefile dlls/slc/tests enable_tests
19863 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19864 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19865 wine_fn_config_makefile dlls/softpub enable_softpub
19866 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19867 wine_fn_config_makefile dlls/spoolss enable_spoolss
19868 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19869 wine_fn_config_makefile dlls/srclient enable_srclient
19870 wine_fn_config_makefile dlls/sspicli enable_sspicli
19871 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19872 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19873 wine_fn_config_makefile dlls/sti enable_sti
19874 wine_fn_config_makefile dlls/sti/tests enable_tests
19875 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19876 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19877 wine_fn_config_makefile dlls/strmbase enable_strmbase
19878 wine_fn_config_makefile dlls/strmdll enable_strmdll
19879 wine_fn_config_makefile dlls/strmiids enable_strmiids
19880 wine_fn_config_makefile dlls/svrapi enable_svrapi
19881 wine_fn_config_makefile dlls/sxs enable_sxs
19882 wine_fn_config_makefile dlls/sxs/tests enable_tests
19883 wine_fn_config_makefile dlls/system.drv16 enable_win16
19884 wine_fn_config_makefile dlls/t2embed enable_t2embed
19885 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19886 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19887 wine_fn_config_makefile dlls/taskschd enable_taskschd
19888 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19889 wine_fn_config_makefile dlls/tdh enable_tdh
19890 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19891 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19892 wine_fn_config_makefile dlls/traffic enable_traffic
19893 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19894 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19895 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19896 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19897 wine_fn_config_makefile dlls/tzres enable_tzres
19898 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19899 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19900 wine_fn_config_makefile dlls/uianimation enable_uianimation
19901 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19902 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19903 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19904 wine_fn_config_makefile dlls/unicows enable_unicows
19905 wine_fn_config_makefile dlls/updspapi enable_updspapi
19906 wine_fn_config_makefile dlls/url enable_url
19907 wine_fn_config_makefile dlls/urlmon enable_urlmon
19908 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19909 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19910 wine_fn_config_makefile dlls/user.exe16 enable_win16
19911 wine_fn_config_makefile dlls/user32 enable_user32
19912 wine_fn_config_makefile dlls/user32/tests enable_tests
19913 wine_fn_config_makefile dlls/userenv enable_userenv
19914 wine_fn_config_makefile dlls/userenv/tests enable_tests
19915 wine_fn_config_makefile dlls/usp10 enable_usp10
19916 wine_fn_config_makefile dlls/usp10/tests enable_tests
19917 wine_fn_config_makefile dlls/uuid enable_uuid
19918 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19919 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19920 wine_fn_config_makefile dlls/vbscript enable_vbscript
19921 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19922 wine_fn_config_makefile dlls/vcomp enable_vcomp
19923 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19924 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19925 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19926 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19927 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19928 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19929 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19930 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19931 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19932 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19933 wine_fn_config_makefile dlls/version enable_version
19934 wine_fn_config_makefile dlls/version/tests enable_tests
19935 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19936 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19937 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19938 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19939 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19940 wine_fn_config_makefile dlls/vssapi enable_vssapi
19941 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19942 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19943 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19944 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19945 wine_fn_config_makefile dlls/w32skrnl enable_win16
19946 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19947 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19948 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19949 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19950 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19951 wine_fn_config_makefile dlls/wdscore enable_wdscore
19952 wine_fn_config_makefile dlls/webservices enable_webservices
19953 wine_fn_config_makefile dlls/webservices/tests enable_tests
19954 wine_fn_config_makefile dlls/wer enable_wer
19955 wine_fn_config_makefile dlls/wer/tests enable_tests
19956 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19957 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19958 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19959 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19960 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19961 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19962 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19963 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19964 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19965 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19966 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19967 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19968 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19969 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19970 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19971 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19972 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19973 wine_fn_config_makefile dlls/wined3d enable_wined3d
19974 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19975 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19976 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19977 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19978 wine_fn_config_makefile dlls/winemapi enable_winemapi
19979 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19980 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19981 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19982 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19983 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19984 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19985 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19986 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19987 wine_fn_config_makefile dlls/wing32 enable_wing32
19988 wine_fn_config_makefile dlls/winhttp enable_winhttp
19989 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19990 wine_fn_config_makefile dlls/wininet enable_wininet
19991 wine_fn_config_makefile dlls/wininet/tests enable_tests
19992 wine_fn_config_makefile dlls/winmm enable_winmm
19993 wine_fn_config_makefile dlls/winmm/tests enable_tests
19994 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19995 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19996 wine_fn_config_makefile dlls/winscard enable_winscard
19997 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19998 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19999 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20000 wine_fn_config_makefile dlls/winsta enable_winsta
20001 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20002 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20003 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20004 wine_fn_config_makefile dlls/wintrust enable_wintrust
20005 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20006 wine_fn_config_makefile dlls/winusb enable_winusb
20007 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20008 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20009 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20010 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20011 wine_fn_config_makefile dlls/wmasf enable_wmasf
20012 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20013 wine_fn_config_makefile dlls/wmi enable_wmi
20014 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20015 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20016 wine_fn_config_makefile dlls/wmp enable_wmp
20017 wine_fn_config_makefile dlls/wmp/tests enable_tests
20018 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20019 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20020 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20021 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20022 wine_fn_config_makefile dlls/wow32 enable_win16
20023 wine_fn_config_makefile dlls/wpc enable_wpc
20024 wine_fn_config_makefile dlls/wpc/tests enable_tests
20025 wine_fn_config_makefile dlls/wpcap enable_wpcap
20026 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20027 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20028 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20029 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20030 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20031 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20032 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20033 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20034 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20035 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20036 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20037 wine_fn_config_makefile dlls/wuapi enable_wuapi
20038 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20039 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20040 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20041 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20042 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20043 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20044 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20045 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20046 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20047 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20048 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20049 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20050 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20051 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20052 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20053 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20054 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20055 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20056 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20057 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20058 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20059 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20060 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20061 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20062 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20063 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20064 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20065 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20066 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20067 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20068 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20069 wine_fn_config_makefile dlls/xmllite enable_xmllite
20070 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20071 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20072 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20073 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20074 wine_fn_config_makefile fonts enable_fonts
20075 wine_fn_config_makefile include enable_include
20076 wine_fn_config_makefile libs/port enable_port
20077 wine_fn_config_makefile libs/wine enable_wine
20078 wine_fn_config_makefile libs/wpp enable_wpp
20079 wine_fn_config_makefile loader enable_loader
20080 wine_fn_config_makefile po enable_po
20081 wine_fn_config_makefile programs/arp enable_arp
20082 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20083 wine_fn_config_makefile programs/attrib enable_attrib
20084 wine_fn_config_makefile programs/cabarc enable_cabarc
20085 wine_fn_config_makefile programs/cacls enable_cacls
20086 wine_fn_config_makefile programs/clock enable_clock
20087 wine_fn_config_makefile programs/cmd enable_cmd
20088 wine_fn_config_makefile programs/cmd/tests enable_tests
20089 wine_fn_config_makefile programs/conhost enable_conhost
20090 wine_fn_config_makefile programs/control enable_control
20091 wine_fn_config_makefile programs/cscript enable_cscript
20092 wine_fn_config_makefile programs/dism enable_dism
20093 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20094 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20095 wine_fn_config_makefile programs/eject enable_eject
20096 wine_fn_config_makefile programs/expand enable_expand
20097 wine_fn_config_makefile programs/explorer enable_explorer
20098 wine_fn_config_makefile programs/extrac32 enable_extrac32
20099 wine_fn_config_makefile programs/fc enable_fc
20100 wine_fn_config_makefile programs/find enable_find
20101 wine_fn_config_makefile programs/findstr enable_findstr
20102 wine_fn_config_makefile programs/fsutil enable_fsutil
20103 wine_fn_config_makefile programs/hh enable_hh
20104 wine_fn_config_makefile programs/hostname enable_hostname
20105 wine_fn_config_makefile programs/icacls enable_icacls
20106 wine_fn_config_makefile programs/icinfo enable_icinfo
20107 wine_fn_config_makefile programs/iexplore enable_iexplore
20108 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20109 wine_fn_config_makefile programs/lodctr enable_lodctr
20110 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20111 wine_fn_config_makefile programs/mshta enable_mshta
20112 wine_fn_config_makefile programs/msidb enable_msidb
20113 wine_fn_config_makefile programs/msiexec enable_msiexec
20114 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20115 wine_fn_config_makefile programs/net enable_net
20116 wine_fn_config_makefile programs/netsh enable_netsh
20117 wine_fn_config_makefile programs/netstat enable_netstat
20118 wine_fn_config_makefile programs/ngen enable_ngen
20119 wine_fn_config_makefile programs/notepad enable_notepad
20120 wine_fn_config_makefile programs/oleview enable_oleview
20121 wine_fn_config_makefile programs/ping enable_ping
20122 wine_fn_config_makefile programs/plugplay enable_plugplay
20123 wine_fn_config_makefile programs/powershell enable_powershell
20124 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20125 wine_fn_config_makefile programs/progman enable_progman
20126 wine_fn_config_makefile programs/reg enable_reg
20127 wine_fn_config_makefile programs/reg/tests enable_tests
20128 wine_fn_config_makefile programs/regasm enable_regasm
20129 wine_fn_config_makefile programs/regedit enable_regedit
20130 wine_fn_config_makefile programs/regedit/tests enable_tests
20131 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20132 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20133 wine_fn_config_makefile programs/rpcss enable_rpcss
20134 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20135 wine_fn_config_makefile programs/rundll32 enable_rundll32
20136 wine_fn_config_makefile programs/sc enable_sc
20137 wine_fn_config_makefile programs/schtasks enable_schtasks
20138 wine_fn_config_makefile programs/schtasks/tests enable_tests
20139 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20140 wine_fn_config_makefile programs/secedit enable_secedit
20141 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20142 wine_fn_config_makefile programs/services enable_services
20143 wine_fn_config_makefile programs/services/tests enable_tests
20144 wine_fn_config_makefile programs/shutdown enable_shutdown
20145 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20146 wine_fn_config_makefile programs/start enable_start
20147 wine_fn_config_makefile programs/subst enable_subst
20148 wine_fn_config_makefile programs/svchost enable_svchost
20149 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20150 wine_fn_config_makefile programs/taskkill enable_taskkill
20151 wine_fn_config_makefile programs/tasklist enable_tasklist
20152 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20153 wine_fn_config_makefile programs/termsv enable_termsv
20154 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20155 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20156 wine_fn_config_makefile programs/view enable_view
20157 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20158 wine_fn_config_makefile programs/wineboot enable_wineboot
20159 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20160 wine_fn_config_makefile programs/winecfg enable_winecfg
20161 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20162 wine_fn_config_makefile programs/winedbg enable_winedbg
20163 wine_fn_config_makefile programs/winedevice enable_winedevice
20164 wine_fn_config_makefile programs/winefile enable_winefile
20165 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20166 wine_fn_config_makefile programs/winemine enable_winemine
20167 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20168 wine_fn_config_makefile programs/winepath enable_winepath
20169 wine_fn_config_makefile programs/winetest enable_winetest
20170 wine_fn_config_makefile programs/winevdm enable_win16
20171 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20172 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20173 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20174 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20175 wine_fn_config_makefile programs/winver enable_winver
20176 wine_fn_config_makefile programs/wmic enable_wmic
20177 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20178 wine_fn_config_makefile programs/wordpad enable_wordpad
20179 wine_fn_config_makefile programs/write enable_write
20180 wine_fn_config_makefile programs/wscript enable_wscript
20181 wine_fn_config_makefile programs/wscript/tests enable_tests
20182 wine_fn_config_makefile programs/wusa enable_wusa
20183 wine_fn_config_makefile programs/xcopy enable_xcopy
20184 wine_fn_config_makefile programs/xcopy/tests enable_tests
20185 wine_fn_config_makefile server enable_server
20186 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20187 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20188 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20189 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20190 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20191 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20192 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20193 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20194 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20197 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20198 wine_fn_append_file CONFIGURE_TARGETS "tags"
20199 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20200 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20201 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20202 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20203 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20204 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20206 if test "x$enable_tools" != xno
20207 then
20208 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20209 ac_config_commands="$ac_config_commands tools/makedep"
20213 ac_config_commands="$ac_config_commands Makefile"
20216 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20220 if test "x$enable_maintainer_mode" = xyes
20221 then
20222 wine_fn_append_rule "configure: configure.ac aclocal.m4
20223 autoconf --warnings=all
20224 include/config.h.in: include/stamp-h.in
20225 include/stamp-h.in: configure.ac aclocal.m4
20226 autoheader --warnings=all
20227 @echo timestamp > \$@"
20230 if test "x$enable_tools" != xno
20231 then
20232 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20233 @./config.status tools/makedep
20234 Makefile: tools/makedep$ac_exeext
20235 fonts: tools/sfnt2fon
20236 include: tools tools/widl"
20237 else
20238 wine_fn_append_rule "\$(MAKEDEP):
20239 @echo \"You need to run make in $TOOLSDIR first\" && false"
20242 if test -n "$with_wine64"
20243 then
20244 case "$with_wine64" in
20245 /*) reldir="" ;;
20246 *) reldir="../" ;;
20247 esac
20248 rm -f fonts server 2>/dev/null
20249 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20250 loader/wine64 loader/wine64-preloader:
20251 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20252 $with_wine64/loader/wine:
20253 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20254 $with_wine64/loader/wine-preloader:
20255 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20256 clean::
20257 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20258 else
20259 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20260 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20261 fonts \
20262 loader/l_intl.nls \
20263 loader/wine.inf \
20264 programs/msidb/msidb \
20265 programs/msiexec/msiexec \
20266 programs/notepad/notepad \
20267 programs/regedit/regedit \
20268 programs/regsvr32/regsvr32 \
20269 programs/wineboot/wineboot \
20270 programs/winecfg/winecfg \
20271 programs/wineconsole/wineconsole \
20272 programs/winedbg/winedbg \
20273 programs/winefile/winefile \
20274 programs/winemine/winemine \
20275 programs/winepath/winepath \
20276 server/wineserver"
20278 case $host_os in
20279 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20280 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20281 esac
20284 $as_echo " done" >&6
20285 cat >confcache <<\_ACEOF
20286 # This file is a shell script that caches the results of configure
20287 # tests run on this system so they can be shared between configure
20288 # scripts and configure runs, see configure's option --config-cache.
20289 # It is not useful on other systems. If it contains results you don't
20290 # want to keep, you may remove or edit it.
20292 # config.status only pays attention to the cache file if you give it
20293 # the --recheck option to rerun configure.
20295 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20296 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20297 # following values.
20299 _ACEOF
20301 # The following way of writing the cache mishandles newlines in values,
20302 # but we know of no workaround that is simple, portable, and efficient.
20303 # So, we kill variables containing newlines.
20304 # Ultrix sh set writes to stderr and can't be redirected directly,
20305 # and sets the high bit in the cache file unless we assign to the vars.
20307 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20308 eval ac_val=\$$ac_var
20309 case $ac_val in #(
20310 *${as_nl}*)
20311 case $ac_var in #(
20312 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20313 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20314 esac
20315 case $ac_var in #(
20316 _ | IFS | as_nl) ;; #(
20317 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20318 *) { eval $ac_var=; unset $ac_var;} ;;
20319 esac ;;
20320 esac
20321 done
20323 (set) 2>&1 |
20324 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20325 *${as_nl}ac_space=\ *)
20326 # `set' does not quote correctly, so add quotes: double-quote
20327 # substitution turns \\\\ into \\, and sed turns \\ into \.
20328 sed -n \
20329 "s/'/'\\\\''/g;
20330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20331 ;; #(
20333 # `set' quotes correctly as required by POSIX, so do not add quotes.
20334 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20336 esac |
20337 sort
20339 sed '
20340 /^ac_cv_env_/b end
20341 t clear
20342 :clear
20343 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20344 t end
20345 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20346 :end' >>confcache
20347 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20348 if test -w "$cache_file"; then
20349 if test "x$cache_file" != "x/dev/null"; then
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20351 $as_echo "$as_me: updating cache $cache_file" >&6;}
20352 if test ! -f "$cache_file" || test -h "$cache_file"; then
20353 cat confcache >"$cache_file"
20354 else
20355 case $cache_file in #(
20356 */* | ?:*)
20357 mv -f confcache "$cache_file"$$ &&
20358 mv -f "$cache_file"$$ "$cache_file" ;; #(
20360 mv -f confcache "$cache_file" ;;
20361 esac
20364 else
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20366 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20369 rm -f confcache
20371 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20372 # Let make expand exec_prefix.
20373 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20375 DEFS=-DHAVE_CONFIG_H
20377 ac_libobjs=
20378 ac_ltlibobjs=
20380 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20381 # 1. Remove the extension, and $U if already installed.
20382 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20383 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20384 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20385 # will be set to the directory where LIBOBJS objects are built.
20386 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20387 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20388 done
20389 LIBOBJS=$ac_libobjs
20391 LTLIBOBJS=$ac_ltlibobjs
20395 : "${CONFIG_STATUS=./config.status}"
20396 ac_write_fail=0
20397 ac_clean_files_save=$ac_clean_files
20398 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20400 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20401 as_write_fail=0
20402 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20403 #! $SHELL
20404 # Generated by $as_me.
20405 # Run this file to recreate the current configuration.
20406 # Compiler output produced by configure, useful for debugging
20407 # configure, is in config.log if it exists.
20409 debug=false
20410 ac_cs_recheck=false
20411 ac_cs_silent=false
20413 SHELL=\${CONFIG_SHELL-$SHELL}
20414 export SHELL
20415 _ASEOF
20416 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20417 ## -------------------- ##
20418 ## M4sh Initialization. ##
20419 ## -------------------- ##
20421 # Be more Bourne compatible
20422 DUALCASE=1; export DUALCASE # for MKS sh
20423 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20424 emulate sh
20425 NULLCMD=:
20426 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20427 # is contrary to our usage. Disable this feature.
20428 alias -g '${1+"$@"}'='"$@"'
20429 setopt NO_GLOB_SUBST
20430 else
20431 case `(set -o) 2>/dev/null` in #(
20432 *posix*) :
20433 set -o posix ;; #(
20434 *) :
20436 esac
20440 as_nl='
20442 export as_nl
20443 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20444 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20447 # Prefer a ksh shell builtin over an external printf program on Solaris,
20448 # but without wasting forks for bash or zsh.
20449 if test -z "$BASH_VERSION$ZSH_VERSION" \
20450 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20451 as_echo='print -r --'
20452 as_echo_n='print -rn --'
20453 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20454 as_echo='printf %s\n'
20455 as_echo_n='printf %s'
20456 else
20457 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20458 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20459 as_echo_n='/usr/ucb/echo -n'
20460 else
20461 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20462 as_echo_n_body='eval
20463 arg=$1;
20464 case $arg in #(
20465 *"$as_nl"*)
20466 expr "X$arg" : "X\\(.*\\)$as_nl";
20467 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20468 esac;
20469 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20471 export as_echo_n_body
20472 as_echo_n='sh -c $as_echo_n_body as_echo'
20474 export as_echo_body
20475 as_echo='sh -c $as_echo_body as_echo'
20478 # The user is always right.
20479 if test "${PATH_SEPARATOR+set}" != set; then
20480 PATH_SEPARATOR=:
20481 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20482 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20483 PATH_SEPARATOR=';'
20488 # IFS
20489 # We need space, tab and new line, in precisely that order. Quoting is
20490 # there to prevent editors from complaining about space-tab.
20491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20492 # splitting by setting IFS to empty value.)
20493 IFS=" "" $as_nl"
20495 # Find who we are. Look in the path if we contain no directory separator.
20496 as_myself=
20497 case $0 in #((
20498 *[\\/]* ) as_myself=$0 ;;
20499 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20500 for as_dir in $PATH
20502 IFS=$as_save_IFS
20503 test -z "$as_dir" && as_dir=.
20504 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20505 done
20506 IFS=$as_save_IFS
20509 esac
20510 # We did not find ourselves, most probably we were run as `sh COMMAND'
20511 # in which case we are not to be found in the path.
20512 if test "x$as_myself" = x; then
20513 as_myself=$0
20515 if test ! -f "$as_myself"; then
20516 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20517 exit 1
20520 # Unset variables that we do not need and which cause bugs (e.g. in
20521 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20522 # suppresses any "Segmentation fault" message there. '((' could
20523 # trigger a bug in pdksh 5.2.14.
20524 for as_var in BASH_ENV ENV MAIL MAILPATH
20525 do eval test x\${$as_var+set} = xset \
20526 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20527 done
20528 PS1='$ '
20529 PS2='> '
20530 PS4='+ '
20532 # NLS nuisances.
20533 LC_ALL=C
20534 export LC_ALL
20535 LANGUAGE=C
20536 export LANGUAGE
20538 # CDPATH.
20539 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20542 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20543 # ----------------------------------------
20544 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20545 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20546 # script with STATUS, using 1 if that was 0.
20547 as_fn_error ()
20549 as_status=$1; test $as_status -eq 0 && as_status=1
20550 if test "$4"; then
20551 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20552 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20554 $as_echo "$as_me: error: $2" >&2
20555 as_fn_exit $as_status
20556 } # as_fn_error
20559 # as_fn_set_status STATUS
20560 # -----------------------
20561 # Set $? to STATUS, without forking.
20562 as_fn_set_status ()
20564 return $1
20565 } # as_fn_set_status
20567 # as_fn_exit STATUS
20568 # -----------------
20569 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20570 as_fn_exit ()
20572 set +e
20573 as_fn_set_status $1
20574 exit $1
20575 } # as_fn_exit
20577 # as_fn_unset VAR
20578 # ---------------
20579 # Portably unset VAR.
20580 as_fn_unset ()
20582 { eval $1=; unset $1;}
20584 as_unset=as_fn_unset
20585 # as_fn_append VAR VALUE
20586 # ----------------------
20587 # Append the text in VALUE to the end of the definition contained in VAR. Take
20588 # advantage of any shell optimizations that allow amortized linear growth over
20589 # repeated appends, instead of the typical quadratic growth present in naive
20590 # implementations.
20591 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20592 eval 'as_fn_append ()
20594 eval $1+=\$2
20596 else
20597 as_fn_append ()
20599 eval $1=\$$1\$2
20601 fi # as_fn_append
20603 # as_fn_arith ARG...
20604 # ------------------
20605 # Perform arithmetic evaluation on the ARGs, and store the result in the
20606 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20607 # must be portable across $(()) and expr.
20608 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20609 eval 'as_fn_arith ()
20611 as_val=$(( $* ))
20613 else
20614 as_fn_arith ()
20616 as_val=`expr "$@" || test $? -eq 1`
20618 fi # as_fn_arith
20621 if expr a : '\(a\)' >/dev/null 2>&1 &&
20622 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20623 as_expr=expr
20624 else
20625 as_expr=false
20628 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20629 as_basename=basename
20630 else
20631 as_basename=false
20634 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20635 as_dirname=dirname
20636 else
20637 as_dirname=false
20640 as_me=`$as_basename -- "$0" ||
20641 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20642 X"$0" : 'X\(//\)$' \| \
20643 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20644 $as_echo X/"$0" |
20645 sed '/^.*\/\([^/][^/]*\)\/*$/{
20646 s//\1/
20649 /^X\/\(\/\/\)$/{
20650 s//\1/
20653 /^X\/\(\/\).*/{
20654 s//\1/
20657 s/.*/./; q'`
20659 # Avoid depending upon Character Ranges.
20660 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20661 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20662 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20663 as_cr_digits='0123456789'
20664 as_cr_alnum=$as_cr_Letters$as_cr_digits
20666 ECHO_C= ECHO_N= ECHO_T=
20667 case `echo -n x` in #(((((
20668 -n*)
20669 case `echo 'xy\c'` in
20670 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20671 xy) ECHO_C='\c';;
20672 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20673 ECHO_T=' ';;
20674 esac;;
20676 ECHO_N='-n';;
20677 esac
20679 rm -f conf$$ conf$$.exe conf$$.file
20680 if test -d conf$$.dir; then
20681 rm -f conf$$.dir/conf$$.file
20682 else
20683 rm -f conf$$.dir
20684 mkdir conf$$.dir 2>/dev/null
20686 if (echo >conf$$.file) 2>/dev/null; then
20687 if ln -s conf$$.file conf$$ 2>/dev/null; then
20688 as_ln_s='ln -s'
20689 # ... but there are two gotchas:
20690 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20691 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20692 # In both cases, we have to default to `cp -pR'.
20693 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20694 as_ln_s='cp -pR'
20695 elif ln conf$$.file conf$$ 2>/dev/null; then
20696 as_ln_s=ln
20697 else
20698 as_ln_s='cp -pR'
20700 else
20701 as_ln_s='cp -pR'
20703 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20704 rmdir conf$$.dir 2>/dev/null
20707 # as_fn_mkdir_p
20708 # -------------
20709 # Create "$as_dir" as a directory, including parents if necessary.
20710 as_fn_mkdir_p ()
20713 case $as_dir in #(
20714 -*) as_dir=./$as_dir;;
20715 esac
20716 test -d "$as_dir" || eval $as_mkdir_p || {
20717 as_dirs=
20718 while :; do
20719 case $as_dir in #(
20720 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20721 *) as_qdir=$as_dir;;
20722 esac
20723 as_dirs="'$as_qdir' $as_dirs"
20724 as_dir=`$as_dirname -- "$as_dir" ||
20725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20726 X"$as_dir" : 'X\(//\)[^/]' \| \
20727 X"$as_dir" : 'X\(//\)$' \| \
20728 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20729 $as_echo X"$as_dir" |
20730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20731 s//\1/
20734 /^X\(\/\/\)[^/].*/{
20735 s//\1/
20738 /^X\(\/\/\)$/{
20739 s//\1/
20742 /^X\(\/\).*/{
20743 s//\1/
20746 s/.*/./; q'`
20747 test -d "$as_dir" && break
20748 done
20749 test -z "$as_dirs" || eval "mkdir $as_dirs"
20750 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20753 } # as_fn_mkdir_p
20754 if mkdir -p . 2>/dev/null; then
20755 as_mkdir_p='mkdir -p "$as_dir"'
20756 else
20757 test -d ./-p && rmdir ./-p
20758 as_mkdir_p=false
20762 # as_fn_executable_p FILE
20763 # -----------------------
20764 # Test if FILE is an executable regular file.
20765 as_fn_executable_p ()
20767 test -f "$1" && test -x "$1"
20768 } # as_fn_executable_p
20769 as_test_x='test -x'
20770 as_executable_p=as_fn_executable_p
20772 # Sed expression to map a string onto a valid CPP name.
20773 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20775 # Sed expression to map a string onto a valid variable name.
20776 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20779 exec 6>&1
20780 ## ----------------------------------- ##
20781 ## Main body of $CONFIG_STATUS script. ##
20782 ## ----------------------------------- ##
20783 _ASEOF
20784 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20787 # Save the log message, to keep $0 and so on meaningful, and to
20788 # report actual input values of CONFIG_FILES etc. instead of their
20789 # values after options handling.
20790 ac_log="
20791 This file was extended by Wine $as_me 4.5, which was
20792 generated by GNU Autoconf 2.69. Invocation command line was
20794 CONFIG_FILES = $CONFIG_FILES
20795 CONFIG_HEADERS = $CONFIG_HEADERS
20796 CONFIG_LINKS = $CONFIG_LINKS
20797 CONFIG_COMMANDS = $CONFIG_COMMANDS
20798 $ $0 $@
20800 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20803 _ACEOF
20805 case $ac_config_files in *"
20806 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20807 esac
20809 case $ac_config_headers in *"
20810 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20811 esac
20814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20815 # Files that config.status was made for.
20816 config_files="$ac_config_files"
20817 config_headers="$ac_config_headers"
20818 config_links="$ac_config_links"
20819 config_commands="$ac_config_commands"
20821 _ACEOF
20823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20824 ac_cs_usage="\
20825 \`$as_me' instantiates files and other configuration actions
20826 from templates according to the current configuration. Unless the files
20827 and actions are specified as TAGs, all are instantiated by default.
20829 Usage: $0 [OPTION]... [TAG]...
20831 -h, --help print this help, then exit
20832 -V, --version print version number and configuration settings, then exit
20833 --config print configuration, then exit
20834 -q, --quiet, --silent
20835 do not print progress messages
20836 -d, --debug don't remove temporary files
20837 --recheck update $as_me by reconfiguring in the same conditions
20838 --file=FILE[:TEMPLATE]
20839 instantiate the configuration file FILE
20840 --header=FILE[:TEMPLATE]
20841 instantiate the configuration header FILE
20843 Configuration files:
20844 $config_files
20846 Configuration headers:
20847 $config_headers
20849 Configuration links:
20850 $config_links
20852 Configuration commands:
20853 $config_commands
20855 Report bugs to <wine-devel@winehq.org>.
20856 Wine home page: <https://www.winehq.org>."
20858 _ACEOF
20859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20860 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20861 ac_cs_version="\\
20862 Wine config.status 4.5
20863 configured by $0, generated by GNU Autoconf 2.69,
20864 with options \\"\$ac_cs_config\\"
20866 Copyright (C) 2012 Free Software Foundation, Inc.
20867 This config.status script is free software; the Free Software Foundation
20868 gives unlimited permission to copy, distribute and modify it."
20870 ac_pwd='$ac_pwd'
20871 srcdir='$srcdir'
20872 test -n "\$AWK" || AWK=awk
20873 _ACEOF
20875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20876 # The default lists apply if the user does not specify any file.
20877 ac_need_defaults=:
20878 while test $# != 0
20880 case $1 in
20881 --*=?*)
20882 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20883 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20884 ac_shift=:
20886 --*=)
20887 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20888 ac_optarg=
20889 ac_shift=:
20892 ac_option=$1
20893 ac_optarg=$2
20894 ac_shift=shift
20896 esac
20898 case $ac_option in
20899 # Handling of the options.
20900 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20901 ac_cs_recheck=: ;;
20902 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20903 $as_echo "$ac_cs_version"; exit ;;
20904 --config | --confi | --conf | --con | --co | --c )
20905 $as_echo "$ac_cs_config"; exit ;;
20906 --debug | --debu | --deb | --de | --d | -d )
20907 debug=: ;;
20908 --file | --fil | --fi | --f )
20909 $ac_shift
20910 case $ac_optarg in
20911 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20912 '') as_fn_error $? "missing file argument" ;;
20913 esac
20914 as_fn_append CONFIG_FILES " '$ac_optarg'"
20915 ac_need_defaults=false;;
20916 --header | --heade | --head | --hea )
20917 $ac_shift
20918 case $ac_optarg in
20919 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20920 esac
20921 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20922 ac_need_defaults=false;;
20923 --he | --h)
20924 # Conflict between --help and --header
20925 as_fn_error $? "ambiguous option: \`$1'
20926 Try \`$0 --help' for more information.";;
20927 --help | --hel | -h )
20928 $as_echo "$ac_cs_usage"; exit ;;
20929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20930 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20931 ac_cs_silent=: ;;
20933 # This is an error.
20934 -*) as_fn_error $? "unrecognized option: \`$1'
20935 Try \`$0 --help' for more information." ;;
20937 *) as_fn_append ac_config_targets " $1"
20938 ac_need_defaults=false ;;
20940 esac
20941 shift
20942 done
20944 ac_configure_extra_args=
20946 if $ac_cs_silent; then
20947 exec 6>/dev/null
20948 ac_configure_extra_args="$ac_configure_extra_args --silent"
20951 _ACEOF
20952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20953 if \$ac_cs_recheck; then
20954 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20955 shift
20956 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20957 CONFIG_SHELL='$SHELL'
20958 export CONFIG_SHELL
20959 exec "\$@"
20962 _ACEOF
20963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20964 exec 5>>config.log
20966 echo
20967 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20968 ## Running $as_me. ##
20969 _ASBOX
20970 $as_echo "$ac_log"
20971 } >&5
20973 _ACEOF
20974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20976 # INIT-COMMANDS
20978 wine_fn_output_makedep ()
20980 as_dir=tools; as_fn_mkdir_p
20981 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20983 wine_fn_output_makefile ()
20985 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20986 `cat $wine_rules_file`
20987 _WINE_EOF
20988 as_fn_error $? "could not create Makefile" "$LINENO" 5
20991 _ACEOF
20993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20995 # Handling of arguments.
20996 for ac_config_target in $ac_config_targets
20998 case $ac_config_target in
20999 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21000 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21001 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21002 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21003 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21004 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21005 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21006 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21007 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21008 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21009 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21010 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21011 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21013 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21014 esac
21015 done
21018 # If the user did not use the arguments to specify the items to instantiate,
21019 # then the envvar interface is used. Set only those that are not.
21020 # We use the long form for the default assignment because of an extremely
21021 # bizarre bug on SunOS 4.1.3.
21022 if $ac_need_defaults; then
21023 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21024 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21025 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21026 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21029 # Have a temporary directory for convenience. Make it in the build tree
21030 # simply because there is no reason against having it here, and in addition,
21031 # creating and moving files from /tmp can sometimes cause problems.
21032 # Hook for its removal unless debugging.
21033 # Note that there is a small window in which the directory will not be cleaned:
21034 # after its creation but before its name has been assigned to `$tmp'.
21035 $debug ||
21037 tmp= ac_tmp=
21038 trap 'exit_status=$?
21039 : "${ac_tmp:=$tmp}"
21040 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21042 trap 'as_fn_exit 1' 1 2 13 15
21044 # Create a (secure) tmp directory for tmp files.
21047 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21048 test -d "$tmp"
21049 } ||
21051 tmp=./conf$$-$RANDOM
21052 (umask 077 && mkdir "$tmp")
21053 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21054 ac_tmp=$tmp
21056 # Set up the scripts for CONFIG_FILES section.
21057 # No need to generate them if there are no CONFIG_FILES.
21058 # This happens for instance with `./config.status config.h'.
21059 if test -n "$CONFIG_FILES"; then
21062 ac_cr=`echo X | tr X '\015'`
21063 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21064 # But we know of no other shell where ac_cr would be empty at this
21065 # point, so we can use a bashism as a fallback.
21066 if test "x$ac_cr" = x; then
21067 eval ac_cr=\$\'\\r\'
21069 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21070 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21071 ac_cs_awk_cr='\\r'
21072 else
21073 ac_cs_awk_cr=$ac_cr
21076 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21077 _ACEOF
21081 echo "cat >conf$$subs.awk <<_ACEOF" &&
21082 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21083 echo "_ACEOF"
21084 } >conf$$subs.sh ||
21085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21086 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21087 ac_delim='%!_!# '
21088 for ac_last_try in false false false false false :; do
21089 . ./conf$$subs.sh ||
21090 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21092 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21093 if test $ac_delim_n = $ac_delim_num; then
21094 break
21095 elif $ac_last_try; then
21096 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21097 else
21098 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21100 done
21101 rm -f conf$$subs.sh
21103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21104 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21105 _ACEOF
21106 sed -n '
21108 s/^/S["/; s/!.*/"]=/
21111 s/^[^!]*!//
21112 :repl
21113 t repl
21114 s/'"$ac_delim"'$//
21115 t delim
21118 s/\(.\{148\}\)..*/\1/
21119 t more1
21120 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21123 b repl
21124 :more1
21125 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21128 s/.\{148\}//
21129 t nl
21130 :delim
21132 s/\(.\{148\}\)..*/\1/
21133 t more2
21134 s/["\\]/\\&/g; s/^/"/; s/$/"/
21137 :more2
21138 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21141 s/.\{148\}//
21142 t delim
21143 ' <conf$$subs.awk | sed '
21144 /^[^""]/{
21146 s/\n//
21148 ' >>$CONFIG_STATUS || ac_write_fail=1
21149 rm -f conf$$subs.awk
21150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21151 _ACAWK
21152 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21153 for (key in S) S_is_set[key] = 1
21154 FS = "\a"
21158 line = $ 0
21159 nfields = split(line, field, "@")
21160 substed = 0
21161 len = length(field[1])
21162 for (i = 2; i < nfields; i++) {
21163 key = field[i]
21164 keylen = length(key)
21165 if (S_is_set[key]) {
21166 value = S[key]
21167 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21168 len += length(value) + length(field[++i])
21169 substed = 1
21170 } else
21171 len += 1 + keylen
21174 print line
21177 _ACAWK
21178 _ACEOF
21179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21180 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21181 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21182 else
21184 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21185 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21186 _ACEOF
21188 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21189 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21190 # trailing colons and then remove the whole line if VPATH becomes empty
21191 # (actually we leave an empty line to preserve line numbers).
21192 if test "x$srcdir" = x.; then
21193 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21195 s///
21196 s/^/:/
21197 s/[ ]*$/:/
21198 s/:\$(srcdir):/:/g
21199 s/:\${srcdir}:/:/g
21200 s/:@srcdir@:/:/g
21201 s/^:*//
21202 s/:*$//
21204 s/\(=[ ]*\).*/\1/
21206 s/\n//
21207 s/^[^=]*=[ ]*$//
21211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21212 fi # test -n "$CONFIG_FILES"
21214 # Set up the scripts for CONFIG_HEADERS section.
21215 # No need to generate them if there are no CONFIG_HEADERS.
21216 # This happens for instance with `./config.status Makefile'.
21217 if test -n "$CONFIG_HEADERS"; then
21218 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21219 BEGIN {
21220 _ACEOF
21222 # Transform confdefs.h into an awk script `defines.awk', embedded as
21223 # here-document in config.status, that substitutes the proper values into
21224 # config.h.in to produce config.h.
21226 # Create a delimiter string that does not exist in confdefs.h, to ease
21227 # handling of long lines.
21228 ac_delim='%!_!# '
21229 for ac_last_try in false false :; do
21230 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21231 if test -z "$ac_tt"; then
21232 break
21233 elif $ac_last_try; then
21234 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21235 else
21236 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21238 done
21240 # For the awk script, D is an array of macro values keyed by name,
21241 # likewise P contains macro parameters if any. Preserve backslash
21242 # newline sequences.
21244 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21245 sed -n '
21246 s/.\{148\}/&'"$ac_delim"'/g
21247 t rset
21248 :rset
21249 s/^[ ]*#[ ]*define[ ][ ]*/ /
21250 t def
21252 :def
21253 s/\\$//
21254 t bsnl
21255 s/["\\]/\\&/g
21256 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21257 D["\1"]=" \3"/p
21258 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21260 :bsnl
21261 s/["\\]/\\&/g
21262 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21263 D["\1"]=" \3\\\\\\n"\\/p
21264 t cont
21265 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21266 t cont
21268 :cont
21270 s/.\{148\}/&'"$ac_delim"'/g
21271 t clear
21272 :clear
21273 s/\\$//
21274 t bsnlc
21275 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21277 :bsnlc
21278 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21279 b cont
21280 ' <confdefs.h | sed '
21281 s/'"$ac_delim"'/"\\\
21282 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21285 for (key in D) D_is_set[key] = 1
21286 FS = "\a"
21288 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21289 line = \$ 0
21290 split(line, arg, " ")
21291 if (arg[1] == "#") {
21292 defundef = arg[2]
21293 mac1 = arg[3]
21294 } else {
21295 defundef = substr(arg[1], 2)
21296 mac1 = arg[2]
21298 split(mac1, mac2, "(") #)
21299 macro = mac2[1]
21300 prefix = substr(line, 1, index(line, defundef) - 1)
21301 if (D_is_set[macro]) {
21302 # Preserve the white space surrounding the "#".
21303 print prefix "define", macro P[macro] D[macro]
21304 next
21305 } else {
21306 # Replace #undef with comments. This is necessary, for example,
21307 # in the case of _POSIX_SOURCE, which is predefined and required
21308 # on some systems where configure will not decide to define it.
21309 if (defundef == "undef") {
21310 print "/*", prefix defundef, macro, "*/"
21311 next
21315 { print }
21316 _ACAWK
21317 _ACEOF
21318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21319 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21320 fi # test -n "$CONFIG_HEADERS"
21323 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21324 shift
21325 for ac_tag
21327 case $ac_tag in
21328 :[FHLC]) ac_mode=$ac_tag; continue;;
21329 esac
21330 case $ac_mode$ac_tag in
21331 :[FHL]*:*);;
21332 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21333 :[FH]-) ac_tag=-:-;;
21334 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21335 esac
21336 ac_save_IFS=$IFS
21337 IFS=:
21338 set x $ac_tag
21339 IFS=$ac_save_IFS
21340 shift
21341 ac_file=$1
21342 shift
21344 case $ac_mode in
21345 :L) ac_source=$1;;
21346 :[FH])
21347 ac_file_inputs=
21348 for ac_f
21350 case $ac_f in
21351 -) ac_f="$ac_tmp/stdin";;
21352 *) # Look for the file first in the build tree, then in the source tree
21353 # (if the path is not absolute). The absolute path cannot be DOS-style,
21354 # because $ac_f cannot contain `:'.
21355 test -f "$ac_f" ||
21356 case $ac_f in
21357 [\\/$]*) false;;
21358 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21359 esac ||
21360 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21361 esac
21362 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21363 as_fn_append ac_file_inputs " '$ac_f'"
21364 done
21366 # Let's still pretend it is `configure' which instantiates (i.e., don't
21367 # use $as_me), people would be surprised to read:
21368 # /* config.h. Generated by config.status. */
21369 configure_input='Generated from '`
21370 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21371 `' by configure.'
21372 if test x"$ac_file" != x-; then
21373 configure_input="$ac_file. $configure_input"
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21375 $as_echo "$as_me: creating $ac_file" >&6;}
21377 # Neutralize special characters interpreted by sed in replacement strings.
21378 case $configure_input in #(
21379 *\&* | *\|* | *\\* )
21380 ac_sed_conf_input=`$as_echo "$configure_input" |
21381 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21382 *) ac_sed_conf_input=$configure_input;;
21383 esac
21385 case $ac_tag in
21386 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21388 esac
21390 esac
21392 ac_dir=`$as_dirname -- "$ac_file" ||
21393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21394 X"$ac_file" : 'X\(//\)[^/]' \| \
21395 X"$ac_file" : 'X\(//\)$' \| \
21396 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21397 $as_echo X"$ac_file" |
21398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21399 s//\1/
21402 /^X\(\/\/\)[^/].*/{
21403 s//\1/
21406 /^X\(\/\/\)$/{
21407 s//\1/
21410 /^X\(\/\).*/{
21411 s//\1/
21414 s/.*/./; q'`
21415 as_dir="$ac_dir"; as_fn_mkdir_p
21416 ac_builddir=.
21418 case "$ac_dir" in
21419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21421 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21422 # A ".." for each directory in $ac_dir_suffix.
21423 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21424 case $ac_top_builddir_sub in
21425 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21426 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21427 esac ;;
21428 esac
21429 ac_abs_top_builddir=$ac_pwd
21430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21431 # for backward compatibility:
21432 ac_top_builddir=$ac_top_build_prefix
21434 case $srcdir in
21435 .) # We are building in place.
21436 ac_srcdir=.
21437 ac_top_srcdir=$ac_top_builddir_sub
21438 ac_abs_top_srcdir=$ac_pwd ;;
21439 [\\/]* | ?:[\\/]* ) # Absolute name.
21440 ac_srcdir=$srcdir$ac_dir_suffix;
21441 ac_top_srcdir=$srcdir
21442 ac_abs_top_srcdir=$srcdir ;;
21443 *) # Relative name.
21444 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21445 ac_top_srcdir=$ac_top_build_prefix$srcdir
21446 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21447 esac
21448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21451 case $ac_mode in
21454 # CONFIG_FILE
21457 _ACEOF
21459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21460 # If the template does not know about datarootdir, expand it.
21461 # FIXME: This hack should be removed a few years after 2.60.
21462 ac_datarootdir_hack=; ac_datarootdir_seen=
21463 ac_sed_dataroot='
21464 /datarootdir/ {
21468 /@datadir@/p
21469 /@docdir@/p
21470 /@infodir@/p
21471 /@localedir@/p
21472 /@mandir@/p'
21473 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21474 *datarootdir*) ac_datarootdir_seen=yes;;
21475 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21477 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21478 _ACEOF
21479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21480 ac_datarootdir_hack='
21481 s&@datadir@&$datadir&g
21482 s&@docdir@&$docdir&g
21483 s&@infodir@&$infodir&g
21484 s&@localedir@&$localedir&g
21485 s&@mandir@&$mandir&g
21486 s&\\\${datarootdir}&$datarootdir&g' ;;
21487 esac
21488 _ACEOF
21490 # Neutralize VPATH when `$srcdir' = `.'.
21491 # Shell code in configure.ac might set extrasub.
21492 # FIXME: do we really want to maintain this feature?
21493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21494 ac_sed_extra="$ac_vpsub
21495 $extrasub
21496 _ACEOF
21497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21500 s|@configure_input@|$ac_sed_conf_input|;t t
21501 s&@top_builddir@&$ac_top_builddir_sub&;t t
21502 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21503 s&@srcdir@&$ac_srcdir&;t t
21504 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21505 s&@top_srcdir@&$ac_top_srcdir&;t t
21506 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21507 s&@builddir@&$ac_builddir&;t t
21508 s&@abs_builddir@&$ac_abs_builddir&;t t
21509 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21510 $ac_datarootdir_hack
21512 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21513 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21515 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21516 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21517 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21518 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21520 which seems to be undefined. Please make sure it is defined" >&5
21521 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21522 which seems to be undefined. Please make sure it is defined" >&2;}
21524 rm -f "$ac_tmp/stdin"
21525 case $ac_file in
21526 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21527 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21528 esac \
21529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21533 # CONFIG_HEADER
21535 if test x"$ac_file" != x-; then
21537 $as_echo "/* $configure_input */" \
21538 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21539 } >"$ac_tmp/config.h" \
21540 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21541 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21543 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21544 else
21545 rm -f "$ac_file"
21546 mv "$ac_tmp/config.h" "$ac_file" \
21547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21549 else
21550 $as_echo "/* $configure_input */" \
21551 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21552 || as_fn_error $? "could not create -" "$LINENO" 5
21557 # CONFIG_LINK
21560 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21562 else
21563 # Prefer the file from the source tree if names are identical.
21564 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21565 ac_source=$srcdir/$ac_source
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21569 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21571 if test ! -r "$ac_source"; then
21572 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21574 rm -f "$ac_file"
21576 # Try a relative symlink, then a hard link, then a copy.
21577 case $ac_source in
21578 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21579 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21580 esac
21581 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21582 ln "$ac_source" "$ac_file" 2>/dev/null ||
21583 cp -p "$ac_source" "$ac_file" ||
21584 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21587 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21588 $as_echo "$as_me: executing $ac_file commands" >&6;}
21590 esac
21593 case $ac_file$ac_mode in
21594 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21595 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21596 "Makefile":C) wine_fn_output_makefile Makefile ;;
21598 esac
21599 done # for ac_tag
21602 as_fn_exit 0
21603 _ACEOF
21604 ac_clean_files=$ac_clean_files_save
21606 test $ac_write_fail = 0 ||
21607 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21610 # configure is writing to config.log, and then calls config.status.
21611 # config.status does its own redirection, appending to config.log.
21612 # Unfortunately, on DOS this fails, as config.log is still kept open
21613 # by configure, so config.status won't be able to write to it; its
21614 # output is simply discarded. So we exec the FD to /dev/null,
21615 # effectively closing config.log, so it can be properly (re)opened and
21616 # appended to by config.status. When coming back to configure, we
21617 # need to make the FD available again.
21618 if test "$no_create" != yes; then
21619 ac_cs_success=:
21620 ac_config_status_args=
21621 test "$silent" = yes &&
21622 ac_config_status_args="$ac_config_status_args --quiet"
21623 exec 5>/dev/null
21624 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21625 exec 5>>config.log
21626 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21627 # would make configure fail if this is the last instruction.
21628 $ac_cs_success || as_fn_exit 1
21630 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21632 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21636 if test "$no_create" = "yes"
21637 then
21638 exit 0
21641 ac_save_IFS="$IFS"
21642 if test "x$wine_notices" != x; then
21643 echo >&6
21644 IFS="|"
21645 for msg in $wine_notices; do
21646 IFS="$ac_save_IFS"
21647 if ${msg:+false} :; then :
21649 else
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21651 $as_echo "$as_me: $msg" >&6;}
21653 done
21655 IFS="|"
21656 for msg in $wine_warnings; do
21657 IFS="$ac_save_IFS"
21658 if ${msg:+false} :; then :
21660 else
21661 echo >&2
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21663 $as_echo "$as_me: WARNING: $msg" >&2;}
21665 done
21666 IFS="$ac_save_IFS"
21668 $as_echo "
21669 $as_me: Finished. Do '${ac_make}' to compile Wine.
21670 " >&6