kernel32: Don't return an error from TransactNamedPipe if an overlapped pointer is...
[wine.git] / configure
blobc1516afcecd26d9ef8d134bf03749ea0fee715b5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.3'
584 PACKAGE_STRING='Wine 3.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 CONFIGURE_TARGETS
729 DISABLED_SUBDIRS
730 SUBDIRS
731 READELF
732 OTOOL
734 WINELOADER_LDFLAGS
735 LDEXECFLAGS
736 LDRPATH_LOCAL
737 LDRPATH_INSTALL
738 DLLFLAGS
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 wine64_disable
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_sdl
863 with_tiff
864 with_udev
865 with_v4l
866 with_vulkan
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsiid
890 enable_adsldp
891 enable_adsldpc
892 enable_advapi32
893 enable_advpack
894 enable_amstream
895 enable_api_ms_win_appmodel_identity_l1_1_0
896 enable_api_ms_win_appmodel_runtime_l1_1_1
897 enable_api_ms_win_appmodel_runtime_l1_1_2
898 enable_api_ms_win_core_apiquery_l1_1_0
899 enable_api_ms_win_core_appcompat_l1_1_1
900 enable_api_ms_win_core_appinit_l1_1_0
901 enable_api_ms_win_core_atoms_l1_1_0
902 enable_api_ms_win_core_bem_l1_1_0
903 enable_api_ms_win_core_com_l1_1_0
904 enable_api_ms_win_core_com_l1_1_1
905 enable_api_ms_win_core_com_private_l1_1_0
906 enable_api_ms_win_core_console_l1_1_0
907 enable_api_ms_win_core_console_l2_1_0
908 enable_api_ms_win_core_crt_l1_1_0
909 enable_api_ms_win_core_crt_l2_1_0
910 enable_api_ms_win_core_datetime_l1_1_0
911 enable_api_ms_win_core_datetime_l1_1_1
912 enable_api_ms_win_core_debug_l1_1_0
913 enable_api_ms_win_core_debug_l1_1_1
914 enable_api_ms_win_core_delayload_l1_1_0
915 enable_api_ms_win_core_delayload_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_0
917 enable_api_ms_win_core_errorhandling_l1_1_1
918 enable_api_ms_win_core_errorhandling_l1_1_2
919 enable_api_ms_win_core_errorhandling_l1_1_3
920 enable_api_ms_win_core_fibers_l1_1_0
921 enable_api_ms_win_core_fibers_l1_1_1
922 enable_api_ms_win_core_file_l1_1_0
923 enable_api_ms_win_core_file_l1_2_0
924 enable_api_ms_win_core_file_l1_2_1
925 enable_api_ms_win_core_file_l1_2_2
926 enable_api_ms_win_core_file_l2_1_0
927 enable_api_ms_win_core_file_l2_1_1
928 enable_api_ms_win_core_file_l2_1_2
929 enable_api_ms_win_core_handle_l1_1_0
930 enable_api_ms_win_core_heap_l1_1_0
931 enable_api_ms_win_core_heap_l1_2_0
932 enable_api_ms_win_core_heap_l2_1_0
933 enable_api_ms_win_core_heap_obsolete_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_1_0
935 enable_api_ms_win_core_interlocked_l1_2_0
936 enable_api_ms_win_core_io_l1_1_0
937 enable_api_ms_win_core_io_l1_1_1
938 enable_api_ms_win_core_job_l1_1_0
939 enable_api_ms_win_core_job_l2_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_0
941 enable_api_ms_win_core_kernel32_legacy_l1_1_1
942 enable_api_ms_win_core_kernel32_private_l1_1_1
943 enable_api_ms_win_core_libraryloader_l1_1_0
944 enable_api_ms_win_core_libraryloader_l1_1_1
945 enable_api_ms_win_core_libraryloader_l1_2_0
946 enable_api_ms_win_core_libraryloader_l1_2_1
947 enable_api_ms_win_core_libraryloader_l1_2_2
948 enable_api_ms_win_core_localization_l1_1_0
949 enable_api_ms_win_core_localization_l1_2_0
950 enable_api_ms_win_core_localization_l1_2_1
951 enable_api_ms_win_core_localization_l2_1_0
952 enable_api_ms_win_core_localization_obsolete_l1_1_0
953 enable_api_ms_win_core_localization_obsolete_l1_2_0
954 enable_api_ms_win_core_localization_obsolete_l1_3_0
955 enable_api_ms_win_core_localization_private_l1_1_0
956 enable_api_ms_win_core_localregistry_l1_1_0
957 enable_api_ms_win_core_memory_l1_1_0
958 enable_api_ms_win_core_memory_l1_1_1
959 enable_api_ms_win_core_memory_l1_1_2
960 enable_api_ms_win_core_misc_l1_1_0
961 enable_api_ms_win_core_namedpipe_l1_1_0
962 enable_api_ms_win_core_namedpipe_l1_2_0
963 enable_api_ms_win_core_namespace_l1_1_0
964 enable_api_ms_win_core_normalization_l1_1_0
965 enable_api_ms_win_core_path_l1_1_0
966 enable_api_ms_win_core_privateprofile_l1_1_1
967 enable_api_ms_win_core_processenvironment_l1_1_0
968 enable_api_ms_win_core_processenvironment_l1_2_0
969 enable_api_ms_win_core_processthreads_l1_1_0
970 enable_api_ms_win_core_processthreads_l1_1_1
971 enable_api_ms_win_core_processthreads_l1_1_2
972 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
973 enable_api_ms_win_core_profile_l1_1_0
974 enable_api_ms_win_core_psapi_ansi_l1_1_0
975 enable_api_ms_win_core_psapi_l1_1_0
976 enable_api_ms_win_core_psapi_obsolete_l1_1_0
977 enable_api_ms_win_core_quirks_l1_1_0
978 enable_api_ms_win_core_realtime_l1_1_0
979 enable_api_ms_win_core_registry_l1_1_0
980 enable_api_ms_win_core_registry_l2_1_0
981 enable_api_ms_win_core_registryuserspecific_l1_1_0
982 enable_api_ms_win_core_rtlsupport_l1_1_0
983 enable_api_ms_win_core_rtlsupport_l1_2_0
984 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
985 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
986 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
987 enable_api_ms_win_core_shutdown_l1_1_0
988 enable_api_ms_win_core_sidebyside_l1_1_0
989 enable_api_ms_win_core_string_l1_1_0
990 enable_api_ms_win_core_string_l2_1_0
991 enable_api_ms_win_core_string_obsolete_l1_1_0
992 enable_api_ms_win_core_stringansi_l1_1_0
993 enable_api_ms_win_core_synch_ansi_l1_1_0
994 enable_api_ms_win_core_synch_l1_1_0
995 enable_api_ms_win_core_synch_l1_2_0
996 enable_api_ms_win_core_synch_l1_2_1
997 enable_api_ms_win_core_sysinfo_l1_1_0
998 enable_api_ms_win_core_sysinfo_l1_2_0
999 enable_api_ms_win_core_sysinfo_l1_2_1
1000 enable_api_ms_win_core_threadpool_l1_1_0
1001 enable_api_ms_win_core_threadpool_l1_2_0
1002 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1003 enable_api_ms_win_core_threadpool_private_l1_1_0
1004 enable_api_ms_win_core_timezone_l1_1_0
1005 enable_api_ms_win_core_toolhelp_l1_1_0
1006 enable_api_ms_win_core_url_l1_1_0
1007 enable_api_ms_win_core_util_l1_1_0
1008 enable_api_ms_win_core_version_l1_1_0
1009 enable_api_ms_win_core_version_l1_1_1
1010 enable_api_ms_win_core_version_private_l1_1_0
1011 enable_api_ms_win_core_versionansi_l1_1_0
1012 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1013 enable_api_ms_win_core_winrt_error_l1_1_0
1014 enable_api_ms_win_core_winrt_error_l1_1_1
1015 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1016 enable_api_ms_win_core_winrt_l1_1_0
1017 enable_api_ms_win_core_winrt_registration_l1_1_0
1018 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1019 enable_api_ms_win_core_winrt_string_l1_1_0
1020 enable_api_ms_win_core_wow64_l1_1_0
1021 enable_api_ms_win_core_wow64_l1_1_1
1022 enable_api_ms_win_core_xstate_l1_1_0
1023 enable_api_ms_win_core_xstate_l2_1_0
1024 enable_api_ms_win_crt_conio_l1_1_0
1025 enable_api_ms_win_crt_convert_l1_1_0
1026 enable_api_ms_win_crt_environment_l1_1_0
1027 enable_api_ms_win_crt_filesystem_l1_1_0
1028 enable_api_ms_win_crt_heap_l1_1_0
1029 enable_api_ms_win_crt_locale_l1_1_0
1030 enable_api_ms_win_crt_math_l1_1_0
1031 enable_api_ms_win_crt_multibyte_l1_1_0
1032 enable_api_ms_win_crt_private_l1_1_0
1033 enable_api_ms_win_crt_process_l1_1_0
1034 enable_api_ms_win_crt_runtime_l1_1_0
1035 enable_api_ms_win_crt_stdio_l1_1_0
1036 enable_api_ms_win_crt_string_l1_1_0
1037 enable_api_ms_win_crt_time_l1_1_0
1038 enable_api_ms_win_crt_utility_l1_1_0
1039 enable_api_ms_win_devices_config_l1_1_1
1040 enable_api_ms_win_devices_query_l1_1_1
1041 enable_api_ms_win_downlevel_advapi32_l1_1_0
1042 enable_api_ms_win_downlevel_advapi32_l2_1_0
1043 enable_api_ms_win_downlevel_normaliz_l1_1_0
1044 enable_api_ms_win_downlevel_ole32_l1_1_0
1045 enable_api_ms_win_downlevel_shell32_l1_1_0
1046 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1047 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1048 enable_api_ms_win_downlevel_user32_l1_1_0
1049 enable_api_ms_win_downlevel_version_l1_1_0
1050 enable_api_ms_win_dx_d3dkmt_l1_1_0
1051 enable_api_ms_win_eventing_classicprovider_l1_1_0
1052 enable_api_ms_win_eventing_consumer_l1_1_0
1053 enable_api_ms_win_eventing_controller_l1_1_0
1054 enable_api_ms_win_eventing_legacy_l1_1_0
1055 enable_api_ms_win_eventing_provider_l1_1_0
1056 enable_api_ms_win_eventlog_legacy_l1_1_0
1057 enable_api_ms_win_mm_joystick_l1_1_0
1058 enable_api_ms_win_mm_misc_l1_1_1
1059 enable_api_ms_win_mm_mme_l1_1_0
1060 enable_api_ms_win_mm_time_l1_1_0
1061 enable_api_ms_win_ntuser_dc_access_l1_1_0
1062 enable_api_ms_win_ntuser_rectangle_l1_1_0
1063 enable_api_ms_win_perf_legacy_l1_1_0
1064 enable_api_ms_win_power_base_l1_1_0
1065 enable_api_ms_win_power_setting_l1_1_0
1066 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1067 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1068 enable_api_ms_win_security_audit_l1_1_1
1069 enable_api_ms_win_security_base_l1_1_0
1070 enable_api_ms_win_security_base_l1_2_0
1071 enable_api_ms_win_security_base_private_l1_1_1
1072 enable_api_ms_win_security_credentials_l1_1_0
1073 enable_api_ms_win_security_grouppolicy_l1_1_0
1074 enable_api_ms_win_security_lsalookup_l1_1_0
1075 enable_api_ms_win_security_lsalookup_l1_1_1
1076 enable_api_ms_win_security_lsalookup_l2_1_0
1077 enable_api_ms_win_security_lsalookup_l2_1_1
1078 enable_api_ms_win_security_lsapolicy_l1_1_0
1079 enable_api_ms_win_security_provider_l1_1_0
1080 enable_api_ms_win_security_sddl_l1_1_0
1081 enable_api_ms_win_security_systemfunctions_l1_1_0
1082 enable_api_ms_win_service_core_l1_1_0
1083 enable_api_ms_win_service_core_l1_1_1
1084 enable_api_ms_win_service_management_l1_1_0
1085 enable_api_ms_win_service_management_l2_1_0
1086 enable_api_ms_win_service_private_l1_1_1
1087 enable_api_ms_win_service_winsvc_l1_1_0
1088 enable_api_ms_win_service_winsvc_l1_2_0
1089 enable_api_ms_win_shcore_scaling_l1_1_1
1090 enable_api_ms_win_shell_shellcom_l1_1_0
1091 enable_api_ms_win_shell_shellfolders_l1_1_0
1092 enable_apphelp
1093 enable_appwiz_cpl
1094 enable_atl
1095 enable_atl100
1096 enable_atl110
1097 enable_atl80
1098 enable_atl90
1099 enable_authz
1100 enable_avicap32
1101 enable_avifil32
1102 enable_avrt
1103 enable_bcrypt
1104 enable_bluetoothapis
1105 enable_browseui
1106 enable_bthprops_cpl
1107 enable_cabinet
1108 enable_capi2032
1109 enable_cards
1110 enable_cdosys
1111 enable_cfgmgr32
1112 enable_clusapi
1113 enable_combase
1114 enable_comcat
1115 enable_comctl32
1116 enable_comdlg32
1117 enable_compstui
1118 enable_comsvcs
1119 enable_concrt140
1120 enable_connect
1121 enable_credui
1122 enable_crtdll
1123 enable_crypt32
1124 enable_cryptdlg
1125 enable_cryptdll
1126 enable_cryptext
1127 enable_cryptnet
1128 enable_cryptui
1129 enable_ctapi32
1130 enable_ctl3d32
1131 enable_d2d1
1132 enable_d3d10
1133 enable_d3d10_1
1134 enable_d3d10core
1135 enable_d3d11
1136 enable_d3d12
1137 enable_d3d8
1138 enable_d3d9
1139 enable_d3dcompiler_33
1140 enable_d3dcompiler_34
1141 enable_d3dcompiler_35
1142 enable_d3dcompiler_36
1143 enable_d3dcompiler_37
1144 enable_d3dcompiler_38
1145 enable_d3dcompiler_39
1146 enable_d3dcompiler_40
1147 enable_d3dcompiler_41
1148 enable_d3dcompiler_42
1149 enable_d3dcompiler_43
1150 enable_d3dcompiler_46
1151 enable_d3dcompiler_47
1152 enable_d3dim
1153 enable_d3drm
1154 enable_d3dx10_33
1155 enable_d3dx10_34
1156 enable_d3dx10_35
1157 enable_d3dx10_36
1158 enable_d3dx10_37
1159 enable_d3dx10_38
1160 enable_d3dx10_39
1161 enable_d3dx10_40
1162 enable_d3dx10_41
1163 enable_d3dx10_42
1164 enable_d3dx10_43
1165 enable_d3dx11_42
1166 enable_d3dx11_43
1167 enable_d3dx9_24
1168 enable_d3dx9_25
1169 enable_d3dx9_26
1170 enable_d3dx9_27
1171 enable_d3dx9_28
1172 enable_d3dx9_29
1173 enable_d3dx9_30
1174 enable_d3dx9_31
1175 enable_d3dx9_32
1176 enable_d3dx9_33
1177 enable_d3dx9_34
1178 enable_d3dx9_35
1179 enable_d3dx9_36
1180 enable_d3dx9_37
1181 enable_d3dx9_38
1182 enable_d3dx9_39
1183 enable_d3dx9_40
1184 enable_d3dx9_41
1185 enable_d3dx9_42
1186 enable_d3dx9_43
1187 enable_d3dxof
1188 enable_davclnt
1189 enable_dbgeng
1190 enable_dbghelp
1191 enable_dciman32
1192 enable_ddraw
1193 enable_ddrawex
1194 enable_devenum
1195 enable_dhcpcsvc
1196 enable_dhtmled_ocx
1197 enable_difxapi
1198 enable_dinput
1199 enable_dinput8
1200 enable_dispex
1201 enable_dmband
1202 enable_dmcompos
1203 enable_dmime
1204 enable_dmloader
1205 enable_dmscript
1206 enable_dmstyle
1207 enable_dmsynth
1208 enable_dmusic
1209 enable_dmusic32
1210 enable_dnsapi
1211 enable_dplay
1212 enable_dplayx
1213 enable_dpnaddr
1214 enable_dpnet
1215 enable_dpnhpast
1216 enable_dpnlobby
1217 enable_dpvoice
1218 enable_dpwsockx
1219 enable_drmclien
1220 enable_dsound
1221 enable_dsquery
1222 enable_dssenh
1223 enable_dswave
1224 enable_dwmapi
1225 enable_dwrite
1226 enable_dx8vb
1227 enable_dxdiagn
1228 enable_dxerr8
1229 enable_dxerr9
1230 enable_dxgi
1231 enable_dxguid
1232 enable_dxva2
1233 enable_esent
1234 enable_evr
1235 enable_explorerframe
1236 enable_ext_ms_win_authz_context_l1_1_0
1237 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1238 enable_ext_ms_win_gdi_dc_create_l1_1_1
1239 enable_ext_ms_win_gdi_dc_l1_2_0
1240 enable_ext_ms_win_gdi_devcaps_l1_1_0
1241 enable_ext_ms_win_gdi_draw_l1_1_1
1242 enable_ext_ms_win_gdi_render_l1_1_0
1243 enable_ext_ms_win_kernel32_package_current_l1_1_0
1244 enable_ext_ms_win_kernel32_package_l1_1_1
1245 enable_ext_ms_win_ntuser_message_l1_1_1
1246 enable_ext_ms_win_ntuser_private_l1_1_1
1247 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1248 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1249 enable_ext_ms_win_ntuser_window_l1_1_1
1250 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1251 enable_ext_ms_win_ras_rasapi32_l1_1_0
1252 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1253 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1254 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1255 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1256 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1257 enable_ext_ms_win_security_credui_l1_1_0
1258 enable_ext_ms_win_security_cryptui_l1_1_0
1259 enable_faultrep
1260 enable_fltlib
1261 enable_fltmgr_sys
1262 enable_fntcache
1263 enable_fontsub
1264 enable_fusion
1265 enable_fwpuclnt
1266 enable_gameux
1267 enable_gdi32
1268 enable_gdiplus
1269 enable_glu32
1270 enable_gphoto2_ds
1271 enable_gpkcsp
1272 enable_hal
1273 enable_hhctrl_ocx
1274 enable_hid
1275 enable_hidclass_sys
1276 enable_hlink
1277 enable_hnetcfg
1278 enable_httpapi
1279 enable_iccvid
1280 enable_icmp
1281 enable_ieframe
1282 enable_ieproxy
1283 enable_imaadp32_acm
1284 enable_imagehlp
1285 enable_imm32
1286 enable_inetcomm
1287 enable_inetcpl_cpl
1288 enable_inetmib1
1289 enable_infosoft
1290 enable_initpki
1291 enable_inkobj
1292 enable_inseng
1293 enable_iphlpapi
1294 enable_iprop
1295 enable_irprops_cpl
1296 enable_itircl
1297 enable_itss
1298 enable_joy_cpl
1299 enable_jscript
1300 enable_jsproxy
1301 enable_kerberos
1302 enable_kernel32
1303 enable_kernelbase
1304 enable_ksuser
1305 enable_ktmw32
1306 enable_l3codeca_acm
1307 enable_loadperf
1308 enable_localspl
1309 enable_localui
1310 enable_lz32
1311 enable_mapi32
1312 enable_mapistub
1313 enable_mciavi32
1314 enable_mcicda
1315 enable_mciqtz32
1316 enable_mciseq
1317 enable_mciwave
1318 enable_mf
1319 enable_mf3216
1320 enable_mfplat
1321 enable_mfreadwrite
1322 enable_mfuuid
1323 enable_mgmtapi
1324 enable_midimap
1325 enable_mlang
1326 enable_mmcndmgr
1327 enable_mmdevapi
1328 enable_mountmgr_sys
1329 enable_mpr
1330 enable_mprapi
1331 enable_msacm32_drv
1332 enable_msacm32
1333 enable_msadp32_acm
1334 enable_msasn1
1335 enable_mscat32
1336 enable_mscms
1337 enable_mscoree
1338 enable_msctf
1339 enable_msctfp
1340 enable_msdaps
1341 enable_msdelta
1342 enable_msdmo
1343 enable_msdrm
1344 enable_msftedit
1345 enable_msg711_acm
1346 enable_msgsm32_acm
1347 enable_mshtml_tlb
1348 enable_mshtml
1349 enable_msi
1350 enable_msident
1351 enable_msimg32
1352 enable_msimsg
1353 enable_msimtf
1354 enable_msisip
1355 enable_msisys_ocx
1356 enable_msls31
1357 enable_msnet32
1358 enable_mspatcha
1359 enable_msports
1360 enable_msrle32
1361 enable_msscript_ocx
1362 enable_mssign32
1363 enable_mssip32
1364 enable_mstask
1365 enable_msvcirt
1366 enable_msvcm80
1367 enable_msvcm90
1368 enable_msvcp100
1369 enable_msvcp110
1370 enable_msvcp120
1371 enable_msvcp120_app
1372 enable_msvcp140
1373 enable_msvcp60
1374 enable_msvcp70
1375 enable_msvcp71
1376 enable_msvcp80
1377 enable_msvcp90
1378 enable_msvcr100
1379 enable_msvcr110
1380 enable_msvcr120
1381 enable_msvcr120_app
1382 enable_msvcr70
1383 enable_msvcr71
1384 enable_msvcr80
1385 enable_msvcr90
1386 enable_msvcrt
1387 enable_msvcrt20
1388 enable_msvcrt40
1389 enable_msvcrtd
1390 enable_msvfw32
1391 enable_msvidc32
1392 enable_mswsock
1393 enable_msxml
1394 enable_msxml2
1395 enable_msxml3
1396 enable_msxml4
1397 enable_msxml6
1398 enable_mtxdm
1399 enable_ncrypt
1400 enable_nddeapi
1401 enable_ndis_sys
1402 enable_netapi32
1403 enable_netcfgx
1404 enable_netprofm
1405 enable_newdev
1406 enable_ninput
1407 enable_normaliz
1408 enable_npmshtml
1409 enable_npptools
1410 enable_ntdll
1411 enable_ntdsapi
1412 enable_ntoskrnl_exe
1413 enable_ntprint
1414 enable_objsel
1415 enable_odbc32
1416 enable_odbccp32
1417 enable_odbccu32
1418 enable_ole32
1419 enable_oleacc
1420 enable_oleaut32
1421 enable_olecli32
1422 enable_oledb32
1423 enable_oledlg
1424 enable_olepro32
1425 enable_olesvr32
1426 enable_olethk32
1427 enable_openal32
1428 enable_opencl
1429 enable_opengl32
1430 enable_packager
1431 enable_pdh
1432 enable_photometadatahandler
1433 enable_pidgen
1434 enable_powrprof
1435 enable_printui
1436 enable_prntvpt
1437 enable_propsys
1438 enable_psapi
1439 enable_pstorec
1440 enable_qcap
1441 enable_qedit
1442 enable_qmgr
1443 enable_qmgrprxy
1444 enable_quartz
1445 enable_query
1446 enable_rasapi32
1447 enable_rasdlg
1448 enable_regapi
1449 enable_resutils
1450 enable_riched20
1451 enable_riched32
1452 enable_rpcrt4
1453 enable_rsabase
1454 enable_rsaenh
1455 enable_rstrtmgr
1456 enable_rtutils
1457 enable_samlib
1458 enable_sane_ds
1459 enable_sapi
1460 enable_scarddlg
1461 enable_sccbase
1462 enable_schannel
1463 enable_schedsvc
1464 enable_scrobj
1465 enable_scrrun
1466 enable_scsiport_sys
1467 enable_secur32
1468 enable_security
1469 enable_sensapi
1470 enable_serialui
1471 enable_setupapi
1472 enable_sfc
1473 enable_sfc_os
1474 enable_shcore
1475 enable_shdoclc
1476 enable_shdocvw
1477 enable_shell32
1478 enable_shfolder
1479 enable_shlwapi
1480 enable_slbcsp
1481 enable_slc
1482 enable_snmpapi
1483 enable_softpub
1484 enable_spoolss
1485 enable_sspicli
1486 enable_stdole2_tlb
1487 enable_stdole32_tlb
1488 enable_sti
1489 enable_strmbase
1490 enable_strmiids
1491 enable_svrapi
1492 enable_sxs
1493 enable_t2embed
1494 enable_tapi32
1495 enable_taskschd
1496 enable_tdh
1497 enable_tdi_sys
1498 enable_traffic
1499 enable_twain_32
1500 enable_ucrtbase
1501 enable_uiautomationcore
1502 enable_uiribbon
1503 enable_unicows
1504 enable_updspapi
1505 enable_url
1506 enable_urlmon
1507 enable_usbd_sys
1508 enable_user32
1509 enable_userenv
1510 enable_usp10
1511 enable_uuid
1512 enable_uxtheme
1513 enable_vbscript
1514 enable_vcomp
1515 enable_vcomp100
1516 enable_vcomp110
1517 enable_vcomp120
1518 enable_vcomp140
1519 enable_vcomp90
1520 enable_vcruntime140
1521 enable_vdmdbg
1522 enable_version
1523 enable_virtdisk
1524 enable_vssapi
1525 enable_wbemdisp
1526 enable_wbemprox
1527 enable_wdscore
1528 enable_webservices
1529 enable_wer
1530 enable_wevtapi
1531 enable_wiaservc
1532 enable_wimgapi
1533 enable_windowscodecs
1534 enable_windowscodecsext
1535 enable_winealsa_drv
1536 enable_wineandroid_drv
1537 enable_winebus_sys
1538 enable_winecoreaudio_drv
1539 enable_winecrt0
1540 enable_wined3d
1541 enable_winegstreamer
1542 enable_winehid_sys
1543 enable_winejoystick_drv
1544 enable_winemac_drv
1545 enable_winemapi
1546 enable_wineoss_drv
1547 enable_wineps_drv
1548 enable_winepulse_drv
1549 enable_wineqtdecoder
1550 enable_winevulkan
1551 enable_winex11_drv
1552 enable_wing32
1553 enable_winhttp
1554 enable_wininet
1555 enable_winmm
1556 enable_winnls32
1557 enable_winscard
1558 enable_winspool_drv
1559 enable_winsta
1560 enable_wintab32
1561 enable_wintrust
1562 enable_winusb
1563 enable_wlanapi
1564 enable_wldap32
1565 enable_wmasf
1566 enable_wmi
1567 enable_wmiutils
1568 enable_wmp
1569 enable_wmphoto
1570 enable_wmvcore
1571 enable_wnaspi32
1572 enable_wpc
1573 enable_wpcap
1574 enable_ws2_32
1575 enable_wsdapi
1576 enable_wshom_ocx
1577 enable_wsnmp32
1578 enable_wsock32
1579 enable_wtsapi32
1580 enable_wuapi
1581 enable_wuaueng
1582 enable_x3daudio1_0
1583 enable_x3daudio1_1
1584 enable_x3daudio1_2
1585 enable_x3daudio1_3
1586 enable_x3daudio1_4
1587 enable_x3daudio1_5
1588 enable_x3daudio1_6
1589 enable_x3daudio1_7
1590 enable_xapofx1_1
1591 enable_xapofx1_2
1592 enable_xapofx1_3
1593 enable_xapofx1_4
1594 enable_xapofx1_5
1595 enable_xaudio2_0
1596 enable_xaudio2_1
1597 enable_xaudio2_2
1598 enable_xaudio2_3
1599 enable_xaudio2_4
1600 enable_xaudio2_5
1601 enable_xaudio2_6
1602 enable_xaudio2_7
1603 enable_xaudio2_8
1604 enable_xaudio2_9
1605 enable_xinput1_1
1606 enable_xinput1_2
1607 enable_xinput1_3
1608 enable_xinput1_4
1609 enable_xinput9_1_0
1610 enable_xmllite
1611 enable_xolehlp
1612 enable_xpsprint
1613 enable_xpssvcs
1614 enable_fonts
1615 enable_include
1616 enable_port
1617 enable_wine
1618 enable_wpp
1619 enable_loader
1620 enable_po
1621 enable_arp
1622 enable_aspnet_regiis
1623 enable_attrib
1624 enable_cabarc
1625 enable_cacls
1626 enable_clock
1627 enable_cmd
1628 enable_conhost
1629 enable_control
1630 enable_cscript
1631 enable_dpnsvr
1632 enable_dxdiag
1633 enable_eject
1634 enable_expand
1635 enable_explorer
1636 enable_extrac32
1637 enable_findstr
1638 enable_fsutil
1639 enable_hh
1640 enable_hostname
1641 enable_icacls
1642 enable_icinfo
1643 enable_iexplore
1644 enable_ipconfig
1645 enable_lodctr
1646 enable_mofcomp
1647 enable_mshta
1648 enable_msiexec
1649 enable_msinfo32
1650 enable_net
1651 enable_netsh
1652 enable_netstat
1653 enable_ngen
1654 enable_notepad
1655 enable_oleview
1656 enable_ping
1657 enable_plugplay
1658 enable_powershell
1659 enable_presentationfontcache
1660 enable_progman
1661 enable_reg
1662 enable_regasm
1663 enable_regedit
1664 enable_regsvcs
1665 enable_regsvr32
1666 enable_rpcss
1667 enable_rundll32
1668 enable_sc
1669 enable_schtasks
1670 enable_sdbinst
1671 enable_secedit
1672 enable_servicemodelreg
1673 enable_services
1674 enable_shutdown
1675 enable_spoolsv
1676 enable_start
1677 enable_subst
1678 enable_svchost
1679 enable_systeminfo
1680 enable_taskkill
1681 enable_tasklist
1682 enable_taskmgr
1683 enable_termsv
1684 enable_uninstaller
1685 enable_unlodctr
1686 enable_view
1687 enable_wevtutil
1688 enable_wineboot
1689 enable_winebrowser
1690 enable_winecfg
1691 enable_wineconsole
1692 enable_winedbg
1693 enable_winedevice
1694 enable_winefile
1695 enable_winemenubuilder
1696 enable_winemine
1697 enable_winemsibuilder
1698 enable_winepath
1699 enable_winetest
1700 enable_winhlp32
1701 enable_winver
1702 enable_wmic
1703 enable_wmplayer
1704 enable_wordpad
1705 enable_write
1706 enable_wscript
1707 enable_wusa
1708 enable_xcopy
1709 enable_server
1710 enable_tools
1711 enable_sfnt2fon
1712 enable_widl
1713 enable_winebuild
1714 enable_winedump
1715 enable_winegcc
1716 enable_winemaker
1717 enable_wmc
1718 enable_wrc
1720 ac_precious_vars='build_alias
1721 host_alias
1722 target_alias
1724 CFLAGS
1725 LDFLAGS
1726 LIBS
1727 CPPFLAGS
1729 CXXFLAGS
1732 XMKMF
1733 XML2_CFLAGS
1734 XML2_LIBS
1735 XSLT_CFLAGS
1736 XSLT_LIBS
1737 DBUS_CFLAGS
1738 DBUS_LIBS
1739 HAL_CFLAGS
1740 HAL_LIBS
1741 GNUTLS_CFLAGS
1742 GNUTLS_LIBS
1743 SANE_CFLAGS
1744 SANE_LIBS
1745 GPHOTO2_CFLAGS
1746 GPHOTO2_LIBS
1747 GPHOTO2_PORT_CFLAGS
1748 GPHOTO2_PORT_LIBS
1749 LCMS2_CFLAGS
1750 LCMS2_LIBS
1751 FREETYPE_CFLAGS
1752 FREETYPE_LIBS
1753 PULSE_CFLAGS
1754 PULSE_LIBS
1755 GSTREAMER_CFLAGS
1756 GSTREAMER_LIBS
1757 UDEV_CFLAGS
1758 UDEV_LIBS
1759 SDL2_CFLAGS
1760 SDL2_LIBS
1761 CAPI20_CFLAGS
1762 CAPI20_LIBS
1763 CUPS_CFLAGS
1764 CUPS_LIBS
1765 FONTCONFIG_CFLAGS
1766 FONTCONFIG_LIBS
1767 KRB5_CFLAGS
1768 KRB5_LIBS
1769 GSSAPI_CFLAGS
1770 GSSAPI_LIBS
1771 JPEG_CFLAGS
1772 JPEG_LIBS
1773 PNG_CFLAGS
1774 PNG_LIBS
1775 TIFF_CFLAGS
1776 TIFF_LIBS
1777 MPG123_CFLAGS
1778 MPG123_LIBS
1779 NETAPI_CFLAGS
1780 NETAPI_LIBS
1781 LDAP_CFLAGS
1782 LDAP_LIBS'
1785 # Initialize some variables set by options.
1786 ac_init_help=
1787 ac_init_version=false
1788 ac_unrecognized_opts=
1789 ac_unrecognized_sep=
1790 # The variables have the same names as the options, with
1791 # dashes changed to underlines.
1792 cache_file=/dev/null
1793 exec_prefix=NONE
1794 no_create=
1795 no_recursion=
1796 prefix=NONE
1797 program_prefix=NONE
1798 program_suffix=NONE
1799 program_transform_name=s,x,x,
1800 silent=
1801 site=
1802 srcdir=
1803 verbose=
1804 x_includes=NONE
1805 x_libraries=NONE
1807 # Installation directory options.
1808 # These are left unexpanded so users can "make install exec_prefix=/foo"
1809 # and all the variables that are supposed to be based on exec_prefix
1810 # by default will actually change.
1811 # Use braces instead of parens because sh, perl, etc. also accept them.
1812 # (The list follows the same order as the GNU Coding Standards.)
1813 bindir='${exec_prefix}/bin'
1814 sbindir='${exec_prefix}/sbin'
1815 libexecdir='${exec_prefix}/libexec'
1816 datarootdir='${prefix}/share'
1817 datadir='${datarootdir}'
1818 sysconfdir='${prefix}/etc'
1819 sharedstatedir='${prefix}/com'
1820 localstatedir='${prefix}/var'
1821 runstatedir='${localstatedir}/run'
1822 includedir='${prefix}/include'
1823 oldincludedir='/usr/include'
1824 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1825 infodir='${datarootdir}/info'
1826 htmldir='${docdir}'
1827 dvidir='${docdir}'
1828 pdfdir='${docdir}'
1829 psdir='${docdir}'
1830 libdir='${exec_prefix}/lib'
1831 localedir='${datarootdir}/locale'
1832 mandir='${datarootdir}/man'
1834 ac_prev=
1835 ac_dashdash=
1836 for ac_option
1838 # If the previous option needs an argument, assign it.
1839 if test -n "$ac_prev"; then
1840 eval $ac_prev=\$ac_option
1841 ac_prev=
1842 continue
1845 case $ac_option in
1846 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1847 *=) ac_optarg= ;;
1848 *) ac_optarg=yes ;;
1849 esac
1851 # Accept the important Cygnus configure options, so we can diagnose typos.
1853 case $ac_dashdash$ac_option in
1855 ac_dashdash=yes ;;
1857 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1858 ac_prev=bindir ;;
1859 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1860 bindir=$ac_optarg ;;
1862 -build | --build | --buil | --bui | --bu)
1863 ac_prev=build_alias ;;
1864 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1865 build_alias=$ac_optarg ;;
1867 -cache-file | --cache-file | --cache-fil | --cache-fi \
1868 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1869 ac_prev=cache_file ;;
1870 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1871 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1872 cache_file=$ac_optarg ;;
1874 --config-cache | -C)
1875 cache_file=config.cache ;;
1877 -datadir | --datadir | --datadi | --datad)
1878 ac_prev=datadir ;;
1879 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1880 datadir=$ac_optarg ;;
1882 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1883 | --dataroo | --dataro | --datar)
1884 ac_prev=datarootdir ;;
1885 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1886 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1887 datarootdir=$ac_optarg ;;
1889 -disable-* | --disable-*)
1890 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1891 # Reject names that are not valid shell variable names.
1892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1893 as_fn_error $? "invalid feature name: $ac_useropt"
1894 ac_useropt_orig=$ac_useropt
1895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1896 case $ac_user_opts in
1898 "enable_$ac_useropt"
1899 "*) ;;
1900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1901 ac_unrecognized_sep=', ';;
1902 esac
1903 eval enable_$ac_useropt=no ;;
1905 -docdir | --docdir | --docdi | --doc | --do)
1906 ac_prev=docdir ;;
1907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1908 docdir=$ac_optarg ;;
1910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1911 ac_prev=dvidir ;;
1912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1913 dvidir=$ac_optarg ;;
1915 -enable-* | --enable-*)
1916 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1917 # Reject names that are not valid shell variable names.
1918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1919 as_fn_error $? "invalid feature name: $ac_useropt"
1920 ac_useropt_orig=$ac_useropt
1921 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1922 case $ac_user_opts in
1924 "enable_$ac_useropt"
1925 "*) ;;
1926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1927 ac_unrecognized_sep=', ';;
1928 esac
1929 eval enable_$ac_useropt=\$ac_optarg ;;
1931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1933 | --exec | --exe | --ex)
1934 ac_prev=exec_prefix ;;
1935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1937 | --exec=* | --exe=* | --ex=*)
1938 exec_prefix=$ac_optarg ;;
1940 -gas | --gas | --ga | --g)
1941 # Obsolete; use --with-gas.
1942 with_gas=yes ;;
1944 -help | --help | --hel | --he | -h)
1945 ac_init_help=long ;;
1946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1947 ac_init_help=recursive ;;
1948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1949 ac_init_help=short ;;
1951 -host | --host | --hos | --ho)
1952 ac_prev=host_alias ;;
1953 -host=* | --host=* | --hos=* | --ho=*)
1954 host_alias=$ac_optarg ;;
1956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1957 ac_prev=htmldir ;;
1958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1959 | --ht=*)
1960 htmldir=$ac_optarg ;;
1962 -includedir | --includedir | --includedi | --included | --include \
1963 | --includ | --inclu | --incl | --inc)
1964 ac_prev=includedir ;;
1965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1966 | --includ=* | --inclu=* | --incl=* | --inc=*)
1967 includedir=$ac_optarg ;;
1969 -infodir | --infodir | --infodi | --infod | --info | --inf)
1970 ac_prev=infodir ;;
1971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1972 infodir=$ac_optarg ;;
1974 -libdir | --libdir | --libdi | --libd)
1975 ac_prev=libdir ;;
1976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1977 libdir=$ac_optarg ;;
1979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1980 | --libexe | --libex | --libe)
1981 ac_prev=libexecdir ;;
1982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1983 | --libexe=* | --libex=* | --libe=*)
1984 libexecdir=$ac_optarg ;;
1986 -localedir | --localedir | --localedi | --localed | --locale)
1987 ac_prev=localedir ;;
1988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1989 localedir=$ac_optarg ;;
1991 -localstatedir | --localstatedir | --localstatedi | --localstated \
1992 | --localstate | --localstat | --localsta | --localst | --locals)
1993 ac_prev=localstatedir ;;
1994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1996 localstatedir=$ac_optarg ;;
1998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1999 ac_prev=mandir ;;
2000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2001 mandir=$ac_optarg ;;
2003 -nfp | --nfp | --nf)
2004 # Obsolete; use --without-fp.
2005 with_fp=no ;;
2007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2008 | --no-cr | --no-c | -n)
2009 no_create=yes ;;
2011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2013 no_recursion=yes ;;
2015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2017 | --oldin | --oldi | --old | --ol | --o)
2018 ac_prev=oldincludedir ;;
2019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2022 oldincludedir=$ac_optarg ;;
2024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2025 ac_prev=prefix ;;
2026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2027 prefix=$ac_optarg ;;
2029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2030 | --program-pre | --program-pr | --program-p)
2031 ac_prev=program_prefix ;;
2032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2034 program_prefix=$ac_optarg ;;
2036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2037 | --program-suf | --program-su | --program-s)
2038 ac_prev=program_suffix ;;
2039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2041 program_suffix=$ac_optarg ;;
2043 -program-transform-name | --program-transform-name \
2044 | --program-transform-nam | --program-transform-na \
2045 | --program-transform-n | --program-transform- \
2046 | --program-transform | --program-transfor \
2047 | --program-transfo | --program-transf \
2048 | --program-trans | --program-tran \
2049 | --progr-tra | --program-tr | --program-t)
2050 ac_prev=program_transform_name ;;
2051 -program-transform-name=* | --program-transform-name=* \
2052 | --program-transform-nam=* | --program-transform-na=* \
2053 | --program-transform-n=* | --program-transform-=* \
2054 | --program-transform=* | --program-transfor=* \
2055 | --program-transfo=* | --program-transf=* \
2056 | --program-trans=* | --program-tran=* \
2057 | --progr-tra=* | --program-tr=* | --program-t=*)
2058 program_transform_name=$ac_optarg ;;
2060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2061 ac_prev=pdfdir ;;
2062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2063 pdfdir=$ac_optarg ;;
2065 -psdir | --psdir | --psdi | --psd | --ps)
2066 ac_prev=psdir ;;
2067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2068 psdir=$ac_optarg ;;
2070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071 | -silent | --silent | --silen | --sile | --sil)
2072 silent=yes ;;
2074 -runstatedir | --runstatedir | --runstatedi | --runstated \
2075 | --runstate | --runstat | --runsta | --runst | --runs \
2076 | --run | --ru | --r)
2077 ac_prev=runstatedir ;;
2078 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2079 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2080 | --run=* | --ru=* | --r=*)
2081 runstatedir=$ac_optarg ;;
2083 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2084 ac_prev=sbindir ;;
2085 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2086 | --sbi=* | --sb=*)
2087 sbindir=$ac_optarg ;;
2089 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2090 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2091 | --sharedst | --shareds | --shared | --share | --shar \
2092 | --sha | --sh)
2093 ac_prev=sharedstatedir ;;
2094 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2095 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2096 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2097 | --sha=* | --sh=*)
2098 sharedstatedir=$ac_optarg ;;
2100 -site | --site | --sit)
2101 ac_prev=site ;;
2102 -site=* | --site=* | --sit=*)
2103 site=$ac_optarg ;;
2105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2106 ac_prev=srcdir ;;
2107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2108 srcdir=$ac_optarg ;;
2110 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2111 | --syscon | --sysco | --sysc | --sys | --sy)
2112 ac_prev=sysconfdir ;;
2113 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2114 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2115 sysconfdir=$ac_optarg ;;
2117 -target | --target | --targe | --targ | --tar | --ta | --t)
2118 ac_prev=target_alias ;;
2119 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2120 target_alias=$ac_optarg ;;
2122 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2123 verbose=yes ;;
2125 -version | --version | --versio | --versi | --vers | -V)
2126 ac_init_version=: ;;
2128 -with-* | --with-*)
2129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2130 # Reject names that are not valid shell variable names.
2131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2132 as_fn_error $? "invalid package name: $ac_useropt"
2133 ac_useropt_orig=$ac_useropt
2134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2135 case $ac_user_opts in
2137 "with_$ac_useropt"
2138 "*) ;;
2139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2140 ac_unrecognized_sep=', ';;
2141 esac
2142 eval with_$ac_useropt=\$ac_optarg ;;
2144 -without-* | --without-*)
2145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2146 # Reject names that are not valid shell variable names.
2147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2148 as_fn_error $? "invalid package name: $ac_useropt"
2149 ac_useropt_orig=$ac_useropt
2150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2151 case $ac_user_opts in
2153 "with_$ac_useropt"
2154 "*) ;;
2155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2156 ac_unrecognized_sep=', ';;
2157 esac
2158 eval with_$ac_useropt=no ;;
2160 --x)
2161 # Obsolete; use --with-x.
2162 with_x=yes ;;
2164 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2165 | --x-incl | --x-inc | --x-in | --x-i)
2166 ac_prev=x_includes ;;
2167 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2168 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2169 x_includes=$ac_optarg ;;
2171 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2172 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2173 ac_prev=x_libraries ;;
2174 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2175 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2176 x_libraries=$ac_optarg ;;
2178 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2179 Try \`$0 --help' for more information"
2182 *=*)
2183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2184 # Reject names that are not valid shell variable names.
2185 case $ac_envvar in #(
2186 '' | [0-9]* | *[!_$as_cr_alnum]* )
2187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2188 esac
2189 eval $ac_envvar=\$ac_optarg
2190 export $ac_envvar ;;
2193 # FIXME: should be removed in autoconf 3.0.
2194 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2196 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2200 esac
2201 done
2203 if test -n "$ac_prev"; then
2204 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2205 as_fn_error $? "missing argument to $ac_option"
2208 if test -n "$ac_unrecognized_opts"; then
2209 case $enable_option_checking in
2210 no) ;;
2211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2212 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2213 esac
2216 # Check all directory arguments for consistency.
2217 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2218 datadir sysconfdir sharedstatedir localstatedir includedir \
2219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2220 libdir localedir mandir runstatedir
2222 eval ac_val=\$$ac_var
2223 # Remove trailing slashes.
2224 case $ac_val in
2225 */ )
2226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2227 eval $ac_var=\$ac_val;;
2228 esac
2229 # Be sure to have absolute directory names.
2230 case $ac_val in
2231 [\\/$]* | ?:[\\/]* ) continue;;
2232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2233 esac
2234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2235 done
2237 # There might be people who depend on the old broken behavior: `$host'
2238 # used to hold the argument of --host etc.
2239 # FIXME: To remove some day.
2240 build=$build_alias
2241 host=$host_alias
2242 target=$target_alias
2244 # FIXME: To remove some day.
2245 if test "x$host_alias" != x; then
2246 if test "x$build_alias" = x; then
2247 cross_compiling=maybe
2248 elif test "x$build_alias" != "x$host_alias"; then
2249 cross_compiling=yes
2253 ac_tool_prefix=
2254 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2256 test "$silent" = yes && exec 6>/dev/null
2259 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2260 ac_ls_di=`ls -di .` &&
2261 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2262 as_fn_error $? "working directory cannot be determined"
2263 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2264 as_fn_error $? "pwd does not report name of working directory"
2267 # Find the source files, if location was not specified.
2268 if test -z "$srcdir"; then
2269 ac_srcdir_defaulted=yes
2270 # Try the directory containing this script, then the parent directory.
2271 ac_confdir=`$as_dirname -- "$as_myself" ||
2272 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2273 X"$as_myself" : 'X\(//\)[^/]' \| \
2274 X"$as_myself" : 'X\(//\)$' \| \
2275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2276 $as_echo X"$as_myself" |
2277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2278 s//\1/
2281 /^X\(\/\/\)[^/].*/{
2282 s//\1/
2285 /^X\(\/\/\)$/{
2286 s//\1/
2289 /^X\(\/\).*/{
2290 s//\1/
2293 s/.*/./; q'`
2294 srcdir=$ac_confdir
2295 if test ! -r "$srcdir/$ac_unique_file"; then
2296 srcdir=..
2298 else
2299 ac_srcdir_defaulted=no
2301 if test ! -r "$srcdir/$ac_unique_file"; then
2302 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2303 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2305 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2306 ac_abs_confdir=`(
2307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2308 pwd)`
2309 # When building in place, set srcdir=.
2310 if test "$ac_abs_confdir" = "$ac_pwd"; then
2311 srcdir=.
2313 # Remove unnecessary trailing slashes from srcdir.
2314 # Double slashes in file names in object file debugging info
2315 # mess up M-x gdb in Emacs.
2316 case $srcdir in
2317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2318 esac
2319 for ac_var in $ac_precious_vars; do
2320 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2321 eval ac_env_${ac_var}_value=\$${ac_var}
2322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2323 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2324 done
2327 # Report the --help message.
2329 if test "$ac_init_help" = "long"; then
2330 # Omit some internal or obsolete options to make the list less imposing.
2331 # This message is too long to be a string in the A/UX 3.1 sh.
2332 cat <<_ACEOF
2333 \`configure' configures Wine 3.3 to adapt to many kinds of systems.
2335 Usage: $0 [OPTION]... [VAR=VALUE]...
2337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2338 VAR=VALUE. See below for descriptions of some of the useful variables.
2340 Defaults for the options are specified in brackets.
2342 Configuration:
2343 -h, --help display this help and exit
2344 --help=short display options specific to this package
2345 --help=recursive display the short help of all the included packages
2346 -V, --version display version information and exit
2347 -q, --quiet, --silent do not print \`checking ...' messages
2348 --cache-file=FILE cache test results in FILE [disabled]
2349 -C, --config-cache alias for \`--cache-file=config.cache'
2350 -n, --no-create do not create output files
2351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2353 Installation directories:
2354 --prefix=PREFIX install architecture-independent files in PREFIX
2355 [$ac_default_prefix]
2356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2357 [PREFIX]
2359 By default, \`make install' will install all the files in
2360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2362 for instance \`--prefix=\$HOME'.
2364 For better control, use the options below.
2366 Fine tuning of the installation directories:
2367 --bindir=DIR user executables [EPREFIX/bin]
2368 --sbindir=DIR system admin executables [EPREFIX/sbin]
2369 --libexecdir=DIR program executables [EPREFIX/libexec]
2370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2373 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2374 --libdir=DIR object code libraries [EPREFIX/lib]
2375 --includedir=DIR C header files [PREFIX/include]
2376 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2379 --infodir=DIR info documentation [DATAROOTDIR/info]
2380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2381 --mandir=DIR man documentation [DATAROOTDIR/man]
2382 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2383 --htmldir=DIR html documentation [DOCDIR]
2384 --dvidir=DIR dvi documentation [DOCDIR]
2385 --pdfdir=DIR pdf documentation [DOCDIR]
2386 --psdir=DIR ps documentation [DOCDIR]
2387 _ACEOF
2389 cat <<\_ACEOF
2391 X features:
2392 --x-includes=DIR X include files are in DIR
2393 --x-libraries=DIR X library files are in DIR
2395 System types:
2396 --build=BUILD configure for building on BUILD [guessed]
2397 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2398 _ACEOF
2401 if test -n "$ac_init_help"; then
2402 case $ac_init_help in
2403 short | recursive ) echo "Configuration of Wine 3.3:";;
2404 esac
2405 cat <<\_ACEOF
2407 Optional Features:
2408 --disable-option-checking ignore unrecognized --enable/--with options
2409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2411 --disable-win16 do not include Win16 support
2412 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2413 binaries)
2414 --disable-tests do not build the regression tests
2415 --enable-maintainer-mode
2416 enable maintainer-specific build rules
2417 --disable-largefile omit support for large files
2419 Optional Packages:
2420 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2421 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2422 --without-alsa do not use the Alsa sound support
2423 --without-capi do not use CAPI (ISDN support)
2424 --without-cms do not use CMS (color management support)
2425 --without-coreaudio do not use the CoreAudio sound support
2426 --without-cups do not use CUPS
2427 --without-curses do not use (n)curses
2428 --without-dbus do not use DBus (dynamic device support)
2429 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2430 --without-fontconfig do not use fontconfig
2431 --without-freetype do not use the FreeType library
2432 --without-gettext do not use gettext
2433 --with-gettextpo use the GetTextPO library to rebuild po files
2434 --without-gphoto do not use gphoto (Digital Camera support)
2435 --without-glu do not use the GLU library
2436 --without-gnutls do not use GnuTLS (schannel support)
2437 --without-gsm do not use libgsm (GSM 06.10 codec support)
2438 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2439 --without-gstreamer do not use GStreamer (codecs support)
2440 --without-hal do not use HAL (dynamic device support)
2441 --without-jpeg do not use JPEG
2442 --without-krb5 do not use krb5 (Kerberos)
2443 --without-ldap do not use LDAP
2444 --without-mpg123 do not use the mpg123 library
2445 --without-netapi do not use the Samba NetAPI library
2446 --without-openal do not use OpenAL
2447 --without-opencl do not use OpenCL
2448 --without-opengl do not use OpenGL
2449 --without-osmesa do not use the OSMesa library
2450 --without-oss do not use the OSS sound support
2451 --without-pcap do not use the Packet Capture library
2452 --without-png do not use PNG
2453 --without-pthread do not use the pthread library
2454 --without-pulse do not use PulseAudio sound support
2455 --without-sane do not use SANE (scanner support)
2456 --without-sdl do not use SDL
2457 --without-tiff do not use TIFF
2458 --without-udev do not use udev (plug and play support)
2459 --without-v4l do not use v4l1 (v4l support)
2460 --without-vulkan do not use Vulkan
2461 --without-xcomposite do not use the Xcomposite extension
2462 --without-xcursor do not use the Xcursor extension
2463 --without-xfixes do not use Xfixes for clipboard change notifications
2464 --without-xinerama do not use Xinerama (multi-monitor support)
2465 --without-xinput do not use the Xinput extension
2466 --without-xinput2 do not use the Xinput 2 extension
2467 --without-xml do not use XML
2468 --without-xrandr do not use Xrandr (resolution changes)
2469 --without-xrender do not use the Xrender extension
2470 --without-xshape do not use the Xshape extension
2471 --without-xshm do not use XShm (shared memory extension)
2472 --without-xslt do not use XSLT
2473 --without-xxf86vm do not use XFree video mode extension
2474 --without-zlib do not use Zlib (data compression)
2475 --with-wine-tools=DIR use Wine tools from directory DIR
2476 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2477 --with-x use the X Window System
2479 Some influential environment variables:
2480 CC C compiler command
2481 CFLAGS C compiler flags
2482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2483 nonstandard directory <lib dir>
2484 LIBS libraries to pass to the linker, e.g. -l<library>
2485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2486 you have headers in a nonstandard directory <include dir>
2487 CXX C++ compiler command
2488 CXXFLAGS C++ compiler flags
2489 CPP C preprocessor
2490 XMKMF Path to xmkmf, Makefile generator for X Window System
2491 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2492 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2493 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2494 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2495 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2496 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2497 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2498 HAL_LIBS Linker flags for hal, overriding pkg-config
2499 GNUTLS_CFLAGS
2500 C compiler flags for gnutls, overriding pkg-config
2501 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2502 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2503 SANE_LIBS Linker flags for libsane, overriding pkg-config
2504 GPHOTO2_CFLAGS
2505 C compiler flags for libgphoto2, overriding pkg-config
2506 GPHOTO2_LIBS
2507 Linker flags for libgphoto2, overriding pkg-config
2508 GPHOTO2_PORT_CFLAGS
2509 C compiler flags for libgphoto2_port, overriding pkg-config
2510 GPHOTO2_PORT_LIBS
2511 Linker flags for libgphoto2_port, overriding pkg-config
2512 LCMS2_CFLAGS
2513 C compiler flags for lcms2, overriding pkg-config
2514 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2515 FREETYPE_CFLAGS
2516 C compiler flags for freetype2, overriding pkg-config
2517 FREETYPE_LIBS
2518 Linker flags for freetype2, overriding pkg-config
2519 PULSE_CFLAGS
2520 C compiler flags for libpulse, overriding pkg-config
2521 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2522 GSTREAMER_CFLAGS
2523 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2524 gstreamer-audio-1.0, overriding pkg-config
2525 GSTREAMER_LIBS
2526 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2527 gstreamer-audio-1.0, overriding pkg-config
2528 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2529 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2530 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2531 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2532 CAPI20_CFLAGS
2533 C compiler flags for capi20, overriding pkg-config
2534 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2535 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2536 CUPS_LIBS Linker flags for cups, overriding pkg-config
2537 FONTCONFIG_CFLAGS
2538 C compiler flags for fontconfig, overriding pkg-config
2539 FONTCONFIG_LIBS
2540 Linker flags for fontconfig, overriding pkg-config
2541 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2542 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2543 GSSAPI_CFLAGS
2544 C compiler flags for krb5-gssapi, overriding pkg-config
2545 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2546 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2547 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2548 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2549 PNG_LIBS Linker flags for libpng, overriding pkg-config
2550 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2551 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2552 MPG123_CFLAGS
2553 C compiler flags for libmpg123, overriding pkg-config
2554 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2555 NETAPI_CFLAGS
2556 C compiler flags for netapi, overriding pkg-config
2557 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2558 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2559 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2561 Use these variables to override the choices made by `configure' or to help
2562 it to find libraries and programs with nonstandard names/locations.
2564 Report bugs to <wine-devel@winehq.org>.
2565 Wine home page: <https://www.winehq.org>.
2566 _ACEOF
2567 ac_status=$?
2570 if test "$ac_init_help" = "recursive"; then
2571 # If there are subdirs, report their specific --help.
2572 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2573 test -d "$ac_dir" ||
2574 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2575 continue
2576 ac_builddir=.
2578 case "$ac_dir" in
2579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2581 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2582 # A ".." for each directory in $ac_dir_suffix.
2583 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2584 case $ac_top_builddir_sub in
2585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2587 esac ;;
2588 esac
2589 ac_abs_top_builddir=$ac_pwd
2590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2591 # for backward compatibility:
2592 ac_top_builddir=$ac_top_build_prefix
2594 case $srcdir in
2595 .) # We are building in place.
2596 ac_srcdir=.
2597 ac_top_srcdir=$ac_top_builddir_sub
2598 ac_abs_top_srcdir=$ac_pwd ;;
2599 [\\/]* | ?:[\\/]* ) # Absolute name.
2600 ac_srcdir=$srcdir$ac_dir_suffix;
2601 ac_top_srcdir=$srcdir
2602 ac_abs_top_srcdir=$srcdir ;;
2603 *) # Relative name.
2604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2605 ac_top_srcdir=$ac_top_build_prefix$srcdir
2606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2607 esac
2608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2610 cd "$ac_dir" || { ac_status=$?; continue; }
2611 # Check for guested configure.
2612 if test -f "$ac_srcdir/configure.gnu"; then
2613 echo &&
2614 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2615 elif test -f "$ac_srcdir/configure"; then
2616 echo &&
2617 $SHELL "$ac_srcdir/configure" --help=recursive
2618 else
2619 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2620 fi || ac_status=$?
2621 cd "$ac_pwd" || { ac_status=$?; break; }
2622 done
2625 test -n "$ac_init_help" && exit $ac_status
2626 if $ac_init_version; then
2627 cat <<\_ACEOF
2628 Wine configure 3.3
2629 generated by GNU Autoconf 2.69
2631 Copyright (C) 2012 Free Software Foundation, Inc.
2632 This configure script is free software; the Free Software Foundation
2633 gives unlimited permission to copy, distribute and modify it.
2634 _ACEOF
2635 exit
2638 ## ------------------------ ##
2639 ## Autoconf initialization. ##
2640 ## ------------------------ ##
2642 # ac_fn_c_try_compile LINENO
2643 # --------------------------
2644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2645 ac_fn_c_try_compile ()
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 rm -f conftest.$ac_objext
2649 if { { ac_try="$ac_compile"
2650 case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_compile") 2>conftest.err
2657 ac_status=$?
2658 if test -s conftest.err; then
2659 grep -v '^ *+' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2661 mv -f conftest.er1 conftest.err
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then :
2668 ac_retval=0
2669 else
2670 $as_echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_retval=1
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 as_fn_set_status $ac_retval
2678 } # ac_fn_c_try_compile
2680 # ac_fn_cxx_try_compile LINENO
2681 # ----------------------------
2682 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_cxx_try_compile ()
2685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686 rm -f conftest.$ac_objext
2687 if { { ac_try="$ac_compile"
2688 case "(($ac_try" in
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2691 esac
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_compile") 2>conftest.err
2695 ac_status=$?
2696 if test -s conftest.err; then
2697 grep -v '^ *+' conftest.err >conftest.er1
2698 cat conftest.er1 >&5
2699 mv -f conftest.er1 conftest.err
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } && {
2703 test -z "$ac_cxx_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest.$ac_objext; then :
2706 ac_retval=0
2707 else
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_retval=1
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 as_fn_set_status $ac_retval
2716 } # ac_fn_cxx_try_compile
2718 # ac_fn_c_try_link LINENO
2719 # -----------------------
2720 # Try to link conftest.$ac_ext, and return whether this succeeded.
2721 ac_fn_c_try_link ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 rm -f conftest.$ac_objext conftest$ac_exeext
2725 if { { ac_try="$ac_link"
2726 case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 $as_echo "$ac_try_echo"; } >&5
2732 (eval "$ac_link") 2>conftest.err
2733 ac_status=$?
2734 if test -s conftest.err; then
2735 grep -v '^ *+' conftest.err >conftest.er1
2736 cat conftest.er1 >&5
2737 mv -f conftest.er1 conftest.err
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && {
2741 test -z "$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 } && test -s conftest$ac_exeext && {
2744 test "$cross_compiling" = yes ||
2745 test -x conftest$ac_exeext
2746 }; then :
2747 ac_retval=0
2748 else
2749 $as_echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_retval=1
2754 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2755 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2756 # interfere with the next link command; also delete a directory that is
2757 # left behind by Apple's compiler. We do this before executing the actions.
2758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_link
2764 # ac_fn_c_try_cpp LINENO
2765 # ----------------------
2766 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_c_try_cpp ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 if { { ac_try="$ac_cpp conftest.$ac_ext"
2771 case "(($ac_try" in
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2774 esac
2775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2776 $as_echo "$ac_try_echo"; } >&5
2777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2778 ac_status=$?
2779 if test -s conftest.err; then
2780 grep -v '^ *+' conftest.err >conftest.er1
2781 cat conftest.er1 >&5
2782 mv -f conftest.er1 conftest.err
2784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2785 test $ac_status = 0; } > conftest.i && {
2786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2787 test ! -s conftest.err
2788 }; then :
2789 ac_retval=0
2790 else
2791 $as_echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2794 ac_retval=1
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status $ac_retval
2799 } # ac_fn_c_try_cpp
2801 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2802 # -------------------------------------------------------
2803 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2804 # the include files in INCLUDES and setting the cache variable VAR
2805 # accordingly.
2806 ac_fn_c_check_header_mongrel ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 if eval \${$3+:} false; then :
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2811 $as_echo_n "checking for $2... " >&6; }
2812 if eval \${$3+:} false; then :
2813 $as_echo_n "(cached) " >&6
2815 eval ac_res=\$$3
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2817 $as_echo "$ac_res" >&6; }
2818 else
2819 # Is the header compilable?
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2821 $as_echo_n "checking $2 usability... " >&6; }
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2825 #include <$2>
2826 _ACEOF
2827 if ac_fn_c_try_compile "$LINENO"; then :
2828 ac_header_compiler=yes
2829 else
2830 ac_header_compiler=no
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2834 $as_echo "$ac_header_compiler" >&6; }
2836 # Is the header present?
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2838 $as_echo_n "checking $2 presence... " >&6; }
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2841 #include <$2>
2842 _ACEOF
2843 if ac_fn_c_try_cpp "$LINENO"; then :
2844 ac_header_preproc=yes
2845 else
2846 ac_header_preproc=no
2848 rm -f conftest.err conftest.i conftest.$ac_ext
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2850 $as_echo "$ac_header_preproc" >&6; }
2852 # So? What about this header?
2853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2854 yes:no: )
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2856 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2858 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2860 no:yes:* )
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2862 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2864 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2866 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2868 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2870 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2871 ( $as_echo "## ------------------------------------ ##
2872 ## Report this to wine-devel@winehq.org ##
2873 ## ------------------------------------ ##"
2874 ) | sed "s/^/$as_me: WARNING: /" >&2
2876 esac
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 $as_echo_n "checking for $2... " >&6; }
2879 if eval \${$3+:} false; then :
2880 $as_echo_n "(cached) " >&6
2881 else
2882 eval "$3=\$ac_header_compiler"
2884 eval ac_res=\$$3
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2886 $as_echo "$ac_res" >&6; }
2888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2890 } # ac_fn_c_check_header_mongrel
2892 # ac_fn_c_try_run LINENO
2893 # ----------------------
2894 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2895 # that executables *can* be run.
2896 ac_fn_c_try_run ()
2898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2899 if { { ac_try="$ac_link"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 $as_echo "$ac_try_echo"; } >&5
2906 (eval "$ac_link") 2>&5
2907 ac_status=$?
2908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2909 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2910 { { case "(($ac_try" in
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2913 esac
2914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2915 $as_echo "$ac_try_echo"; } >&5
2916 (eval "$ac_try") 2>&5
2917 ac_status=$?
2918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2919 test $ac_status = 0; }; }; then :
2920 ac_retval=0
2921 else
2922 $as_echo "$as_me: program exited with status $ac_status" >&5
2923 $as_echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2926 ac_retval=$ac_status
2928 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 as_fn_set_status $ac_retval
2932 } # ac_fn_c_try_run
2934 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2935 # -------------------------------------------------------
2936 # Tests whether HEADER exists and can be compiled using the include files in
2937 # INCLUDES, setting the cache variable VAR accordingly.
2938 ac_fn_c_check_header_compile ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2942 $as_echo_n "checking for $2... " >&6; }
2943 if eval \${$3+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2949 #include <$2>
2950 _ACEOF
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 eval "$3=yes"
2953 else
2954 eval "$3=no"
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 eval ac_res=\$$3
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 $as_echo "$ac_res" >&6; }
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 } # ac_fn_c_check_header_compile
2965 # ac_fn_c_check_func LINENO FUNC VAR
2966 # ----------------------------------
2967 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2968 ac_fn_c_check_func ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2972 $as_echo_n "checking for $2... " >&6; }
2973 if eval \${$3+:} false; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2978 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2980 #define $2 innocuous_$2
2982 /* System header to define __stub macros and hopefully few prototypes,
2983 which can conflict with char $2 (); below.
2984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2985 <limits.h> exists even on freestanding compilers. */
2987 #ifdef __STDC__
2988 # include <limits.h>
2989 #else
2990 # include <assert.h>
2991 #endif
2993 #undef $2
2995 /* Override any GCC internal prototype to avoid an error.
2996 Use char because int might match the return type of a GCC
2997 builtin and then its argument prototype would still apply. */
2998 #ifdef __cplusplus
2999 extern "C"
3000 #endif
3001 char $2 ();
3002 /* The GNU C library defines this for functions which it implements
3003 to always fail with ENOSYS. Some functions are actually named
3004 something starting with __ and the normal name is an alias. */
3005 #if defined __stub_$2 || defined __stub___$2
3006 choke me
3007 #endif
3010 main ()
3012 return $2 ();
3014 return 0;
3016 _ACEOF
3017 if ac_fn_c_try_link "$LINENO"; then :
3018 eval "$3=yes"
3019 else
3020 eval "$3=no"
3022 rm -f core conftest.err conftest.$ac_objext \
3023 conftest$ac_exeext conftest.$ac_ext
3025 eval ac_res=\$$3
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 $as_echo "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_func
3032 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3033 # ----------------------------------------------------
3034 # Tries to find if the field MEMBER exists in type AGGR, after including
3035 # INCLUDES, setting cache variable VAR accordingly.
3036 ac_fn_c_check_member ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3040 $as_echo_n "checking for $2.$3... " >&6; }
3041 if eval \${$4+:} false; then :
3042 $as_echo_n "(cached) " >&6
3043 else
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3048 main ()
3050 static $2 ac_aggr;
3051 if (ac_aggr.$3)
3052 return 0;
3054 return 0;
3056 _ACEOF
3057 if ac_fn_c_try_compile "$LINENO"; then :
3058 eval "$4=yes"
3059 else
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3064 main ()
3066 static $2 ac_aggr;
3067 if (sizeof ac_aggr.$3)
3068 return 0;
3070 return 0;
3072 _ACEOF
3073 if ac_fn_c_try_compile "$LINENO"; then :
3074 eval "$4=yes"
3075 else
3076 eval "$4=no"
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 eval ac_res=\$$4
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 $as_echo "$ac_res" >&6; }
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 } # ac_fn_c_check_member
3089 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3090 # -------------------------------------------
3091 # Tests whether TYPE exists after having included INCLUDES, setting cache
3092 # variable VAR accordingly.
3093 ac_fn_c_check_type ()
3095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3097 $as_echo_n "checking for $2... " >&6; }
3098 if eval \${$3+:} false; then :
3099 $as_echo_n "(cached) " >&6
3100 else
3101 eval "$3=no"
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3106 main ()
3108 if (sizeof ($2))
3109 return 0;
3111 return 0;
3113 _ACEOF
3114 if ac_fn_c_try_compile "$LINENO"; then :
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3119 main ()
3121 if (sizeof (($2)))
3122 return 0;
3124 return 0;
3126 _ACEOF
3127 if ac_fn_c_try_compile "$LINENO"; then :
3129 else
3130 eval "$3=yes"
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 eval ac_res=\$$3
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3138 $as_echo "$ac_res" >&6; }
3139 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3141 } # ac_fn_c_check_type
3142 cat >config.log <<_ACEOF
3143 This file contains any messages produced by compilers while
3144 running configure, to aid debugging if configure makes a mistake.
3146 It was created by Wine $as_me 3.3, which was
3147 generated by GNU Autoconf 2.69. Invocation command line was
3149 $ $0 $@
3151 _ACEOF
3152 exec 5>>config.log
3154 cat <<_ASUNAME
3155 ## --------- ##
3156 ## Platform. ##
3157 ## --------- ##
3159 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3160 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3161 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3162 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3163 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3165 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3166 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3168 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3169 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3170 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3171 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3172 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3173 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3174 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3176 _ASUNAME
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3181 IFS=$as_save_IFS
3182 test -z "$as_dir" && as_dir=.
3183 $as_echo "PATH: $as_dir"
3184 done
3185 IFS=$as_save_IFS
3187 } >&5
3189 cat >&5 <<_ACEOF
3192 ## ----------- ##
3193 ## Core tests. ##
3194 ## ----------- ##
3196 _ACEOF
3199 # Keep a trace of the command line.
3200 # Strip out --no-create and --no-recursion so they do not pile up.
3201 # Strip out --silent because we don't want to record it for future runs.
3202 # Also quote any args containing shell meta-characters.
3203 # Make two passes to allow for proper duplicate-argument suppression.
3204 ac_configure_args=
3205 ac_configure_args0=
3206 ac_configure_args1=
3207 ac_must_keep_next=false
3208 for ac_pass in 1 2
3210 for ac_arg
3212 case $ac_arg in
3213 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3215 | -silent | --silent | --silen | --sile | --sil)
3216 continue ;;
3217 *\'*)
3218 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3219 esac
3220 case $ac_pass in
3221 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3223 as_fn_append ac_configure_args1 " '$ac_arg'"
3224 if test $ac_must_keep_next = true; then
3225 ac_must_keep_next=false # Got value, back to normal.
3226 else
3227 case $ac_arg in
3228 *=* | --config-cache | -C | -disable-* | --disable-* \
3229 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3230 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3231 | -with-* | --with-* | -without-* | --without-* | --x)
3232 case "$ac_configure_args0 " in
3233 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3234 esac
3236 -* ) ac_must_keep_next=true ;;
3237 esac
3239 as_fn_append ac_configure_args " '$ac_arg'"
3241 esac
3242 done
3243 done
3244 { ac_configure_args0=; unset ac_configure_args0;}
3245 { ac_configure_args1=; unset ac_configure_args1;}
3247 # When interrupted or exit'd, cleanup temporary files, and complete
3248 # config.log. We remove comments because anyway the quotes in there
3249 # would cause problems or look ugly.
3250 # WARNING: Use '\'' to represent an apostrophe within the trap.
3251 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3252 trap 'exit_status=$?
3253 # Save into config.log some information that might help in debugging.
3255 echo
3257 $as_echo "## ---------------- ##
3258 ## Cache variables. ##
3259 ## ---------------- ##"
3260 echo
3261 # The following way of writing the cache mishandles newlines in values,
3263 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3264 eval ac_val=\$$ac_var
3265 case $ac_val in #(
3266 *${as_nl}*)
3267 case $ac_var in #(
3268 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3269 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3270 esac
3271 case $ac_var in #(
3272 _ | IFS | as_nl) ;; #(
3273 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3274 *) { eval $ac_var=; unset $ac_var;} ;;
3275 esac ;;
3276 esac
3277 done
3278 (set) 2>&1 |
3279 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3280 *${as_nl}ac_space=\ *)
3281 sed -n \
3282 "s/'\''/'\''\\\\'\'''\''/g;
3283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3284 ;; #(
3286 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3288 esac |
3289 sort
3291 echo
3293 $as_echo "## ----------------- ##
3294 ## Output variables. ##
3295 ## ----------------- ##"
3296 echo
3297 for ac_var in $ac_subst_vars
3299 eval ac_val=\$$ac_var
3300 case $ac_val in
3301 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3302 esac
3303 $as_echo "$ac_var='\''$ac_val'\''"
3304 done | sort
3305 echo
3307 if test -n "$ac_subst_files"; then
3308 $as_echo "## ------------------- ##
3309 ## File substitutions. ##
3310 ## ------------------- ##"
3311 echo
3312 for ac_var in $ac_subst_files
3314 eval ac_val=\$$ac_var
3315 case $ac_val in
3316 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3317 esac
3318 $as_echo "$ac_var='\''$ac_val'\''"
3319 done | sort
3320 echo
3323 if test -s confdefs.h; then
3324 $as_echo "## ----------- ##
3325 ## confdefs.h. ##
3326 ## ----------- ##"
3327 echo
3328 cat confdefs.h
3329 echo
3331 test "$ac_signal" != 0 &&
3332 $as_echo "$as_me: caught signal $ac_signal"
3333 $as_echo "$as_me: exit $exit_status"
3334 } >&5
3335 rm -f core *.core core.conftest.* &&
3336 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3337 exit $exit_status
3339 for ac_signal in 1 2 13 15; do
3340 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3341 done
3342 ac_signal=0
3344 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3345 rm -f -r conftest* confdefs.h
3347 $as_echo "/* confdefs.h */" > confdefs.h
3349 # Predefined preprocessor variables.
3351 cat >>confdefs.h <<_ACEOF
3352 #define PACKAGE_NAME "$PACKAGE_NAME"
3353 _ACEOF
3355 cat >>confdefs.h <<_ACEOF
3356 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3357 _ACEOF
3359 cat >>confdefs.h <<_ACEOF
3360 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3361 _ACEOF
3363 cat >>confdefs.h <<_ACEOF
3364 #define PACKAGE_STRING "$PACKAGE_STRING"
3365 _ACEOF
3367 cat >>confdefs.h <<_ACEOF
3368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3369 _ACEOF
3371 cat >>confdefs.h <<_ACEOF
3372 #define PACKAGE_URL "$PACKAGE_URL"
3373 _ACEOF
3376 # Let the site file select an alternate cache file if it wants to.
3377 # Prefer an explicitly selected file to automatically selected ones.
3378 ac_site_file1=NONE
3379 ac_site_file2=NONE
3380 if test -n "$CONFIG_SITE"; then
3381 # We do not want a PATH search for config.site.
3382 case $CONFIG_SITE in #((
3383 -*) ac_site_file1=./$CONFIG_SITE;;
3384 */*) ac_site_file1=$CONFIG_SITE;;
3385 *) ac_site_file1=./$CONFIG_SITE;;
3386 esac
3387 elif test "x$prefix" != xNONE; then
3388 ac_site_file1=$prefix/share/config.site
3389 ac_site_file2=$prefix/etc/config.site
3390 else
3391 ac_site_file1=$ac_default_prefix/share/config.site
3392 ac_site_file2=$ac_default_prefix/etc/config.site
3394 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3396 test "x$ac_site_file" = xNONE && continue
3397 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3399 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3400 sed 's/^/| /' "$ac_site_file" >&5
3401 . "$ac_site_file" \
3402 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3404 as_fn_error $? "failed to load site script $ac_site_file
3405 See \`config.log' for more details" "$LINENO" 5; }
3407 done
3409 if test -r "$cache_file"; then
3410 # Some versions of bash will fail to source /dev/null (special files
3411 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3412 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3414 $as_echo "$as_me: loading cache $cache_file" >&6;}
3415 case $cache_file in
3416 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3417 *) . "./$cache_file";;
3418 esac
3420 else
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3422 $as_echo "$as_me: creating cache $cache_file" >&6;}
3423 >$cache_file
3426 # Check that the precious variables saved in the cache have kept the same
3427 # value.
3428 ac_cache_corrupted=false
3429 for ac_var in $ac_precious_vars; do
3430 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3431 eval ac_new_set=\$ac_env_${ac_var}_set
3432 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3433 eval ac_new_val=\$ac_env_${ac_var}_value
3434 case $ac_old_set,$ac_new_set in
3435 set,)
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3437 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3438 ac_cache_corrupted=: ;;
3439 ,set)
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3441 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3442 ac_cache_corrupted=: ;;
3443 ,);;
3445 if test "x$ac_old_val" != "x$ac_new_val"; then
3446 # differences in whitespace do not lead to failure.
3447 ac_old_val_w=`echo x $ac_old_val`
3448 ac_new_val_w=`echo x $ac_new_val`
3449 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3451 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3452 ac_cache_corrupted=:
3453 else
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3455 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3456 eval $ac_var=\$ac_old_val
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3459 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3461 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3462 fi;;
3463 esac
3464 # Pass precious variables to config.status.
3465 if test "$ac_new_set" = set; then
3466 case $ac_new_val in
3467 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3468 *) ac_arg=$ac_var=$ac_new_val ;;
3469 esac
3470 case " $ac_configure_args " in
3471 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3472 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3473 esac
3475 done
3476 if $ac_cache_corrupted; then
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3480 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3481 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3483 ## -------------------- ##
3484 ## Main body of script. ##
3485 ## -------------------- ##
3487 ac_ext=c
3488 ac_cpp='$CPP $CPPFLAGS'
3489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3495 ac_config_headers="$ac_config_headers include/config.h"
3497 ac_aux_dir=
3498 for ac_dir in tools "$srcdir"/tools; do
3499 if test -f "$ac_dir/install-sh"; then
3500 ac_aux_dir=$ac_dir
3501 ac_install_sh="$ac_aux_dir/install-sh -c"
3502 break
3503 elif test -f "$ac_dir/install.sh"; then
3504 ac_aux_dir=$ac_dir
3505 ac_install_sh="$ac_aux_dir/install.sh -c"
3506 break
3507 elif test -f "$ac_dir/shtool"; then
3508 ac_aux_dir=$ac_dir
3509 ac_install_sh="$ac_aux_dir/shtool install -c"
3510 break
3512 done
3513 if test -z "$ac_aux_dir"; then
3514 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3517 # These three variables are undocumented and unsupported,
3518 # and are intended to be withdrawn in a future Autoconf release.
3519 # They can cause serious problems if a builder's source tree is in a directory
3520 # whose full name contains unusual characters.
3521 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3522 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3523 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3527 libwine_version="1.0"
3531 # Check whether --enable-win16 was given.
3532 if test "${enable_win16+set}" = set; then :
3533 enableval=$enable_win16;
3536 # Check whether --enable-win64 was given.
3537 if test "${enable_win64+set}" = set; then :
3538 enableval=$enable_win64;
3541 # Check whether --enable-tests was given.
3542 if test "${enable_tests+set}" = set; then :
3543 enableval=$enable_tests;
3546 # Check whether --enable-maintainer-mode was given.
3547 if test "${enable_maintainer_mode+set}" = set; then :
3548 enableval=$enable_maintainer_mode;
3553 # Check whether --with-alsa was given.
3554 if test "${with_alsa+set}" = set; then :
3555 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3559 # Check whether --with-capi was given.
3560 if test "${with_capi+set}" = set; then :
3561 withval=$with_capi;
3565 # Check whether --with-cms was given.
3566 if test "${with_cms+set}" = set; then :
3567 withval=$with_cms;
3571 # Check whether --with-coreaudio was given.
3572 if test "${with_coreaudio+set}" = set; then :
3573 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3577 # Check whether --with-cups was given.
3578 if test "${with_cups+set}" = set; then :
3579 withval=$with_cups;
3583 # Check whether --with-curses was given.
3584 if test "${with_curses+set}" = set; then :
3585 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3589 # Check whether --with-dbus was given.
3590 if test "${with_dbus+set}" = set; then :
3591 withval=$with_dbus;
3595 # Check whether --with-float-abi was given.
3596 if test "${with_float_abi+set}" = set; then :
3597 withval=$with_float_abi;
3601 # Check whether --with-fontconfig was given.
3602 if test "${with_fontconfig+set}" = set; then :
3603 withval=$with_fontconfig;
3607 # Check whether --with-freetype was given.
3608 if test "${with_freetype+set}" = set; then :
3609 withval=$with_freetype;
3613 # Check whether --with-gettext was given.
3614 if test "${with_gettext+set}" = set; then :
3615 withval=$with_gettext;
3619 # Check whether --with-gettextpo was given.
3620 if test "${with_gettextpo+set}" = set; then :
3621 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3625 # Check whether --with-gphoto was given.
3626 if test "${with_gphoto+set}" = set; then :
3627 withval=$with_gphoto;
3631 # Check whether --with-glu was given.
3632 if test "${with_glu+set}" = set; then :
3633 withval=$with_glu;
3637 # Check whether --with-gnutls was given.
3638 if test "${with_gnutls+set}" = set; then :
3639 withval=$with_gnutls;
3643 # Check whether --with-gsm was given.
3644 if test "${with_gsm+set}" = set; then :
3645 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3649 # Check whether --with-gssapi was given.
3650 if test "${with_gssapi+set}" = set; then :
3651 withval=$with_gssapi;
3655 # Check whether --with-gstreamer was given.
3656 if test "${with_gstreamer+set}" = set; then :
3657 withval=$with_gstreamer;
3661 # Check whether --with-hal was given.
3662 if test "${with_hal+set}" = set; then :
3663 withval=$with_hal;
3667 # Check whether --with-jpeg was given.
3668 if test "${with_jpeg+set}" = set; then :
3669 withval=$with_jpeg;
3673 # Check whether --with-krb5 was given.
3674 if test "${with_krb5+set}" = set; then :
3675 withval=$with_krb5;
3679 # Check whether --with-ldap was given.
3680 if test "${with_ldap+set}" = set; then :
3681 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3685 # Check whether --with-mpg123 was given.
3686 if test "${with_mpg123+set}" = set; then :
3687 withval=$with_mpg123;
3691 # Check whether --with-netapi was given.
3692 if test "${with_netapi+set}" = set; then :
3693 withval=$with_netapi;
3697 # Check whether --with-openal was given.
3698 if test "${with_openal+set}" = set; then :
3699 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3703 # Check whether --with-opencl was given.
3704 if test "${with_opencl+set}" = set; then :
3705 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3709 # Check whether --with-opengl was given.
3710 if test "${with_opengl+set}" = set; then :
3711 withval=$with_opengl;
3715 # Check whether --with-osmesa was given.
3716 if test "${with_osmesa+set}" = set; then :
3717 withval=$with_osmesa;
3721 # Check whether --with-oss was given.
3722 if test "${with_oss+set}" = set; then :
3723 withval=$with_oss;
3727 # Check whether --with-pcap was given.
3728 if test "${with_pcap+set}" = set; then :
3729 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3733 # Check whether --with-png was given.
3734 if test "${with_png+set}" = set; then :
3735 withval=$with_png;
3739 # Check whether --with-pthread was given.
3740 if test "${with_pthread+set}" = set; then :
3741 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3745 # Check whether --with-pulse was given.
3746 if test "${with_pulse+set}" = set; then :
3747 withval=$with_pulse;
3751 # Check whether --with-sane was given.
3752 if test "${with_sane+set}" = set; then :
3753 withval=$with_sane;
3757 # Check whether --with-sdl was given.
3758 if test "${with_sdl+set}" = set; then :
3759 withval=$with_sdl;
3763 # Check whether --with-tiff was given.
3764 if test "${with_tiff+set}" = set; then :
3765 withval=$with_tiff;
3769 # Check whether --with-udev was given.
3770 if test "${with_udev+set}" = set; then :
3771 withval=$with_udev;
3775 # Check whether --with-v4l was given.
3776 if test "${with_v4l+set}" = set; then :
3777 withval=$with_v4l;
3781 # Check whether --with-vulkan was given.
3782 if test "${with_vulkan+set}" = set; then :
3783 withval=$with_vulkan;
3787 # Check whether --with-xcomposite was given.
3788 if test "${with_xcomposite+set}" = set; then :
3789 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3793 # Check whether --with-xcursor was given.
3794 if test "${with_xcursor+set}" = set; then :
3795 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3799 # Check whether --with-xfixes was given.
3800 if test "${with_xfixes+set}" = set; then :
3801 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3805 # Check whether --with-xinerama was given.
3806 if test "${with_xinerama+set}" = set; then :
3807 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3811 # Check whether --with-xinput was given.
3812 if test "${with_xinput+set}" = set; then :
3813 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3817 # Check whether --with-xinput2 was given.
3818 if test "${with_xinput2+set}" = set; then :
3819 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3823 # Check whether --with-xml was given.
3824 if test "${with_xml+set}" = set; then :
3825 withval=$with_xml;
3829 # Check whether --with-xrandr was given.
3830 if test "${with_xrandr+set}" = set; then :
3831 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3835 # Check whether --with-xrender was given.
3836 if test "${with_xrender+set}" = set; then :
3837 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3841 # Check whether --with-xshape was given.
3842 if test "${with_xshape+set}" = set; then :
3843 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3847 # Check whether --with-xshm was given.
3848 if test "${with_xshm+set}" = set; then :
3849 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3853 # Check whether --with-xslt was given.
3854 if test "${with_xslt+set}" = set; then :
3855 withval=$with_xslt;
3859 # Check whether --with-xxf86vm was given.
3860 if test "${with_xxf86vm+set}" = set; then :
3861 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
3865 # Check whether --with-zlib was given.
3866 if test "${with_zlib+set}" = set; then :
3867 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3872 # Check whether --with-wine-tools was given.
3873 if test "${with_wine_tools+set}" = set; then :
3874 withval=$with_wine_tools;
3878 # Check whether --with-wine64 was given.
3879 if test "${with_wine64+set}" = set; then :
3880 withval=$with_wine64;
3884 # Make sure we can run config.sub.
3885 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3886 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3889 $as_echo_n "checking build system type... " >&6; }
3890 if ${ac_cv_build+:} false; then :
3891 $as_echo_n "(cached) " >&6
3892 else
3893 ac_build_alias=$build_alias
3894 test "x$ac_build_alias" = x &&
3895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3896 test "x$ac_build_alias" = x &&
3897 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3898 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3899 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3903 $as_echo "$ac_cv_build" >&6; }
3904 case $ac_cv_build in
3905 *-*-*) ;;
3906 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3907 esac
3908 build=$ac_cv_build
3909 ac_save_IFS=$IFS; IFS='-'
3910 set x $ac_cv_build
3911 shift
3912 build_cpu=$1
3913 build_vendor=$2
3914 shift; shift
3915 # Remember, the first character of IFS is used to create $*,
3916 # except with old shells:
3917 build_os=$*
3918 IFS=$ac_save_IFS
3919 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3923 $as_echo_n "checking host system type... " >&6; }
3924 if ${ac_cv_host+:} false; then :
3925 $as_echo_n "(cached) " >&6
3926 else
3927 if test "x$host_alias" = x; then
3928 ac_cv_host=$ac_cv_build
3929 else
3930 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3931 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3936 $as_echo "$ac_cv_host" >&6; }
3937 case $ac_cv_host in
3938 *-*-*) ;;
3939 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3940 esac
3941 host=$ac_cv_host
3942 ac_save_IFS=$IFS; IFS='-'
3943 set x $ac_cv_host
3944 shift
3945 host_cpu=$1
3946 host_vendor=$2
3947 shift; shift
3948 # Remember, the first character of IFS is used to create $*,
3949 # except with old shells:
3950 host_os=$*
3951 IFS=$ac_save_IFS
3952 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3956 case "$srcdir" in
3957 .) ;;
3958 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3959 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3960 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3961 fi ;;
3962 esac
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3966 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3967 set x ${MAKE-make}
3968 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3969 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3970 $as_echo_n "(cached) " >&6
3971 else
3972 cat >conftest.make <<\_ACEOF
3973 SHELL = /bin/sh
3974 all:
3975 @echo '@@@%%%=$(MAKE)=@@@%%%'
3976 _ACEOF
3977 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3978 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3979 *@@@%%%=?*=@@@%%%*)
3980 eval ac_cv_prog_make_${ac_make}_set=yes;;
3982 eval ac_cv_prog_make_${ac_make}_set=no;;
3983 esac
3984 rm -f conftest.make
3986 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3988 $as_echo "yes" >&6; }
3989 SET_MAKE=
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3993 SET_MAKE="MAKE=${MAKE-make}"
3996 ac_ext=c
3997 ac_cpp='$CPP $CPPFLAGS'
3998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4001 if test -n "$ac_tool_prefix"; then
4002 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4003 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_CC+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 if test -n "$CC"; then
4010 ac_cv_prog_CC="$CC" # Let the user override the test.
4011 else
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH
4015 IFS=$as_save_IFS
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 break 2
4023 done
4024 done
4025 IFS=$as_save_IFS
4029 CC=$ac_cv_prog_CC
4030 if test -n "$CC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4032 $as_echo "$CC" >&6; }
4033 else
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4040 if test -z "$ac_cv_prog_CC"; then
4041 ac_ct_CC=$CC
4042 # Extract the first word of "gcc", so it can be a program name with args.
4043 set dummy gcc; ac_word=$2
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4045 $as_echo_n "checking for $ac_word... " >&6; }
4046 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4047 $as_echo_n "(cached) " >&6
4048 else
4049 if test -n "$ac_ct_CC"; then
4050 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4051 else
4052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053 for as_dir in $PATH
4055 IFS=$as_save_IFS
4056 test -z "$as_dir" && as_dir=.
4057 for ac_exec_ext in '' $ac_executable_extensions; do
4058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4059 ac_cv_prog_ac_ct_CC="gcc"
4060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 break 2
4063 done
4064 done
4065 IFS=$as_save_IFS
4069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4070 if test -n "$ac_ct_CC"; then
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4072 $as_echo "$ac_ct_CC" >&6; }
4073 else
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075 $as_echo "no" >&6; }
4078 if test "x$ac_ct_CC" = x; then
4079 CC=""
4080 else
4081 case $cross_compiling:$ac_tool_warned in
4082 yes:)
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4085 ac_tool_warned=yes ;;
4086 esac
4087 CC=$ac_ct_CC
4089 else
4090 CC="$ac_cv_prog_CC"
4093 if test -z "$CC"; then
4094 if test -n "$ac_tool_prefix"; then
4095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4096 set dummy ${ac_tool_prefix}cc; ac_word=$2
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 $as_echo_n "checking for $ac_word... " >&6; }
4099 if ${ac_cv_prog_CC+:} false; then :
4100 $as_echo_n "(cached) " >&6
4101 else
4102 if test -n "$CC"; then
4103 ac_cv_prog_CC="$CC" # Let the user override the test.
4104 else
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4106 for as_dir in $PATH
4108 IFS=$as_save_IFS
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 ac_cv_prog_CC="${ac_tool_prefix}cc"
4113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4114 break 2
4116 done
4117 done
4118 IFS=$as_save_IFS
4122 CC=$ac_cv_prog_CC
4123 if test -n "$CC"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4125 $as_echo "$CC" >&6; }
4126 else
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4134 if test -z "$CC"; then
4135 # Extract the first word of "cc", so it can be a program name with args.
4136 set dummy cc; ac_word=$2
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138 $as_echo_n "checking for $ac_word... " >&6; }
4139 if ${ac_cv_prog_CC+:} false; then :
4140 $as_echo_n "(cached) " >&6
4141 else
4142 if test -n "$CC"; then
4143 ac_cv_prog_CC="$CC" # Let the user override the test.
4144 else
4145 ac_prog_rejected=no
4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4147 for as_dir in $PATH
4149 IFS=$as_save_IFS
4150 test -z "$as_dir" && as_dir=.
4151 for ac_exec_ext in '' $ac_executable_extensions; do
4152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4153 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4154 ac_prog_rejected=yes
4155 continue
4157 ac_cv_prog_CC="cc"
4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 break 2
4161 done
4162 done
4163 IFS=$as_save_IFS
4165 if test $ac_prog_rejected = yes; then
4166 # We found a bogon in the path, so make sure we never use it.
4167 set dummy $ac_cv_prog_CC
4168 shift
4169 if test $# != 0; then
4170 # We chose a different compiler from the bogus one.
4171 # However, it has the same basename, so the bogon will be chosen
4172 # first if we set CC to just the basename; use the full file name.
4173 shift
4174 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4179 CC=$ac_cv_prog_CC
4180 if test -n "$CC"; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4182 $as_echo "$CC" >&6; }
4183 else
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4190 if test -z "$CC"; then
4191 if test -n "$ac_tool_prefix"; then
4192 for ac_prog in cl.exe
4194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_CC+:} false; then :
4199 $as_echo_n "(cached) " >&6
4200 else
4201 if test -n "$CC"; then
4202 ac_cv_prog_CC="$CC" # Let the user override the test.
4203 else
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 for as_dir in $PATH
4207 IFS=$as_save_IFS
4208 test -z "$as_dir" && as_dir=.
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 break 2
4215 done
4216 done
4217 IFS=$as_save_IFS
4221 CC=$ac_cv_prog_CC
4222 if test -n "$CC"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4224 $as_echo "$CC" >&6; }
4225 else
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4231 test -n "$CC" && break
4232 done
4234 if test -z "$CC"; then
4235 ac_ct_CC=$CC
4236 for ac_prog in cl.exe
4238 # Extract the first word of "$ac_prog", so it can be a program name with args.
4239 set dummy $ac_prog; ac_word=$2
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241 $as_echo_n "checking for $ac_word... " >&6; }
4242 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4243 $as_echo_n "(cached) " >&6
4244 else
4245 if test -n "$ac_ct_CC"; then
4246 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4247 else
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 for as_dir in $PATH
4251 IFS=$as_save_IFS
4252 test -z "$as_dir" && as_dir=.
4253 for ac_exec_ext in '' $ac_executable_extensions; do
4254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_ac_ct_CC="$ac_prog"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4257 break 2
4259 done
4260 done
4261 IFS=$as_save_IFS
4265 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4266 if test -n "$ac_ct_CC"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4268 $as_echo "$ac_ct_CC" >&6; }
4269 else
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4275 test -n "$ac_ct_CC" && break
4276 done
4278 if test "x$ac_ct_CC" = x; then
4279 CC=""
4280 else
4281 case $cross_compiling:$ac_tool_warned in
4282 yes:)
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4285 ac_tool_warned=yes ;;
4286 esac
4287 CC=$ac_ct_CC
4294 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 as_fn_error $? "no acceptable C compiler found in \$PATH
4297 See \`config.log' for more details" "$LINENO" 5; }
4299 # Provide some information about the compiler.
4300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4301 set X $ac_compile
4302 ac_compiler=$2
4303 for ac_option in --version -v -V -qversion; do
4304 { { ac_try="$ac_compiler $ac_option >&5"
4305 case "(($ac_try" in
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4308 esac
4309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4310 $as_echo "$ac_try_echo"; } >&5
4311 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4312 ac_status=$?
4313 if test -s conftest.err; then
4314 sed '10a\
4315 ... rest of stderr output deleted ...
4316 10q' conftest.err >conftest.er1
4317 cat conftest.er1 >&5
4319 rm -f conftest.er1 conftest.err
4320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4321 test $ac_status = 0; }
4322 done
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4328 main ()
4332 return 0;
4334 _ACEOF
4335 ac_clean_files_save=$ac_clean_files
4336 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4337 # Try to create an executable without -o first, disregard a.out.
4338 # It will help us diagnose broken compilers, and finding out an intuition
4339 # of exeext.
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4341 $as_echo_n "checking whether the C compiler works... " >&6; }
4342 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4344 # The possible output files:
4345 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4347 ac_rmfiles=
4348 for ac_file in $ac_files
4350 case $ac_file in
4351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4352 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4353 esac
4354 done
4355 rm -f $ac_rmfiles
4357 if { { ac_try="$ac_link_default"
4358 case "(($ac_try" in
4359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4360 *) ac_try_echo=$ac_try;;
4361 esac
4362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4363 $as_echo "$ac_try_echo"; } >&5
4364 (eval "$ac_link_default") 2>&5
4365 ac_status=$?
4366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4367 test $ac_status = 0; }; then :
4368 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4369 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4370 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4371 # so that the user can short-circuit this test for compilers unknown to
4372 # Autoconf.
4373 for ac_file in $ac_files ''
4375 test -f "$ac_file" || continue
4376 case $ac_file in
4377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4379 [ab].out )
4380 # We found the default executable, but exeext='' is most
4381 # certainly right.
4382 break;;
4383 *.* )
4384 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4385 then :; else
4386 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4388 # We set ac_cv_exeext here because the later test for it is not
4389 # safe: cross compilers may not add the suffix if given an `-o'
4390 # argument, so we may need to know it at that point already.
4391 # Even if this section looks crufty: it has the advantage of
4392 # actually working.
4393 break;;
4395 break;;
4396 esac
4397 done
4398 test "$ac_cv_exeext" = no && ac_cv_exeext=
4400 else
4401 ac_file=''
4403 if test -z "$ac_file"; then :
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4406 $as_echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.$ac_ext >&5
4409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4411 as_fn_error 77 "C compiler cannot create executables
4412 See \`config.log' for more details" "$LINENO" 5; }
4413 else
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4415 $as_echo "yes" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4418 $as_echo_n "checking for C compiler default output file name... " >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4420 $as_echo "$ac_file" >&6; }
4421 ac_exeext=$ac_cv_exeext
4423 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4424 ac_clean_files=$ac_clean_files_save
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4426 $as_echo_n "checking for suffix of executables... " >&6; }
4427 if { { ac_try="$ac_link"
4428 case "(($ac_try" in
4429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4430 *) ac_try_echo=$ac_try;;
4431 esac
4432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4433 $as_echo "$ac_try_echo"; } >&5
4434 (eval "$ac_link") 2>&5
4435 ac_status=$?
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }; then :
4438 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4439 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4440 # work properly (i.e., refer to `conftest.exe'), while it won't with
4441 # `rm'.
4442 for ac_file in conftest.exe conftest conftest.*; do
4443 test -f "$ac_file" || continue
4444 case $ac_file in
4445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4446 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4447 break;;
4448 * ) break;;
4449 esac
4450 done
4451 else
4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4454 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4455 See \`config.log' for more details" "$LINENO" 5; }
4457 rm -f conftest conftest$ac_cv_exeext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4459 $as_echo "$ac_cv_exeext" >&6; }
4461 rm -f conftest.$ac_ext
4462 EXEEXT=$ac_cv_exeext
4463 ac_exeext=$EXEEXT
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4466 #include <stdio.h>
4468 main ()
4470 FILE *f = fopen ("conftest.out", "w");
4471 return ferror (f) || fclose (f) != 0;
4474 return 0;
4476 _ACEOF
4477 ac_clean_files="$ac_clean_files conftest.out"
4478 # Check that the compiler produces executables we can run. If not, either
4479 # the compiler is broken, or we cross compile.
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4481 $as_echo_n "checking whether we are cross compiling... " >&6; }
4482 if test "$cross_compiling" != yes; then
4483 { { ac_try="$ac_link"
4484 case "(($ac_try" in
4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4486 *) ac_try_echo=$ac_try;;
4487 esac
4488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4489 $as_echo "$ac_try_echo"; } >&5
4490 (eval "$ac_link") 2>&5
4491 ac_status=$?
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }
4494 if { ac_try='./conftest$ac_cv_exeext'
4495 { { case "(($ac_try" in
4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4498 esac
4499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4500 $as_echo "$ac_try_echo"; } >&5
4501 (eval "$ac_try") 2>&5
4502 ac_status=$?
4503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4504 test $ac_status = 0; }; }; then
4505 cross_compiling=no
4506 else
4507 if test "$cross_compiling" = maybe; then
4508 cross_compiling=yes
4509 else
4510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4512 as_fn_error $? "cannot run C compiled programs.
4513 If you meant to cross compile, use \`--host'.
4514 See \`config.log' for more details" "$LINENO" 5; }
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4519 $as_echo "$cross_compiling" >&6; }
4521 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4522 ac_clean_files=$ac_clean_files_save
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4524 $as_echo_n "checking for suffix of object files... " >&6; }
4525 if ${ac_cv_objext+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4532 main ()
4536 return 0;
4538 _ACEOF
4539 rm -f conftest.o conftest.obj
4540 if { { ac_try="$ac_compile"
4541 case "(($ac_try" in
4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4543 *) ac_try_echo=$ac_try;;
4544 esac
4545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4546 $as_echo "$ac_try_echo"; } >&5
4547 (eval "$ac_compile") 2>&5
4548 ac_status=$?
4549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4550 test $ac_status = 0; }; then :
4551 for ac_file in conftest.o conftest.obj conftest.*; do
4552 test -f "$ac_file" || continue;
4553 case $ac_file in
4554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4555 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4556 break;;
4557 esac
4558 done
4559 else
4560 $as_echo "$as_me: failed program was:" >&5
4561 sed 's/^/| /' conftest.$ac_ext >&5
4563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4565 as_fn_error $? "cannot compute suffix of object files: cannot compile
4566 See \`config.log' for more details" "$LINENO" 5; }
4568 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4571 $as_echo "$ac_cv_objext" >&6; }
4572 OBJEXT=$ac_cv_objext
4573 ac_objext=$OBJEXT
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4575 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4576 if ${ac_cv_c_compiler_gnu+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 main ()
4585 #ifndef __GNUC__
4586 choke me
4587 #endif
4590 return 0;
4592 _ACEOF
4593 if ac_fn_c_try_compile "$LINENO"; then :
4594 ac_compiler_gnu=yes
4595 else
4596 ac_compiler_gnu=no
4598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4599 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4603 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4604 if test $ac_compiler_gnu = yes; then
4605 GCC=yes
4606 else
4607 GCC=
4609 ac_test_CFLAGS=${CFLAGS+set}
4610 ac_save_CFLAGS=$CFLAGS
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4612 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4613 if ${ac_cv_prog_cc_g+:} false; then :
4614 $as_echo_n "(cached) " >&6
4615 else
4616 ac_save_c_werror_flag=$ac_c_werror_flag
4617 ac_c_werror_flag=yes
4618 ac_cv_prog_cc_g=no
4619 CFLAGS="-g"
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4624 main ()
4628 return 0;
4630 _ACEOF
4631 if ac_fn_c_try_compile "$LINENO"; then :
4632 ac_cv_prog_cc_g=yes
4633 else
4634 CFLAGS=""
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4639 main ()
4643 return 0;
4645 _ACEOF
4646 if ac_fn_c_try_compile "$LINENO"; then :
4648 else
4649 ac_c_werror_flag=$ac_save_c_werror_flag
4650 CFLAGS="-g"
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4655 main ()
4659 return 0;
4661 _ACEOF
4662 if ac_fn_c_try_compile "$LINENO"; then :
4663 ac_cv_prog_cc_g=yes
4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4670 ac_c_werror_flag=$ac_save_c_werror_flag
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4673 $as_echo "$ac_cv_prog_cc_g" >&6; }
4674 if test "$ac_test_CFLAGS" = set; then
4675 CFLAGS=$ac_save_CFLAGS
4676 elif test $ac_cv_prog_cc_g = yes; then
4677 if test "$GCC" = yes; then
4678 CFLAGS="-g -O2"
4679 else
4680 CFLAGS="-g"
4682 else
4683 if test "$GCC" = yes; then
4684 CFLAGS="-O2"
4685 else
4686 CFLAGS=
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4690 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4691 if ${ac_cv_prog_cc_c89+:} false; then :
4692 $as_echo_n "(cached) " >&6
4693 else
4694 ac_cv_prog_cc_c89=no
4695 ac_save_CC=$CC
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <stdarg.h>
4699 #include <stdio.h>
4700 struct stat;
4701 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4702 struct buf { int x; };
4703 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4704 static char *e (p, i)
4705 char **p;
4706 int i;
4708 return p[i];
4710 static char *f (char * (*g) (char **, int), char **p, ...)
4712 char *s;
4713 va_list v;
4714 va_start (v,p);
4715 s = g (p, va_arg (v,int));
4716 va_end (v);
4717 return s;
4720 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4721 function prototypes and stuff, but not '\xHH' hex character constants.
4722 These don't provoke an error unfortunately, instead are silently treated
4723 as 'x'. The following induces an error, until -std is added to get
4724 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4725 array size at least. It's necessary to write '\x00'==0 to get something
4726 that's true only with -std. */
4727 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4729 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4730 inside strings and character constants. */
4731 #define FOO(x) 'x'
4732 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4734 int test (int i, double x);
4735 struct s1 {int (*f) (int a);};
4736 struct s2 {int (*f) (double a);};
4737 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4738 int argc;
4739 char **argv;
4741 main ()
4743 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4745 return 0;
4747 _ACEOF
4748 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4749 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4751 CC="$ac_save_CC $ac_arg"
4752 if ac_fn_c_try_compile "$LINENO"; then :
4753 ac_cv_prog_cc_c89=$ac_arg
4755 rm -f core conftest.err conftest.$ac_objext
4756 test "x$ac_cv_prog_cc_c89" != "xno" && break
4757 done
4758 rm -f conftest.$ac_ext
4759 CC=$ac_save_CC
4762 # AC_CACHE_VAL
4763 case "x$ac_cv_prog_cc_c89" in
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4766 $as_echo "none needed" >&6; } ;;
4767 xno)
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4769 $as_echo "unsupported" >&6; } ;;
4771 CC="$CC $ac_cv_prog_cc_c89"
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4773 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4774 esac
4775 if test "x$ac_cv_prog_cc_c89" != xno; then :
4779 ac_ext=c
4780 ac_cpp='$CPP $CPPFLAGS'
4781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4785 ac_ext=cpp
4786 ac_cpp='$CXXCPP $CPPFLAGS'
4787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4790 if test -z "$CXX"; then
4791 if test -n "$CCC"; then
4792 CXX=$CCC
4793 else
4794 if test -n "$ac_tool_prefix"; then
4795 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4797 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4798 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800 $as_echo_n "checking for $ac_word... " >&6; }
4801 if ${ac_cv_prog_CXX+:} false; then :
4802 $as_echo_n "(cached) " >&6
4803 else
4804 if test -n "$CXX"; then
4805 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4806 else
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808 for as_dir in $PATH
4810 IFS=$as_save_IFS
4811 test -z "$as_dir" && as_dir=.
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4814 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816 break 2
4818 done
4819 done
4820 IFS=$as_save_IFS
4824 CXX=$ac_cv_prog_CXX
4825 if test -n "$CXX"; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4827 $as_echo "$CXX" >&6; }
4828 else
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4834 test -n "$CXX" && break
4835 done
4837 if test -z "$CXX"; then
4838 ac_ct_CXX=$CXX
4839 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4841 # Extract the first word of "$ac_prog", so it can be a program name with args.
4842 set dummy $ac_prog; ac_word=$2
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844 $as_echo_n "checking for $ac_word... " >&6; }
4845 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4846 $as_echo_n "(cached) " >&6
4847 else
4848 if test -n "$ac_ct_CXX"; then
4849 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4850 else
4851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 for as_dir in $PATH
4854 IFS=$as_save_IFS
4855 test -z "$as_dir" && as_dir=.
4856 for ac_exec_ext in '' $ac_executable_extensions; do
4857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4858 ac_cv_prog_ac_ct_CXX="$ac_prog"
4859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 break 2
4862 done
4863 done
4864 IFS=$as_save_IFS
4868 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4869 if test -n "$ac_ct_CXX"; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4871 $as_echo "$ac_ct_CXX" >&6; }
4872 else
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 $as_echo "no" >&6; }
4878 test -n "$ac_ct_CXX" && break
4879 done
4881 if test "x$ac_ct_CXX" = x; then
4882 CXX="g++"
4883 else
4884 case $cross_compiling:$ac_tool_warned in
4885 yes:)
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4888 ac_tool_warned=yes ;;
4889 esac
4890 CXX=$ac_ct_CXX
4896 # Provide some information about the compiler.
4897 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4898 set X $ac_compile
4899 ac_compiler=$2
4900 for ac_option in --version -v -V -qversion; do
4901 { { ac_try="$ac_compiler $ac_option >&5"
4902 case "(($ac_try" in
4903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4904 *) ac_try_echo=$ac_try;;
4905 esac
4906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4907 $as_echo "$ac_try_echo"; } >&5
4908 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4909 ac_status=$?
4910 if test -s conftest.err; then
4911 sed '10a\
4912 ... rest of stderr output deleted ...
4913 10q' conftest.err >conftest.er1
4914 cat conftest.er1 >&5
4916 rm -f conftest.er1 conftest.err
4917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4918 test $ac_status = 0; }
4919 done
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4922 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4923 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4932 #ifndef __GNUC__
4933 choke me
4934 #endif
4937 return 0;
4939 _ACEOF
4940 if ac_fn_cxx_try_compile "$LINENO"; then :
4941 ac_compiler_gnu=yes
4942 else
4943 ac_compiler_gnu=no
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4950 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4951 if test $ac_compiler_gnu = yes; then
4952 GXX=yes
4953 else
4954 GXX=
4956 ac_test_CXXFLAGS=${CXXFLAGS+set}
4957 ac_save_CXXFLAGS=$CXXFLAGS
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4959 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4960 if ${ac_cv_prog_cxx_g+:} false; then :
4961 $as_echo_n "(cached) " >&6
4962 else
4963 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4964 ac_cxx_werror_flag=yes
4965 ac_cv_prog_cxx_g=no
4966 CXXFLAGS="-g"
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 main ()
4975 return 0;
4977 _ACEOF
4978 if ac_fn_cxx_try_compile "$LINENO"; then :
4979 ac_cv_prog_cxx_g=yes
4980 else
4981 CXXFLAGS=""
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4986 main ()
4990 return 0;
4992 _ACEOF
4993 if ac_fn_cxx_try_compile "$LINENO"; then :
4995 else
4996 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4997 CXXFLAGS="-g"
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5002 main ()
5006 return 0;
5008 _ACEOF
5009 if ac_fn_cxx_try_compile "$LINENO"; then :
5010 ac_cv_prog_cxx_g=yes
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5020 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5021 if test "$ac_test_CXXFLAGS" = set; then
5022 CXXFLAGS=$ac_save_CXXFLAGS
5023 elif test $ac_cv_prog_cxx_g = yes; then
5024 if test "$GXX" = yes; then
5025 CXXFLAGS="-g -O2"
5026 else
5027 CXXFLAGS="-g"
5029 else
5030 if test "$GXX" = yes; then
5031 CXXFLAGS="-O2"
5032 else
5033 CXXFLAGS=
5036 ac_ext=c
5037 ac_cpp='$CPP $CPPFLAGS'
5038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5042 if test -n "$ac_tool_prefix"; then
5043 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5044 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_CPPBIN+:} false; then :
5048 $as_echo_n "(cached) " >&6
5049 else
5050 if test -n "$CPPBIN"; then
5051 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5052 else
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 for as_dir in $PATH
5056 IFS=$as_save_IFS
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 break 2
5064 done
5065 done
5066 IFS=$as_save_IFS
5070 CPPBIN=$ac_cv_prog_CPPBIN
5071 if test -n "$CPPBIN"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5073 $as_echo "$CPPBIN" >&6; }
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5081 if test -z "$ac_cv_prog_CPPBIN"; then
5082 ac_ct_CPPBIN=$CPPBIN
5083 # Extract the first word of "cpp", so it can be a program name with args.
5084 set dummy cpp; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 if test -n "$ac_ct_CPPBIN"; then
5091 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5092 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH
5096 IFS=$as_save_IFS
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_ac_ct_CPPBIN="cpp"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 break 2
5104 done
5105 done
5106 IFS=$as_save_IFS
5110 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5111 if test -n "$ac_ct_CPPBIN"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5113 $as_echo "$ac_ct_CPPBIN" >&6; }
5114 else
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5119 if test "x$ac_ct_CPPBIN" = x; then
5120 CPPBIN="cpp"
5121 else
5122 case $cross_compiling:$ac_tool_warned in
5123 yes:)
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126 ac_tool_warned=yes ;;
5127 esac
5128 CPPBIN=$ac_ct_CPPBIN
5130 else
5131 CPPBIN="$ac_cv_prog_CPPBIN"
5135 cat >>confdefs.h <<_ACEOF
5136 #define EXEEXT "$ac_exeext"
5137 _ACEOF
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5141 set dummy ${ac_tool_prefix}ld; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_LD+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$LD"; then
5148 ac_cv_prog_LD="$LD" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_LD="${ac_tool_prefix}ld"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 LD=$ac_cv_prog_LD
5168 if test -n "$LD"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5170 $as_echo "$LD" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5178 if test -z "$ac_cv_prog_LD"; then
5179 ac_ct_LD=$LD
5180 # Extract the first word of "ld", so it can be a program name with args.
5181 set dummy ld; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$ac_ct_LD"; then
5188 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_ac_ct_LD="ld"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5208 if test -n "$ac_ct_LD"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5210 $as_echo "$ac_ct_LD" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5216 if test "x$ac_ct_LD" = x; then
5217 LD=""
5218 else
5219 case $cross_compiling:$ac_tool_warned in
5220 yes:)
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5224 esac
5225 LD=$ac_ct_LD
5227 else
5228 LD="$ac_cv_prog_LD"
5232 case $host in
5233 *-darwin*)
5234 with_fontconfig=${with_fontconfig:-no}
5236 *-mingw32*|*-cygwin*)
5237 enable_win16=${enable_win16:-no}
5238 CFLAGS="$CFLAGS -D_WIN32"
5240 esac
5242 case $host in
5243 x86_64*|amd64*)
5244 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5245 then
5246 CC="$CC -m32"
5247 CXX="$CXX -m32"
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5249 $as_echo_n "checking whether $CC works... " >&6; }
5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5255 main ()
5259 return 0;
5261 _ACEOF
5262 if ac_fn_c_try_link "$LINENO"; then :
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5264 $as_echo "yes" >&6; }
5265 else
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5268 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5270 rm -f core conftest.err conftest.$ac_objext \
5271 conftest$ac_exeext conftest.$ac_ext
5272 host_cpu="i386"
5273 notice_platform="32-bit "
5274 TARGETFLAGS="-m32"
5276 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5277 export PKG_CONFIG_PATH
5278 enable_win16=${enable_win16:-yes}
5279 else
5280 if test "x${GCC}" = "xyes"
5281 then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5283 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5286 #include <stdarg.h>
5288 main ()
5290 void func(__builtin_ms_va_list *args);
5292 return 0;
5294 _ACEOF
5295 if ac_fn_c_try_compile "$LINENO"; then :
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5297 $as_echo "yes" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5301 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5305 CC="$CC -m64"
5306 CXX="$CXX -m64"
5307 host_cpu="x86_64"
5308 notice_platform="64-bit "
5309 TARGETFLAGS="-m64"
5313 arm*)
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5315 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5318 int ac_test(int i) { return i; }
5320 main ()
5322 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5324 return 0;
5326 _ACEOF
5327 if ac_fn_c_try_link "$LINENO"; then :
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5329 $as_echo "yes" >&6; }
5330 else
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5333 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5335 rm -f core conftest.err conftest.$ac_objext \
5336 conftest$ac_exeext conftest.$ac_ext
5337 case $with_float_abi in
5338 soft|softfp|hard)
5339 float_abi=$with_float_abi ;;
5341 case $host_os in
5342 *eabihf)
5343 float_abi=hard ;;
5345 float_abi=softfp
5346 saved_CFLAGS=$CFLAGS
5347 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5349 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5354 main ()
5356 asm("vmrs r2,fpscr");
5358 return 0;
5360 _ACEOF
5361 if ac_fn_c_try_link "$LINENO"; then :
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5363 $as_echo "yes" >&6; }
5364 else
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5367 float_abi=soft
5368 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5370 rm -f core conftest.err conftest.$ac_objext \
5371 conftest$ac_exeext conftest.$ac_ext
5372 CFLAGS=$saved_CFLAGS
5373 esac
5375 esac
5376 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5377 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5380 i[3456789]86*)
5381 enable_win16=${enable_win16:-yes}
5383 esac
5385 enable_win16=${enable_win16:-no}
5386 enable_win64=${enable_win64:-no}
5388 enable_winetest=${enable_winetest:-$enable_tests}
5390 if test -n "$with_wine64"
5391 then
5392 if test "x$enable_win64" = "xyes"
5393 then
5394 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5395 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5397 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5398 You should create a separate build directory and run configure from there." "$LINENO" 5
5399 enable_fonts=${enable_fonts:-no}
5400 enable_server=${enable_server:-no}
5401 wine64_disable=\#
5403 elif test "x$enable_win64" = "xyes"
5404 then
5405 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5409 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5410 if ${wine_cv_toolsdir+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 wine_cv_toolsdir="$with_wine_tools"
5414 if test -z "$with_wine_tools"; then
5415 if test "$cross_compiling" = "yes"; then
5416 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5417 elif test -n "$with_wine64"; then
5418 wine_cv_toolsdir="$with_wine64"
5421 if test -z "$wine_cv_toolsdir"; then
5422 wine_makedep=tools/makedep
5423 wine_cv_toolsdir="\$(top_builddir)"
5424 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5425 wine_makedep=$wine_cv_toolsdir/tools/makedep
5426 case "$wine_cv_toolsdir" in
5427 /*) ;;
5428 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5429 esac
5430 enable_tools=${enable_tools:-no}
5431 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5432 else
5433 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5437 $as_echo "$wine_cv_toolsdir" >&6; }
5438 TOOLSDIR=$wine_cv_toolsdir
5440 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5441 then
5442 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5446 for ac_prog in flex
5448 # Extract the first word of "$ac_prog", so it can be a program name with args.
5449 set dummy $ac_prog; ac_word=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_prog_FLEX+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if test -n "$FLEX"; then
5456 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5457 else
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH
5461 IFS=$as_save_IFS
5462 test -z "$as_dir" && as_dir=.
5463 for ac_exec_ext in '' $ac_executable_extensions; do
5464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_FLEX="$ac_prog"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 break 2
5469 done
5470 done
5471 IFS=$as_save_IFS
5475 FLEX=$ac_cv_prog_FLEX
5476 if test -n "$FLEX"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5478 $as_echo "$FLEX" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5485 test -n "$FLEX" && break
5486 done
5487 test -n "$FLEX" || FLEX="none"
5489 if test "$FLEX" = "none"
5490 then
5491 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5494 $as_echo_n "checking whether flex is recent enough... " >&6; }
5495 cat >conftest.l <<EOF
5496 %top{
5497 #include "prediluvian.h"
5501 if $FLEX -t conftest.l >/dev/null 2>&5
5502 then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5504 $as_echo "yes" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5508 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5511 for ac_prog in bison
5513 # Extract the first word of "$ac_prog", so it can be a program name with args.
5514 set dummy $ac_prog; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_BISON+:} false; then :
5518 $as_echo_n "(cached) " >&6
5519 else
5520 if test -n "$BISON"; then
5521 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5526 IFS=$as_save_IFS
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_BISON="$ac_prog"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 break 2
5534 done
5535 done
5536 IFS=$as_save_IFS
5540 BISON=$ac_cv_prog_BISON
5541 if test -n "$BISON"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5543 $as_echo "$BISON" >&6; }
5544 else
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5550 test -n "$BISON" && break
5551 done
5552 test -n "$BISON" || BISON="none"
5554 if test "$BISON" = "none"
5555 then
5556 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5559 if test -n "$ac_tool_prefix"; then
5560 for ac_prog in ar gar
5562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5563 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_AR+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 if test -n "$AR"; then
5570 ac_cv_prog_AR="$AR" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 AR=$ac_cv_prog_AR
5590 if test -n "$AR"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5592 $as_echo "$AR" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5599 test -n "$AR" && break
5600 done
5602 if test -z "$AR"; then
5603 ac_ct_AR=$AR
5604 for ac_prog in ar gar
5606 # Extract the first word of "$ac_prog", so it can be a program name with args.
5607 set dummy $ac_prog; ac_word=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5611 $as_echo_n "(cached) " >&6
5612 else
5613 if test -n "$ac_ct_AR"; then
5614 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5615 else
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5619 IFS=$as_save_IFS
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_ac_ct_AR="$ac_prog"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5633 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5634 if test -n "$ac_ct_AR"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5636 $as_echo "$ac_ct_AR" >&6; }
5637 else
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5643 test -n "$ac_ct_AR" && break
5644 done
5646 if test "x$ac_ct_AR" = x; then
5647 AR="ar"
5648 else
5649 case $cross_compiling:$ac_tool_warned in
5650 yes:)
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5653 ac_tool_warned=yes ;;
5654 esac
5655 AR=$ac_ct_AR
5659 if test -n "$ac_tool_prefix"; then
5660 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5661 set dummy ${ac_tool_prefix}strip; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_prog_STRIP+:} false; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 if test -n "$STRIP"; then
5668 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5669 else
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH
5673 IFS=$as_save_IFS
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 break 2
5681 done
5682 done
5683 IFS=$as_save_IFS
5687 STRIP=$ac_cv_prog_STRIP
5688 if test -n "$STRIP"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5690 $as_echo "$STRIP" >&6; }
5691 else
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5698 if test -z "$ac_cv_prog_STRIP"; then
5699 ac_ct_STRIP=$STRIP
5700 # Extract the first word of "strip", so it can be a program name with args.
5701 set dummy strip; ac_word=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 if test -n "$ac_ct_STRIP"; then
5708 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5709 else
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5713 IFS=$as_save_IFS
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_ac_ct_STRIP="strip"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 break 2
5721 done
5722 done
5723 IFS=$as_save_IFS
5727 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5728 if test -n "$ac_ct_STRIP"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5730 $as_echo "$ac_ct_STRIP" >&6; }
5731 else
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5736 if test "x$ac_ct_STRIP" = x; then
5737 STRIP="strip"
5738 else
5739 case $cross_compiling:$ac_tool_warned in
5740 yes:)
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5743 ac_tool_warned=yes ;;
5744 esac
5745 STRIP=$ac_ct_STRIP
5747 else
5748 STRIP="$ac_cv_prog_STRIP"
5751 ARFLAGS=rc
5753 if test -n "$ac_tool_prefix"; then
5754 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5755 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 $as_echo_n "checking for $ac_word... " >&6; }
5758 if ${ac_cv_prog_RANLIB+:} false; then :
5759 $as_echo_n "(cached) " >&6
5760 else
5761 if test -n "$RANLIB"; then
5762 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5763 else
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in $PATH
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 break 2
5775 done
5776 done
5777 IFS=$as_save_IFS
5781 RANLIB=$ac_cv_prog_RANLIB
5782 if test -n "$RANLIB"; then
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5784 $as_echo "$RANLIB" >&6; }
5785 else
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5787 $as_echo "no" >&6; }
5792 if test -z "$ac_cv_prog_RANLIB"; then
5793 ac_ct_RANLIB=$RANLIB
5794 # Extract the first word of "ranlib", so it can be a program name with args.
5795 set dummy ranlib; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$ac_ct_RANLIB"; then
5802 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_ac_ct_RANLIB="ranlib"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5822 if test -n "$ac_ct_RANLIB"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5824 $as_echo "$ac_ct_RANLIB" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5830 if test "x$ac_ct_RANLIB" = x; then
5831 RANLIB=":"
5832 else
5833 case $cross_compiling:$ac_tool_warned in
5834 yes:)
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5837 ac_tool_warned=yes ;;
5838 esac
5839 RANLIB=$ac_ct_RANLIB
5841 else
5842 RANLIB="$ac_cv_prog_RANLIB"
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5846 $as_echo_n "checking whether ln -s works... " >&6; }
5847 LN_S=$as_ln_s
5848 if test "$LN_S" = "ln -s"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5850 $as_echo "yes" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5853 $as_echo "no, using $LN_S" >&6; }
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5857 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5858 if ${ac_cv_path_GREP+:} false; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -z "$GREP"; then
5862 ac_path_GREP_found=false
5863 # Loop through the user's path and test for each of PROGNAME-LIST
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_prog in grep ggrep; do
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5872 as_fn_executable_p "$ac_path_GREP" || continue
5873 # Check for GNU ac_path_GREP and select it if it is found.
5874 # Check for GNU $ac_path_GREP
5875 case `"$ac_path_GREP" --version 2>&1` in
5876 *GNU*)
5877 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5879 ac_count=0
5880 $as_echo_n 0123456789 >"conftest.in"
5881 while :
5883 cat "conftest.in" "conftest.in" >"conftest.tmp"
5884 mv "conftest.tmp" "conftest.in"
5885 cp "conftest.in" "conftest.nl"
5886 $as_echo 'GREP' >> "conftest.nl"
5887 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5888 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5889 as_fn_arith $ac_count + 1 && ac_count=$as_val
5890 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5891 # Best one so far, save it but keep looking for a better one
5892 ac_cv_path_GREP="$ac_path_GREP"
5893 ac_path_GREP_max=$ac_count
5895 # 10*(2^10) chars as input seems more than enough
5896 test $ac_count -gt 10 && break
5897 done
5898 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5899 esac
5901 $ac_path_GREP_found && break 3
5902 done
5903 done
5904 done
5905 IFS=$as_save_IFS
5906 if test -z "$ac_cv_path_GREP"; then
5907 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5909 else
5910 ac_cv_path_GREP=$GREP
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5915 $as_echo "$ac_cv_path_GREP" >&6; }
5916 GREP="$ac_cv_path_GREP"
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5920 $as_echo_n "checking for egrep... " >&6; }
5921 if ${ac_cv_path_EGREP+:} false; then :
5922 $as_echo_n "(cached) " >&6
5923 else
5924 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5925 then ac_cv_path_EGREP="$GREP -E"
5926 else
5927 if test -z "$EGREP"; then
5928 ac_path_EGREP_found=false
5929 # Loop through the user's path and test for each of PROGNAME-LIST
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5933 IFS=$as_save_IFS
5934 test -z "$as_dir" && as_dir=.
5935 for ac_prog in egrep; do
5936 for ac_exec_ext in '' $ac_executable_extensions; do
5937 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5938 as_fn_executable_p "$ac_path_EGREP" || continue
5939 # Check for GNU ac_path_EGREP and select it if it is found.
5940 # Check for GNU $ac_path_EGREP
5941 case `"$ac_path_EGREP" --version 2>&1` in
5942 *GNU*)
5943 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5945 ac_count=0
5946 $as_echo_n 0123456789 >"conftest.in"
5947 while :
5949 cat "conftest.in" "conftest.in" >"conftest.tmp"
5950 mv "conftest.tmp" "conftest.in"
5951 cp "conftest.in" "conftest.nl"
5952 $as_echo 'EGREP' >> "conftest.nl"
5953 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5954 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5955 as_fn_arith $ac_count + 1 && ac_count=$as_val
5956 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5957 # Best one so far, save it but keep looking for a better one
5958 ac_cv_path_EGREP="$ac_path_EGREP"
5959 ac_path_EGREP_max=$ac_count
5961 # 10*(2^10) chars as input seems more than enough
5962 test $ac_count -gt 10 && break
5963 done
5964 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5965 esac
5967 $ac_path_EGREP_found && break 3
5968 done
5969 done
5970 done
5971 IFS=$as_save_IFS
5972 if test -z "$ac_cv_path_EGREP"; then
5973 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5975 else
5976 ac_cv_path_EGREP=$EGREP
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5982 $as_echo "$ac_cv_path_EGREP" >&6; }
5983 EGREP="$ac_cv_path_EGREP"
5986 # Extract the first word of "ldconfig", so it can be a program name with args.
5987 set dummy ldconfig; ac_word=$2
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5989 $as_echo_n "checking for $ac_word... " >&6; }
5990 if ${ac_cv_path_LDCONFIG+:} false; then :
5991 $as_echo_n "(cached) " >&6
5992 else
5993 case $LDCONFIG in
5994 [\\/]* | ?:[\\/]*)
5995 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 for as_dir in /sbin /usr/sbin $PATH
6001 IFS=$as_save_IFS
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6005 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 break 2
6009 done
6010 done
6011 IFS=$as_save_IFS
6013 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6015 esac
6017 LDCONFIG=$ac_cv_path_LDCONFIG
6018 if test -n "$LDCONFIG"; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6020 $as_echo "$LDCONFIG" >&6; }
6021 else
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 $as_echo "no" >&6; }
6027 for ac_prog in msgfmt
6029 # Extract the first word of "$ac_prog", so it can be a program name with args.
6030 set dummy $ac_prog; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_MSGFMT+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 if test -n "$MSGFMT"; then
6037 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6038 else
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in $PATH
6042 IFS=$as_save_IFS
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_MSGFMT="$ac_prog"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 break 2
6050 done
6051 done
6052 IFS=$as_save_IFS
6056 MSGFMT=$ac_cv_prog_MSGFMT
6057 if test -n "$MSGFMT"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6059 $as_echo "$MSGFMT" >&6; }
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6066 test -n "$MSGFMT" && break
6067 done
6068 test -n "$MSGFMT" || MSGFMT="false"
6070 if ${ac_tool_prefix+:} false; then :
6071 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6072 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$PKG_CONFIG"; then
6079 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6099 if test -n "$PKG_CONFIG"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6101 $as_echo "$PKG_CONFIG" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6109 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6110 if test "x$cross_compiling" = xyes; then :
6112 else
6113 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6114 # Extract the first word of "pkg-config", so it can be a program name with args.
6115 set dummy pkg-config; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 if test -n "$PKG_CONFIG"; then
6122 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6127 IFS=$as_save_IFS
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_PKG_CONFIG="pkg-config"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133 break 2
6135 done
6136 done
6137 IFS=$as_save_IFS
6141 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6142 if test -n "$PKG_CONFIG"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6144 $as_echo "$PKG_CONFIG" >&6; }
6145 else
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6152 else
6153 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6156 if test "x$enable_maintainer_mode" != "xyes"
6157 then
6158 FONTFORGE=""
6159 RSVG=""
6160 CONVERT=""
6161 ICOTOOL=""
6162 else
6163 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6164 for ac_prog in fontforge
6166 # Extract the first word of "$ac_prog", so it can be a program name with args.
6167 set dummy $ac_prog; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_FONTFORGE+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 if test -n "$FONTFORGE"; then
6174 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6179 IFS=$as_save_IFS
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_FONTFORGE="$ac_prog"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 FONTFORGE=$ac_cv_prog_FONTFORGE
6194 if test -n "$FONTFORGE"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6196 $as_echo "$FONTFORGE" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6203 test -n "$FONTFORGE" && break
6204 done
6205 test -n "$FONTFORGE" || FONTFORGE="false"
6207 for ac_prog in rsvg-convert rsvg
6209 # Extract the first word of "$ac_prog", so it can be a program name with args.
6210 set dummy $ac_prog; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212 $as_echo_n "checking for $ac_word... " >&6; }
6213 if ${ac_cv_prog_RSVG+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -n "$RSVG"; then
6217 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6218 else
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6226 ac_cv_prog_RSVG="$ac_prog"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 break 2
6230 done
6231 done
6232 IFS=$as_save_IFS
6236 RSVG=$ac_cv_prog_RSVG
6237 if test -n "$RSVG"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6239 $as_echo "$RSVG" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242 $as_echo "no" >&6; }
6246 test -n "$RSVG" && break
6247 done
6248 test -n "$RSVG" || RSVG="false"
6250 for ac_prog in convert
6252 # Extract the first word of "$ac_prog", so it can be a program name with args.
6253 set dummy $ac_prog; ac_word=$2
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255 $as_echo_n "checking for $ac_word... " >&6; }
6256 if ${ac_cv_prog_CONVERT+:} false; then :
6257 $as_echo_n "(cached) " >&6
6258 else
6259 if test -n "$CONVERT"; then
6260 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_CONVERT="$ac_prog"
6270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6275 IFS=$as_save_IFS
6279 CONVERT=$ac_cv_prog_CONVERT
6280 if test -n "$CONVERT"; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6282 $as_echo "$CONVERT" >&6; }
6283 else
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6285 $as_echo "no" >&6; }
6289 test -n "$CONVERT" && break
6290 done
6291 test -n "$CONVERT" || CONVERT="false"
6293 for ac_prog in icotool
6295 # Extract the first word of "$ac_prog", so it can be a program name with args.
6296 set dummy $ac_prog; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if ${ac_cv_prog_ICOTOOL+:} false; then :
6300 $as_echo_n "(cached) " >&6
6301 else
6302 if test -n "$ICOTOOL"; then
6303 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6304 else
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 for as_dir in $PATH
6308 IFS=$as_save_IFS
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6312 ac_cv_prog_ICOTOOL="$ac_prog"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 break 2
6316 done
6317 done
6318 IFS=$as_save_IFS
6322 ICOTOOL=$ac_cv_prog_ICOTOOL
6323 if test -n "$ICOTOOL"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6325 $as_echo "$ICOTOOL" >&6; }
6326 else
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6332 test -n "$ICOTOOL" && break
6333 done
6334 test -n "$ICOTOOL" || ICOTOOL="false"
6336 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6337 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6339 if test "$CONVERT" = false
6340 then
6341 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6342 else
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6344 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6345 convert_version=`convert --version | head -n1`
6346 if test "x$convert_version" != "x"
6347 then
6348 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6349 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6350 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6351 then
6352 CONVERT=false
6355 if test "$CONVERT" = false
6356 then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6358 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6359 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6360 else
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6362 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6366 if test "$ICOTOOL" = false
6367 then
6368 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6369 else
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6371 $as_echo_n "checking for recent enough icotool... " >&6; }
6372 icotool_version=`icotool --version | head -n1`
6373 if test "x$icotool_version" != "x"
6374 then
6375 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6376 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6377 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6378 then
6379 ICOTOOL=false
6380 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6383 if test "$ICOTOOL" = false
6384 then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6386 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6387 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6388 else
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6390 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6394 with_gettext=yes
6395 with_gettextpo=yes
6396 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6399 test "x$with_gettext" != xno || MSGFMT=false
6400 if test "$MSGFMT" != "false"
6401 then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6403 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6404 cat >conftest.po <<EOF
6405 # comment
6406 msgctxt "ctxt"
6407 msgid "id"
6408 msgstr "str"
6410 if $MSGFMT -o /dev/null conftest.po 2>&5
6411 then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6413 $as_echo "yes" >&6; }
6414 else
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416 $as_echo "no" >&6; }
6417 MSGFMT=false
6420 if test "$MSGFMT" = false; then :
6421 case "x$with_gettext" in
6422 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6423 xno) ;;
6424 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6425 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6426 esac
6427 enable_po=${enable_po:-no}
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6432 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6433 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6434 $as_echo_n "(cached) " >&6
6435 else
6436 ac_check_lib_save_LIBS=$LIBS
6437 LIBS="-li386 $LIBS"
6438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6441 /* Override any GCC internal prototype to avoid an error.
6442 Use char because int might match the return type of a GCC
6443 builtin and then its argument prototype would still apply. */
6444 #ifdef __cplusplus
6445 extern "C"
6446 #endif
6447 char i386_set_ldt ();
6449 main ()
6451 return i386_set_ldt ();
6453 return 0;
6455 _ACEOF
6456 if ac_fn_c_try_link "$LINENO"; then :
6457 ac_cv_lib_i386_i386_set_ldt=yes
6458 else
6459 ac_cv_lib_i386_i386_set_ldt=no
6461 rm -f core conftest.err conftest.$ac_objext \
6462 conftest$ac_exeext conftest.$ac_ext
6463 LIBS=$ac_check_lib_save_LIBS
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6466 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6467 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6468 cat >>confdefs.h <<_ACEOF
6469 #define HAVE_LIBI386 1
6470 _ACEOF
6472 LIBS="-li386 $LIBS"
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6477 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6478 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6479 $as_echo_n "(cached) " >&6
6480 else
6481 ac_check_lib_save_LIBS=$LIBS
6482 LIBS="-lossaudio $LIBS"
6483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6484 /* end confdefs.h. */
6486 /* Override any GCC internal prototype to avoid an error.
6487 Use char because int might match the return type of a GCC
6488 builtin and then its argument prototype would still apply. */
6489 #ifdef __cplusplus
6490 extern "C"
6491 #endif
6492 char _oss_ioctl ();
6494 main ()
6496 return _oss_ioctl ();
6498 return 0;
6500 _ACEOF
6501 if ac_fn_c_try_link "$LINENO"; then :
6502 ac_cv_lib_ossaudio__oss_ioctl=yes
6503 else
6504 ac_cv_lib_ossaudio__oss_ioctl=no
6506 rm -f core conftest.err conftest.$ac_objext \
6507 conftest$ac_exeext conftest.$ac_ext
6508 LIBS=$ac_check_lib_save_LIBS
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6511 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6512 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6513 cat >>confdefs.h <<_ACEOF
6514 #define HAVE_LIBOSSAUDIO 1
6515 _ACEOF
6517 LIBS="-lossaudio $LIBS"
6522 OPENGL_LIBS=""
6526 # Check whether --enable-largefile was given.
6527 if test "${enable_largefile+set}" = set; then :
6528 enableval=$enable_largefile;
6531 if test "$enable_largefile" != no; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6534 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6535 if ${ac_cv_sys_largefile_CC+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 ac_cv_sys_largefile_CC=no
6539 if test "$GCC" != yes; then
6540 ac_save_CC=$CC
6541 while :; do
6542 # IRIX 6.2 and later do not support large files by default,
6543 # so use the C compiler's -n32 option if that helps.
6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6546 #include <sys/types.h>
6547 /* Check that off_t can represent 2**63 - 1 correctly.
6548 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6549 since some C++ compilers masquerading as C compilers
6550 incorrectly reject 9223372036854775807. */
6551 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6552 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6553 && LARGE_OFF_T % 2147483647 == 1)
6554 ? 1 : -1];
6556 main ()
6560 return 0;
6562 _ACEOF
6563 if ac_fn_c_try_compile "$LINENO"; then :
6564 break
6566 rm -f core conftest.err conftest.$ac_objext
6567 CC="$CC -n32"
6568 if ac_fn_c_try_compile "$LINENO"; then :
6569 ac_cv_sys_largefile_CC=' -n32'; break
6571 rm -f core conftest.err conftest.$ac_objext
6572 break
6573 done
6574 CC=$ac_save_CC
6575 rm -f conftest.$ac_ext
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6579 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6580 if test "$ac_cv_sys_largefile_CC" != no; then
6581 CC=$CC$ac_cv_sys_largefile_CC
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6585 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6586 if ${ac_cv_sys_file_offset_bits+:} false; then :
6587 $as_echo_n "(cached) " >&6
6588 else
6589 while :; do
6590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6591 /* end confdefs.h. */
6592 #include <sys/types.h>
6593 /* Check that off_t can represent 2**63 - 1 correctly.
6594 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6595 since some C++ compilers masquerading as C compilers
6596 incorrectly reject 9223372036854775807. */
6597 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6598 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6599 && LARGE_OFF_T % 2147483647 == 1)
6600 ? 1 : -1];
6602 main ()
6606 return 0;
6608 _ACEOF
6609 if ac_fn_c_try_compile "$LINENO"; then :
6610 ac_cv_sys_file_offset_bits=no; break
6612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #define _FILE_OFFSET_BITS 64
6616 #include <sys/types.h>
6617 /* Check that off_t can represent 2**63 - 1 correctly.
6618 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6619 since some C++ compilers masquerading as C compilers
6620 incorrectly reject 9223372036854775807. */
6621 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6622 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6623 && LARGE_OFF_T % 2147483647 == 1)
6624 ? 1 : -1];
6626 main ()
6630 return 0;
6632 _ACEOF
6633 if ac_fn_c_try_compile "$LINENO"; then :
6634 ac_cv_sys_file_offset_bits=64; break
6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6637 ac_cv_sys_file_offset_bits=unknown
6638 break
6639 done
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6642 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6643 case $ac_cv_sys_file_offset_bits in #(
6644 no | unknown) ;;
6646 cat >>confdefs.h <<_ACEOF
6647 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6648 _ACEOF
6650 esac
6651 rm -rf conftest*
6652 if test $ac_cv_sys_file_offset_bits = unknown; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6654 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6655 if ${ac_cv_sys_large_files+:} false; then :
6656 $as_echo_n "(cached) " >&6
6657 else
6658 while :; do
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #include <sys/types.h>
6662 /* Check that off_t can represent 2**63 - 1 correctly.
6663 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6664 since some C++ compilers masquerading as C compilers
6665 incorrectly reject 9223372036854775807. */
6666 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6667 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6668 && LARGE_OFF_T % 2147483647 == 1)
6669 ? 1 : -1];
6671 main ()
6675 return 0;
6677 _ACEOF
6678 if ac_fn_c_try_compile "$LINENO"; then :
6679 ac_cv_sys_large_files=no; break
6681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6684 #define _LARGE_FILES 1
6685 #include <sys/types.h>
6686 /* Check that off_t can represent 2**63 - 1 correctly.
6687 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6688 since some C++ compilers masquerading as C compilers
6689 incorrectly reject 9223372036854775807. */
6690 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6691 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6692 && LARGE_OFF_T % 2147483647 == 1)
6693 ? 1 : -1];
6695 main ()
6699 return 0;
6701 _ACEOF
6702 if ac_fn_c_try_compile "$LINENO"; then :
6703 ac_cv_sys_large_files=1; break
6705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6706 ac_cv_sys_large_files=unknown
6707 break
6708 done
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6711 $as_echo "$ac_cv_sys_large_files" >&6; }
6712 case $ac_cv_sys_large_files in #(
6713 no | unknown) ;;
6715 cat >>confdefs.h <<_ACEOF
6716 #define _LARGE_FILES $ac_cv_sys_large_files
6717 _ACEOF
6719 esac
6720 rm -rf conftest*
6727 ac_ext=c
6728 ac_cpp='$CPP $CPPFLAGS'
6729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6733 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6734 # On Suns, sometimes $CPP names a directory.
6735 if test -n "$CPP" && test -d "$CPP"; then
6736 CPP=
6738 if test -z "$CPP"; then
6739 if ${ac_cv_prog_CPP+:} false; then :
6740 $as_echo_n "(cached) " >&6
6741 else
6742 # Double quotes because CPP needs to be expanded
6743 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6745 ac_preproc_ok=false
6746 for ac_c_preproc_warn_flag in '' yes
6748 # Use a header file that comes with gcc, so configuring glibc
6749 # with a fresh cross-compiler works.
6750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6751 # <limits.h> exists even on freestanding compilers.
6752 # On the NeXT, cc -E runs the code through the compiler's parser,
6753 # not just through cpp. "Syntax error" is here to catch this case.
6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6756 #ifdef __STDC__
6757 # include <limits.h>
6758 #else
6759 # include <assert.h>
6760 #endif
6761 Syntax error
6762 _ACEOF
6763 if ac_fn_c_try_cpp "$LINENO"; then :
6765 else
6766 # Broken: fails on valid input.
6767 continue
6769 rm -f conftest.err conftest.i conftest.$ac_ext
6771 # OK, works on sane cases. Now check whether nonexistent headers
6772 # can be detected and how.
6773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6774 /* end confdefs.h. */
6775 #include <ac_nonexistent.h>
6776 _ACEOF
6777 if ac_fn_c_try_cpp "$LINENO"; then :
6778 # Broken: success on invalid input.
6779 continue
6780 else
6781 # Passes both tests.
6782 ac_preproc_ok=:
6783 break
6785 rm -f conftest.err conftest.i conftest.$ac_ext
6787 done
6788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6789 rm -f conftest.i conftest.err conftest.$ac_ext
6790 if $ac_preproc_ok; then :
6791 break
6794 done
6795 ac_cv_prog_CPP=$CPP
6798 CPP=$ac_cv_prog_CPP
6799 else
6800 ac_cv_prog_CPP=$CPP
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6803 $as_echo "$CPP" >&6; }
6804 ac_preproc_ok=false
6805 for ac_c_preproc_warn_flag in '' yes
6807 # Use a header file that comes with gcc, so configuring glibc
6808 # with a fresh cross-compiler works.
6809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6810 # <limits.h> exists even on freestanding compilers.
6811 # On the NeXT, cc -E runs the code through the compiler's parser,
6812 # not just through cpp. "Syntax error" is here to catch this case.
6813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6814 /* end confdefs.h. */
6815 #ifdef __STDC__
6816 # include <limits.h>
6817 #else
6818 # include <assert.h>
6819 #endif
6820 Syntax error
6821 _ACEOF
6822 if ac_fn_c_try_cpp "$LINENO"; then :
6824 else
6825 # Broken: fails on valid input.
6826 continue
6828 rm -f conftest.err conftest.i conftest.$ac_ext
6830 # OK, works on sane cases. Now check whether nonexistent headers
6831 # can be detected and how.
6832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6834 #include <ac_nonexistent.h>
6835 _ACEOF
6836 if ac_fn_c_try_cpp "$LINENO"; then :
6837 # Broken: success on invalid input.
6838 continue
6839 else
6840 # Passes both tests.
6841 ac_preproc_ok=:
6842 break
6844 rm -f conftest.err conftest.i conftest.$ac_ext
6846 done
6847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6848 rm -f conftest.i conftest.err conftest.$ac_ext
6849 if $ac_preproc_ok; then :
6851 else
6852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6854 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6855 See \`config.log' for more details" "$LINENO" 5; }
6858 ac_ext=c
6859 ac_cpp='$CPP $CPPFLAGS'
6860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6866 $as_echo_n "checking for ANSI C header files... " >&6; }
6867 if ${ac_cv_header_stdc+:} false; then :
6868 $as_echo_n "(cached) " >&6
6869 else
6870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h. */
6872 #include <stdlib.h>
6873 #include <stdarg.h>
6874 #include <string.h>
6875 #include <float.h>
6878 main ()
6882 return 0;
6884 _ACEOF
6885 if ac_fn_c_try_compile "$LINENO"; then :
6886 ac_cv_header_stdc=yes
6887 else
6888 ac_cv_header_stdc=no
6890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6892 if test $ac_cv_header_stdc = yes; then
6893 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #include <string.h>
6898 _ACEOF
6899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6900 $EGREP "memchr" >/dev/null 2>&1; then :
6902 else
6903 ac_cv_header_stdc=no
6905 rm -f conftest*
6909 if test $ac_cv_header_stdc = yes; then
6910 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6913 #include <stdlib.h>
6915 _ACEOF
6916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6917 $EGREP "free" >/dev/null 2>&1; then :
6919 else
6920 ac_cv_header_stdc=no
6922 rm -f conftest*
6926 if test $ac_cv_header_stdc = yes; then
6927 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6928 if test "$cross_compiling" = yes; then :
6930 else
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6933 #include <ctype.h>
6934 #include <stdlib.h>
6935 #if ((' ' & 0x0FF) == 0x020)
6936 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6937 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6938 #else
6939 # define ISLOWER(c) \
6940 (('a' <= (c) && (c) <= 'i') \
6941 || ('j' <= (c) && (c) <= 'r') \
6942 || ('s' <= (c) && (c) <= 'z'))
6943 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6944 #endif
6946 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6948 main ()
6950 int i;
6951 for (i = 0; i < 256; i++)
6952 if (XOR (islower (i), ISLOWER (i))
6953 || toupper (i) != TOUPPER (i))
6954 return 2;
6955 return 0;
6957 _ACEOF
6958 if ac_fn_c_try_run "$LINENO"; then :
6960 else
6961 ac_cv_header_stdc=no
6963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6964 conftest.$ac_objext conftest.beam conftest.$ac_ext
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6970 $as_echo "$ac_cv_header_stdc" >&6; }
6971 if test $ac_cv_header_stdc = yes; then
6973 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6977 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6978 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6979 inttypes.h stdint.h unistd.h
6980 do :
6981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6982 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6984 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6985 cat >>confdefs.h <<_ACEOF
6986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6987 _ACEOF
6991 done
6994 for ac_header in \
6995 AL/al.h \
6996 ApplicationServices/ApplicationServices.h \
6997 AudioToolbox/AudioConverter.h \
6998 AudioUnit/AudioUnit.h \
6999 AudioUnit/AudioComponent.h \
7000 CL/cl.h \
7001 Carbon/Carbon.h \
7002 CommonCrypto/CommonCryptor.h \
7003 CoreAudio/CoreAudio.h \
7004 CoreServices/CoreServices.h \
7005 DiskArbitration/DiskArbitration.h \
7006 EGL/egl.h \
7007 IOKit/IOKitLib.h \
7008 IOKit/hid/IOHIDLib.h \
7009 OpenAL/al.h \
7010 OpenCL/opencl.h \
7011 QuickTime/ImageCompression.h \
7012 Security/Security.h \
7013 alias.h \
7014 alsa/asoundlib.h \
7015 arpa/inet.h \
7016 arpa/nameser.h \
7017 asm/types.h \
7018 asm/user.h \
7019 curses.h \
7020 direct.h \
7021 dirent.h \
7022 dlfcn.h \
7023 elf.h \
7024 float.h \
7025 fnmatch.h \
7026 getopt.h \
7027 gettext-po.h \
7028 grp.h \
7029 gsm.h \
7030 gsm/gsm.h \
7031 ieeefp.h \
7032 inet/mib2.h \
7033 io.h \
7034 kstat.h \
7035 libproc.h \
7036 link.h \
7037 linux/cdrom.h \
7038 linux/compiler.h \
7039 linux/filter.h \
7040 linux/hdreg.h \
7041 linux/hidraw.h \
7042 linux/input.h \
7043 linux/ioctl.h \
7044 linux/joystick.h \
7045 linux/major.h \
7046 linux/param.h \
7047 linux/serial.h \
7048 linux/types.h \
7049 linux/ucdrom.h \
7050 lwp.h \
7051 mach-o/nlist.h \
7052 mach-o/loader.h \
7053 mach/mach.h \
7054 mach/machine.h \
7055 machine/cpu.h \
7056 machine/limits.h \
7057 machine/sysarch.h \
7058 mntent.h \
7059 ncurses.h \
7060 netdb.h \
7061 netinet/in.h \
7062 netinet/in_systm.h \
7063 netinet/tcp.h \
7064 netinet/tcp_fsm.h \
7065 pcap/pcap.h \
7066 poll.h \
7067 port.h \
7068 process.h \
7069 pthread.h \
7070 pwd.h \
7071 sched.h \
7072 scsi/scsi.h \
7073 scsi/scsi_ioctl.h \
7074 scsi/sg.h \
7075 stdbool.h \
7076 stdint.h \
7077 stropts.h \
7078 sys/asoundlib.h \
7079 sys/attr.h \
7080 sys/auxv.h \
7081 sys/cdio.h \
7082 sys/elf32.h \
7083 sys/epoll.h \
7084 sys/event.h \
7085 sys/exec_elf.h \
7086 sys/filio.h \
7087 sys/inotify.h \
7088 sys/ioctl.h \
7089 sys/ipc.h \
7090 sys/limits.h \
7091 sys/link.h \
7092 sys/mman.h \
7093 sys/modem.h \
7094 sys/msg.h \
7095 sys/mtio.h \
7096 sys/param.h \
7097 sys/poll.h \
7098 sys/prctl.h \
7099 sys/protosw.h \
7100 sys/ptrace.h \
7101 sys/queue.h \
7102 sys/resource.h \
7103 sys/scsiio.h \
7104 sys/shm.h \
7105 sys/signal.h \
7106 sys/socket.h \
7107 sys/socketvar.h \
7108 sys/sockio.h \
7109 sys/statvfs.h \
7110 sys/strtio.h \
7111 sys/syscall.h \
7112 sys/sysinfo.h \
7113 sys/tihdr.h \
7114 sys/time.h \
7115 sys/timeout.h \
7116 sys/times.h \
7117 sys/uio.h \
7118 sys/user.h \
7119 sys/utsname.h \
7120 sys/vnode.h \
7121 sys/wait.h \
7122 syscall.h \
7123 termios.h \
7124 unistd.h \
7125 utime.h \
7126 valgrind/memcheck.h \
7127 valgrind/valgrind.h \
7128 zlib.h
7130 do :
7131 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7132 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7133 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7134 cat >>confdefs.h <<_ACEOF
7135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7136 _ACEOF
7140 done
7142 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7143 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7145 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7150 if test $ac_cv_header_sys_mkdev_h = no; then
7151 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7152 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7154 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7161 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7162 if ${ac_cv_header_stat_broken+:} false; then :
7163 $as_echo_n "(cached) " >&6
7164 else
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #include <sys/stat.h>
7170 #if defined S_ISBLK && defined S_IFDIR
7171 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7172 #endif
7174 #if defined S_ISBLK && defined S_IFCHR
7175 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7176 #endif
7178 #if defined S_ISLNK && defined S_IFREG
7179 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7180 #endif
7182 #if defined S_ISSOCK && defined S_IFREG
7183 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7184 #endif
7186 _ACEOF
7187 if ac_fn_c_try_compile "$LINENO"; then :
7188 ac_cv_header_stat_broken=no
7189 else
7190 ac_cv_header_stat_broken=yes
7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7195 $as_echo "$ac_cv_header_stat_broken" >&6; }
7196 if test $ac_cv_header_stat_broken = yes; then
7198 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7204 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7205 do :
7206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7207 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7208 #ifdef HAVE_SYS_PARAM_H
7209 # include <sys/param.h>
7210 #endif
7212 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7213 cat >>confdefs.h <<_ACEOF
7214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7215 _ACEOF
7219 done
7222 for ac_header in \
7223 netinet/ip.h \
7224 net/if.h \
7225 net/if_arp.h \
7226 net/if_dl.h \
7227 net/if_types.h \
7228 net/route.h \
7229 netinet/if_ether.h \
7230 netinet/if_inarp.h \
7231 netinet/in_pcb.h \
7232 netinet/ip_icmp.h \
7233 netinet/ip_var.h \
7234 netinet/udp.h \
7235 netipx/ipx.h \
7236 sys/un.h \
7238 do :
7239 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7241 #ifdef HAVE_SYS_SOCKET_H
7242 # include <sys/socket.h>
7243 #endif
7244 #ifdef HAVE_SYS_SOCKETVAR_H
7245 # include <sys/socketvar.h>
7246 #endif
7247 #ifdef HAVE_NET_ROUTE_H
7248 # include <net/route.h>
7249 #endif
7250 #ifdef HAVE_NETINET_IN_H
7251 # include <netinet/in.h>
7252 #endif
7253 #ifdef HAVE_NETINET_IN_SYSTM_H
7254 # include <netinet/in_systm.h>
7255 #endif
7256 #ifdef HAVE_NET_IF_H
7257 # include <net/if.h>
7258 #endif
7259 #ifdef HAVE_NETINET_IP_H
7260 # include <netinet/ip.h>
7261 #endif
7263 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7264 cat >>confdefs.h <<_ACEOF
7265 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7266 _ACEOF
7270 done
7273 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7274 do :
7275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7276 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7277 #ifdef HAVE_ALIAS_H
7278 # include <alias.h>
7279 #endif
7280 #ifdef HAVE_SYS_SOCKET_H
7281 # include <sys/socket.h>
7282 #endif
7283 #ifdef HAVE_SYS_SOCKETVAR_H
7284 # include <sys/socketvar.h>
7285 #endif
7286 #ifdef HAVE_SYS_TIMEOUT_H
7287 # include <sys/timeout.h>
7288 #endif
7289 #ifdef HAVE_NETINET_IN_H
7290 # include <netinet/in.h>
7291 #endif
7292 #ifdef HAVE_NETINET_IN_SYSTM_H
7293 # include <netinet/in_systm.h>
7294 #endif
7295 #ifdef HAVE_NETINET_IP_H
7296 # include <netinet/ip.h>
7297 #endif
7298 #ifdef HAVE_NETINET_IP_VAR_H
7299 # include <netinet/ip_var.h>
7300 #endif
7301 #ifdef HAVE_NETINET_IP_ICMP_H
7302 # include <netinet/ip_icmp.h>
7303 #endif
7304 #ifdef HAVE_NETINET_UDP_H
7305 # include <netinet/udp.h>
7306 #endif
7307 #ifdef HAVE_NETINET_TCP_H
7308 # include <netinet/tcp.h>
7309 #endif
7310 #ifdef HAVE_NETINET_TCP_TIMER_H
7311 #include <netinet/tcp_timer.h>
7312 #endif
7314 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7315 cat >>confdefs.h <<_ACEOF
7316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7317 _ACEOF
7321 done
7324 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7325 do :
7326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7327 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7328 #ifdef HAVE_ASM_TYPES_H
7329 # include <asm/types.h>
7330 #endif
7331 #ifdef HAVE_SYS_SOCKET_H
7332 # include <sys/socket.h>
7333 #endif
7334 #ifdef HAVE_LINUX_TYPES_H
7335 # include <linux/types.h>
7336 #endif
7338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7339 cat >>confdefs.h <<_ACEOF
7340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7341 _ACEOF
7345 done
7348 for ac_header in mach-o/dyld_images.h
7349 do :
7350 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7351 # include <stdbool.h>
7352 #endif
7353 #ifdef HAVE_STDINT_H
7354 # include <stdint.h>
7355 #endif
7357 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7358 cat >>confdefs.h <<_ACEOF
7359 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7360 _ACEOF
7364 done
7367 for ac_header in resolv.h
7368 do :
7369 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7370 #ifdef HAVE_SYS_SOCKET_H
7371 # include <sys/socket.h>
7372 #endif
7373 #ifdef HAVE_NETINET_IN_H
7374 # include <netinet/in.h>
7375 #endif
7376 #ifdef HAVE_ARPA_NAMESER_H
7377 # include <arpa/nameser.h>
7378 #endif
7380 if test "x$ac_cv_header_resolv_h" = xyes; then :
7381 cat >>confdefs.h <<_ACEOF
7382 #define HAVE_RESOLV_H 1
7383 _ACEOF
7387 done
7390 for ac_header in ifaddrs.h
7391 do :
7392 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7394 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7395 cat >>confdefs.h <<_ACEOF
7396 #define HAVE_IFADDRS_H 1
7397 _ACEOF
7401 done
7404 for ac_header in sys/ucontext.h
7405 do :
7406 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7408 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7409 cat >>confdefs.h <<_ACEOF
7410 #define HAVE_SYS_UCONTEXT_H 1
7411 _ACEOF
7415 done
7418 for ac_header in sys/thr.h
7419 do :
7420 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7421 #ifdef HAVE_SYS_UCONTEXT_H
7422 #include <sys/ucontext.h>
7423 #endif
7425 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7426 cat >>confdefs.h <<_ACEOF
7427 #define HAVE_SYS_THR_H 1
7428 _ACEOF
7432 done
7435 for ac_header in pthread_np.h
7436 do :
7437 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7438 #include <pthread.h>
7439 #endif
7441 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7442 cat >>confdefs.h <<_ACEOF
7443 #define HAVE_PTHREAD_NP_H 1
7444 _ACEOF
7448 done
7451 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7452 do :
7453 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7454 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7455 #include <sys/time.h>
7456 #endif
7457 #include <sys/types.h>
7458 #ifdef HAVE_ASM_TYPES_H
7459 #include <asm/types.h>
7460 #endif
7462 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7463 cat >>confdefs.h <<_ACEOF
7464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7465 _ACEOF
7469 done
7472 for ac_header in libprocstat.h
7473 do :
7474 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7475 #include <sys/param.h>
7476 #endif
7477 #ifdef HAVE_SYS_QUEUE_H
7478 #include <sys/queue.h>
7479 #endif
7480 #ifdef HAVE_SYS_SOCKET_H
7481 #include <sys/socket.h>
7482 #endif
7484 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7485 cat >>confdefs.h <<_ACEOF
7486 #define HAVE_LIBPROCSTAT_H 1
7487 _ACEOF
7491 done
7495 DLLFLAGS="-D_REENTRANT"
7497 LDRPATH_INSTALL=""
7499 LDRPATH_LOCAL=""
7501 LDEXECFLAGS=""
7503 WINELOADER_LDFLAGS=""
7505 LIBEXT="so"
7506 DLLEXT=".so"
7507 IMPLIBEXT="def"
7508 # Extract the first word of "ldd", so it can be a program name with args.
7509 set dummy ldd; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if ${ac_cv_path_LDD+:} false; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 case $LDD in
7516 [\\/]* | ?:[\\/]*)
7517 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 as_dummy="/sbin:/usr/sbin:$PATH"
7522 for as_dir in $as_dummy
7524 IFS=$as_save_IFS
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530 break 2
7532 done
7533 done
7534 IFS=$as_save_IFS
7536 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7538 esac
7540 LDD=$ac_cv_path_LDD
7541 if test -n "$LDD"; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7543 $as_echo "$LDD" >&6; }
7544 else
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7550 if test -n "$ac_tool_prefix"; then
7551 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7552 set dummy ${ac_tool_prefix}otool; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_OTOOL+:} false; then :
7556 $as_echo_n "(cached) " >&6
7557 else
7558 if test -n "$OTOOL"; then
7559 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7560 else
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 for as_dir in $PATH
7564 IFS=$as_save_IFS
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570 break 2
7572 done
7573 done
7574 IFS=$as_save_IFS
7578 OTOOL=$ac_cv_prog_OTOOL
7579 if test -n "$OTOOL"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7581 $as_echo "$OTOOL" >&6; }
7582 else
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7589 if test -z "$ac_cv_prog_OTOOL"; then
7590 ac_ct_OTOOL=$OTOOL
7591 # Extract the first word of "otool", so it can be a program name with args.
7592 set dummy otool; ac_word=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7596 $as_echo_n "(cached) " >&6
7597 else
7598 if test -n "$ac_ct_OTOOL"; then
7599 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7600 else
7601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7602 for as_dir in $PATH
7604 IFS=$as_save_IFS
7605 test -z "$as_dir" && as_dir=.
7606 for ac_exec_ext in '' $ac_executable_extensions; do
7607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7608 ac_cv_prog_ac_ct_OTOOL="otool"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 break 2
7612 done
7613 done
7614 IFS=$as_save_IFS
7618 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7619 if test -n "$ac_ct_OTOOL"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7621 $as_echo "$ac_ct_OTOOL" >&6; }
7622 else
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7627 if test "x$ac_ct_OTOOL" = x; then
7628 OTOOL="otool"
7629 else
7630 case $cross_compiling:$ac_tool_warned in
7631 yes:)
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7634 ac_tool_warned=yes ;;
7635 esac
7636 OTOOL=$ac_ct_OTOOL
7638 else
7639 OTOOL="$ac_cv_prog_OTOOL"
7642 if test -n "$ac_tool_prefix"; then
7643 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7644 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_READELF+:} false; then :
7648 $as_echo_n "(cached) " >&6
7649 else
7650 if test -n "$READELF"; then
7651 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7652 else
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 for as_dir in $PATH
7656 IFS=$as_save_IFS
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 break 2
7664 done
7665 done
7666 IFS=$as_save_IFS
7670 READELF=$ac_cv_prog_READELF
7671 if test -n "$READELF"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7673 $as_echo "$READELF" >&6; }
7674 else
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7681 if test -z "$ac_cv_prog_READELF"; then
7682 ac_ct_READELF=$READELF
7683 # Extract the first word of "readelf", so it can be a program name with args.
7684 set dummy readelf; ac_word=$2
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7686 $as_echo_n "checking for $ac_word... " >&6; }
7687 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7688 $as_echo_n "(cached) " >&6
7689 else
7690 if test -n "$ac_ct_READELF"; then
7691 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7692 else
7693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7694 for as_dir in $PATH
7696 IFS=$as_save_IFS
7697 test -z "$as_dir" && as_dir=.
7698 for ac_exec_ext in '' $ac_executable_extensions; do
7699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7700 ac_cv_prog_ac_ct_READELF="readelf"
7701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7702 break 2
7704 done
7705 done
7706 IFS=$as_save_IFS
7710 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7711 if test -n "$ac_ct_READELF"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7713 $as_echo "$ac_ct_READELF" >&6; }
7714 else
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7719 if test "x$ac_ct_READELF" = x; then
7720 READELF="true"
7721 else
7722 case $cross_compiling:$ac_tool_warned in
7723 yes:)
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7726 ac_tool_warned=yes ;;
7727 esac
7728 READELF=$ac_ct_READELF
7730 else
7731 READELF="$ac_cv_prog_READELF"
7734 wine_rules_file=conf$$rules.make
7735 rm -f $wine_rules_file
7736 SUBDIRS=""
7738 DISABLED_SUBDIRS=""
7740 CONFIGURE_TARGETS=""
7743 wine_fn_append_file ()
7745 as_fn_append $1 " \\$as_nl $2"
7748 wine_fn_append_rule ()
7750 $as_echo "$1" >>$wine_rules_file
7753 wine_fn_config_makefile ()
7755 wine_fn_append_file SUBDIRS $1
7756 if eval test \"x\$"$2"\" = x"no"; then :
7757 wine_fn_append_file DISABLED_SUBDIRS $1
7761 wine_fn_config_symlink ()
7763 ac_links=$@
7764 wine_fn_append_rule \
7765 "$ac_links:
7766 @./config.status \$@"
7767 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7770 wine_binary="wine"
7771 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7772 WINELOADER_PROGRAMS="$wine_binary"
7774 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7776 case $host_os in
7777 cygwin*|mingw32*)
7778 if test -n "$ac_tool_prefix"; then
7779 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7780 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782 $as_echo_n "checking for $ac_word... " >&6; }
7783 if ${ac_cv_prog_DLLTOOL+:} false; then :
7784 $as_echo_n "(cached) " >&6
7785 else
7786 if test -n "$DLLTOOL"; then
7787 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7788 else
7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7790 for as_dir in $PATH
7792 IFS=$as_save_IFS
7793 test -z "$as_dir" && as_dir=.
7794 for ac_exec_ext in '' $ac_executable_extensions; do
7795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7796 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7798 break 2
7800 done
7801 done
7802 IFS=$as_save_IFS
7806 DLLTOOL=$ac_cv_prog_DLLTOOL
7807 if test -n "$DLLTOOL"; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7809 $as_echo "$DLLTOOL" >&6; }
7810 else
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812 $as_echo "no" >&6; }
7817 if test -z "$ac_cv_prog_DLLTOOL"; then
7818 ac_ct_DLLTOOL=$DLLTOOL
7819 # Extract the first word of "dlltool", so it can be a program name with args.
7820 set dummy dlltool; ac_word=$2
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7822 $as_echo_n "checking for $ac_word... " >&6; }
7823 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 if test -n "$ac_ct_DLLTOOL"; then
7827 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7828 else
7829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 for as_dir in $PATH
7832 IFS=$as_save_IFS
7833 test -z "$as_dir" && as_dir=.
7834 for ac_exec_ext in '' $ac_executable_extensions; do
7835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7836 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 break 2
7840 done
7841 done
7842 IFS=$as_save_IFS
7846 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7847 if test -n "$ac_ct_DLLTOOL"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7849 $as_echo "$ac_ct_DLLTOOL" >&6; }
7850 else
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7855 if test "x$ac_ct_DLLTOOL" = x; then
7856 DLLTOOL="false"
7857 else
7858 case $cross_compiling:$ac_tool_warned in
7859 yes:)
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7862 ac_tool_warned=yes ;;
7863 esac
7864 DLLTOOL=$ac_ct_DLLTOOL
7866 else
7867 DLLTOOL="$ac_cv_prog_DLLTOOL"
7870 LIBEXT="dll"
7871 DLLEXT=""
7872 IMPLIBEXT="a"
7873 enable_iphlpapi=${enable_iphlpapi:-no}
7874 enable_kernel32=${enable_kernel32:-no}
7875 enable_msvcrt=${enable_msvcrt:-no}
7876 enable_ntdll=${enable_ntdll:-no}
7877 enable_ws2_32=${enable_ws2_32:-no}
7878 enable_loader=${enable_loader:-no}
7879 enable_server=${enable_server:-no}
7880 with_x=${with_x:-no}
7881 with_pthread=${with_pthread:-no}
7883 crtlibs=""
7884 case $host_os in
7885 mingw32*)
7886 crtlibs="-lmsvcrt"
7887 SOCKET_LIBS="-lws2_32"
7889 esac
7891 LIBWINE_SHAREDLIB="libwine.dll"
7893 LIBWINE_IMPORTLIB="libwine.a"
7895 LIBWINE_INSTALL_LIB="libwine.dll"
7897 LIBWINE_INSTALL_DEV="libwine.a"
7899 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7901 LIBWINE_DEPENDS="wine.def"
7905 darwin*|macosx*)
7906 for ac_header in libunwind.h
7907 do :
7908 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7910 cat >>confdefs.h <<_ACEOF
7911 #define HAVE_LIBUNWIND_H 1
7912 _ACEOF
7916 done
7918 LIBEXT="dylib"
7919 DLLFLAGS="$DLLFLAGS -fPIC"
7920 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7921 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7922 COREFOUNDATION_LIBS="-framework CoreFoundation"
7924 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7926 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7928 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7930 CORESERVICES_LIBS="-framework CoreServices"
7932 APPKIT_LIBS="-framework AppKit"
7934 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7936 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7937 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7938 $as_echo_n "(cached) " >&6
7939 else
7940 ac_wine_try_cflags_saved=$CFLAGS
7941 CFLAGS="$CFLAGS -Wl,-no_pie"
7942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7943 /* end confdefs.h. */
7944 int main(int argc, char **argv) { return 0; }
7945 _ACEOF
7946 if ac_fn_c_try_link "$LINENO"; then :
7947 ac_cv_cflags__Wl__no_pie=yes
7948 else
7949 ac_cv_cflags__Wl__no_pie=no
7951 rm -f core conftest.err conftest.$ac_objext \
7952 conftest$ac_exeext conftest.$ac_ext
7953 CFLAGS=$ac_wine_try_cflags_saved
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7956 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7957 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7958 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7960 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7961 then
7962 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7965 if test "$ac_cv_header_Security_Security_h" = "yes"
7966 then
7967 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7969 ac_save_LIBS="$LIBS"
7970 LIBS="$LIBS $SECURITY_LIBS"
7971 for ac_func in SSLCopyPeerCertificates
7972 do :
7973 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7974 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7975 cat >>confdefs.h <<_ACEOF
7976 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7977 _ACEOF
7980 done
7982 LIBS="$ac_save_LIBS"
7983 with_gnutls=${with_gnutls:-no}
7985 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7986 then
7987 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7988 then
7989 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7991 else
7992 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7995 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
7996 ac_save_LIBS="$LIBS"
7997 LIBS="$LIBS $COREAUDIO_LIBS"
7998 for ac_func in AUGraphAddNode
7999 do :
8000 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8001 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8002 cat >>confdefs.h <<_ACEOF
8003 #define HAVE_AUGRAPHADDNODE 1
8004 _ACEOF
8007 done
8009 LIBS="$ac_save_LIBS"
8011 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8012 then
8013 OPENAL_LIBS="-framework OpenAL"
8016 cat >>confdefs.h <<_ACEOF
8017 #define HAVE_OPENAL 1
8018 _ACEOF
8020 ac_cv_lib_openal=yes
8022 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8023 then
8024 OPENCL_LIBS="-framework OpenCL"
8026 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8028 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8029 then
8030 ac_save_LIBS="$LIBS"
8031 LIBS="$LIBS $IOKIT_LIBS"
8032 for ac_func in IOHIDManagerCreate
8033 do :
8034 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8035 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8036 cat >>confdefs.h <<_ACEOF
8037 #define HAVE_IOHIDMANAGERCREATE 1
8038 _ACEOF
8041 done
8043 LIBS="$ac_save_LIBS"
8045 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8046 then
8047 ac_save_LIBS="$LIBS"
8048 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8050 $as_echo_n "checking for the QuickTime framework... " >&6; }
8051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8052 /* end confdefs.h. */
8053 #include <QuickTime/ImageCompression.h>
8055 main ()
8057 CodecManagerVersion(NULL);
8059 return 0;
8061 _ACEOF
8062 if ac_fn_c_try_link "$LINENO"; then :
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8064 $as_echo "yes" >&6; }
8065 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8067 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8068 else
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8071 ac_cv_header_QuickTime_ImageCompression_h=no
8073 rm -f core conftest.err conftest.$ac_objext \
8074 conftest$ac_exeext conftest.$ac_ext
8075 LIBS="$ac_save_LIBS"
8077 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8078 then
8079 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8081 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8082 then
8083 CARBON_LIBS="-framework Carbon"
8087 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8088 then
8089 ac_save_LIBS="$LIBS"
8090 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8091 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8092 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8093 enable_winemac_drv=${enable_winemac_drv:-yes}
8096 LIBS="$ac_save_LIBS"
8099 if test "x$enable_win16" = "xyes"
8100 then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8102 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8103 if test "$cross_compiling" = yes; then :
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8105 $as_echo "cross-compiling, assuming yes" >&6; }
8106 else
8107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8108 /* end confdefs.h. */
8109 asm(".text\n"
8110 "bad:\tnop;nop\n"
8111 "good:\tnop;nop\n\t"
8112 ".globl _testfunc\n"
8113 "_testfunc:\tcallw good");
8114 extern void testfunc();
8116 main ()
8118 unsigned short *p = (unsigned short *)testfunc;
8119 return p[0] != 0xe866 || p[1] != 0xfffa
8121 return 0;
8123 _ACEOF
8124 if ac_fn_c_try_run "$LINENO"; then :
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8126 $as_echo "yes" >&6; }
8127 else
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8130 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
8132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8133 conftest.$ac_objext conftest.beam conftest.$ac_ext
8138 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8140 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8142 LIBWINE_INSTALL_DEV="libwine.dylib"
8144 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8146 WINELOADER_DEPENDS="wine_info.plist"
8150 linux-android*)
8151 DLLFLAGS="$DLLFLAGS -fPIC"
8152 LDEXECFLAGS="-Wl,-pie"
8153 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8155 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8156 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 ac_wine_try_cflags_saved=$CFLAGS
8160 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8163 int main(int argc, char **argv) { return 0; }
8164 _ACEOF
8165 if ac_fn_c_try_link "$LINENO"; then :
8166 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8167 else
8168 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8170 rm -f core conftest.err conftest.$ac_objext \
8171 conftest$ac_exeext conftest.$ac_ext
8172 CFLAGS=$ac_wine_try_cflags_saved
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8175 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8176 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8177 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8179 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8181 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8182 if eval \${$as_ac_var+:} false; then :
8183 $as_echo_n "(cached) " >&6
8184 else
8185 ac_wine_try_cflags_saved=$CFLAGS
8186 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 int main(int argc, char **argv) { return 0; }
8190 _ACEOF
8191 if ac_fn_c_try_link "$LINENO"; then :
8192 eval "$as_ac_var=yes"
8193 else
8194 eval "$as_ac_var=no"
8196 rm -f core conftest.err conftest.$ac_objext \
8197 conftest$ac_exeext conftest.$ac_ext
8198 CFLAGS=$ac_wine_try_cflags_saved
8200 eval ac_res=\$$as_ac_var
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8202 $as_echo "$ac_res" >&6; }
8203 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8204 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8205 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8206 else
8207 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8209 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8210 if eval \${$as_ac_var+:} false; then :
8211 $as_echo_n "(cached) " >&6
8212 else
8213 ac_wine_try_cflags_saved=$CFLAGS
8214 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8218 _ACEOF
8219 if ac_fn_c_try_link "$LINENO"; then :
8220 eval "$as_ac_var=yes"
8221 else
8222 eval "$as_ac_var=no"
8224 rm -f core conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 CFLAGS=$ac_wine_try_cflags_saved
8228 eval ac_res=\$$as_ac_var
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8230 $as_echo "$ac_res" >&6; }
8231 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8232 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8233 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8237 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8238 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8239 $as_echo_n "(cached) " >&6
8240 else
8241 ac_wine_try_cflags_saved=$CFLAGS
8242 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 int main(int argc, char **argv) { return 0; }
8246 _ACEOF
8247 if ac_fn_c_try_link "$LINENO"; then :
8248 ac_cv_cflags__Wl___enable_new_dtags=yes
8249 else
8250 ac_cv_cflags__Wl___enable_new_dtags=no
8252 rm -f core conftest.err conftest.$ac_objext \
8253 conftest$ac_exeext conftest.$ac_ext
8254 CFLAGS=$ac_wine_try_cflags_saved
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8257 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8258 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8259 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8262 LIBWINE_SHAREDLIB="libwine.so"
8264 LIBWINE_INSTALL_LIB="libwine.so"
8266 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8270 $as_echo_n "checking for -lEGL... " >&6; }
8271 if ${ac_cv_lib_soname_EGL+:} false; then :
8272 $as_echo_n "(cached) " >&6
8273 else
8274 ac_check_soname_save_LIBS=$LIBS
8275 LIBS="-lEGL $LIBS"
8276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8279 /* Override any GCC internal prototype to avoid an error.
8280 Use char because int might match the return type of a GCC
8281 builtin and then its argument prototype would still apply. */
8282 #ifdef __cplusplus
8283 extern "C"
8284 #endif
8285 char eglGetProcAddress ();
8287 main ()
8289 return eglGetProcAddress ();
8291 return 0;
8293 _ACEOF
8294 if ac_fn_c_try_link "$LINENO"; then :
8295 case "$LIBEXT" in
8296 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8297 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'` ;;
8298 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8299 if ${ac_cv_lib_soname_EGL:+false} :; then :
8300 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8301 fi ;;
8302 esac
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 LIBS=$ac_check_soname_save_LIBS
8308 if ${ac_cv_lib_soname_EGL:+false} :; then :
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8310 $as_echo "not found" >&6; }
8312 else
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8314 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8316 cat >>confdefs.h <<_ACEOF
8317 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8318 _ACEOF
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8323 $as_echo_n "checking for -lGLESv2... " >&6; }
8324 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 ac_check_soname_save_LIBS=$LIBS
8328 LIBS="-lGLESv2 $LIBS"
8329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8332 /* Override any GCC internal prototype to avoid an error.
8333 Use char because int might match the return type of a GCC
8334 builtin and then its argument prototype would still apply. */
8335 #ifdef __cplusplus
8336 extern "C"
8337 #endif
8338 char glFlush ();
8340 main ()
8342 return glFlush ();
8344 return 0;
8346 _ACEOF
8347 if ac_fn_c_try_link "$LINENO"; then :
8348 case "$LIBEXT" in
8349 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8350 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'` ;;
8351 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8352 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8353 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8354 fi ;;
8355 esac
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 LIBS=$ac_check_soname_save_LIBS
8361 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8363 $as_echo "not found" >&6; }
8365 else
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8367 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8369 cat >>confdefs.h <<_ACEOF
8370 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8371 _ACEOF
8376 if test "x$exec_prefix" = xNONE
8377 then
8378 case $host_cpu in
8379 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8380 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8381 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8382 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8383 esac
8388 DLLFLAGS="$DLLFLAGS -fPIC"
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8390 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8391 if ${ac_cv_c_dll_gnuelf+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 void myfunc() {}
8399 _ACEOF
8400 if ac_fn_c_try_link "$LINENO"; then :
8401 ac_cv_c_dll_gnuelf="yes"
8402 else
8403 ac_cv_c_dll_gnuelf="no"
8405 rm -f core conftest.err conftest.$ac_objext \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8410 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8411 if test "$ac_cv_c_dll_gnuelf" = "yes"
8412 then
8413 LIBWINE_LDFLAGS="-shared"
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8415 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8416 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8427 else
8428 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8435 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8436 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8437 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8438 else
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8440 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8441 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_wine_try_cflags_saved=$CFLAGS
8445 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 int main(int argc, char **argv) { return 0; }
8449 _ACEOF
8450 if ac_fn_c_try_link "$LINENO"; then :
8451 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8452 else
8453 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8455 rm -f core conftest.err conftest.$ac_objext \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8460 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8461 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8462 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8466 echo '{ global: *; };' >conftest.map
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8468 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8469 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_wine_try_cflags_saved=$CFLAGS
8473 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 int main(int argc, char **argv) { return 0; }
8477 _ACEOF
8478 if ac_fn_c_try_link "$LINENO"; then :
8479 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8480 else
8481 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8483 rm -f core conftest.err conftest.$ac_objext \
8484 conftest$ac_exeext conftest.$ac_ext
8485 CFLAGS=$ac_wine_try_cflags_saved
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8488 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8489 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8490 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8492 rm -f conftest.map
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8495 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8496 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503 int main(int argc, char **argv) { return 0; }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8507 else
8508 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 CFLAGS=$ac_wine_try_cflags_saved
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8515 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8516 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8517 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8520 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8522 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8523 if eval \${$as_ac_var+:} false; then :
8524 $as_echo_n "(cached) " >&6
8525 else
8526 ac_wine_try_cflags_saved=$CFLAGS
8527 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8530 int main(int argc, char **argv) { return 0; }
8531 _ACEOF
8532 if ac_fn_c_try_link "$LINENO"; then :
8533 eval "$as_ac_var=yes"
8534 else
8535 eval "$as_ac_var=no"
8537 rm -f core conftest.err conftest.$ac_objext \
8538 conftest$ac_exeext conftest.$ac_ext
8539 CFLAGS=$ac_wine_try_cflags_saved
8541 eval ac_res=\$$as_ac_var
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8543 $as_echo "$ac_res" >&6; }
8544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8545 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8546 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8547 else
8548 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8550 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8551 if eval \${$as_ac_var+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 ac_wine_try_cflags_saved=$CFLAGS
8555 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 int main(int argc, char **argv) { return 0; }
8559 _ACEOF
8560 if ac_fn_c_try_link "$LINENO"; then :
8561 eval "$as_ac_var=yes"
8562 else
8563 eval "$as_ac_var=no"
8565 rm -f core conftest.err conftest.$ac_objext \
8566 conftest$ac_exeext conftest.$ac_ext
8567 CFLAGS=$ac_wine_try_cflags_saved
8569 eval ac_res=\$$as_ac_var
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8571 $as_echo "$ac_res" >&6; }
8572 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8573 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8574 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8579 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8580 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_wine_try_cflags_saved=$CFLAGS
8584 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8587 int main(int argc, char **argv) { return 0; }
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 ac_cv_cflags__Wl___enable_new_dtags=yes
8591 else
8592 ac_cv_cflags__Wl___enable_new_dtags=no
8594 rm -f core conftest.err conftest.$ac_objext \
8595 conftest$ac_exeext conftest.$ac_ext
8596 CFLAGS=$ac_wine_try_cflags_saved
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8599 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8600 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8601 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8604 case $host_cpu in
8605 *i[3456789]86* | x86_64 | *aarch64*)
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8607 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8608 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8609 $as_echo_n "(cached) " >&6
8610 else
8611 ac_wine_try_cflags_saved=$CFLAGS
8612 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 int main(int argc, char **argv) { return 0; }
8616 _ACEOF
8617 if ac_fn_c_try_link "$LINENO"; then :
8618 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8619 else
8620 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 CFLAGS=$ac_wine_try_cflags_saved
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8627 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8628 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8629 case $host_os in
8630 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8631 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8632 esac
8633 else
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8635 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8636 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8637 $as_echo_n "(cached) " >&6
8638 else
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8643 int main(int argc, char **argv) { return 0; }
8644 _ACEOF
8645 if ac_fn_c_try_link "$LINENO"; then :
8646 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8647 else
8648 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8650 rm -f core conftest.err conftest.$ac_objext \
8651 conftest$ac_exeext conftest.$ac_ext
8652 CFLAGS=$ac_wine_try_cflags_saved
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8655 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8656 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8657 case $host_os in
8658 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8659 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8660 esac
8662 # Extract the first word of "prelink", so it can be a program name with args.
8663 set dummy prelink; ac_word=$2
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8665 $as_echo_n "checking for $ac_word... " >&6; }
8666 if ${ac_cv_path_PRELINK+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 case $PRELINK in
8670 [\\/]* | ?:[\\/]*)
8671 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8675 for as_dir in /sbin /usr/sbin $PATH
8677 IFS=$as_save_IFS
8678 test -z "$as_dir" && as_dir=.
8679 for ac_exec_ext in '' $ac_executable_extensions; do
8680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8681 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8683 break 2
8685 done
8686 done
8687 IFS=$as_save_IFS
8689 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8691 esac
8693 PRELINK=$ac_cv_path_PRELINK
8694 if test -n "$PRELINK"; then
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8696 $as_echo "$PRELINK" >&6; }
8697 else
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8699 $as_echo "no" >&6; }
8703 if test "x$PRELINK" = xfalse
8704 then
8705 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8709 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8710 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8711 $as_echo_n "(cached) " >&6
8712 else
8713 ac_wine_try_cflags_saved=$CFLAGS
8714 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717 int main(int argc, char **argv) { return 0; }
8718 _ACEOF
8719 if ac_fn_c_try_link "$LINENO"; then :
8720 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8721 else
8722 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8724 rm -f core conftest.err conftest.$ac_objext \
8725 conftest$ac_exeext conftest.$ac_ext
8726 CFLAGS=$ac_wine_try_cflags_saved
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8729 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8730 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8731 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8734 esac
8736 else
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8738 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8739 if ${ac_cv_c_dll_unixware+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 ac_wine_try_cflags_saved=$CFLAGS
8743 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 void myfunc() {}
8747 _ACEOF
8748 if ac_fn_c_try_link "$LINENO"; then :
8749 ac_cv_c_dll_unixware="yes"
8750 else
8751 ac_cv_c_dll_unixware="no"
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 CFLAGS=$ac_wine_try_cflags_saved
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8758 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8759 if test "$ac_cv_c_dll_unixware" = "yes"
8760 then
8761 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8764 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8766 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8768 LIBWINE_INSTALL_DEV="libwine.so"
8770 LIBWINE_DEPENDS="wine.map"
8773 esac
8775 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8776 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8777 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8778 enable_winemac_drv=${enable_winemac_drv:-no}
8779 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8781 CROSSTARGET=""
8783 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8784 then
8785 case "$host_cpu" in
8786 arm*)
8787 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8788 i[3456789]86*)
8789 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
8790 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8791 mingw32-gcc" ;;
8792 x86_64)
8793 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
8794 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8796 ac_prefix_list="" ;;
8797 esac
8798 for ac_prog in $ac_prefix_list
8800 # Extract the first word of "$ac_prog", so it can be a program name with args.
8801 set dummy $ac_prog; ac_word=$2
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8803 $as_echo_n "checking for $ac_word... " >&6; }
8804 if ${ac_cv_prog_CROSSCC+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 if test -n "$CROSSCC"; then
8808 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8809 else
8810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8811 for as_dir in $PATH
8813 IFS=$as_save_IFS
8814 test -z "$as_dir" && as_dir=.
8815 for ac_exec_ext in '' $ac_executable_extensions; do
8816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8817 ac_cv_prog_CROSSCC="$ac_prog"
8818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8819 break 2
8821 done
8822 done
8823 IFS=$as_save_IFS
8827 CROSSCC=$ac_cv_prog_CROSSCC
8828 if test -n "$CROSSCC"; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8830 $as_echo "$CROSSCC" >&6; }
8831 else
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8833 $as_echo "no" >&6; }
8837 test -n "$CROSSCC" && break
8838 done
8839 test -n "$CROSSCC" || CROSSCC="false"
8841 if test "$CROSSCC" != "false"
8842 then
8843 ac_save_CC="$CC"
8844 CC="$CROSSCC"
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8846 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8848 /* end confdefs.h. */
8851 main ()
8855 return 0;
8857 _ACEOF
8858 if ac_fn_c_try_compile "$LINENO"; then :
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8860 $as_echo "yes" >&6; }
8861 set x $CROSSCC
8862 shift
8863 while test $# -ge 1
8865 case "$1" in
8866 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8867 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8868 esac
8869 shift
8870 done
8871 else
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8873 $as_echo "no" >&6; }
8875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8876 CC="$ac_save_CC"
8877 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8883 if test "$ac_cv_header_pthread_h" = "yes"
8884 then
8885 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8886 if test "x$ac_cv_func_pthread_create" = xyes; then :
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8890 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8891 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 ac_check_lib_save_LIBS=$LIBS
8895 LIBS="-lpthread $LIBS"
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8902 #ifdef __cplusplus
8903 extern "C"
8904 #endif
8905 char pthread_create ();
8907 main ()
8909 return pthread_create ();
8911 return 0;
8913 _ACEOF
8914 if ac_fn_c_try_link "$LINENO"; then :
8915 ac_cv_lib_pthread_pthread_create=yes
8916 else
8917 ac_cv_lib_pthread_pthread_create=no
8919 rm -f core conftest.err conftest.$ac_objext \
8920 conftest$ac_exeext conftest.$ac_ext
8921 LIBS=$ac_check_lib_save_LIBS
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8924 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8925 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8926 PTHREAD_LIBS="-lpthread"
8933 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8934 case "x$with_pthread" in
8935 xno) ;;
8936 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8937 Wine cannot support threads without libpthread.
8938 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8939 esac
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8945 $as_echo_n "checking for X... " >&6; }
8948 # Check whether --with-x was given.
8949 if test "${with_x+set}" = set; then :
8950 withval=$with_x;
8953 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8954 if test "x$with_x" = xno; then
8955 # The user explicitly disabled X.
8956 have_x=disabled
8957 else
8958 case $x_includes,$x_libraries in #(
8959 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8960 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 # One or both of the vars are not set, and there is no cached value.
8964 ac_x_includes=no ac_x_libraries=no
8965 rm -f -r conftest.dir
8966 if mkdir conftest.dir; then
8967 cd conftest.dir
8968 cat >Imakefile <<'_ACEOF'
8969 incroot:
8970 @echo incroot='${INCROOT}'
8971 usrlibdir:
8972 @echo usrlibdir='${USRLIBDIR}'
8973 libdir:
8974 @echo libdir='${LIBDIR}'
8975 _ACEOF
8976 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8977 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8978 for ac_var in incroot usrlibdir libdir; do
8979 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8980 done
8981 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8982 for ac_extension in a so sl dylib la dll; do
8983 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8984 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8985 ac_im_usrlibdir=$ac_im_libdir; break
8987 done
8988 # Screen out bogus values from the imake configuration. They are
8989 # bogus both because they are the default anyway, and because
8990 # using them would break gcc on systems where it needs fixed includes.
8991 case $ac_im_incroot in
8992 /usr/include) ac_x_includes= ;;
8993 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8994 esac
8995 case $ac_im_usrlibdir in
8996 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8997 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8998 esac
9000 cd ..
9001 rm -f -r conftest.dir
9004 # Standard set of common directories for X headers.
9005 # Check X11 before X11Rn because it is often a symlink to the current release.
9006 ac_x_header_dirs='
9007 /usr/X11/include
9008 /usr/X11R7/include
9009 /usr/X11R6/include
9010 /usr/X11R5/include
9011 /usr/X11R4/include
9013 /usr/include/X11
9014 /usr/include/X11R7
9015 /usr/include/X11R6
9016 /usr/include/X11R5
9017 /usr/include/X11R4
9019 /usr/local/X11/include
9020 /usr/local/X11R7/include
9021 /usr/local/X11R6/include
9022 /usr/local/X11R5/include
9023 /usr/local/X11R4/include
9025 /usr/local/include/X11
9026 /usr/local/include/X11R7
9027 /usr/local/include/X11R6
9028 /usr/local/include/X11R5
9029 /usr/local/include/X11R4
9031 /usr/X386/include
9032 /usr/x386/include
9033 /usr/XFree86/include/X11
9035 /usr/include
9036 /usr/local/include
9037 /usr/unsupported/include
9038 /usr/athena/include
9039 /usr/local/x11r5/include
9040 /usr/lpp/Xamples/include
9042 /usr/openwin/include
9043 /usr/openwin/share/include'
9045 if test "$ac_x_includes" = no; then
9046 # Guess where to find include files, by looking for Xlib.h.
9047 # First, try using that file with no special directory specified.
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9050 #include <X11/Xlib.h>
9051 _ACEOF
9052 if ac_fn_c_try_cpp "$LINENO"; then :
9053 # We can compile using X headers with no special include directory.
9054 ac_x_includes=
9055 else
9056 for ac_dir in $ac_x_header_dirs; do
9057 if test -r "$ac_dir/X11/Xlib.h"; then
9058 ac_x_includes=$ac_dir
9059 break
9061 done
9063 rm -f conftest.err conftest.i conftest.$ac_ext
9064 fi # $ac_x_includes = no
9066 if test "$ac_x_libraries" = no; then
9067 # Check for the libraries.
9068 # See if we find them without any special options.
9069 # Don't add to $LIBS permanently.
9070 ac_save_LIBS=$LIBS
9071 LIBS="-lX11 $LIBS"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074 #include <X11/Xlib.h>
9076 main ()
9078 XrmInitialize ()
9080 return 0;
9082 _ACEOF
9083 if ac_fn_c_try_link "$LINENO"; then :
9084 LIBS=$ac_save_LIBS
9085 # We can link X programs with no special library path.
9086 ac_x_libraries=
9087 else
9088 LIBS=$ac_save_LIBS
9089 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9091 # Don't even attempt the hair of trying to link an X program!
9092 for ac_extension in a so sl dylib la dll; do
9093 if test -r "$ac_dir/libX11.$ac_extension"; then
9094 ac_x_libraries=$ac_dir
9095 break 2
9097 done
9098 done
9100 rm -f core conftest.err conftest.$ac_objext \
9101 conftest$ac_exeext conftest.$ac_ext
9102 fi # $ac_x_libraries = no
9104 case $ac_x_includes,$ac_x_libraries in #(
9105 no,* | *,no | *\'*)
9106 # Didn't find X, or a directory has "'" in its name.
9107 ac_cv_have_x="have_x=no";; #(
9109 # Record where we found X for the cache.
9110 ac_cv_have_x="have_x=yes\
9111 ac_x_includes='$ac_x_includes'\
9112 ac_x_libraries='$ac_x_libraries'"
9113 esac
9115 ;; #(
9116 *) have_x=yes;;
9117 esac
9118 eval "$ac_cv_have_x"
9119 fi # $with_x != no
9121 if test "$have_x" != yes; then
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9123 $as_echo "$have_x" >&6; }
9124 no_x=yes
9125 else
9126 # If each of the values was on the command line, it overrides each guess.
9127 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9128 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9129 # Update the cache value to reflect the command line values.
9130 ac_cv_have_x="have_x=yes\
9131 ac_x_includes='$x_includes'\
9132 ac_x_libraries='$x_libraries'"
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9134 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9137 if test "$no_x" = yes; then
9138 # Not all programs may use this symbol, but it does not hurt to define it.
9140 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9142 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9143 else
9144 if test -n "$x_includes"; then
9145 X_CFLAGS="$X_CFLAGS -I$x_includes"
9148 # It would also be nice to do this for all -L options, not just this one.
9149 if test -n "$x_libraries"; then
9150 X_LIBS="$X_LIBS -L$x_libraries"
9151 # For Solaris; some versions of Sun CC require a space after -R and
9152 # others require no space. Words are not sufficient . . . .
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9154 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9155 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9156 ac_xsave_c_werror_flag=$ac_c_werror_flag
9157 ac_c_werror_flag=yes
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9162 main ()
9166 return 0;
9168 _ACEOF
9169 if ac_fn_c_try_link "$LINENO"; then :
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9171 $as_echo "no" >&6; }
9172 X_LIBS="$X_LIBS -R$x_libraries"
9173 else
9174 LIBS="$ac_xsave_LIBS -R $x_libraries"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9179 main ()
9183 return 0;
9185 _ACEOF
9186 if ac_fn_c_try_link "$LINENO"; then :
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9188 $as_echo "yes" >&6; }
9189 X_LIBS="$X_LIBS -R $x_libraries"
9190 else
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9192 $as_echo "neither works" >&6; }
9194 rm -f core conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9197 rm -f core conftest.err conftest.$ac_objext \
9198 conftest$ac_exeext conftest.$ac_ext
9199 ac_c_werror_flag=$ac_xsave_c_werror_flag
9200 LIBS=$ac_xsave_LIBS
9203 # Check for system-dependent libraries X programs must link with.
9204 # Do this before checking for the system-independent R6 libraries
9205 # (-lICE), since we may need -lsocket or whatever for X linking.
9207 if test "$ISC" = yes; then
9208 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9209 else
9210 # Martyn Johnson says this is needed for Ultrix, if the X
9211 # libraries were built with DECnet support. And Karl Berry says
9212 # the Alpha needs dnet_stub (dnet does not exist).
9213 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char XOpenDisplay ();
9225 main ()
9227 return XOpenDisplay ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9234 else
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9236 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9237 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_check_lib_save_LIBS=$LIBS
9241 LIBS="-ldnet $LIBS"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char dnet_ntoa ();
9253 main ()
9255 return dnet_ntoa ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 ac_cv_lib_dnet_dnet_ntoa=yes
9262 else
9263 ac_cv_lib_dnet_dnet_ntoa=no
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_lib_save_LIBS
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9270 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9271 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9272 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9275 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9277 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9278 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9279 $as_echo_n "(cached) " >&6
9280 else
9281 ac_check_lib_save_LIBS=$LIBS
9282 LIBS="-ldnet_stub $LIBS"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9289 #ifdef __cplusplus
9290 extern "C"
9291 #endif
9292 char dnet_ntoa ();
9294 main ()
9296 return dnet_ntoa ();
9298 return 0;
9300 _ACEOF
9301 if ac_fn_c_try_link "$LINENO"; then :
9302 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9303 else
9304 ac_cv_lib_dnet_stub_dnet_ntoa=no
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 LIBS=$ac_check_lib_save_LIBS
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9311 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9312 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9313 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS="$ac_xsave_LIBS"
9322 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9323 # to get the SysV transport functions.
9324 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9325 # needs -lnsl.
9326 # The nsl library prevents programs from opening the X display
9327 # on Irix 5.2, according to T.E. Dickey.
9328 # The functions gethostbyname, getservbyname, and inet_addr are
9329 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9330 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9331 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9335 if test $ac_cv_func_gethostbyname = no; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9337 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9338 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9339 $as_echo_n "(cached) " >&6
9340 else
9341 ac_check_lib_save_LIBS=$LIBS
9342 LIBS="-lnsl $LIBS"
9343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9344 /* end confdefs.h. */
9346 /* Override any GCC internal prototype to avoid an error.
9347 Use char because int might match the return type of a GCC
9348 builtin and then its argument prototype would still apply. */
9349 #ifdef __cplusplus
9350 extern "C"
9351 #endif
9352 char gethostbyname ();
9354 main ()
9356 return gethostbyname ();
9358 return 0;
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 ac_cv_lib_nsl_gethostbyname=yes
9363 else
9364 ac_cv_lib_nsl_gethostbyname=no
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 LIBS=$ac_check_lib_save_LIBS
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9371 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9372 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9373 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9376 if test $ac_cv_lib_nsl_gethostbyname = no; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9378 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9379 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_check_lib_save_LIBS=$LIBS
9383 LIBS="-lbsd $LIBS"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9390 #ifdef __cplusplus
9391 extern "C"
9392 #endif
9393 char gethostbyname ();
9395 main ()
9397 return gethostbyname ();
9399 return 0;
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_lib_bsd_gethostbyname=yes
9404 else
9405 ac_cv_lib_bsd_gethostbyname=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 LIBS=$ac_check_lib_save_LIBS
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9412 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9413 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9414 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9420 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9421 # socket/setsockopt and other routines are undefined under SCO ODT
9422 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9423 # on later versions), says Simon Leinen: it contains gethostby*
9424 # variants that don't use the name server (or something). -lsocket
9425 # must be given before -lnsl if both are needed. We assume that
9426 # if connect needs -lnsl, so does gethostbyname.
9427 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9428 if test "x$ac_cv_func_connect" = xyes; then :
9432 if test $ac_cv_func_connect = no; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9434 $as_echo_n "checking for connect in -lsocket... " >&6; }
9435 if ${ac_cv_lib_socket_connect+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_check_lib_save_LIBS=$LIBS
9439 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9446 #ifdef __cplusplus
9447 extern "C"
9448 #endif
9449 char connect ();
9451 main ()
9453 return connect ();
9455 return 0;
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_lib_socket_connect=yes
9460 else
9461 ac_cv_lib_socket_connect=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 LIBS=$ac_check_lib_save_LIBS
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9468 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9469 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9470 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9475 # Guillermo Gomez says -lposix is necessary on A/UX.
9476 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9477 if test "x$ac_cv_func_remove" = xyes; then :
9481 if test $ac_cv_func_remove = no; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9483 $as_echo_n "checking for remove in -lposix... " >&6; }
9484 if ${ac_cv_lib_posix_remove+:} false; then :
9485 $as_echo_n "(cached) " >&6
9486 else
9487 ac_check_lib_save_LIBS=$LIBS
9488 LIBS="-lposix $LIBS"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9495 #ifdef __cplusplus
9496 extern "C"
9497 #endif
9498 char remove ();
9500 main ()
9502 return remove ();
9504 return 0;
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 ac_cv_lib_posix_remove=yes
9509 else
9510 ac_cv_lib_posix_remove=no
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 LIBS=$ac_check_lib_save_LIBS
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9517 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9518 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9519 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9524 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9525 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9526 if test "x$ac_cv_func_shmat" = xyes; then :
9530 if test $ac_cv_func_shmat = no; then
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9532 $as_echo_n "checking for shmat in -lipc... " >&6; }
9533 if ${ac_cv_lib_ipc_shmat+:} false; then :
9534 $as_echo_n "(cached) " >&6
9535 else
9536 ac_check_lib_save_LIBS=$LIBS
9537 LIBS="-lipc $LIBS"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9541 /* Override any GCC internal prototype to avoid an error.
9542 Use char because int might match the return type of a GCC
9543 builtin and then its argument prototype would still apply. */
9544 #ifdef __cplusplus
9545 extern "C"
9546 #endif
9547 char shmat ();
9549 main ()
9551 return shmat ();
9553 return 0;
9555 _ACEOF
9556 if ac_fn_c_try_link "$LINENO"; then :
9557 ac_cv_lib_ipc_shmat=yes
9558 else
9559 ac_cv_lib_ipc_shmat=no
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_lib_save_LIBS
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9566 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9567 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9568 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9574 # Check for libraries that X11R6 Xt/Xaw programs need.
9575 ac_save_LDFLAGS=$LDFLAGS
9576 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9577 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9578 # check for ICE first), but we must link in the order -lSM -lICE or
9579 # we get undefined symbols. So assume we have SM if we have ICE.
9580 # These have to be linked with before -lX11, unlike the other
9581 # libraries we check for below, so use a different variable.
9582 # John Interrante, Karl Berry
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9584 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9585 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 ac_check_lib_save_LIBS=$LIBS
9589 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9596 #ifdef __cplusplus
9597 extern "C"
9598 #endif
9599 char IceConnectionNumber ();
9601 main ()
9603 return IceConnectionNumber ();
9605 return 0;
9607 _ACEOF
9608 if ac_fn_c_try_link "$LINENO"; then :
9609 ac_cv_lib_ICE_IceConnectionNumber=yes
9610 else
9611 ac_cv_lib_ICE_IceConnectionNumber=no
9613 rm -f core conftest.err conftest.$ac_objext \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9618 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9619 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9620 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9623 LDFLAGS=$ac_save_LDFLAGS
9628 if test "$have_x" = "yes"
9629 then
9630 ac_save_CPPFLAGS="$CPPFLAGS"
9631 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9634 $as_echo_n "checking for -lX11... " >&6; }
9635 if ${ac_cv_lib_soname_X11+:} false; then :
9636 $as_echo_n "(cached) " >&6
9637 else
9638 ac_check_soname_save_LIBS=$LIBS
9639 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h. */
9643 /* Override any GCC internal prototype to avoid an error.
9644 Use char because int might match the return type of a GCC
9645 builtin and then its argument prototype would still apply. */
9646 #ifdef __cplusplus
9647 extern "C"
9648 #endif
9649 char XCreateWindow ();
9651 main ()
9653 return XCreateWindow ();
9655 return 0;
9657 _ACEOF
9658 if ac_fn_c_try_link "$LINENO"; then :
9659 case "$LIBEXT" in
9660 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9661 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'` ;;
9662 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9663 if ${ac_cv_lib_soname_X11:+false} :; then :
9664 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9665 fi ;;
9666 esac
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LIBS=$ac_check_soname_save_LIBS
9672 if ${ac_cv_lib_soname_X11:+false} :; then :
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9674 $as_echo "not found" >&6; }
9676 else
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9678 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9680 cat >>confdefs.h <<_ACEOF
9681 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9682 _ACEOF
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9687 $as_echo_n "checking for -lXext... " >&6; }
9688 if ${ac_cv_lib_soname_Xext+:} false; then :
9689 $as_echo_n "(cached) " >&6
9690 else
9691 ac_check_soname_save_LIBS=$LIBS
9692 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9694 /* end confdefs.h. */
9696 /* Override any GCC internal prototype to avoid an error.
9697 Use char because int might match the return type of a GCC
9698 builtin and then its argument prototype would still apply. */
9699 #ifdef __cplusplus
9700 extern "C"
9701 #endif
9702 char XextCreateExtension ();
9704 main ()
9706 return XextCreateExtension ();
9708 return 0;
9710 _ACEOF
9711 if ac_fn_c_try_link "$LINENO"; then :
9712 case "$LIBEXT" in
9713 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9714 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'` ;;
9715 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9716 if ${ac_cv_lib_soname_Xext:+false} :; then :
9717 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9718 fi ;;
9719 esac
9721 rm -f core conftest.err conftest.$ac_objext \
9722 conftest$ac_exeext conftest.$ac_ext
9723 LIBS=$ac_check_soname_save_LIBS
9725 if ${ac_cv_lib_soname_Xext:+false} :; then :
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9727 $as_echo "not found" >&6; }
9729 else
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9731 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9733 cat >>confdefs.h <<_ACEOF
9734 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9735 _ACEOF
9737 X_LIBS="$X_LIBS -lXext"
9739 X_LIBS="$X_LIBS -lX11"
9741 for ac_header in X11/Xlib.h \
9742 X11/XKBlib.h \
9743 X11/Xutil.h \
9744 X11/Xcursor/Xcursor.h \
9745 X11/extensions/shape.h \
9746 X11/extensions/XInput.h \
9747 X11/extensions/XInput2.h \
9748 X11/extensions/XShm.h \
9749 X11/extensions/Xcomposite.h \
9750 X11/extensions/Xfixes.h \
9751 X11/extensions/Xinerama.h \
9752 X11/extensions/Xrandr.h \
9753 X11/extensions/Xrender.h \
9754 X11/extensions/xf86vmode.h \
9755 X11/extensions/xf86vmproto.h
9756 do :
9757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9758 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9759 # include <X11/Xlib.h>
9760 #endif
9761 #ifdef HAVE_X11_XUTIL_H
9762 # include <X11/Xutil.h>
9763 #endif
9765 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9766 cat >>confdefs.h <<_ACEOF
9767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9768 _ACEOF
9772 done
9775 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9776 then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9778 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9779 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 ac_check_lib_save_LIBS=$LIBS
9783 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9790 #ifdef __cplusplus
9791 extern "C"
9792 #endif
9793 char XkbQueryExtension ();
9795 main ()
9797 return XkbQueryExtension ();
9799 return 0;
9801 _ACEOF
9802 if ac_fn_c_try_link "$LINENO"; then :
9803 ac_cv_lib_X11_XkbQueryExtension=yes
9804 else
9805 ac_cv_lib_X11_XkbQueryExtension=no
9807 rm -f core conftest.err conftest.$ac_objext \
9808 conftest$ac_exeext conftest.$ac_ext
9809 LIBS=$ac_check_lib_save_LIBS
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9812 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9813 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9815 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9821 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9822 then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9824 $as_echo_n "checking for -lXcursor... " >&6; }
9825 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 ac_check_soname_save_LIBS=$LIBS
9829 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9836 #ifdef __cplusplus
9837 extern "C"
9838 #endif
9839 char XcursorImageLoadCursor ();
9841 main ()
9843 return XcursorImageLoadCursor ();
9845 return 0;
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 case "$LIBEXT" in
9850 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9851 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'` ;;
9852 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9853 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9854 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9855 fi ;;
9856 esac
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_soname_save_LIBS
9862 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9864 $as_echo "not found" >&6; }
9866 else
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9868 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9870 cat >>confdefs.h <<_ACEOF
9871 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9872 _ACEOF
9877 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9878 case "x$with_xcursor" in
9879 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9880 xno) ;;
9881 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9882 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9883 esac
9887 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9888 then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9890 $as_echo_n "checking for -lXi... " >&6; }
9891 if ${ac_cv_lib_soname_Xi+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_soname_save_LIBS=$LIBS
9895 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char XOpenDevice ();
9907 main ()
9909 return XOpenDevice ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 case "$LIBEXT" in
9916 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9917 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'` ;;
9918 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9919 if ${ac_cv_lib_soname_Xi:+false} :; then :
9920 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9921 fi ;;
9922 esac
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LIBS=$ac_check_soname_save_LIBS
9928 if ${ac_cv_lib_soname_Xi:+false} :; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9930 $as_echo "not found" >&6; }
9932 else
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9934 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9936 cat >>confdefs.h <<_ACEOF
9937 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9938 _ACEOF
9943 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9944 case "x$with_xinput" in
9945 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9946 xno) ;;
9947 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9948 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9949 esac
9953 if test "x$ac_cv_lib_soname_Xi" != x
9954 then
9955 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9956 case "x$with_xinput2" in
9957 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9958 xno) ;;
9959 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9960 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9961 esac
9966 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9967 then
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9969 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9970 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972 else
9973 ac_check_lib_save_LIBS=$LIBS
9974 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9978 /* Override any GCC internal prototype to avoid an error.
9979 Use char because int might match the return type of a GCC
9980 builtin and then its argument prototype would still apply. */
9981 #ifdef __cplusplus
9982 extern "C"
9983 #endif
9984 char XShmQueryExtension ();
9986 main ()
9988 return XShmQueryExtension ();
9990 return 0;
9992 _ACEOF
9993 if ac_fn_c_try_link "$LINENO"; then :
9994 ac_cv_lib_Xext_XShmQueryExtension=yes
9995 else
9996 ac_cv_lib_Xext_XShmQueryExtension=no
9998 rm -f core conftest.err conftest.$ac_objext \
9999 conftest$ac_exeext conftest.$ac_ext
10000 LIBS=$ac_check_lib_save_LIBS
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10003 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10004 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10006 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10011 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10012 case "x$with_xshm" in
10013 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10014 xno) ;;
10015 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10016 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10017 esac
10021 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10022 then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10024 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10025 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_check_lib_save_LIBS=$LIBS
10029 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10036 #ifdef __cplusplus
10037 extern "C"
10038 #endif
10039 char XShapeQueryExtension ();
10041 main ()
10043 return XShapeQueryExtension ();
10045 return 0;
10047 _ACEOF
10048 if ac_fn_c_try_link "$LINENO"; then :
10049 ac_cv_lib_Xext_XShapeQueryExtension=yes
10050 else
10051 ac_cv_lib_Xext_XShapeQueryExtension=no
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 LIBS=$ac_check_lib_save_LIBS
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10058 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10059 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10061 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10066 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10067 case "x$with_xshape" in
10068 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10069 xno) ;;
10070 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10071 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10072 esac
10076 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10077 then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10079 $as_echo_n "checking for -lXxf86vm... " >&6; }
10080 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_check_soname_save_LIBS=$LIBS
10084 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10091 #ifdef __cplusplus
10092 extern "C"
10093 #endif
10094 char XF86VidModeQueryExtension ();
10096 main ()
10098 return XF86VidModeQueryExtension ();
10100 return 0;
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 case "$LIBEXT" in
10105 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10106 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'` ;;
10107 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10108 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10109 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10110 fi ;;
10111 esac
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10119 $as_echo "not found" >&6; }
10121 else
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10123 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10125 cat >>confdefs.h <<_ACEOF
10126 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10127 _ACEOF
10132 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10133 case "x$with_xxf86vm" in
10134 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10135 xno) ;;
10136 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10137 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10138 esac
10142 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10143 then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10145 $as_echo_n "checking for -lXrender... " >&6; }
10146 if ${ac_cv_lib_soname_Xrender+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_check_soname_save_LIBS=$LIBS
10150 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10154 /* Override any GCC internal prototype to avoid an error.
10155 Use char because int might match the return type of a GCC
10156 builtin and then its argument prototype would still apply. */
10157 #ifdef __cplusplus
10158 extern "C"
10159 #endif
10160 char XRenderQueryExtension ();
10162 main ()
10164 return XRenderQueryExtension ();
10166 return 0;
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"; then :
10170 case "$LIBEXT" in
10171 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10172 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'` ;;
10173 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10174 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10175 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10176 fi ;;
10177 esac
10179 rm -f core conftest.err conftest.$ac_objext \
10180 conftest$ac_exeext conftest.$ac_ext
10181 LIBS=$ac_check_soname_save_LIBS
10183 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10185 $as_echo "not found" >&6; }
10187 else
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10189 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10191 cat >>confdefs.h <<_ACEOF
10192 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10193 _ACEOF
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10196 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10197 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 ac_check_lib_save_LIBS=$LIBS
10201 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10208 #ifdef __cplusplus
10209 extern "C"
10210 #endif
10211 char XRenderSetPictureTransform ();
10213 main ()
10215 return XRenderSetPictureTransform ();
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10222 else
10223 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10225 rm -f core conftest.err conftest.$ac_objext \
10226 conftest$ac_exeext conftest.$ac_ext
10227 LIBS=$ac_check_lib_save_LIBS
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10230 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10231 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10233 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10238 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10239 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_check_lib_save_LIBS=$LIBS
10243 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10250 #ifdef __cplusplus
10251 extern "C"
10252 #endif
10253 char XRenderCreateLinearGradient ();
10255 main ()
10257 return XRenderCreateLinearGradient ();
10259 return 0;
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"; then :
10263 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10264 else
10265 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10267 rm -f core conftest.err conftest.$ac_objext \
10268 conftest$ac_exeext conftest.$ac_ext
10269 LIBS=$ac_check_lib_save_LIBS
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10272 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10273 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10275 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10282 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10283 case "x$with_xrender" in
10284 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10285 xno) ;;
10286 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10287 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10288 esac
10292 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10293 then
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10296 #include <X11/Xlib.h>
10297 #include <X11/extensions/Xrandr.h>
10299 main ()
10301 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_compile "$LINENO"; then :
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10308 $as_echo_n "checking for -lXrandr... " >&6; }
10309 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_check_soname_save_LIBS=$LIBS
10313 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10320 #ifdef __cplusplus
10321 extern "C"
10322 #endif
10323 char XRRQueryExtension ();
10325 main ()
10327 return XRRQueryExtension ();
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 case "$LIBEXT" in
10334 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10335 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'` ;;
10336 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10337 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10338 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10339 fi ;;
10340 esac
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 LIBS=$ac_check_soname_save_LIBS
10346 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10348 $as_echo "not found" >&6; }
10350 else
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10352 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10354 cat >>confdefs.h <<_ACEOF
10355 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10356 _ACEOF
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 #include <X11/Xlib.h>
10361 #include <X11/extensions/Xrandr.h>
10363 main ()
10365 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10367 return 0;
10369 _ACEOF
10370 if ac_fn_c_try_compile "$LINENO"; then :
10372 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10380 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10381 case "x$with_xrandr" in
10382 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10383 xno) ;;
10384 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10385 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10386 esac
10390 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10391 then
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 #include <X11/Xlib.h>
10395 #include <X11/extensions/Xfixes.h>
10397 main ()
10399 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10401 return 0;
10403 _ACEOF
10404 if ac_fn_c_try_compile "$LINENO"; then :
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10406 $as_echo_n "checking for -lXfixes... " >&6; }
10407 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10408 $as_echo_n "(cached) " >&6
10409 else
10410 ac_check_soname_save_LIBS=$LIBS
10411 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10418 #ifdef __cplusplus
10419 extern "C"
10420 #endif
10421 char XFixesQueryVersion ();
10423 main ()
10425 return XFixesQueryVersion ();
10427 return 0;
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 case "$LIBEXT" in
10432 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10433 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'` ;;
10434 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10435 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10436 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10437 fi ;;
10438 esac
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_soname_save_LIBS
10444 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10446 $as_echo "not found" >&6; }
10448 else
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10450 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10452 cat >>confdefs.h <<_ACEOF
10453 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10454 _ACEOF
10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10462 case "x$with_xfixes" in
10463 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10464 xno) ;;
10465 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10466 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10467 esac
10471 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10472 then
10473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10475 #include <X11/Xlib.h>
10476 #include <X11/extensions/Xinerama.h>
10478 main ()
10480 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10482 return 0;
10484 _ACEOF
10485 if ac_fn_c_try_compile "$LINENO"; then :
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10487 $as_echo_n "checking for -lXinerama... " >&6; }
10488 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_check_soname_save_LIBS=$LIBS
10492 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10499 #ifdef __cplusplus
10500 extern "C"
10501 #endif
10502 char XineramaQueryScreens ();
10504 main ()
10506 return XineramaQueryScreens ();
10508 return 0;
10510 _ACEOF
10511 if ac_fn_c_try_link "$LINENO"; then :
10512 case "$LIBEXT" in
10513 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10514 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'` ;;
10515 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10516 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10517 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10518 fi ;;
10519 esac
10521 rm -f core conftest.err conftest.$ac_objext \
10522 conftest$ac_exeext conftest.$ac_ext
10523 LIBS=$ac_check_soname_save_LIBS
10525 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10527 $as_echo "not found" >&6; }
10529 else
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10531 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10533 cat >>confdefs.h <<_ACEOF
10534 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10535 _ACEOF
10540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10542 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10543 case "x$with_xinerama" in
10544 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10545 xno) ;;
10546 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10547 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10548 esac
10552 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10553 then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10555 $as_echo_n "checking for -lXcomposite... " >&6; }
10556 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10557 $as_echo_n "(cached) " >&6
10558 else
10559 ac_check_soname_save_LIBS=$LIBS
10560 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10567 #ifdef __cplusplus
10568 extern "C"
10569 #endif
10570 char XCompositeRedirectWindow ();
10572 main ()
10574 return XCompositeRedirectWindow ();
10576 return 0;
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 case "$LIBEXT" in
10581 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10584 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10585 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10586 fi ;;
10587 esac
10589 rm -f core conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_soname_save_LIBS
10593 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10597 else
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10599 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10601 cat >>confdefs.h <<_ACEOF
10602 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10603 _ACEOF
10608 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10609 case "x$with_xcomposite" in
10610 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10611 xno) ;;
10612 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10613 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10614 esac
10618 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10619 #include <X11/Xlib.h>
10620 #endif
10622 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10624 cat >>confdefs.h <<_ACEOF
10625 #define HAVE_XICCALLBACK_CALLBACK 1
10626 _ACEOF
10630 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10631 #include <X11/Xlib.h>
10632 #endif
10634 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10636 cat >>confdefs.h <<_ACEOF
10637 #define HAVE_XEVENT_XCOOKIE 1
10638 _ACEOF
10645 opengl_msg=""
10646 if test "x$with_opengl" != "xno"
10647 then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10649 $as_echo_n "checking for -lGL... " >&6; }
10650 if ${ac_cv_lib_soname_GL+:} false; then :
10651 $as_echo_n "(cached) " >&6
10652 else
10653 ac_check_soname_save_LIBS=$LIBS
10654 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10661 #ifdef __cplusplus
10662 extern "C"
10663 #endif
10664 char glXCreateContext ();
10666 main ()
10668 return glXCreateContext ();
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 case "$LIBEXT" in
10675 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10676 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'` ;;
10677 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10678 if ${ac_cv_lib_soname_GL:+false} :; then :
10679 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10680 fi ;;
10681 esac
10683 rm -f core conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_soname_save_LIBS
10687 if ${ac_cv_lib_soname_GL:+false} :; then :
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10689 $as_echo "not found" >&6; }
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10691 $as_echo_n "checking for -lGL... " >&6; }
10692 if ${ac_cv_lib_soname_GL+:} false; then :
10693 $as_echo_n "(cached) " >&6
10694 else
10695 ac_check_soname_save_LIBS=$LIBS
10696 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"
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10703 #ifdef __cplusplus
10704 extern "C"
10705 #endif
10706 char glXCreateContext ();
10708 main ()
10710 return glXCreateContext ();
10712 return 0;
10714 _ACEOF
10715 if ac_fn_c_try_link "$LINENO"; then :
10716 case "$LIBEXT" in
10717 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10718 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'` ;;
10719 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10720 if ${ac_cv_lib_soname_GL:+false} :; then :
10721 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10722 fi ;;
10723 esac
10725 rm -f core conftest.err conftest.$ac_objext \
10726 conftest$ac_exeext conftest.$ac_ext
10727 LIBS=$ac_check_soname_save_LIBS
10729 if ${ac_cv_lib_soname_GL:+false} :; then :
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10731 $as_echo "not found" >&6; }
10732 if test -f /usr/X11R6/lib/libGL.a
10733 then
10734 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10735 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10736 else
10737 opengl_msg="No OpenGL library found on this system."
10739 else
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10741 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10743 cat >>confdefs.h <<_ACEOF
10744 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10745 _ACEOF
10747 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"
10749 else
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10751 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10753 cat >>confdefs.h <<_ACEOF
10754 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10755 _ACEOF
10757 OPENGL_LIBS="-lGL"
10759 if test "x$with_glu" != "xno"
10760 then
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10762 $as_echo_n "checking for -lGLU... " >&6; }
10763 if ${ac_cv_lib_soname_GLU+:} false; then :
10764 $as_echo_n "(cached) " >&6
10765 else
10766 ac_check_soname_save_LIBS=$LIBS
10767 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10769 /* end confdefs.h. */
10771 /* Override any GCC internal prototype to avoid an error.
10772 Use char because int might match the return type of a GCC
10773 builtin and then its argument prototype would still apply. */
10774 #ifdef __cplusplus
10775 extern "C"
10776 #endif
10777 char gluLookAt ();
10779 main ()
10781 return gluLookAt ();
10783 return 0;
10785 _ACEOF
10786 if ac_fn_c_try_link "$LINENO"; then :
10787 case "$LIBEXT" in
10788 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10789 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'` ;;
10790 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10791 if ${ac_cv_lib_soname_GLU:+false} :; then :
10792 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10793 fi ;;
10794 esac
10796 rm -f core conftest.err conftest.$ac_objext \
10797 conftest$ac_exeext conftest.$ac_ext
10798 LIBS=$ac_check_soname_save_LIBS
10800 if ${ac_cv_lib_soname_GLU:+false} :; then :
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10802 $as_echo "not found" >&6; }
10804 else
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10806 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10808 cat >>confdefs.h <<_ACEOF
10809 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10810 _ACEOF
10814 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10815 case "x$with_glu" in
10816 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10817 xno) ;;
10818 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10819 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10820 esac
10825 if test "x$with_osmesa" != "xno"
10826 then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10828 $as_echo_n "checking for -lOSMesa... " >&6; }
10829 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10830 $as_echo_n "(cached) " >&6
10831 else
10832 ac_check_soname_save_LIBS=$LIBS
10833 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840 #ifdef __cplusplus
10841 extern "C"
10842 #endif
10843 char OSMesaGetProcAddress ();
10845 main ()
10847 return OSMesaGetProcAddress ();
10849 return 0;
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 case "$LIBEXT" in
10854 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10855 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'` ;;
10856 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10857 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10858 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10859 fi ;;
10860 esac
10862 rm -f core conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_soname_save_LIBS
10866 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10868 $as_echo "not found" >&6; }
10870 else
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10872 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10874 cat >>confdefs.h <<_ACEOF
10875 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10876 _ACEOF
10880 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10881 case "x$with_osmesa" in
10882 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10883 xno) ;;
10884 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10885 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10886 esac
10891 if test -n "$opengl_msg"; then :
10892 case "x$with_opengl" in
10893 x) as_fn_append wine_warnings "|$opengl_msg
10894 OpenGL and Direct3D won't be supported." ;;
10895 xno) ;;
10896 *) as_fn_error $? "$opengl_msg
10897 OpenGL and Direct3D won't be supported.
10898 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10899 esac
10903 CPPFLAGS="$ac_save_CPPFLAGS"
10904 else
10905 X_CFLAGS=""
10906 X_LIBS=""
10909 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10910 then
10911 if test "x$X_LIBS" = "x"; then :
10912 case "x$with_x" in
10913 xno) ;;
10914 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10915 without X support, which probably isn't what you want. You will need
10916 to install ${notice_platform}development packages of Xlib at the very least.
10917 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10918 esac
10919 enable_winex11_drv=${enable_winex11_drv:-no}
10921 else
10922 if test "x$X_LIBS" = "x"; then :
10923 case "x$with_x" in
10924 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10925 xno) ;;
10926 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10927 This is an error since --with-x was requested." "$LINENO" 5 ;;
10928 esac
10929 enable_winex11_drv=${enable_winex11_drv:-no}
10933 if test "$ac_cv_header_CL_cl_h" = "yes"
10934 then
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10936 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10937 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10938 $as_echo_n "(cached) " >&6
10939 else
10940 ac_check_lib_save_LIBS=$LIBS
10941 LIBS="-lOpenCL $LIBS"
10942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10945 /* Override any GCC internal prototype to avoid an error.
10946 Use char because int might match the return type of a GCC
10947 builtin and then its argument prototype would still apply. */
10948 #ifdef __cplusplus
10949 extern "C"
10950 #endif
10951 char clGetPlatformInfo ();
10953 main ()
10955 return clGetPlatformInfo ();
10957 return 0;
10959 _ACEOF
10960 if ac_fn_c_try_link "$LINENO"; then :
10961 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10962 else
10963 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10965 rm -f core conftest.err conftest.$ac_objext \
10966 conftest$ac_exeext conftest.$ac_ext
10967 LIBS=$ac_check_lib_save_LIBS
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10970 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10971 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10972 OPENCL_LIBS="-lOpenCL"
10977 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10978 case "x$with_opencl" in
10979 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10980 xno) ;;
10981 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10982 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10983 esac
10984 enable_opencl=${enable_opencl:-no}
10987 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10988 then
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10990 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10991 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10992 $as_echo_n "(cached) " >&6
10993 else
10994 ac_check_lib_save_LIBS=$LIBS
10995 LIBS="-lpcap $LIBS"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 char pcap_create ();
11007 main ()
11009 return pcap_create ();
11011 return 0;
11013 _ACEOF
11014 if ac_fn_c_try_link "$LINENO"; then :
11015 ac_cv_lib_pcap_pcap_create=yes
11016 else
11017 ac_cv_lib_pcap_pcap_create=no
11019 rm -f core conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_lib_save_LIBS
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11024 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11025 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11026 PCAP_LIBS="-lpcap"
11031 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11032 case "x$with_pcap" in
11033 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11034 xno) ;;
11035 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11036 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11037 esac
11038 enable_wpcap=${enable_wpcap:-no}
11042 if test "x$with_xml" != "xno"
11043 then
11044 if ${XML2_CFLAGS:+false} :; then :
11045 if ${PKG_CONFIG+:} false; then :
11046 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11049 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11050 if ${XML2_LIBS:+false} :; then :
11051 if ${PKG_CONFIG+:} false; then :
11052 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11055 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11056 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11057 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11058 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11059 ac_save_CPPFLAGS=$CPPFLAGS
11060 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11061 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11062 do :
11063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11064 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11066 cat >>confdefs.h <<_ACEOF
11067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11068 _ACEOF
11072 done
11074 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"
11075 then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11077 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11078 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11079 $as_echo_n "(cached) " >&6
11080 else
11081 ac_check_lib_save_LIBS=$LIBS
11082 LIBS="-lxml2 $XML2_LIBS $LIBS"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char xmlParseMemory ();
11094 main ()
11096 return xmlParseMemory ();
11098 return 0;
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"; then :
11102 ac_cv_lib_xml2_xmlParseMemory=yes
11103 else
11104 ac_cv_lib_xml2_xmlParseMemory=no
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11111 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11112 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11114 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11116 else
11117 XML2_LIBS=""
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11121 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11122 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11123 $as_echo_n "(cached) " >&6
11124 else
11125 ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-lxml2 $XML2_LIBS $LIBS"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char xmlReadMemory ();
11138 main ()
11140 return xmlReadMemory ();
11142 return 0;
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11146 ac_cv_lib_xml2_xmlReadMemory=yes
11147 else
11148 ac_cv_lib_xml2_xmlReadMemory=no
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11155 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11156 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11158 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11163 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11164 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-lxml2 $XML2_LIBS $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char xmlNewDocPI ();
11180 main ()
11182 return xmlNewDocPI ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 ac_cv_lib_xml2_xmlNewDocPI=yes
11189 else
11190 ac_cv_lib_xml2_xmlNewDocPI=no
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_check_lib_save_LIBS
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11197 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11198 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11200 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11205 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11206 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 ac_check_lib_save_LIBS=$LIBS
11210 LIBS="-lxml2 $XML2_LIBS $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char xmlSchemaSetParserStructuredErrors ();
11222 main ()
11224 return xmlSchemaSetParserStructuredErrors ();
11226 return 0;
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11231 else
11232 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11234 rm -f core conftest.err conftest.$ac_objext \
11235 conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11239 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11240 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11242 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11247 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11248 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11249 $as_echo_n "(cached) " >&6
11250 else
11251 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-lxml2 $XML2_LIBS $LIBS"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11259 #ifdef __cplusplus
11260 extern "C"
11261 #endif
11262 char xmlSchemaSetValidStructuredErrors ();
11264 main ()
11266 return xmlSchemaSetValidStructuredErrors ();
11268 return 0;
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"; then :
11272 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11273 else
11274 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11281 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11282 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11284 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11289 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11290 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-lxml2 $XML2_LIBS $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char xmlFirstElementChild ();
11306 main ()
11308 return xmlFirstElementChild ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 ac_cv_lib_xml2_xmlFirstElementChild=yes
11315 else
11316 ac_cv_lib_xml2_xmlFirstElementChild=no
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_lib_save_LIBS
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11323 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11324 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11326 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11330 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11332 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11334 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11338 else
11339 XML2_CFLAGS=""
11340 XML2_LIBS=""
11342 CPPFLAGS=$ac_save_CPPFLAGS
11343 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11344 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11347 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11348 case "x$with_xml" in
11349 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11350 xno) ;;
11351 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11352 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11353 esac
11357 if test "x$with_xslt" != "xno"
11358 then
11359 if ${XSLT_CFLAGS:+false} :; then :
11360 if ${PKG_CONFIG+:} false; then :
11361 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11364 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11365 if ${XSLT_LIBS:+false} :; then :
11366 if ${PKG_CONFIG+:} false; then :
11367 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11370 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11371 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11373 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11374 ac_save_CPPFLAGS=$CPPFLAGS
11375 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11376 for ac_header in libxslt/pattern.h libxslt/transform.h
11377 do :
11378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11380 # include <libxslt/pattern.h>
11381 #endif
11383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11384 cat >>confdefs.h <<_ACEOF
11385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11386 _ACEOF
11390 done
11392 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11393 then
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11395 $as_echo_n "checking for -lxslt... " >&6; }
11396 if ${ac_cv_lib_soname_xslt+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_soname_save_LIBS=$LIBS
11400 LIBS="-lxslt $XSLT_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char xsltCompilePattern ();
11412 main ()
11414 return xsltCompilePattern ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 case "$LIBEXT" in
11421 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11422 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'` ;;
11423 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11424 if ${ac_cv_lib_soname_xslt:+false} :; then :
11425 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11426 fi ;;
11427 esac
11429 rm -f core conftest.err conftest.$ac_objext \
11430 conftest$ac_exeext conftest.$ac_ext
11431 LIBS=$ac_check_soname_save_LIBS
11433 if ${ac_cv_lib_soname_xslt:+false} :; then :
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11435 $as_echo "not found" >&6; }
11437 else
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11439 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11441 cat >>confdefs.h <<_ACEOF
11442 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11443 _ACEOF
11447 else
11448 XSLT_CFLAGS=""
11450 CPPFLAGS=$ac_save_CPPFLAGS
11451 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11452 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11455 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11456 case "x$with_xslt" in
11457 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11458 xno) ;;
11459 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11460 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11461 esac
11465 if test "x$with_dbus" != "xno"
11466 then
11467 if ${DBUS_CFLAGS:+false} :; then :
11468 if ${PKG_CONFIG+:} false; then :
11469 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11473 if ${DBUS_LIBS:+false} :; then :
11474 if ${PKG_CONFIG+:} false; then :
11475 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11480 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11481 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11482 ac_save_CPPFLAGS=$CPPFLAGS
11483 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11484 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11485 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11487 $as_echo_n "checking for -ldbus-1... " >&6; }
11488 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 ac_check_soname_save_LIBS=$LIBS
11492 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char dbus_connection_close ();
11504 main ()
11506 return dbus_connection_close ();
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"; then :
11512 case "$LIBEXT" in
11513 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11514 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'` ;;
11515 *) 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'`
11516 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11517 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11518 fi ;;
11519 esac
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_soname_save_LIBS
11525 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11527 $as_echo "not found" >&6; }
11528 DBUS_CFLAGS=""
11529 else
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11531 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11533 cat >>confdefs.h <<_ACEOF
11534 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11535 _ACEOF
11539 else
11540 DBUS_CFLAGS=""
11544 CPPFLAGS=$ac_save_CPPFLAGS
11545 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11546 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11549 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11550 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11551 case "x$with_dbus" in
11552 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11553 xno) ;;
11554 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11555 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11556 esac
11560 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11561 then
11562 if ${HAL_CFLAGS:+false} :; then :
11563 if ${PKG_CONFIG+:} false; then :
11564 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11568 if ${HAL_LIBS:+false} :; then :
11569 if ${PKG_CONFIG+:} false; then :
11570 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11574 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11575 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11576 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11577 ac_save_CPPFLAGS=$CPPFLAGS
11578 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11579 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11580 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11582 $as_echo_n "checking for -lhal... " >&6; }
11583 if ${ac_cv_lib_soname_hal+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_soname_save_LIBS=$LIBS
11587 LIBS="-lhal $HAL_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char libhal_ctx_new ();
11599 main ()
11601 return libhal_ctx_new ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 case "$LIBEXT" in
11608 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11609 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'` ;;
11610 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11611 if ${ac_cv_lib_soname_hal:+false} :; then :
11612 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11613 fi ;;
11614 esac
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_hal:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11623 HAL_CFLAGS=""
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11626 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11630 _ACEOF
11634 else
11635 HAL_CFLAGS=""
11639 CPPFLAGS=$ac_save_CPPFLAGS
11640 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11641 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11643 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11644 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11645 case "x$with_hal" in
11646 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11647 xno) ;;
11648 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11649 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11650 esac
11655 if test "x$with_gnutls" != "xno"
11656 then
11657 if ${GNUTLS_CFLAGS:+false} :; then :
11658 if ${PKG_CONFIG+:} false; then :
11659 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11663 if ${GNUTLS_LIBS:+false} :; then :
11664 if ${PKG_CONFIG+:} false; then :
11665 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11670 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11671 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11672 ac_save_CPPFLAGS=$CPPFLAGS
11673 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11674 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11675 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11678 #include <gnutls/gnutls.h>
11679 #include <gnutls/crypto.h>
11681 main ()
11683 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11685 return 0;
11687 _ACEOF
11688 if ac_fn_c_try_compile "$LINENO"; then :
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11690 $as_echo_n "checking for -lgnutls... " >&6; }
11691 if ${ac_cv_lib_soname_gnutls+:} false; then :
11692 $as_echo_n "(cached) " >&6
11693 else
11694 ac_check_soname_save_LIBS=$LIBS
11695 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11702 #ifdef __cplusplus
11703 extern "C"
11704 #endif
11705 char gnutls_global_init ();
11707 main ()
11709 return gnutls_global_init ();
11711 return 0;
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"; then :
11715 case "$LIBEXT" in
11716 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11717 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'` ;;
11718 *) 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'`
11719 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11720 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'`
11721 fi ;;
11722 esac
11724 rm -f core conftest.err conftest.$ac_objext \
11725 conftest$ac_exeext conftest.$ac_ext
11726 LIBS=$ac_check_soname_save_LIBS
11728 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11730 $as_echo "not found" >&6; }
11731 GNUTLS_CFLAGS=""
11732 else
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11734 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11736 cat >>confdefs.h <<_ACEOF
11737 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11738 _ACEOF
11742 ac_wine_check_funcs_save_LIBS="$LIBS"
11743 LIBS="$LIBS $GNUTLS_LIBS"
11744 for ac_func in gnutls_cipher_init
11745 do :
11746 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11747 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11748 cat >>confdefs.h <<_ACEOF
11749 #define HAVE_GNUTLS_CIPHER_INIT 1
11750 _ACEOF
11752 else
11753 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11755 done
11757 LIBS="$ac_wine_check_funcs_save_LIBS"
11759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11760 else
11761 GNUTLS_CFLAGS=""
11765 CPPFLAGS=$ac_save_CPPFLAGS
11766 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11767 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11770 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11771 case "x$with_gnutls" in
11772 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11773 xno) ;;
11774 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11775 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11776 esac
11780 CURSES_LIBS=""
11781 if test "$ac_cv_header_ncurses_h" = "yes"
11782 then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11784 $as_echo_n "checking for -lncurses... " >&6; }
11785 if ${ac_cv_lib_soname_ncurses+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_check_soname_save_LIBS=$LIBS
11789 LIBS="-lncurses $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char waddch ();
11801 main ()
11803 return waddch ();
11805 return 0;
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 case "$LIBEXT" in
11810 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11811 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'` ;;
11812 *) 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'`
11813 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11814 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11815 fi ;;
11816 esac
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_soname_save_LIBS
11822 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11824 $as_echo "not found" >&6; }
11826 else
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11828 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11830 cat >>confdefs.h <<_ACEOF
11831 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11832 _ACEOF
11834 CURSES_LIBS="-lncurses"
11836 elif test "$ac_cv_header_curses_h" = "yes"
11837 then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11839 $as_echo_n "checking for -lcurses... " >&6; }
11840 if ${ac_cv_lib_soname_curses+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_soname_save_LIBS=$LIBS
11844 LIBS="-lcurses $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char waddch ();
11856 main ()
11858 return waddch ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 case "$LIBEXT" in
11865 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11866 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'` ;;
11867 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11868 if ${ac_cv_lib_soname_curses:+false} :; then :
11869 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11870 fi ;;
11871 esac
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_soname_save_LIBS
11877 if ${ac_cv_lib_soname_curses:+false} :; then :
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11879 $as_echo "not found" >&6; }
11881 else
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11883 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11885 cat >>confdefs.h <<_ACEOF
11886 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11887 _ACEOF
11889 CURSES_LIBS="-lcurses"
11892 ac_save_LIBS="$LIBS"
11893 LIBS="$LIBS $CURSES_LIBS"
11894 for ac_func in mousemask
11895 do :
11896 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11897 if test "x$ac_cv_func_mousemask" = xyes; then :
11898 cat >>confdefs.h <<_ACEOF
11899 #define HAVE_MOUSEMASK 1
11900 _ACEOF
11903 done
11905 LIBS="$ac_save_LIBS"
11906 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11907 case "x$with_curses" in
11908 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11909 xno) ;;
11910 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11911 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11912 esac
11916 if test "x$with_sane" != "xno"
11917 then
11918 if ${SANE_CFLAGS:+false} :; then :
11919 if ${PKG_CONFIG+:} false; then :
11920 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11923 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11924 if ${SANE_LIBS:+false} :; then :
11925 if ${PKG_CONFIG+:} false; then :
11926 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11929 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11931 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11932 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11933 ac_save_CPPFLAGS=$CPPFLAGS
11934 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11935 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11936 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11938 $as_echo_n "checking for -lsane... " >&6; }
11939 if ${ac_cv_lib_soname_sane+:} false; then :
11940 $as_echo_n "(cached) " >&6
11941 else
11942 ac_check_soname_save_LIBS=$LIBS
11943 LIBS="-lsane $SANE_LIBS $LIBS"
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11950 #ifdef __cplusplus
11951 extern "C"
11952 #endif
11953 char sane_init ();
11955 main ()
11957 return sane_init ();
11959 return 0;
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"; then :
11963 case "$LIBEXT" in
11964 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11965 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'` ;;
11966 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11967 if ${ac_cv_lib_soname_sane:+false} :; then :
11968 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11969 fi ;;
11970 esac
11972 rm -f core conftest.err conftest.$ac_objext \
11973 conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_soname_save_LIBS
11976 if ${ac_cv_lib_soname_sane:+false} :; then :
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11978 $as_echo "not found" >&6; }
11979 SANE_CFLAGS=""
11980 else
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11982 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11984 cat >>confdefs.h <<_ACEOF
11985 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11986 _ACEOF
11990 else
11991 SANE_CFLAGS=""
11995 CPPFLAGS=$ac_save_CPPFLAGS
11996 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11997 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12000 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12001 case "x$with_sane" in
12002 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12003 xno) ;;
12004 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12005 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12006 esac
12010 if test "x$with_v4l" != "xno"
12011 then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12013 $as_echo_n "checking for -lv4l1... " >&6; }
12014 if ${ac_cv_lib_soname_v4l1+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12017 ac_check_soname_save_LIBS=$LIBS
12018 LIBS="-lv4l1 $LIBS"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char v4l1_open ();
12030 main ()
12032 return v4l1_open ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 case "$LIBEXT" in
12039 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12040 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'` ;;
12041 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12042 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12043 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12044 fi ;;
12045 esac
12047 rm -f core conftest.err conftest.$ac_objext \
12048 conftest$ac_exeext conftest.$ac_ext
12049 LIBS=$ac_check_soname_save_LIBS
12051 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12053 $as_echo "not found" >&6; }
12055 else
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12057 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12059 cat >>confdefs.h <<_ACEOF
12060 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12061 _ACEOF
12066 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12067 case "x$with_v4l" in
12068 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12069 xno) ;;
12070 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12071 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12072 esac
12076 if test "x$with_gphoto" != "xno"
12077 then
12078 if ${GPHOTO2_CFLAGS:+false} :; then :
12079 if ${PKG_CONFIG+:} false; then :
12080 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12083 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12084 if ${GPHOTO2_LIBS:+false} :; then :
12085 if ${PKG_CONFIG+:} false; then :
12086 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12089 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12090 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12091 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12092 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12093 ac_save_CPPFLAGS=$CPPFLAGS
12094 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12095 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12096 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12098 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12099 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_lib_save_LIBS=$LIBS
12103 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char gp_camera_new ();
12115 main ()
12117 return gp_camera_new ();
12119 return 0;
12121 _ACEOF
12122 if ac_fn_c_try_link "$LINENO"; then :
12123 ac_cv_lib_gphoto2_gp_camera_new=yes
12124 else
12125 ac_cv_lib_gphoto2_gp_camera_new=no
12127 rm -f core conftest.err conftest.$ac_objext \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_lib_save_LIBS
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12132 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12133 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12135 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12137 else
12138 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12141 else
12142 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12146 CPPFLAGS=$ac_save_CPPFLAGS
12147 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12148 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12150 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12151 if ${PKG_CONFIG+:} false; then :
12152 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12155 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12156 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12157 if ${PKG_CONFIG+:} false; then :
12158 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12161 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12162 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12163 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12165 ac_save_CPPFLAGS=$CPPFLAGS
12166 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12167 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12168 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12170 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12171 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 ac_check_lib_save_LIBS=$LIBS
12175 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12182 #ifdef __cplusplus
12183 extern "C"
12184 #endif
12185 char gp_port_info_list_new ();
12187 main ()
12189 return gp_port_info_list_new ();
12191 return 0;
12193 _ACEOF
12194 if ac_fn_c_try_link "$LINENO"; then :
12195 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12196 else
12197 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12199 rm -f core conftest.err conftest.$ac_objext \
12200 conftest$ac_exeext conftest.$ac_ext
12201 LIBS=$ac_check_lib_save_LIBS
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12204 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12205 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12207 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12209 else
12210 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12213 else
12214 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12218 CPPFLAGS=$ac_save_CPPFLAGS
12219 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12220 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12223 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12224 case "x$with_gphoto" in
12225 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12226 xno) ;;
12227 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12228 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12229 esac
12232 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12233 case "x$with_gphoto" in
12234 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12235 xno) ;;
12236 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12237 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12238 esac
12243 if test "$ac_cv_header_resolv_h" = "yes"
12244 then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12246 $as_echo_n "checking for resolver library... " >&6; }
12247 if ${ac_cv_have_resolv+:} false; then :
12248 $as_echo_n "(cached) " >&6
12249 else
12250 ac_save_LIBS="$LIBS"
12251 for lib in '' -lresolv
12253 LIBS="$lib $ac_save_LIBS"
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12256 #ifdef HAVE_NETINET_IN_H
12257 #include <netinet/in.h>
12258 #endif
12259 #include <resolv.h>
12261 main ()
12263 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12265 return 0;
12267 _ACEOF
12268 if ac_fn_c_try_link "$LINENO"; then :
12269 ac_cv_have_resolv=${lib:-"none required"}
12270 else
12271 ac_cv_have_resolv="not found"
12273 rm -f core conftest.err conftest.$ac_objext \
12274 conftest$ac_exeext conftest.$ac_ext
12275 test "x$ac_cv_have_resolv" = "xnot found" || break
12276 done
12277 LIBS="$ac_save_LIBS"
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12280 $as_echo "$ac_cv_have_resolv" >&6; }
12282 case "$ac_cv_have_resolv" in
12283 "not found") ;;
12284 "none required")
12286 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12289 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12291 RESOLV_LIBS=$ac_cv_have_resolv
12293 esac
12296 if test "x$with_cms" != "xno"
12297 then
12298 if ${LCMS2_CFLAGS:+false} :; then :
12299 if ${PKG_CONFIG+:} false; then :
12300 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12304 if ${LCMS2_LIBS:+false} :; then :
12305 if ${PKG_CONFIG+:} false; then :
12306 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12310 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12311 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12312 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12313 ac_save_CPPFLAGS=$CPPFLAGS
12314 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12315 for ac_header in lcms2.h
12316 do :
12317 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12318 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12319 cat >>confdefs.h <<_ACEOF
12320 #define HAVE_LCMS2_H 1
12321 _ACEOF
12325 done
12327 if test "$ac_cv_header_lcms2_h" = "yes"
12328 then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12330 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12331 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12332 $as_echo_n "(cached) " >&6
12333 else
12334 ac_check_lib_save_LIBS=$LIBS
12335 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 char cmsOpenProfileFromFile ();
12347 main ()
12349 return cmsOpenProfileFromFile ();
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12356 else
12357 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12359 rm -f core conftest.err conftest.$ac_objext \
12360 conftest$ac_exeext conftest.$ac_ext
12361 LIBS=$ac_check_lib_save_LIBS
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12364 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12365 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12367 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12369 else
12370 LCMS2_LIBS=""
12373 else
12374 LCMS2_CFLAGS=""
12375 LCMS2_LIBS=""
12377 CPPFLAGS=$ac_save_CPPFLAGS
12378 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12379 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12382 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12383 case "x$with_cms" in
12384 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12385 xno) ;;
12386 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12387 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12388 esac
12392 if test "x$with_freetype" != "xno"
12393 then
12394 if ${FREETYPE_CFLAGS:+false} :; then :
12395 if ${PKG_CONFIG+:} false; then :
12396 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12399 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12400 if ${FREETYPE_LIBS:+false} :; then :
12401 if ${PKG_CONFIG+:} false; then :
12402 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12405 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12406 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12407 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12408 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12409 ac_save_CPPFLAGS=$CPPFLAGS
12410 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12411 for ac_header in ft2build.h
12412 do :
12413 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12414 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12415 cat >>confdefs.h <<_ACEOF
12416 #define HAVE_FT2BUILD_H 1
12417 _ACEOF
12421 done
12423 if test "$ac_cv_header_ft2build_h" = "yes"
12424 then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12426 $as_echo_n "checking for -lfreetype... " >&6; }
12427 if ${ac_cv_lib_soname_freetype+:} false; then :
12428 $as_echo_n "(cached) " >&6
12429 else
12430 ac_check_soname_save_LIBS=$LIBS
12431 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12438 #ifdef __cplusplus
12439 extern "C"
12440 #endif
12441 char FT_Init_FreeType ();
12443 main ()
12445 return FT_Init_FreeType ();
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_link "$LINENO"; then :
12451 case "$LIBEXT" in
12452 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12453 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'` ;;
12454 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12455 if ${ac_cv_lib_soname_freetype:+false} :; then :
12456 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12457 fi ;;
12458 esac
12460 rm -f core conftest.err conftest.$ac_objext \
12461 conftest$ac_exeext conftest.$ac_ext
12462 LIBS=$ac_check_soname_save_LIBS
12464 if ${ac_cv_lib_soname_freetype:+false} :; then :
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12466 $as_echo "not found" >&6; }
12467 FREETYPE_LIBS=""
12468 else
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12470 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12472 cat >>confdefs.h <<_ACEOF
12473 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12474 _ACEOF
12477 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12479 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12480 #include FT_MODULE_H
12482 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12484 cat >>confdefs.h <<_ACEOF
12485 #define HAVE_FT_TRUETYPEENGINETYPE 1
12486 _ACEOF
12492 else
12493 FREETYPE_CFLAGS=""
12494 FREETYPE_LIBS=""
12496 CPPFLAGS=$ac_save_CPPFLAGS
12497 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12498 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12501 if test "x$ac_cv_lib_soname_freetype" = x; then :
12502 case "x$with_freetype" in
12503 xno) ;;
12504 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12505 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12506 esac
12507 enable_fonts=${enable_fonts:-no}
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12511 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12512 if ${ac_cv_c_ppdev+:} false; then :
12513 $as_echo_n "(cached) " >&6
12514 else
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12517 #ifdef HAVE_SYS_IOCTL_H
12518 # include <sys/ioctl.h>
12519 #endif
12520 #include <linux/ppdev.h>
12522 main ()
12524 ioctl (1,PPCLAIM,0)
12526 return 0;
12528 _ACEOF
12529 if ac_fn_c_try_compile "$LINENO"; then :
12530 ac_cv_c_ppdev="yes"
12531 else
12532 ac_cv_c_ppdev="no"
12534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12537 $as_echo "$ac_cv_c_ppdev" >&6; }
12538 if test "$ac_cv_c_ppdev" = "yes"
12539 then
12541 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12545 ac_wine_check_funcs_save_LIBS="$LIBS"
12546 LIBS="$LIBS $PTHREAD_LIBS"
12547 for ac_func in \
12548 pthread_attr_get_np \
12549 pthread_getattr_np \
12550 pthread_getthreadid_np \
12551 pthread_get_stackaddr_np \
12552 pthread_get_stacksize_np
12553 do :
12554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12557 cat >>confdefs.h <<_ACEOF
12558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12559 _ACEOF
12562 done
12564 LIBS="$ac_wine_check_funcs_save_LIBS"
12566 if test "$ac_cv_header_zlib_h" = "yes"
12567 then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12569 $as_echo_n "checking for inflate in -lz... " >&6; }
12570 if ${ac_cv_lib_z_inflate+:} false; then :
12571 $as_echo_n "(cached) " >&6
12572 else
12573 ac_check_lib_save_LIBS=$LIBS
12574 LIBS="-lz $LIBS"
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12581 #ifdef __cplusplus
12582 extern "C"
12583 #endif
12584 char inflate ();
12586 main ()
12588 return inflate ();
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_link "$LINENO"; then :
12594 ac_cv_lib_z_inflate=yes
12595 else
12596 ac_cv_lib_z_inflate=no
12598 rm -f core conftest.err conftest.$ac_objext \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_lib_save_LIBS
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12603 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12604 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12606 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12608 Z_LIBS="-lz"
12613 if test "x$Z_LIBS" = "x"; then :
12614 case "x$with_zlib" in
12615 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12616 xno) ;;
12617 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12618 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12619 esac
12623 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12624 then
12625 if test "$ac_cv_header_gettext_po_h" = "yes"
12626 then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12628 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12629 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_lib_save_LIBS=$LIBS
12633 LIBS="-lgettextpo $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char po_message_msgctxt ();
12645 main ()
12647 return po_message_msgctxt ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12654 else
12655 ac_cv_lib_gettextpo_po_message_msgctxt=no
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_lib_save_LIBS
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12662 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12663 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12665 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12667 GETTEXTPO_LIBS="-lgettextpo"
12672 if test "x$GETTEXTPO_LIBS" = "x"; then :
12673 case "x$with_gettextpo" in
12674 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12675 xno) ;;
12676 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12677 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12678 esac
12681 if test "$srcdir" != .; then :
12682 case "x$with_gettextpo" in
12683 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12684 xno) ;;
12685 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12686 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12687 esac
12692 if test "x$with_pulse" != "xno";
12693 then
12694 if ${PULSE_CFLAGS:+false} :; then :
12695 if ${PKG_CONFIG+:} false; then :
12696 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12700 if ${PULSE_LIBS:+false} :; then :
12701 if ${PKG_CONFIG+:} false; then :
12702 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12707 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12708 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12709 ac_save_CPPFLAGS=$CPPFLAGS
12710 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12711 for ac_header in pulse/pulseaudio.h
12712 do :
12713 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12714 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12715 cat >>confdefs.h <<_ACEOF
12716 #define HAVE_PULSE_PULSEAUDIO_H 1
12717 _ACEOF
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12719 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12720 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12721 $as_echo_n "(cached) " >&6
12722 else
12723 ac_check_lib_save_LIBS=$LIBS
12724 LIBS="-lpulse $PULSE_LIBS $LIBS"
12725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12728 /* Override any GCC internal prototype to avoid an error.
12729 Use char because int might match the return type of a GCC
12730 builtin and then its argument prototype would still apply. */
12731 #ifdef __cplusplus
12732 extern "C"
12733 #endif
12734 char pa_stream_is_corked ();
12736 main ()
12738 return pa_stream_is_corked ();
12740 return 0;
12742 _ACEOF
12743 if ac_fn_c_try_link "$LINENO"; then :
12744 ac_cv_lib_pulse_pa_stream_is_corked=yes
12745 else
12746 ac_cv_lib_pulse_pa_stream_is_corked=no
12748 rm -f core conftest.err conftest.$ac_objext \
12749 conftest$ac_exeext conftest.$ac_ext
12750 LIBS=$ac_check_lib_save_LIBS
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12753 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12754 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12756 else
12757 PULSE_LIBS=""
12760 else
12761 PULSE_LIBS=""
12764 done
12766 CPPFLAGS=$ac_save_CPPFLAGS
12767 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12768 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12771 if test -z "$PULSE_LIBS"; then :
12772 case "x$with_pulse" in
12773 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12774 xno) ;;
12775 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12776 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12777 esac
12778 enable_winepulse_drv=${enable_winepulse_drv:-no}
12781 if test "x$with_gstreamer" != "xno"
12782 then
12783 if ${GSTREAMER_CFLAGS:+false} :; then :
12784 if ${PKG_CONFIG+:} false; then :
12785 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12789 if ${GSTREAMER_LIBS:+false} :; then :
12790 if ${PKG_CONFIG+:} false; then :
12791 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12796 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12797 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12798 ac_save_CPPFLAGS=$CPPFLAGS
12799 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12800 ac_gst_incl=""
12801 for i in $GSTREAMER_CFLAGS
12803 case "$i" in
12804 -I*) ac_gst_incl="$ac_gst_incl $i";;
12805 esac
12806 done
12807 GSTREAMER_CFLAGS=$ac_gst_incl
12808 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12809 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12810 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12812 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12815 #include <gst/gst.h>
12817 main ()
12819 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12821 return 0;
12823 _ACEOF
12824 if ac_fn_c_try_compile "$LINENO"; then :
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12826 $as_echo "yes" >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12828 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12829 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 ac_check_lib_save_LIBS=$LIBS
12833 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12837 /* Override any GCC internal prototype to avoid an error.
12838 Use char because int might match the return type of a GCC
12839 builtin and then its argument prototype would still apply. */
12840 #ifdef __cplusplus
12841 extern "C"
12842 #endif
12843 char gst_pad_new ();
12845 main ()
12847 return gst_pad_new ();
12849 return 0;
12851 _ACEOF
12852 if ac_fn_c_try_link "$LINENO"; then :
12853 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12854 else
12855 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12857 rm -f core conftest.err conftest.$ac_objext \
12858 conftest$ac_exeext conftest.$ac_ext
12859 LIBS=$ac_check_lib_save_LIBS
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12862 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12863 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12867 else
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12869 $as_echo "no" >&6; }
12870 ac_glib2_broken=yes
12871 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12877 CPPFLAGS=$ac_save_CPPFLAGS
12878 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12879 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12882 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 :
12883 case "x$with_gstreamer" in
12884 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12885 xno) ;;
12886 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12887 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12888 esac
12891 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12893 ALSA_LIBS=""
12895 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12896 then
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12898 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12899 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12900 $as_echo_n "(cached) " >&6
12901 else
12902 ac_check_lib_save_LIBS=$LIBS
12903 LIBS="-lasound $LIBS"
12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12907 /* Override any GCC internal prototype to avoid an error.
12908 Use char because int might match the return type of a GCC
12909 builtin and then its argument prototype would still apply. */
12910 #ifdef __cplusplus
12911 extern "C"
12912 #endif
12913 char snd_pcm_hw_params_get_access_mask ();
12915 main ()
12917 return snd_pcm_hw_params_get_access_mask ();
12919 return 0;
12921 _ACEOF
12922 if ac_fn_c_try_link "$LINENO"; then :
12923 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12924 else
12925 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12927 rm -f core conftest.err conftest.$ac_objext \
12928 conftest$ac_exeext conftest.$ac_ext
12929 LIBS=$ac_check_lib_save_LIBS
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12932 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12933 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12936 #ifdef HAVE_ALSA_ASOUNDLIB_H
12937 #include <alsa/asoundlib.h>
12938 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12939 #include <sys/asoundlib.h>
12940 #endif
12942 main ()
12944 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_compile "$LINENO"; then :
12950 ALSA_LIBS="-lasound"
12952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12956 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12958 if test "x$with_oss" != xno
12959 then
12960 ac_save_CPPFLAGS="$CPPFLAGS"
12961 if test -f /etc/oss.conf
12962 then
12963 . /etc/oss.conf
12965 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12966 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12967 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12968 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12969 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12971 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12973 cat >>confdefs.h <<_ACEOF
12974 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12975 _ACEOF
12977 OSS4_CFLAGS="$ac_oss_incl"
12984 CPPFLAGS="$ac_save_CPPFLAGS"
12986 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12987 case "x$with_oss" in
12988 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12989 xno) ;;
12990 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12991 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12992 esac
12993 enable_wineoss_drv=${enable_wineoss_drv:-no}
12996 if test "x$with_udev" != "xno"
12997 then
12998 if ${UDEV_CFLAGS:+false} :; then :
12999 if ${PKG_CONFIG+:} false; then :
13000 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13004 if ${UDEV_LIBS:+false} :; then :
13005 if ${PKG_CONFIG+:} false; then :
13006 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13010 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13011 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13012 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13013 ac_save_CPPFLAGS=$CPPFLAGS
13014 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13015 for ac_header in libudev.h
13016 do :
13017 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13018 if test "x$ac_cv_header_libudev_h" = xyes; then :
13019 cat >>confdefs.h <<_ACEOF
13020 #define HAVE_LIBUDEV_H 1
13021 _ACEOF
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13023 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13024 if ${ac_cv_lib_udev_udev_new+:} false; then :
13025 $as_echo_n "(cached) " >&6
13026 else
13027 ac_check_lib_save_LIBS=$LIBS
13028 LIBS="-ludev $UDEV_LIBS $LIBS"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13035 #ifdef __cplusplus
13036 extern "C"
13037 #endif
13038 char udev_new ();
13040 main ()
13042 return udev_new ();
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_link "$LINENO"; then :
13048 ac_cv_lib_udev_udev_new=yes
13049 else
13050 ac_cv_lib_udev_udev_new=no
13052 rm -f core conftest.err conftest.$ac_objext \
13053 conftest$ac_exeext conftest.$ac_ext
13054 LIBS=$ac_check_lib_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13057 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13058 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13060 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13062 else
13063 UDEV_LIBS=""
13066 else
13067 UDEV_LIBS=""
13070 done
13072 CPPFLAGS=$ac_save_CPPFLAGS
13073 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13074 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13077 if test "x$UDEV_LIBS" = "x"; then :
13078 case "x$with_udev" in
13079 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13080 xno) ;;
13081 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13082 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13083 esac
13087 if test "x$with_sdl" != "xno"
13088 then
13089 if ${SDL2_CFLAGS:+false} :; then :
13090 if ${PKG_CONFIG+:} false; then :
13091 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13095 if ${SDL2_LIBS:+false} :; then :
13096 if ${PKG_CONFIG+:} false; then :
13097 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13101 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13102 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13103 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13104 ac_save_CPPFLAGS=$CPPFLAGS
13105 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13106 for ac_header in SDL2/SDL.h
13107 do :
13108 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13109 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13110 cat >>confdefs.h <<_ACEOF
13111 #define HAVE_SDL2_SDL_H 1
13112 _ACEOF
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13114 $as_echo_n "checking for -lSDL2... " >&6; }
13115 if ${ac_cv_lib_soname_SDL2+:} false; then :
13116 $as_echo_n "(cached) " >&6
13117 else
13118 ac_check_soname_save_LIBS=$LIBS
13119 LIBS="-lSDL2 $LIBS"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13126 #ifdef __cplusplus
13127 extern "C"
13128 #endif
13129 char SDL_Init ();
13131 main ()
13133 return SDL_Init ();
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"; then :
13139 case "$LIBEXT" in
13140 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13141 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'` ;;
13142 *) 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'`
13143 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13144 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13145 fi ;;
13146 esac
13148 rm -f core conftest.err conftest.$ac_objext \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_soname_save_LIBS
13152 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13154 $as_echo "not found" >&6; }
13156 else
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13158 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13160 cat >>confdefs.h <<_ACEOF
13161 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13162 _ACEOF
13168 done
13170 CPPFLAGS=$ac_save_CPPFLAGS
13171 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13172 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13175 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13176 case "x$with_sdl" in
13177 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13178 xno) ;;
13179 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13180 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13181 esac
13185 if test "x$with_capi" != "xno"
13186 then
13187 if ${CAPI20_CFLAGS:+false} :; then :
13188 if ${PKG_CONFIG+:} false; then :
13189 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13193 if ${CAPI20_LIBS:+false} :; then :
13194 if ${PKG_CONFIG+:} false; then :
13195 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13200 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13201 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13202 ac_save_CPPFLAGS=$CPPFLAGS
13203 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13204 for ac_header in capi20.h linux/capi.h
13205 do :
13206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13207 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13209 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13210 cat >>confdefs.h <<_ACEOF
13211 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13212 _ACEOF
13216 done
13218 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13219 then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13221 $as_echo_n "checking for -lcapi20... " >&6; }
13222 if ${ac_cv_lib_soname_capi20+:} false; then :
13223 $as_echo_n "(cached) " >&6
13224 else
13225 ac_check_soname_save_LIBS=$LIBS
13226 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13228 /* end confdefs.h. */
13230 /* Override any GCC internal prototype to avoid an error.
13231 Use char because int might match the return type of a GCC
13232 builtin and then its argument prototype would still apply. */
13233 #ifdef __cplusplus
13234 extern "C"
13235 #endif
13236 char capi20_register ();
13238 main ()
13240 return capi20_register ();
13242 return 0;
13244 _ACEOF
13245 if ac_fn_c_try_link "$LINENO"; then :
13246 case "$LIBEXT" in
13247 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13248 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'` ;;
13249 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13250 if ${ac_cv_lib_soname_capi20:+false} :; then :
13251 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13252 fi ;;
13253 esac
13255 rm -f core conftest.err conftest.$ac_objext \
13256 conftest$ac_exeext conftest.$ac_ext
13257 LIBS=$ac_check_soname_save_LIBS
13259 if ${ac_cv_lib_soname_capi20:+false} :; then :
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13261 $as_echo "not found" >&6; }
13263 else
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13265 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13267 cat >>confdefs.h <<_ACEOF
13268 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13269 _ACEOF
13274 CPPFLAGS=$ac_save_CPPFLAGS
13275 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13276 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13279 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13280 case "x$with_capi" in
13281 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13282 xno) ;;
13283 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13284 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13285 esac
13289 if test "x$with_cups" != "xno"
13290 then
13291 if ${CUPS_CFLAGS:+false} :; then :
13292 if ${PKG_CONFIG+:} false; then :
13293 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13296 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13297 if ${CUPS_LIBS:+false} :; then :
13298 if ${PKG_CONFIG+:} false; then :
13299 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13302 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13303 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13304 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13305 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13306 ac_save_CPPFLAGS=$CPPFLAGS
13307 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13308 for ac_header in cups/cups.h cups/ppd.h
13309 do :
13310 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13311 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13313 cat >>confdefs.h <<_ACEOF
13314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13315 _ACEOF
13319 done
13321 if test "$ac_cv_header_cups_cups_h" = "yes"
13322 then
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13324 $as_echo_n "checking for -lcups... " >&6; }
13325 if ${ac_cv_lib_soname_cups+:} false; then :
13326 $as_echo_n "(cached) " >&6
13327 else
13328 ac_check_soname_save_LIBS=$LIBS
13329 LIBS="-lcups $CUPS_LIBS $LIBS"
13330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13331 /* end confdefs.h. */
13333 /* Override any GCC internal prototype to avoid an error.
13334 Use char because int might match the return type of a GCC
13335 builtin and then its argument prototype would still apply. */
13336 #ifdef __cplusplus
13337 extern "C"
13338 #endif
13339 char cupsGetDefault ();
13341 main ()
13343 return cupsGetDefault ();
13345 return 0;
13347 _ACEOF
13348 if ac_fn_c_try_link "$LINENO"; then :
13349 case "$LIBEXT" in
13350 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13351 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'` ;;
13352 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13353 if ${ac_cv_lib_soname_cups:+false} :; then :
13354 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13355 fi ;;
13356 esac
13358 rm -f core conftest.err conftest.$ac_objext \
13359 conftest$ac_exeext conftest.$ac_ext
13360 LIBS=$ac_check_soname_save_LIBS
13362 if ${ac_cv_lib_soname_cups:+false} :; then :
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13364 $as_echo "not found" >&6; }
13365 CUPS_LIBS=""
13366 else
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13368 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13370 cat >>confdefs.h <<_ACEOF
13371 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13372 _ACEOF
13376 else
13377 CUPS_CFLAGS=""
13378 CUPS_LIBS=""
13380 CPPFLAGS=$ac_save_CPPFLAGS
13381 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13382 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13385 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13386 case "x$with_cups" in
13387 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13388 xno) ;;
13389 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13390 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13391 esac
13395 if test "x$with_fontconfig" != "xno"
13396 then
13397 if ${FONTCONFIG_CFLAGS:+false} :; then :
13398 if ${PKG_CONFIG+:} false; then :
13399 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13402 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13403 if ${FONTCONFIG_LIBS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13408 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13410 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13411 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13412 ac_save_CPPFLAGS=$CPPFLAGS
13413 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13414 for ac_header in fontconfig/fontconfig.h
13415 do :
13416 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13417 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13418 cat >>confdefs.h <<_ACEOF
13419 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13420 _ACEOF
13424 done
13426 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13427 then
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13429 $as_echo_n "checking for -lfontconfig... " >&6; }
13430 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char FcInit ();
13446 main ()
13448 return FcInit ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13459 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13470 FONTCONFIG_CFLAGS=""
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13473 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13477 _ACEOF
13481 else
13482 FONTCONFIG_CFLAGS=""
13484 CPPFLAGS=$ac_save_CPPFLAGS
13485 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13486 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13489 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13490 case "x$with_fontconfig" in
13491 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13492 xno) ;;
13493 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13494 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13495 esac
13499 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13500 then
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13502 $as_echo_n "checking for -lgsm... " >&6; }
13503 if ${ac_cv_lib_soname_gsm+:} false; then :
13504 $as_echo_n "(cached) " >&6
13505 else
13506 ac_check_soname_save_LIBS=$LIBS
13507 LIBS="-lgsm $LIBS"
13508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13511 /* Override any GCC internal prototype to avoid an error.
13512 Use char because int might match the return type of a GCC
13513 builtin and then its argument prototype would still apply. */
13514 #ifdef __cplusplus
13515 extern "C"
13516 #endif
13517 char gsm_create ();
13519 main ()
13521 return gsm_create ();
13523 return 0;
13525 _ACEOF
13526 if ac_fn_c_try_link "$LINENO"; then :
13527 case "$LIBEXT" in
13528 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13529 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'` ;;
13530 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13531 if ${ac_cv_lib_soname_gsm:+false} :; then :
13532 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13533 fi ;;
13534 esac
13536 rm -f core conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13538 LIBS=$ac_check_soname_save_LIBS
13540 if ${ac_cv_lib_soname_gsm:+false} :; then :
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13542 $as_echo "not found" >&6; }
13544 else
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13546 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13548 cat >>confdefs.h <<_ACEOF
13549 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13550 _ACEOF
13555 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13556 case "x$with_gsm" in
13557 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13558 xno) ;;
13559 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13560 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13561 esac
13565 if test "x$with_krb5" != "xno"
13566 then
13567 if ${KRB5_CFLAGS:+false} :; then :
13568 if ${PKG_CONFIG+:} false; then :
13569 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13572 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13573 if ${KRB5_LIBS:+false} :; then :
13574 if ${PKG_CONFIG+:} false; then :
13575 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13578 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13580 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13581 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13582 ac_save_CPPFLAGS=$CPPFLAGS
13583 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13584 for ac_header in krb5/krb5.h
13585 do :
13586 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13587 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13588 cat >>confdefs.h <<_ACEOF
13589 #define HAVE_KRB5_KRB5_H 1
13590 _ACEOF
13594 done
13596 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13597 then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13599 $as_echo_n "checking for -lkrb5... " >&6; }
13600 if ${ac_cv_lib_soname_krb5+:} false; then :
13601 $as_echo_n "(cached) " >&6
13602 else
13603 ac_check_soname_save_LIBS=$LIBS
13604 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13608 /* Override any GCC internal prototype to avoid an error.
13609 Use char because int might match the return type of a GCC
13610 builtin and then its argument prototype would still apply. */
13611 #ifdef __cplusplus
13612 extern "C"
13613 #endif
13614 char krb5_init_context ();
13616 main ()
13618 return krb5_init_context ();
13620 return 0;
13622 _ACEOF
13623 if ac_fn_c_try_link "$LINENO"; then :
13624 case "$LIBEXT" in
13625 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13626 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'` ;;
13627 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13628 if ${ac_cv_lib_soname_krb5:+false} :; then :
13629 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13630 fi ;;
13631 esac
13633 rm -f core conftest.err conftest.$ac_objext \
13634 conftest$ac_exeext conftest.$ac_ext
13635 LIBS=$ac_check_soname_save_LIBS
13637 if ${ac_cv_lib_soname_krb5:+false} :; then :
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13639 $as_echo "not found" >&6; }
13640 KRB5_CFLAGS=""
13641 else
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13643 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13645 cat >>confdefs.h <<_ACEOF
13646 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13647 _ACEOF
13651 else
13652 KRB5_CFLAGS=""
13654 CPPFLAGS=$ac_save_CPPFLAGS
13655 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13656 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13658 else
13659 with_gssapi=${with_gssapi:-no}
13661 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13662 case "x$with_krb5" in
13663 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13664 xno) ;;
13665 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13666 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13667 esac
13671 if test "x$with_gssapi" != "xno"
13672 then
13673 if ${GSSAPI_CFLAGS:+false} :; then :
13674 if ${PKG_CONFIG+:} false; then :
13675 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13678 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13679 if ${GSSAPI_LIBS:+false} :; then :
13680 if ${PKG_CONFIG+:} false; then :
13681 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13684 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13686 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13687 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13688 ac_save_CPPFLAGS=$CPPFLAGS
13689 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13690 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13691 do :
13692 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13693 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13695 cat >>confdefs.h <<_ACEOF
13696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13697 _ACEOF
13701 done
13703 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13704 then
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13706 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13707 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13708 $as_echo_n "(cached) " >&6
13709 else
13710 ac_check_soname_save_LIBS=$LIBS
13711 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13715 /* Override any GCC internal prototype to avoid an error.
13716 Use char because int might match the return type of a GCC
13717 builtin and then its argument prototype would still apply. */
13718 #ifdef __cplusplus
13719 extern "C"
13720 #endif
13721 char gss_init_sec_context ();
13723 main ()
13725 return gss_init_sec_context ();
13727 return 0;
13729 _ACEOF
13730 if ac_fn_c_try_link "$LINENO"; then :
13731 case "$LIBEXT" in
13732 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13733 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'` ;;
13734 *) 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'`
13735 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13736 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13737 fi ;;
13738 esac
13740 rm -f core conftest.err conftest.$ac_objext \
13741 conftest$ac_exeext conftest.$ac_ext
13742 LIBS=$ac_check_soname_save_LIBS
13744 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13746 $as_echo "not found" >&6; }
13747 GSSAPI_CFLAGS=""
13748 else
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13750 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13752 cat >>confdefs.h <<_ACEOF
13753 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13754 _ACEOF
13758 else
13759 GSSAPI_CFLAGS=""
13761 CPPFLAGS=$ac_save_CPPFLAGS
13762 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13763 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13766 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13767 case "x$with_gssapi" in
13768 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13769 xno) ;;
13770 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13771 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13772 esac
13776 if test "x$with_jpeg" != "xno"
13777 then
13778 if ${JPEG_CFLAGS:+false} :; then :
13779 if ${PKG_CONFIG+:} false; then :
13780 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13784 if ${JPEG_LIBS:+false} :; then :
13785 if ${PKG_CONFIG+:} false; then :
13786 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13791 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13792 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13793 ac_save_CPPFLAGS=$CPPFLAGS
13794 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13795 for ac_header in jpeglib.h
13796 do :
13797 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13798 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13799 cat >>confdefs.h <<_ACEOF
13800 #define HAVE_JPEGLIB_H 1
13801 _ACEOF
13805 done
13807 if test "$ac_cv_header_jpeglib_h" = "yes"
13808 then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13810 $as_echo_n "checking for -ljpeg... " >&6; }
13811 if ${ac_cv_lib_soname_jpeg+:} false; then :
13812 $as_echo_n "(cached) " >&6
13813 else
13814 ac_check_soname_save_LIBS=$LIBS
13815 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13819 /* Override any GCC internal prototype to avoid an error.
13820 Use char because int might match the return type of a GCC
13821 builtin and then its argument prototype would still apply. */
13822 #ifdef __cplusplus
13823 extern "C"
13824 #endif
13825 char jpeg_start_decompress ();
13827 main ()
13829 return jpeg_start_decompress ();
13831 return 0;
13833 _ACEOF
13834 if ac_fn_c_try_link "$LINENO"; then :
13835 case "$LIBEXT" in
13836 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13837 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'` ;;
13838 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13839 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13840 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13841 fi ;;
13842 esac
13844 rm -f core conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 LIBS=$ac_check_soname_save_LIBS
13848 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13850 $as_echo "not found" >&6; }
13851 JPEG_CFLAGS=""
13852 else
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13854 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13856 cat >>confdefs.h <<_ACEOF
13857 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13858 _ACEOF
13862 else
13863 JPEG_CFLAGS=""
13865 CPPFLAGS=$ac_save_CPPFLAGS
13866 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13867 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13870 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13871 case "x$with_jpeg" in
13872 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13873 xno) ;;
13874 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13875 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13876 esac
13880 if test "x$with_png" != "xno"
13881 then
13882 if ${PNG_CFLAGS:+false} :; then :
13883 if ${PKG_CONFIG+:} false; then :
13884 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13887 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13888 if ${PNG_LIBS:+false} :; then :
13889 if ${PKG_CONFIG+:} false; then :
13890 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13893 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13895 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13896 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13897 ac_save_CPPFLAGS=$CPPFLAGS
13898 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13899 for ac_header in png.h
13900 do :
13901 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13902 if test "x$ac_cv_header_png_h" = xyes; then :
13903 cat >>confdefs.h <<_ACEOF
13904 #define HAVE_PNG_H 1
13905 _ACEOF
13909 done
13911 if test "$ac_cv_header_png_h" = "yes"
13912 then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13914 $as_echo_n "checking for -lpng... " >&6; }
13915 if ${ac_cv_lib_soname_png+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 ac_check_soname_save_LIBS=$LIBS
13919 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13923 /* Override any GCC internal prototype to avoid an error.
13924 Use char because int might match the return type of a GCC
13925 builtin and then its argument prototype would still apply. */
13926 #ifdef __cplusplus
13927 extern "C"
13928 #endif
13929 char png_create_read_struct ();
13931 main ()
13933 return png_create_read_struct ();
13935 return 0;
13937 _ACEOF
13938 if ac_fn_c_try_link "$LINENO"; then :
13939 case "$LIBEXT" in
13940 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13941 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'` ;;
13942 *) 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'`
13943 if ${ac_cv_lib_soname_png:+false} :; then :
13944 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13945 fi ;;
13946 esac
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_soname_save_LIBS
13952 if ${ac_cv_lib_soname_png:+false} :; then :
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13954 $as_echo "not found" >&6; }
13955 PNG_CFLAGS=""
13956 else
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13958 $as_echo "$ac_cv_lib_soname_png" >&6; }
13960 cat >>confdefs.h <<_ACEOF
13961 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13962 _ACEOF
13966 else
13967 PNG_CFLAGS=""
13969 CPPFLAGS=$ac_save_CPPFLAGS
13970 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13971 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13974 if test "x$ac_cv_lib_soname_png" = "x"; then :
13975 case "x$with_png" in
13976 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13977 xno) ;;
13978 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13979 This is an error since --with-png was requested." "$LINENO" 5 ;;
13980 esac
13984 if test "x$with_tiff" != "xno"
13985 then
13986 if ${TIFF_CFLAGS:+false} :; then :
13987 if ${PKG_CONFIG+:} false; then :
13988 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13992 if ${TIFF_LIBS:+false} :; then :
13993 if ${PKG_CONFIG+:} false; then :
13994 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13999 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14000 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14001 ac_save_CPPFLAGS=$CPPFLAGS
14002 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14003 for ac_header in tiffio.h
14004 do :
14005 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14006 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14007 cat >>confdefs.h <<_ACEOF
14008 #define HAVE_TIFFIO_H 1
14009 _ACEOF
14013 done
14015 if test "$ac_cv_header_tiffio_h" = "yes"
14016 then
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14018 $as_echo_n "checking for -ltiff... " >&6; }
14019 if ${ac_cv_lib_soname_tiff+:} false; then :
14020 $as_echo_n "(cached) " >&6
14021 else
14022 ac_check_soname_save_LIBS=$LIBS
14023 LIBS="-ltiff $TIFF_LIBS $LIBS"
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14027 /* Override any GCC internal prototype to avoid an error.
14028 Use char because int might match the return type of a GCC
14029 builtin and then its argument prototype would still apply. */
14030 #ifdef __cplusplus
14031 extern "C"
14032 #endif
14033 char TIFFClientOpen ();
14035 main ()
14037 return TIFFClientOpen ();
14039 return 0;
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"; then :
14043 case "$LIBEXT" in
14044 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14045 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'` ;;
14046 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14047 if ${ac_cv_lib_soname_tiff:+false} :; then :
14048 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14049 fi ;;
14050 esac
14052 rm -f core conftest.err conftest.$ac_objext \
14053 conftest$ac_exeext conftest.$ac_ext
14054 LIBS=$ac_check_soname_save_LIBS
14056 if ${ac_cv_lib_soname_tiff:+false} :; then :
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14058 $as_echo "not found" >&6; }
14060 else
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14062 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14064 cat >>confdefs.h <<_ACEOF
14065 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14066 _ACEOF
14071 CPPFLAGS=$ac_save_CPPFLAGS
14072 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14073 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14076 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14077 case "x$with_tiff" in
14078 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14079 xno) ;;
14080 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14081 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14082 esac
14086 if test "x$with_mpg123" != "xno"
14087 then
14088 if ${MPG123_CFLAGS:+false} :; then :
14089 if ${PKG_CONFIG+:} false; then :
14090 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14094 if ${MPG123_LIBS:+false} :; then :
14095 if ${PKG_CONFIG+:} false; then :
14096 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14100 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14101 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14102 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14103 ac_save_CPPFLAGS=$CPPFLAGS
14104 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14105 for ac_header in mpg123.h
14106 do :
14107 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14108 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14109 cat >>confdefs.h <<_ACEOF
14110 #define HAVE_MPG123_H 1
14111 _ACEOF
14115 done
14117 if test "$ac_cv_header_mpg123_h" = "yes"
14118 then
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14120 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14121 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14122 $as_echo_n "(cached) " >&6
14123 else
14124 ac_check_lib_save_LIBS=$LIBS
14125 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14132 #ifdef __cplusplus
14133 extern "C"
14134 #endif
14135 char mpg123_feed ();
14137 main ()
14139 return mpg123_feed ();
14141 return 0;
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 ac_cv_lib_mpg123_mpg123_feed=yes
14146 else
14147 ac_cv_lib_mpg123_mpg123_feed=no
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 LIBS=$ac_check_lib_save_LIBS
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14154 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14155 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14157 else
14158 MPG123_LIBS=""
14161 else
14162 MPG123_CFLAGS=""
14163 MPG123_LIBS=""
14165 CPPFLAGS=$ac_save_CPPFLAGS
14166 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14167 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14170 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14171 case "x$with_mpg123" in
14172 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14173 xno) ;;
14174 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14175 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14176 esac
14177 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14180 if test "$ac_cv_header_AL_al_h" = "yes"
14181 then
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14183 $as_echo_n "checking for -lopenal... " >&6; }
14184 if ${ac_cv_lib_soname_openal+:} false; then :
14185 $as_echo_n "(cached) " >&6
14186 else
14187 ac_check_soname_save_LIBS=$LIBS
14188 LIBS="-lopenal $LIBS"
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14192 /* Override any GCC internal prototype to avoid an error.
14193 Use char because int might match the return type of a GCC
14194 builtin and then its argument prototype would still apply. */
14195 #ifdef __cplusplus
14196 extern "C"
14197 #endif
14198 char alGetSource3i ();
14200 main ()
14202 return alGetSource3i ();
14204 return 0;
14206 _ACEOF
14207 if ac_fn_c_try_link "$LINENO"; then :
14208 case "$LIBEXT" in
14209 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14210 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'` ;;
14211 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14212 if ${ac_cv_lib_soname_openal:+false} :; then :
14213 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14214 fi ;;
14215 esac
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS=$ac_check_soname_save_LIBS
14221 if ${ac_cv_lib_soname_openal:+false} :; then :
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14223 $as_echo "not found" >&6; }
14225 else
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14227 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14229 cat >>confdefs.h <<_ACEOF
14230 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14231 _ACEOF
14233 OPENAL_LIBS="-lopenal"
14235 ac_cv_lib_openal=yes
14237 cat >>confdefs.h <<_ACEOF
14238 #define HAVE_OPENAL 1
14239 _ACEOF
14243 if test "x$ac_cv_lib_openal" != xyes; then :
14244 case "x$with_openal" in
14245 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14246 xno) ;;
14247 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14248 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14249 esac
14250 enable_openal32=${enable_openal32:-no}
14253 if test "x$ac_cv_lib_openal" = xyes
14254 then
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14256 $as_echo_n "checking for openal-soft... " >&6; }
14257 if ${ac_cv_have_openalsoft+:} false; then :
14258 $as_echo_n "(cached) " >&6
14259 else
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 #include <AL/al.h>
14263 #include <AL/alc.h>
14264 #include <AL/alext.h>
14265 LPALCRENDERSAMPLESSOFT x;
14267 main ()
14271 return 0;
14273 _ACEOF
14274 if ac_fn_c_try_compile "$LINENO"; then :
14275 ac_cv_have_openalsoft=yes
14276 else
14277 ac_cv_have_openalsoft=no
14279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14282 $as_echo "$ac_cv_have_openalsoft" >&6; }
14284 if test "x$ac_cv_have_openalsoft" != xyes
14285 then
14286 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14287 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14288 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14289 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14290 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14291 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14292 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14293 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14294 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14295 enable_xapofx1_1=${enable_xapofx1_1:-no}
14296 enable_xapofx1_2=${enable_xapofx1_2:-no}
14297 enable_xapofx1_3=${enable_xapofx1_3:-no}
14298 enable_xapofx1_4=${enable_xapofx1_4:-no}
14299 enable_xapofx1_5=${enable_xapofx1_5:-no}
14300 enable_xaudio2_0=${enable_xaudio2_0:-no}
14301 enable_xaudio2_1=${enable_xaudio2_1:-no}
14302 enable_xaudio2_2=${enable_xaudio2_2:-no}
14303 enable_xaudio2_3=${enable_xaudio2_3:-no}
14304 enable_xaudio2_4=${enable_xaudio2_4:-no}
14305 enable_xaudio2_5=${enable_xaudio2_5:-no}
14306 enable_xaudio2_6=${enable_xaudio2_6:-no}
14307 enable_xaudio2_7=${enable_xaudio2_7:-no}
14308 enable_xaudio2_8=${enable_xaudio2_8:-no}
14309 enable_xaudio2_9=${enable_xaudio2_9:-no}
14312 if test "$ac_cv_header_kstat_h" = "yes"
14313 then
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14315 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14316 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14317 $as_echo_n "(cached) " >&6
14318 else
14319 ac_check_lib_save_LIBS=$LIBS
14320 LIBS="-lkstat $LIBS"
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14324 /* Override any GCC internal prototype to avoid an error.
14325 Use char because int might match the return type of a GCC
14326 builtin and then its argument prototype would still apply. */
14327 #ifdef __cplusplus
14328 extern "C"
14329 #endif
14330 char kstat_open ();
14332 main ()
14334 return kstat_open ();
14336 return 0;
14338 _ACEOF
14339 if ac_fn_c_try_link "$LINENO"; then :
14340 ac_cv_lib_kstat_kstat_open=yes
14341 else
14342 ac_cv_lib_kstat_kstat_open=no
14344 rm -f core conftest.err conftest.$ac_objext \
14345 conftest$ac_exeext conftest.$ac_ext
14346 LIBS=$ac_check_lib_save_LIBS
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14349 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14350 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14352 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14354 KSTAT_LIBS="-lkstat"
14360 if test "$ac_cv_header_libprocstat_h" = "yes"
14361 then
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14363 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14364 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_check_lib_save_LIBS=$LIBS
14368 LIBS="-lprocstat $LIBS"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 #ifdef __cplusplus
14376 extern "C"
14377 #endif
14378 char procstat_open_sysctl ();
14380 main ()
14382 return procstat_open_sysctl ();
14384 return 0;
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 ac_cv_lib_procstat_procstat_open_sysctl=yes
14389 else
14390 ac_cv_lib_procstat_procstat_open_sysctl=no
14392 rm -f core conftest.err conftest.$ac_objext \
14393 conftest$ac_exeext conftest.$ac_ext
14394 LIBS=$ac_check_lib_save_LIBS
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14397 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14398 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14400 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14402 PROCSTAT_LIBS="-lprocstat"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14409 $as_echo_n "checking for -lodbc... " >&6; }
14410 if ${ac_cv_lib_soname_odbc+:} false; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 ac_check_soname_save_LIBS=$LIBS
14414 LIBS="-lodbc $LIBS"
14415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14418 /* Override any GCC internal prototype to avoid an error.
14419 Use char because int might match the return type of a GCC
14420 builtin and then its argument prototype would still apply. */
14421 #ifdef __cplusplus
14422 extern "C"
14423 #endif
14424 char SQLConnect ();
14426 main ()
14428 return SQLConnect ();
14430 return 0;
14432 _ACEOF
14433 if ac_fn_c_try_link "$LINENO"; then :
14434 case "$LIBEXT" in
14435 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14436 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'` ;;
14437 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14438 if ${ac_cv_lib_soname_odbc:+false} :; then :
14439 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14440 fi ;;
14441 esac
14443 rm -f core conftest.err conftest.$ac_objext \
14444 conftest$ac_exeext conftest.$ac_ext
14445 LIBS=$ac_check_soname_save_LIBS
14447 if ${ac_cv_lib_soname_odbc:+false} :; then :
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14449 $as_echo "not found" >&6; }
14450 cat >>confdefs.h <<_ACEOF
14451 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14452 _ACEOF
14454 else
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14456 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14458 cat >>confdefs.h <<_ACEOF
14459 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14460 _ACEOF
14465 if test "x$with_netapi" != "xno"
14466 then
14467 if ${NETAPI_CFLAGS:+false} :; then :
14468 if ${PKG_CONFIG+:} false; then :
14469 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14473 if ${NETAPI_LIBS:+false} :; then :
14474 if ${PKG_CONFIG+:} false; then :
14475 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14480 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14481 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14482 ac_save_CPPFLAGS=$CPPFLAGS
14483 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14485 $as_echo_n "checking for -lnetapi... " >&6; }
14486 if ${ac_cv_lib_soname_netapi+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_check_soname_save_LIBS=$LIBS
14490 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14494 /* Override any GCC internal prototype to avoid an error.
14495 Use char because int might match the return type of a GCC
14496 builtin and then its argument prototype would still apply. */
14497 #ifdef __cplusplus
14498 extern "C"
14499 #endif
14500 char libnetapi_init ();
14502 main ()
14504 return libnetapi_init ();
14506 return 0;
14508 _ACEOF
14509 if ac_fn_c_try_link "$LINENO"; then :
14510 case "$LIBEXT" in
14511 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14512 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'` ;;
14513 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14514 if ${ac_cv_lib_soname_netapi:+false} :; then :
14515 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14516 fi ;;
14517 esac
14519 rm -f core conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14521 LIBS=$ac_check_soname_save_LIBS
14523 if ${ac_cv_lib_soname_netapi:+false} :; then :
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14525 $as_echo "not found" >&6; }
14526 cat >>confdefs.h <<_ACEOF
14527 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14528 _ACEOF
14530 else
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14532 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14534 cat >>confdefs.h <<_ACEOF
14535 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14536 _ACEOF
14540 CPPFLAGS=$ac_save_CPPFLAGS
14541 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14542 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14546 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14547 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14548 then
14549 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14552 if test "x$with_vulkan" != "xno"
14553 then
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14555 $as_echo_n "checking for -lvulkan... " >&6; }
14556 if ${ac_cv_lib_soname_vulkan+:} false; then :
14557 $as_echo_n "(cached) " >&6
14558 else
14559 ac_check_soname_save_LIBS=$LIBS
14560 LIBS="-lvulkan $LIBS"
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14564 /* Override any GCC internal prototype to avoid an error.
14565 Use char because int might match the return type of a GCC
14566 builtin and then its argument prototype would still apply. */
14567 #ifdef __cplusplus
14568 extern "C"
14569 #endif
14570 char vkGetInstanceProcAddr ();
14572 main ()
14574 return vkGetInstanceProcAddr ();
14576 return 0;
14578 _ACEOF
14579 if ac_fn_c_try_link "$LINENO"; then :
14580 case "$LIBEXT" in
14581 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14582 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'` ;;
14583 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14584 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14585 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14586 fi ;;
14587 esac
14589 rm -f core conftest.err conftest.$ac_objext \
14590 conftest$ac_exeext conftest.$ac_ext
14591 LIBS=$ac_check_soname_save_LIBS
14593 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14595 $as_echo "not found" >&6; }
14597 else
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14599 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14601 cat >>confdefs.h <<_ACEOF
14602 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14603 _ACEOF
14608 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14609 case "x$with_vulkan" in
14610 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14611 xno) ;;
14612 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14613 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14614 esac
14619 EXTRACFLAGS=""
14621 if test "x${GCC}" = "xyes"
14622 then
14623 EXTRACFLAGS="-Wall -pipe"
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14626 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14627 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14628 $as_echo_n "(cached) " >&6
14629 else
14630 if test "$cross_compiling" = yes; then :
14631 ac_cv_c_gcc_strength_bug="no"
14632 else
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 int L[4] = {0,1,2,3};
14637 main ()
14639 static int Array[3];
14640 unsigned int B = 3;
14641 int i;
14642 for(i=0; i<B; i++) Array[i] = i - 3;
14643 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14644 L[i] = 4;
14645 return (Array[1] != -2 || L[2] != 3)
14647 return 0;
14649 _ACEOF
14650 if ac_fn_c_try_run "$LINENO"; then :
14651 ac_cv_c_gcc_strength_bug="no"
14652 else
14653 ac_cv_c_gcc_strength_bug="yes"
14655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14656 conftest.$ac_objext conftest.beam conftest.$ac_ext
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14661 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14662 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14663 then
14664 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14668 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14669 if ${ac_cv_cflags__fno_builtin+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_wine_try_cflags_saved=$CFLAGS
14673 CFLAGS="$CFLAGS -fno-builtin"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14676 int main(int argc, char **argv) { return 0; }
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_cflags__fno_builtin=yes
14680 else
14681 ac_cv_cflags__fno_builtin=no
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 CFLAGS=$ac_wine_try_cflags_saved
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14688 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14689 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14690 BUILTINFLAG="-fno-builtin"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14694 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14695 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 ac_wine_try_cflags_saved=$CFLAGS
14699 CFLAGS="$CFLAGS -fno-strict-aliasing"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702 int main(int argc, char **argv) { return 0; }
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 ac_cv_cflags__fno_strict_aliasing=yes
14706 else
14707 ac_cv_cflags__fno_strict_aliasing=no
14709 rm -f core conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14711 CFLAGS=$ac_wine_try_cflags_saved
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14714 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14715 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14716 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14719 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14720 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_wine_try_cflags_saved=$CFLAGS
14724 CFLAGS="$CFLAGS -fexcess-precision=standard"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 int main(int argc, char **argv) { return 0; }
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 ac_cv_cflags__fexcess_precision_standard=yes
14731 else
14732 ac_cv_cflags__fexcess_precision_standard=no
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 CFLAGS=$ac_wine_try_cflags_saved
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14739 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14740 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14741 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14744 saved_CFLAGS=$CFLAGS
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14746 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14747 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_wine_try_cflags_saved=$CFLAGS
14751 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_cflags__Werror_unknown_warning_option=yes
14758 else
14759 ac_cv_cflags__Werror_unknown_warning_option=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 CFLAGS=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14766 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14767 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14768 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14771 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14772 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14773 $as_echo_n "(cached) " >&6
14774 else
14775 ac_wine_try_cflags_saved=$CFLAGS
14776 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 int main(int argc, char **argv) { return 0; }
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_cflags__Wdeclaration_after_statement=yes
14783 else
14784 ac_cv_cflags__Wdeclaration_after_statement=no
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14788 CFLAGS=$ac_wine_try_cflags_saved
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14791 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14792 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14793 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14796 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14797 if ${ac_cv_cflags__Wempty_body+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_wine_try_cflags_saved=$CFLAGS
14801 CFLAGS="$CFLAGS -Wempty-body"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 int main(int argc, char **argv) { return 0; }
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"; then :
14807 ac_cv_cflags__Wempty_body=yes
14808 else
14809 ac_cv_cflags__Wempty_body=no
14811 rm -f core conftest.err conftest.$ac_objext \
14812 conftest$ac_exeext conftest.$ac_ext
14813 CFLAGS=$ac_wine_try_cflags_saved
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14816 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14817 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14818 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14821 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14822 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 ac_wine_try_cflags_saved=$CFLAGS
14826 CFLAGS="$CFLAGS -Wignored-qualifiers"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14829 int main(int argc, char **argv) { return 0; }
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_cflags__Wignored_qualifiers=yes
14833 else
14834 ac_cv_cflags__Wignored_qualifiers=no
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext conftest.$ac_ext
14838 CFLAGS=$ac_wine_try_cflags_saved
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14841 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14842 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14843 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14846 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14847 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 ac_wine_try_cflags_saved=$CFLAGS
14851 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 int main(int argc, char **argv) { return 0; }
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_cflags__Wpacked_not_aligned=yes
14858 else
14859 ac_cv_cflags__Wpacked_not_aligned=no
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14863 CFLAGS=$ac_wine_try_cflags_saved
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14866 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14867 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14868 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14871 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14872 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 ac_wine_try_cflags_saved=$CFLAGS
14876 CFLAGS="$CFLAGS -Wpragma-pack"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 int main(int argc, char **argv) { return 0; }
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_cflags__Wpragma_pack=yes
14883 else
14884 ac_cv_cflags__Wpragma_pack=no
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14888 CFLAGS=$ac_wine_try_cflags_saved
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14891 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14892 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14893 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14896 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14897 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14898 $as_echo_n "(cached) " >&6
14899 else
14900 ac_wine_try_cflags_saved=$CFLAGS
14901 CFLAGS="$CFLAGS -Wshift-overflow=2"
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14904 int main(int argc, char **argv) { return 0; }
14905 _ACEOF
14906 if ac_fn_c_try_link "$LINENO"; then :
14907 ac_cv_cflags__Wshift_overflow_2=yes
14908 else
14909 ac_cv_cflags__Wshift_overflow_2=no
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 CFLAGS=$ac_wine_try_cflags_saved
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14916 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14917 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14918 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14921 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14922 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 ac_wine_try_cflags_saved=$CFLAGS
14926 CFLAGS="$CFLAGS -Wstrict-prototypes"
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14929 int main(int argc, char **argv) { return 0; }
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 ac_cv_cflags__Wstrict_prototypes=yes
14933 else
14934 ac_cv_cflags__Wstrict_prototypes=no
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14938 CFLAGS=$ac_wine_try_cflags_saved
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14941 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14942 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14943 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14946 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14947 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 ac_wine_try_cflags_saved=$CFLAGS
14951 CFLAGS="$CFLAGS -Wtype-limits"
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 int main(int argc, char **argv) { return 0; }
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_cflags__Wtype_limits=yes
14958 else
14959 ac_cv_cflags__Wtype_limits=no
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14963 CFLAGS=$ac_wine_try_cflags_saved
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14966 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14967 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14968 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14971 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14972 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 ac_wine_try_cflags_saved=$CFLAGS
14976 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 int main(int argc, char **argv) { return 0; }
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 ac_cv_cflags__Wunused_but_set_parameter=yes
14983 else
14984 ac_cv_cflags__Wunused_but_set_parameter=no
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 CFLAGS=$ac_wine_try_cflags_saved
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14991 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14992 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14993 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14996 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14997 if ${ac_cv_cflags__Wvla+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 ac_wine_try_cflags_saved=$CFLAGS
15001 CFLAGS="$CFLAGS -Wvla"
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 int main(int argc, char **argv) { return 0; }
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 ac_cv_cflags__Wvla=yes
15008 else
15009 ac_cv_cflags__Wvla=no
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15013 CFLAGS=$ac_wine_try_cflags_saved
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15016 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15017 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15018 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15021 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15022 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_wine_try_cflags_saved=$CFLAGS
15026 CFLAGS="$CFLAGS -Wwrite-strings"
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 int main(int argc, char **argv) { return 0; }
15030 _ACEOF
15031 if ac_fn_c_try_link "$LINENO"; then :
15032 ac_cv_cflags__Wwrite_strings=yes
15033 else
15034 ac_cv_cflags__Wwrite_strings=no
15036 rm -f core conftest.err conftest.$ac_objext \
15037 conftest$ac_exeext conftest.$ac_ext
15038 CFLAGS=$ac_wine_try_cflags_saved
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15041 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15042 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15043 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15047 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15048 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 ac_wine_try_cflags_saved=$CFLAGS
15052 CFLAGS="$CFLAGS -Wpointer-arith"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 int main(int argc, char **argv) { return 0; }
15056 _ACEOF
15057 if ac_fn_c_try_link "$LINENO"; then :
15058 ac_cv_cflags__Wpointer_arith=yes
15059 else
15060 ac_cv_cflags__Wpointer_arith=no
15062 rm -f core conftest.err conftest.$ac_objext \
15063 conftest$ac_exeext conftest.$ac_ext
15064 CFLAGS=$ac_wine_try_cflags_saved
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15067 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15068 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15069 saved_string_h_CFLAGS=$CFLAGS
15070 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15072 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15073 if ${ac_cv_c_string_h_warnings+:} false; then :
15074 $as_echo_n "(cached) " >&6
15075 else
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15078 #include <string.h>
15080 main ()
15084 return 0;
15086 _ACEOF
15087 if ac_fn_c_try_compile "$LINENO"; then :
15088 ac_cv_c_string_h_warnings=no
15089 else
15090 ac_cv_c_string_h_warnings=yes
15092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15095 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15096 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15097 CFLAGS=$saved_string_h_CFLAGS
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15101 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15102 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15103 $as_echo_n "(cached) " >&6
15104 else
15105 ac_wine_try_cflags_saved=$CFLAGS
15106 CFLAGS="$CFLAGS -Wlogical-op"
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 int main(int argc, char **argv) { return 0; }
15110 _ACEOF
15111 if ac_fn_c_try_link "$LINENO"; then :
15112 ac_cv_cflags__Wlogical_op=yes
15113 else
15114 ac_cv_cflags__Wlogical_op=no
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118 CFLAGS=$ac_wine_try_cflags_saved
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15121 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15122 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15123 saved_string_h_CFLAGS=$CFLAGS
15124 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15126 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15127 if ${ac_cv_c_logicalop_noisy+:} false; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132 #include <string.h>
15133 char*f(const char *h,char n) {return strchr(h,n);}
15135 main ()
15139 return 0;
15141 _ACEOF
15142 if ac_fn_c_try_compile "$LINENO"; then :
15143 ac_cv_c_logicalop_noisy=no
15144 else
15145 ac_cv_c_logicalop_noisy=yes
15147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15150 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15151 CFLAGS=$saved_string_h_CFLAGS
15152 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15155 CFLAGS=$saved_CFLAGS
15157 for ac_flag in $CFLAGS; do
15158 case $ac_flag in
15159 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15160 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15161 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 ac_wine_try_cflags_saved=$CFLAGS
15165 CFLAGS="$CFLAGS -gdwarf-2"
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15168 int main(int argc, char **argv) { return 0; }
15169 _ACEOF
15170 if ac_fn_c_try_link "$LINENO"; then :
15171 ac_cv_cflags__gdwarf_2=yes
15172 else
15173 ac_cv_cflags__gdwarf_2=no
15175 rm -f core conftest.err conftest.$ac_objext \
15176 conftest$ac_exeext conftest.$ac_ext
15177 CFLAGS=$ac_wine_try_cflags_saved
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15180 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15181 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15182 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15185 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15186 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15187 $as_echo_n "(cached) " >&6
15188 else
15189 ac_wine_try_cflags_saved=$CFLAGS
15190 CFLAGS="$CFLAGS -gstrict-dwarf"
15191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15193 int main(int argc, char **argv) { return 0; }
15194 _ACEOF
15195 if ac_fn_c_try_link "$LINENO"; then :
15196 ac_cv_cflags__gstrict_dwarf=yes
15197 else
15198 ac_cv_cflags__gstrict_dwarf=no
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 CFLAGS=$ac_wine_try_cflags_saved
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15205 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15206 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15207 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15208 fi ;;
15209 esac
15210 done
15212 case $host_cpu in
15213 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15214 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15215 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15218 ac_wine_try_cflags_saved=$CFLAGS
15219 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222 int main(int argc, char **argv) { return 0; }
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 ac_cv_cflags__fno_omit_frame_pointer=yes
15226 else
15227 ac_cv_cflags__fno_omit_frame_pointer=no
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext conftest.$ac_ext
15231 CFLAGS=$ac_wine_try_cflags_saved
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15234 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15235 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15236 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15237 fi ;;
15238 esac
15240 case $host in
15241 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15242 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15243 if ${ac_cv_cflags__Wno_format+:} false; then :
15244 $as_echo_n "(cached) " >&6
15245 else
15246 ac_wine_try_cflags_saved=$CFLAGS
15247 CFLAGS="$CFLAGS -Wno-format"
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15250 int main(int argc, char **argv) { return 0; }
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 ac_cv_cflags__Wno_format=yes
15254 else
15255 ac_cv_cflags__Wno_format=no
15257 rm -f core conftest.err conftest.$ac_objext \
15258 conftest$ac_exeext conftest.$ac_ext
15259 CFLAGS=$ac_wine_try_cflags_saved
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15262 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15263 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15264 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15265 fi ;;
15266 esac
15268 if test "x$enable_maintainer_mode" = "xyes"
15269 then
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15271 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15272 if ${ac_cv_cflags__Werror+:} false; then :
15273 $as_echo_n "(cached) " >&6
15274 else
15275 ac_wine_try_cflags_saved=$CFLAGS
15276 CFLAGS="$CFLAGS -Werror"
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15279 int main(int argc, char **argv) { return 0; }
15280 _ACEOF
15281 if ac_fn_c_try_link "$LINENO"; then :
15282 ac_cv_cflags__Werror=yes
15283 else
15284 ac_cv_cflags__Werror=no
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext conftest.$ac_ext
15288 CFLAGS=$ac_wine_try_cflags_saved
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15291 $as_echo "$ac_cv_cflags__Werror" >&6; }
15292 if test "x$ac_cv_cflags__Werror" = xyes; then :
15293 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15297 saved_CFLAGS="$CFLAGS"
15298 CFLAGS="$CFLAGS -Werror"
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15300 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15301 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15302 $as_echo_n "(cached) " >&6
15303 else
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15308 main ()
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_compile "$LINENO"; then :
15316 ac_cv_have_ms_hook_prologue="yes"
15317 else
15318 ac_cv_have_ms_hook_prologue="no"
15320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15323 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15324 CFLAGS="$saved_CFLAGS"
15325 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15326 then
15328 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15330 else
15331 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15338 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15339 if ${ac_cv_c_fortify_enabled+:} false; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15344 #include <string.h>
15346 main ()
15348 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15349 #error Fortify enabled
15350 #endif
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_compile "$LINENO"; then :
15356 ac_cv_c_fortify_enabled=no
15357 else
15358 ac_cv_c_fortify_enabled=yes
15360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15363 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15364 if test "$ac_cv_c_fortify_enabled" = yes
15365 then
15366 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15371 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15372 if ${ac_cv_c_extern_prefix+:} false; then :
15373 $as_echo_n "(cached) " >&6
15374 else
15375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15377 extern int ac_test;
15379 main ()
15381 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15383 return 0;
15385 _ACEOF
15386 if ac_fn_c_try_link "$LINENO"; then :
15387 ac_cv_c_extern_prefix="yes"
15388 else
15389 ac_cv_c_extern_prefix="no"
15391 rm -f core conftest.err conftest.$ac_objext \
15392 conftest$ac_exeext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15395 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15397 case $host_cpu in
15398 *i[3456789]86*)
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15400 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15401 if ${ac_cv_c_stdcall_suffix+:} false; then :
15402 $as_echo_n "(cached) " >&6
15403 else
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15406 #ifndef _MSC_VER
15407 #define __stdcall __attribute__((__stdcall__))
15408 #endif
15409 int __stdcall ac_test(int i) { return i; }
15411 main ()
15413 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 ac_cv_c_stdcall_suffix="yes"
15420 else
15421 ac_cv_c_stdcall_suffix="no"
15423 rm -f core conftest.err conftest.$ac_objext \
15424 conftest$ac_exeext conftest.$ac_ext
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15427 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15428 *) ac_cv_c_stdcall_suffix="no" ;;
15429 esac
15432 if test "$ac_cv_c_extern_prefix" = "yes"
15433 then
15434 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15436 asm_name_prefix="_"
15437 else
15438 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15440 asm_name_prefix=""
15444 if test "$ac_cv_c_stdcall_suffix" = "yes"
15445 then
15446 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15448 else
15449 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15455 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15456 if ${ac_cv_asm_func_def+:} false; then :
15457 $as_echo_n "(cached) " >&6
15458 else
15459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15460 /* end confdefs.h. */
15463 main ()
15465 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15467 return 0;
15469 _ACEOF
15470 if ac_fn_c_try_link "$LINENO"; then :
15471 ac_cv_asm_func_def=".def"
15472 else
15473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15477 main ()
15479 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15481 return 0;
15483 _ACEOF
15484 if ac_fn_c_try_link "$LINENO"; then :
15485 ac_cv_asm_func_def=".type @function"
15486 else
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15491 main ()
15493 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15495 return 0;
15497 _ACEOF
15498 if ac_fn_c_try_link "$LINENO"; then :
15499 ac_cv_asm_func_def=".type 2"
15500 else
15501 ac_cv_asm_func_def="unknown"
15503 rm -f core conftest.err conftest.$ac_objext \
15504 conftest$ac_exeext conftest.$ac_ext
15506 rm -f core conftest.err conftest.$ac_objext \
15507 conftest$ac_exeext conftest.$ac_ext
15509 rm -f core conftest.err conftest.$ac_objext \
15510 conftest$ac_exeext conftest.$ac_ext
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15513 $as_echo "$ac_cv_asm_func_def" >&6; }
15516 case "$ac_cv_asm_func_def" in
15517 ".def")
15518 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15520 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15521 ".type @function")
15522 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15524 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15525 ".type 2")
15526 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15528 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15530 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15532 asm_func_header="" ;;
15533 esac
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15536 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15537 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15538 $as_echo_n "(cached) " >&6
15539 else
15540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15541 /* end confdefs.h. */
15542 asm(".text\n\t.long 0");
15544 main ()
15548 return 0;
15550 _ACEOF
15551 if ac_fn_c_try_compile "$LINENO"; then :
15552 ac_cv_c_asm_outside_funcs="yes"
15553 else
15554 ac_cv_c_asm_outside_funcs="no"
15556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15559 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15562 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15563 if ${ac_cv_c_dot_previous+:} false; then :
15564 $as_echo_n "(cached) " >&6
15565 else
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15570 main ()
15572 asm(".text\nac_test:\t.long 0\n\t.previous");
15574 return 0;
15576 _ACEOF
15577 if ac_fn_c_try_link "$LINENO"; then :
15578 ac_cv_c_dot_previous="yes"
15579 else
15580 ac_cv_c_dot_previous="no"
15582 rm -f core conftest.err conftest.$ac_objext \
15583 conftest$ac_exeext conftest.$ac_ext
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15586 $as_echo "$ac_cv_c_dot_previous" >&6; }
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15589 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15590 if ${ac_cv_c_cfi_support+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15595 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15597 main ()
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_compile "$LINENO"; then :
15605 ac_cv_c_cfi_support="yes"
15606 else
15607 ac_cv_c_cfi_support="no"
15609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15612 $as_echo "$ac_cv_c_cfi_support" >&6; }
15614 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15615 asm_func_trailer=""
15616 if test "$ac_cv_c_dot_previous" = "yes"
15617 then
15618 asm_func_trailer="\\n\\t.previous"
15620 if test "$ac_cv_c_cfi_support" = "yes"
15621 then
15622 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15623 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15625 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15627 UNWINDFLAGS=-fasynchronous-unwind-tables
15629 else
15630 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15632 if test "x$enable_win64" = "xyes"
15633 then
15634 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15638 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15641 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15642 then
15643 cat >>confdefs.h <<_ACEOF
15644 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15645 _ACEOF
15647 else
15648 cat >>confdefs.h <<_ACEOF
15649 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15650 _ACEOF
15654 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15657 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15661 case $build_os in
15662 cygwin*|mingw32*) TOOLSEXT=".exe"
15664 esac
15666 case $host_os in
15667 linux*)
15668 case $host_cpu in
15669 *i[3456789]86*|x86_64*|*aarch64*)
15670 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15671 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15673 esac
15675 esac
15678 ac_save_CFLAGS="$CFLAGS"
15679 CFLAGS="$CFLAGS $BUILTINFLAG"
15680 for ac_func in \
15681 __res_get_state \
15682 __res_getservers \
15683 _finite \
15684 _isnan \
15685 _pclose \
15686 _popen \
15687 _snprintf \
15688 _spawnvp \
15689 _strdup \
15690 _stricmp \
15691 _strnicmp \
15692 _strtoi64 \
15693 _strtoui64 \
15694 _vsnprintf \
15695 asctime_r \
15696 chsize \
15697 dlopen \
15698 epoll_create \
15699 ffs \
15700 finitef \
15701 fnmatch \
15702 fork \
15703 fpclass \
15704 fstatfs \
15705 fstatvfs \
15706 ftruncate \
15707 futimens \
15708 futimes \
15709 futimesat \
15710 getattrlist \
15711 getauxval \
15712 getifaddrs \
15713 getopt_long_only \
15714 getpwuid \
15715 gettimeofday \
15716 getuid \
15717 isnanf \
15718 kqueue \
15719 lstat \
15720 memmove \
15721 mmap \
15722 pclose \
15723 pipe2 \
15724 poll \
15725 popen \
15726 port_create \
15727 prctl \
15728 pread \
15729 proc_pidinfo \
15730 pwrite \
15731 readdir \
15732 readlink \
15733 sched_yield \
15734 select \
15735 setproctitle \
15736 setprogname \
15737 setrlimit \
15738 settimeofday \
15739 sigaltstack \
15740 sigprocmask \
15741 snprintf \
15742 statfs \
15743 statvfs \
15744 strcasecmp \
15745 strdup \
15746 strerror \
15747 strncasecmp \
15748 strnlen \
15749 strtold \
15750 strtoll \
15751 strtoull \
15752 symlink \
15753 sysinfo \
15754 tcdrain \
15755 thr_kill2 \
15756 timegm \
15757 usleep \
15758 vsnprintf
15760 do :
15761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15763 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15766 _ACEOF
15769 done
15771 CFLAGS="$ac_save_CFLAGS"
15773 if test "$ac_cv_func_dlopen" = no
15774 then
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15777 if ${ac_cv_lib_dl_dlopen+:} false; then :
15778 $as_echo_n "(cached) " >&6
15779 else
15780 ac_check_lib_save_LIBS=$LIBS
15781 LIBS="-ldl $LIBS"
15782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783 /* end confdefs.h. */
15785 /* Override any GCC internal prototype to avoid an error.
15786 Use char because int might match the return type of a GCC
15787 builtin and then its argument prototype would still apply. */
15788 #ifdef __cplusplus
15789 extern "C"
15790 #endif
15791 char dlopen ();
15793 main ()
15795 return dlopen ();
15797 return 0;
15799 _ACEOF
15800 if ac_fn_c_try_link "$LINENO"; then :
15801 ac_cv_lib_dl_dlopen=yes
15802 else
15803 ac_cv_lib_dl_dlopen=no
15805 rm -f core conftest.err conftest.$ac_objext \
15806 conftest$ac_exeext conftest.$ac_ext
15807 LIBS=$ac_check_lib_save_LIBS
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15811 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15812 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15813 DL_LIBS="-ldl"
15818 ac_wine_check_funcs_save_LIBS="$LIBS"
15819 LIBS="$LIBS $DL_LIBS"
15820 for ac_func in dladdr
15821 do :
15822 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15823 if test "x$ac_cv_func_dladdr" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_DLADDR 1
15826 _ACEOF
15829 done
15831 LIBS="$ac_wine_check_funcs_save_LIBS"
15833 if test "$ac_cv_func_poll" = no
15834 then
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15836 $as_echo_n "checking for poll in -lpoll... " >&6; }
15837 if ${ac_cv_lib_poll_poll+:} false; then :
15838 $as_echo_n "(cached) " >&6
15839 else
15840 ac_check_lib_save_LIBS=$LIBS
15841 LIBS="-lpoll $LIBS"
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15845 /* Override any GCC internal prototype to avoid an error.
15846 Use char because int might match the return type of a GCC
15847 builtin and then its argument prototype would still apply. */
15848 #ifdef __cplusplus
15849 extern "C"
15850 #endif
15851 char poll ();
15853 main ()
15855 return poll ();
15857 return 0;
15859 _ACEOF
15860 if ac_fn_c_try_link "$LINENO"; then :
15861 ac_cv_lib_poll_poll=yes
15862 else
15863 ac_cv_lib_poll_poll=no
15865 rm -f core conftest.err conftest.$ac_objext \
15866 conftest$ac_exeext conftest.$ac_ext
15867 LIBS=$ac_check_lib_save_LIBS
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15870 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15871 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15872 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15873 POLL_LIBS="-lpoll"
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15880 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15881 if ${ac_cv_search_gethostbyname+:} false; then :
15882 $as_echo_n "(cached) " >&6
15883 else
15884 ac_func_search_save_LIBS=$LIBS
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15888 /* Override any GCC internal prototype to avoid an error.
15889 Use char because int might match the return type of a GCC
15890 builtin and then its argument prototype would still apply. */
15891 #ifdef __cplusplus
15892 extern "C"
15893 #endif
15894 char gethostbyname ();
15896 main ()
15898 return gethostbyname ();
15900 return 0;
15902 _ACEOF
15903 for ac_lib in '' nsl; do
15904 if test -z "$ac_lib"; then
15905 ac_res="none required"
15906 else
15907 ac_res=-l$ac_lib
15908 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15910 if ac_fn_c_try_link "$LINENO"; then :
15911 ac_cv_search_gethostbyname=$ac_res
15913 rm -f core conftest.err conftest.$ac_objext \
15914 conftest$ac_exeext
15915 if ${ac_cv_search_gethostbyname+:} false; then :
15916 break
15918 done
15919 if ${ac_cv_search_gethostbyname+:} false; then :
15921 else
15922 ac_cv_search_gethostbyname=no
15924 rm conftest.$ac_ext
15925 LIBS=$ac_func_search_save_LIBS
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15928 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15929 ac_res=$ac_cv_search_gethostbyname
15930 if test "$ac_res" != no; then :
15931 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15937 $as_echo_n "checking for library containing connect... " >&6; }
15938 if ${ac_cv_search_connect+:} false; then :
15939 $as_echo_n "(cached) " >&6
15940 else
15941 ac_func_search_save_LIBS=$LIBS
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15945 /* Override any GCC internal prototype to avoid an error.
15946 Use char because int might match the return type of a GCC
15947 builtin and then its argument prototype would still apply. */
15948 #ifdef __cplusplus
15949 extern "C"
15950 #endif
15951 char connect ();
15953 main ()
15955 return connect ();
15957 return 0;
15959 _ACEOF
15960 for ac_lib in '' socket; do
15961 if test -z "$ac_lib"; then
15962 ac_res="none required"
15963 else
15964 ac_res=-l$ac_lib
15965 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15967 if ac_fn_c_try_link "$LINENO"; then :
15968 ac_cv_search_connect=$ac_res
15970 rm -f core conftest.err conftest.$ac_objext \
15971 conftest$ac_exeext
15972 if ${ac_cv_search_connect+:} false; then :
15973 break
15975 done
15976 if ${ac_cv_search_connect+:} false; then :
15978 else
15979 ac_cv_search_connect=no
15981 rm conftest.$ac_ext
15982 LIBS=$ac_func_search_save_LIBS
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15985 $as_echo "$ac_cv_search_connect" >&6; }
15986 ac_res=$ac_cv_search_connect
15987 if test "$ac_res" != no; then :
15988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15994 $as_echo_n "checking for library containing inet_aton... " >&6; }
15995 if ${ac_cv_search_inet_aton+:} false; then :
15996 $as_echo_n "(cached) " >&6
15997 else
15998 ac_func_search_save_LIBS=$LIBS
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16005 #ifdef __cplusplus
16006 extern "C"
16007 #endif
16008 char inet_aton ();
16010 main ()
16012 return inet_aton ();
16014 return 0;
16016 _ACEOF
16017 for ac_lib in '' resolv; do
16018 if test -z "$ac_lib"; then
16019 ac_res="none required"
16020 else
16021 ac_res=-l$ac_lib
16022 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16024 if ac_fn_c_try_link "$LINENO"; then :
16025 ac_cv_search_inet_aton=$ac_res
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext
16029 if ${ac_cv_search_inet_aton+:} false; then :
16030 break
16032 done
16033 if ${ac_cv_search_inet_aton+:} false; then :
16035 else
16036 ac_cv_search_inet_aton=no
16038 rm conftest.$ac_ext
16039 LIBS=$ac_func_search_save_LIBS
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16042 $as_echo "$ac_cv_search_inet_aton" >&6; }
16043 ac_res=$ac_cv_search_inet_aton
16044 if test "$ac_res" != no; then :
16045 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16050 for ac_func in \
16051 getaddrinfo \
16052 getnameinfo \
16053 getnetbyname \
16054 getprotobyname \
16055 getprotobynumber \
16056 getservbyport \
16057 inet_addr \
16058 inet_network \
16059 inet_ntop \
16060 inet_pton \
16061 sendmsg \
16062 socketpair \
16064 do :
16065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16068 cat >>confdefs.h <<_ACEOF
16069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16070 _ACEOF
16073 done
16076 ac_save_LIBS=$LIBS
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16078 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16079 if ${ac_cv_search_clock_gettime+:} false; then :
16080 $as_echo_n "(cached) " >&6
16081 else
16082 ac_func_search_save_LIBS=$LIBS
16083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16084 /* end confdefs.h. */
16086 /* Override any GCC internal prototype to avoid an error.
16087 Use char because int might match the return type of a GCC
16088 builtin and then its argument prototype would still apply. */
16089 #ifdef __cplusplus
16090 extern "C"
16091 #endif
16092 char clock_gettime ();
16094 main ()
16096 return clock_gettime ();
16098 return 0;
16100 _ACEOF
16101 for ac_lib in '' rt; do
16102 if test -z "$ac_lib"; then
16103 ac_res="none required"
16104 else
16105 ac_res=-l$ac_lib
16106 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16108 if ac_fn_c_try_link "$LINENO"; then :
16109 ac_cv_search_clock_gettime=$ac_res
16111 rm -f core conftest.err conftest.$ac_objext \
16112 conftest$ac_exeext
16113 if ${ac_cv_search_clock_gettime+:} false; then :
16114 break
16116 done
16117 if ${ac_cv_search_clock_gettime+:} false; then :
16119 else
16120 ac_cv_search_clock_gettime=no
16122 rm conftest.$ac_ext
16123 LIBS=$ac_func_search_save_LIBS
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16126 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16127 ac_res=$ac_cv_search_clock_gettime
16128 if test "$ac_res" != no; then :
16129 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16131 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16133 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16137 LIBS=$ac_save_LIBS
16139 if test "x$with_ldap" != "xno"
16140 then
16141 if ${LDAP_CFLAGS:+false} :; then :
16142 if ${PKG_CONFIG+:} false; then :
16143 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16147 if ${LDAP_LIBS:+false} :; then :
16148 if ${PKG_CONFIG+:} false; then :
16149 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16153 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16154 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16155 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16156 ac_save_CPPFLAGS=$CPPFLAGS
16157 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16158 for ac_header in ldap.h lber.h
16159 do :
16160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16161 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16165 _ACEOF
16169 done
16171 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16172 then
16173 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16175 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16177 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16178 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16179 $as_echo_n "(cached) " >&6
16180 else
16181 ac_check_lib_save_LIBS=$LIBS
16182 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16184 /* end confdefs.h. */
16186 /* Override any GCC internal prototype to avoid an error.
16187 Use char because int might match the return type of a GCC
16188 builtin and then its argument prototype would still apply. */
16189 #ifdef __cplusplus
16190 extern "C"
16191 #endif
16192 char ldap_initialize ();
16194 main ()
16196 return ldap_initialize ();
16198 return 0;
16200 _ACEOF
16201 if ac_fn_c_try_link "$LINENO"; then :
16202 ac_cv_lib_ldap_r_ldap_initialize=yes
16203 else
16204 ac_cv_lib_ldap_r_ldap_initialize=no
16206 rm -f core conftest.err conftest.$ac_objext \
16207 conftest$ac_exeext conftest.$ac_ext
16208 LIBS=$ac_check_lib_save_LIBS
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16211 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16212 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16214 $as_echo_n "checking for ber_init in -llber... " >&6; }
16215 if ${ac_cv_lib_lber_ber_init+:} false; then :
16216 $as_echo_n "(cached) " >&6
16217 else
16218 ac_check_lib_save_LIBS=$LIBS
16219 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16226 #ifdef __cplusplus
16227 extern "C"
16228 #endif
16229 char ber_init ();
16231 main ()
16233 return ber_init ();
16235 return 0;
16237 _ACEOF
16238 if ac_fn_c_try_link "$LINENO"; then :
16239 ac_cv_lib_lber_ber_init=yes
16240 else
16241 ac_cv_lib_lber_ber_init=no
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16245 LIBS=$ac_check_lib_save_LIBS
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16248 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16249 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16251 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16253 else
16254 LDAP_LIBS=""
16257 else
16258 LDAP_LIBS=""
16261 else
16262 LDAP_LIBS=""
16265 ac_wine_check_funcs_save_LIBS="$LIBS"
16266 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16267 for ac_func in \
16268 ldap_count_references \
16269 ldap_first_reference \
16270 ldap_next_reference \
16271 ldap_parse_reference \
16272 ldap_parse_sort_control \
16273 ldap_parse_sortresponse_control \
16274 ldap_parse_vlv_control \
16275 ldap_parse_vlvresponse_control
16276 do :
16277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16278 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16279 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16282 _ACEOF
16285 done
16287 LIBS="$ac_wine_check_funcs_save_LIBS"
16288 else
16289 LDAP_LIBS=""
16291 CPPFLAGS=$ac_save_CPPFLAGS
16292 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16293 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16296 if test "x$LDAP_LIBS" = "x"; then :
16297 case "x$with_ldap" in
16298 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16299 xno) ;;
16300 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16301 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16302 esac
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16307 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16308 if ${wine_cv_one_arg_mkdir+:} false; then :
16309 $as_echo_n "(cached) " >&6
16310 else
16311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16313 #include <sys/stat.h>
16315 main ()
16317 mkdir("foo");
16319 return 0;
16321 _ACEOF
16322 if ac_fn_c_try_compile "$LINENO"; then :
16323 wine_cv_one_arg_mkdir=yes
16324 else
16325 wine_cv_one_arg_mkdir=no
16327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16330 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16331 if test "$wine_cv_one_arg_mkdir" = "yes"
16332 then
16334 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16339 $as_echo_n "checking for sched_setaffinity... " >&6; }
16340 if ${wine_cv_have_sched_setaffinity+:} false; then :
16341 $as_echo_n "(cached) " >&6
16342 else
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 #define _GNU_SOURCE
16346 #include <sched.h>
16348 main ()
16350 sched_setaffinity(0, 0, 0);
16352 return 0;
16354 _ACEOF
16355 if ac_fn_c_try_link "$LINENO"; then :
16356 wine_cv_have_sched_setaffinity=yes
16357 else
16358 wine_cv_have_sched_setaffinity=no
16360 rm -f core conftest.err conftest.$ac_objext \
16361 conftest$ac_exeext conftest.$ac_ext
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16364 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16365 if test "$wine_cv_have_sched_setaffinity" = "yes"
16366 then
16368 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16373 $as_echo_n "checking for fallocate... " >&6; }
16374 if ${wine_cv_have_fallocate+:} false; then :
16375 $as_echo_n "(cached) " >&6
16376 else
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16379 #define _GNU_SOURCE
16380 #include <fcntl.h>
16382 main ()
16384 fallocate(-1, 0, 0, 0);
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_link "$LINENO"; then :
16390 wine_cv_have_fallocate=yes
16391 else
16392 wine_cv_have_fallocate=no
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16398 $as_echo "$wine_cv_have_fallocate" >&6; }
16399 if test "$wine_cv_have_fallocate" = "yes"
16400 then
16402 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16408 $as_echo_n "checking for inline... " >&6; }
16409 if ${ac_cv_c_inline+:} false; then :
16410 $as_echo_n "(cached) " >&6
16411 else
16412 ac_cv_c_inline=no
16413 for ac_kw in inline __inline__ __inline; do
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #ifndef __cplusplus
16417 typedef int foo_t;
16418 static $ac_kw foo_t static_foo () {return 0; }
16419 $ac_kw foo_t foo () {return 0; }
16420 #endif
16422 _ACEOF
16423 if ac_fn_c_try_compile "$LINENO"; then :
16424 ac_cv_c_inline=$ac_kw
16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16427 test "$ac_cv_c_inline" != no && break
16428 done
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16432 $as_echo "$ac_cv_c_inline" >&6; }
16434 case $ac_cv_c_inline in
16435 inline | yes) ;;
16437 case $ac_cv_c_inline in
16438 no) ac_val=;;
16439 *) ac_val=$ac_cv_c_inline;;
16440 esac
16441 cat >>confdefs.h <<_ACEOF
16442 #ifndef __cplusplus
16443 #define inline $ac_val
16444 #endif
16445 _ACEOF
16447 esac
16449 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16450 if test "x$ac_cv_type_mode_t" = xyes; then :
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_MODE_T 1
16454 _ACEOF
16458 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16459 if test "x$ac_cv_type_off_t" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_OFF_T 1
16463 _ACEOF
16467 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16468 if test "x$ac_cv_type_pid_t" = xyes; then :
16470 cat >>confdefs.h <<_ACEOF
16471 #define HAVE_PID_T 1
16472 _ACEOF
16476 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16477 if test "x$ac_cv_type_size_t" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_SIZE_T 1
16481 _ACEOF
16485 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16486 if test "x$ac_cv_type_ssize_t" = xyes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_SSIZE_T 1
16490 _ACEOF
16494 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16495 if test "x$ac_cv_type_long_long" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_LONG_LONG 1
16499 _ACEOF
16503 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16504 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_FSBLKCNT_T 1
16508 _ACEOF
16512 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16513 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_FSFILCNT_T 1
16517 _ACEOF
16522 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16523 #include <signal.h>
16525 if test "x$ac_cv_type_sigset_t" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_SIGSET_T 1
16529 _ACEOF
16534 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16536 if test "x$ac_cv_type_request_sense" = xyes; then :
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_REQUEST_SENSE 1
16540 _ACEOF
16546 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16547 #ifdef HAVE_SYS_SOCKET_H
16548 #include <sys/socket.h>
16549 #endif
16550 #ifdef HAVE_SYS_SOCKETVAR_H
16551 #include <sys/socketvar.h>
16552 #endif
16553 #ifdef HAVE_NET_ROUTE_H
16554 #include <net/route.h>
16555 #endif
16556 #ifdef HAVE_NETINET_IN_H
16557 #include <netinet/in.h>
16558 #endif
16559 #ifdef HAVE_NETINET_IN_SYSTM_H
16560 #include <netinet/in_systm.h>
16561 #endif
16562 #ifdef HAVE_NETINET_IP_H
16563 #include <netinet/ip.h>
16564 #endif
16565 #ifdef HAVE_NETINET_IN_PCB_H
16566 #include <netinet/in_pcb.h>
16567 #endif
16569 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16571 cat >>confdefs.h <<_ACEOF
16572 #define HAVE_STRUCT_XINPGEN 1
16573 _ACEOF
16579 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16580 #include <link.h>
16581 #endif
16582 #ifdef HAVE_SYS_LINK_H
16583 #include <sys/link.h>
16584 #endif
16586 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_R_DEBUG 1
16590 _ACEOF
16594 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16595 #include <link.h>
16596 #endif
16597 #ifdef HAVE_SYS_LINK_H
16598 #include <sys/link.h>
16599 #endif
16601 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_LINK_MAP 1
16605 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16612 #include <linux/input.h>
16613 #endif
16615 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16619 _ACEOF
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16626 $as_echo_n "checking for if_nameindex... " >&6; }
16627 if ${wine_cv_have_if_nameindex+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 #ifdef HAVE_SYS_TYPES_H
16633 #include <sys/types.h>
16634 #endif
16635 #ifdef HAVE_SYS_SOCKET_H
16636 #include <sys/socket.h>
16637 #endif
16638 #ifdef HAVE_NET_IF_H
16639 # include <net/if.h>
16640 #endif
16642 main ()
16644 struct if_nameindex *p = if_nameindex(); return p->if_index;
16646 return 0;
16648 _ACEOF
16649 if ac_fn_c_try_link "$LINENO"; then :
16650 wine_cv_have_if_nameindex=yes
16651 else
16652 wine_cv_have_if_nameindex=no
16654 rm -f core conftest.err conftest.$ac_objext \
16655 conftest$ac_exeext conftest.$ac_ext
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16658 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16659 if test "$wine_cv_have_if_nameindex" = "yes"
16660 then
16662 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16667 $as_echo_n "checking for sigaddset... " >&6; }
16668 if ${wine_cv_have_sigaddset+:} false; then :
16669 $as_echo_n "(cached) " >&6
16670 else
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16673 #include <signal.h>
16675 main ()
16677 sigset_t set; sigaddset(&set,SIGTERM);
16679 return 0;
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"; then :
16683 wine_cv_have_sigaddset=yes
16684 else
16685 wine_cv_have_sigaddset=no
16687 rm -f core conftest.err conftest.$ac_objext \
16688 conftest$ac_exeext conftest.$ac_ext
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16691 $as_echo "$wine_cv_have_sigaddset" >&6; }
16692 if test "$wine_cv_have_sigaddset" = "yes"
16693 then
16695 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16701 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16702 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 #include <netdb.h>
16709 main ()
16712 char *name=0;
16713 struct hostent he;
16714 struct hostent *result;
16715 char *buf=0;
16716 int bufsize=0;
16717 int errnr;
16718 char *addr=0;
16719 int addrlen=0;
16720 int addrtype=0;
16721 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16722 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16725 return 0;
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"; then :
16729 wine_cv_linux_gethostbyname_r_6=yes
16730 else
16731 wine_cv_linux_gethostbyname_r_6=no
16734 rm -f core conftest.err conftest.$ac_objext \
16735 conftest$ac_exeext conftest.$ac_ext
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16739 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16740 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16741 then
16743 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16747 if test "$ac_cv_header_linux_joystick_h" = "yes"
16748 then
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16750 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16751 if ${wine_cv_linux_joystick_22_api+:} false; then :
16752 $as_echo_n "(cached) " >&6
16753 else
16754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16755 /* end confdefs.h. */
16757 #include <sys/ioctl.h>
16758 #include <sys/types.h>
16759 #include <linux/joystick.h>
16761 struct js_event blub;
16762 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16763 #error "no 2.2 header"
16764 #endif
16767 main ()
16769 /*empty*/
16771 return 0;
16773 _ACEOF
16774 if ac_fn_c_try_compile "$LINENO"; then :
16775 wine_cv_linux_joystick_22_api=yes
16776 else
16777 wine_cv_linux_joystick_22_api=no
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16783 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16784 if test "$wine_cv_linux_joystick_22_api" = "yes"
16785 then
16787 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16793 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16794 #ifdef HAVE_SYS_PARAM_H
16795 # include <sys/param.h>
16796 #endif
16797 #ifdef HAVE_SYS_MOUNT_H
16798 # include <sys/mount.h>
16799 #endif
16800 #ifdef HAVE_SYS_VFS_H
16801 # include <sys/vfs.h>
16802 #endif
16803 #ifdef HAVE_SYS_STATFS_H
16804 # include <sys/statfs.h>
16805 #endif
16807 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16809 cat >>confdefs.h <<_ACEOF
16810 #define HAVE_STRUCT_STATFS_F_BFREE 1
16811 _ACEOF
16815 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16816 #ifdef HAVE_SYS_PARAM_H
16817 # include <sys/param.h>
16818 #endif
16819 #ifdef HAVE_SYS_MOUNT_H
16820 # include <sys/mount.h>
16821 #endif
16822 #ifdef HAVE_SYS_VFS_H
16823 # include <sys/vfs.h>
16824 #endif
16825 #ifdef HAVE_SYS_STATFS_H
16826 # include <sys/statfs.h>
16827 #endif
16829 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16831 cat >>confdefs.h <<_ACEOF
16832 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16833 _ACEOF
16837 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16838 #ifdef HAVE_SYS_PARAM_H
16839 # include <sys/param.h>
16840 #endif
16841 #ifdef HAVE_SYS_MOUNT_H
16842 # include <sys/mount.h>
16843 #endif
16844 #ifdef HAVE_SYS_VFS_H
16845 # include <sys/vfs.h>
16846 #endif
16847 #ifdef HAVE_SYS_STATFS_H
16848 # include <sys/statfs.h>
16849 #endif
16851 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16855 _ACEOF
16859 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16860 #ifdef HAVE_SYS_PARAM_H
16861 # include <sys/param.h>
16862 #endif
16863 #ifdef HAVE_SYS_MOUNT_H
16864 # include <sys/mount.h>
16865 #endif
16866 #ifdef HAVE_SYS_VFS_H
16867 # include <sys/vfs.h>
16868 #endif
16869 #ifdef HAVE_SYS_STATFS_H
16870 # include <sys/statfs.h>
16871 #endif
16873 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16875 cat >>confdefs.h <<_ACEOF
16876 #define HAVE_STRUCT_STATFS_F_FFREE 1
16877 _ACEOF
16881 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16882 #ifdef HAVE_SYS_PARAM_H
16883 # include <sys/param.h>
16884 #endif
16885 #ifdef HAVE_SYS_MOUNT_H
16886 # include <sys/mount.h>
16887 #endif
16888 #ifdef HAVE_SYS_VFS_H
16889 # include <sys/vfs.h>
16890 #endif
16891 #ifdef HAVE_SYS_STATFS_H
16892 # include <sys/statfs.h>
16893 #endif
16895 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16899 _ACEOF
16903 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16904 #ifdef HAVE_SYS_PARAM_H
16905 # include <sys/param.h>
16906 #endif
16907 #ifdef HAVE_SYS_MOUNT_H
16908 # include <sys/mount.h>
16909 #endif
16910 #ifdef HAVE_SYS_VFS_H
16911 # include <sys/vfs.h>
16912 #endif
16913 #ifdef HAVE_SYS_STATFS_H
16914 # include <sys/statfs.h>
16915 #endif
16917 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16919 cat >>confdefs.h <<_ACEOF
16920 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16921 _ACEOF
16927 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16928 #include <sys/statvfs.h>
16929 #endif
16931 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16935 _ACEOF
16941 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16942 #include <dirent.h>
16943 #endif
16945 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16947 cat >>confdefs.h <<_ACEOF
16948 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16949 _ACEOF
16955 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16956 #ifdef HAVE_SYS_SOCKET_H
16957 # include <sys/socket.h>
16958 #endif
16959 #ifdef HAVE_SYS_UN_H
16960 # include <sys/un.h>
16961 #endif
16963 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16965 cat >>confdefs.h <<_ACEOF
16966 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16967 _ACEOF
16971 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16972 #ifdef HAVE_SYS_SOCKET_H
16973 # include <sys/socket.h>
16974 #endif
16975 #ifdef HAVE_SYS_UN_H
16976 # include <sys/un.h>
16977 #endif
16979 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16981 cat >>confdefs.h <<_ACEOF
16982 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16983 _ACEOF
16987 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16988 #ifdef HAVE_SYS_SOCKET_H
16989 # include <sys/socket.h>
16990 #endif
16991 #ifdef HAVE_SYS_UN_H
16992 # include <sys/un.h>
16993 #endif
16995 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16999 _ACEOF
17005 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17006 #ifdef HAVE_SCSI_SG_H
17007 #include <scsi/sg.h>
17008 #endif
17010 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_SCSIREQ_T_CMD 1
17014 _ACEOF
17018 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>
17019 #ifdef HAVE_SCSI_SG_H
17020 #include <scsi/sg.h>
17021 #endif
17023 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17025 cat >>confdefs.h <<_ACEOF
17026 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17027 _ACEOF
17033 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17035 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17037 cat >>confdefs.h <<_ACEOF
17038 #define HAVE_SIGINFO_T_SI_FD 1
17039 _ACEOF
17045 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17046 #ifdef HAVE_SYS_MTIO_H
17047 #include <sys/mtio.h>
17048 #endif
17050 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17052 cat >>confdefs.h <<_ACEOF
17053 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17054 _ACEOF
17058 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17059 #ifdef HAVE_SYS_MTIO_H
17060 #include <sys/mtio.h>
17061 #endif
17063 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17065 cat >>confdefs.h <<_ACEOF
17066 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17067 _ACEOF
17071 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17072 #ifdef HAVE_SYS_MTIO_H
17073 #include <sys/mtio.h>
17074 #endif
17076 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17078 cat >>confdefs.h <<_ACEOF
17079 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17080 _ACEOF
17086 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17087 #include <getopt.h>
17088 #endif
17090 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17092 cat >>confdefs.h <<_ACEOF
17093 #define HAVE_STRUCT_OPTION_NAME 1
17094 _ACEOF
17100 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17101 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17103 cat >>confdefs.h <<_ACEOF
17104 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17105 _ACEOF
17109 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17110 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17112 cat >>confdefs.h <<_ACEOF
17113 #define HAVE_STRUCT_STAT_ST_MTIM 1
17114 _ACEOF
17118 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17119 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17121 cat >>confdefs.h <<_ACEOF
17122 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17123 _ACEOF
17127 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17128 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17130 cat >>confdefs.h <<_ACEOF
17131 #define HAVE_STRUCT_STAT_ST_CTIM 1
17132 _ACEOF
17136 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17137 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17139 cat >>confdefs.h <<_ACEOF
17140 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17141 _ACEOF
17145 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17146 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17148 cat >>confdefs.h <<_ACEOF
17149 #define HAVE_STRUCT_STAT_ST_ATIM 1
17150 _ACEOF
17154 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17155 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17157 cat >>confdefs.h <<_ACEOF
17158 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17159 _ACEOF
17163 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17164 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17168 _ACEOF
17172 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17173 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17177 _ACEOF
17181 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17182 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17184 cat >>confdefs.h <<_ACEOF
17185 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17186 _ACEOF
17190 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17191 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17193 cat >>confdefs.h <<_ACEOF
17194 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17195 _ACEOF
17199 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17200 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17204 _ACEOF
17210 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
17211 #include <sys/types.h>
17212 #endif
17213 #ifdef HAVE_NETINET_IN_H
17214 #include <netinet/in.h>
17215 #endif
17217 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17221 _ACEOF
17227 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17228 #include <sys/types.h>
17229 #endif
17230 #ifdef HAVE_NETINET_IN_H
17231 #include <netinet/in.h>
17232 #endif
17233 #ifdef HAVE_RESOLV_H
17234 #include <resolv.h>
17235 #endif
17237 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17239 cat >>confdefs.h <<_ACEOF
17240 #define HAVE_STRUCT___RES_STATE 1
17241 _ACEOF
17247 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
17248 #include <resolv.h>
17249 #endif
17251 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17253 cat >>confdefs.h <<_ACEOF
17254 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17255 _ACEOF
17261 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17262 #include <sys/types.h>
17263 #endif
17264 #ifdef HAVE_NETINET_IN_H
17265 # include <netinet/in.h>
17266 #endif
17267 #ifdef HAVE_ARPA_NAMESER_H
17268 # include <arpa/nameser.h>
17269 #endif
17271 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17273 cat >>confdefs.h <<_ACEOF
17274 #define HAVE_NS_MSG__MSG_PTR 1
17275 _ACEOF
17281 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17282 #include <sys/types.h>
17283 #endif
17284 #ifdef HAVE_NETINET_IN_H
17285 #include <netinet/in.h>
17286 #endif
17287 #ifdef HAVE_NETINET_IP_H
17288 #include <netinet/ip.h>
17289 #endif
17290 #ifdef HAVE_NETINET_IP_ICMP_H
17291 #include <netinet/ip_icmp.h>
17292 #endif
17293 #ifdef HAVE_NETINET_ICMP_VAR_H
17294 #include <netinet/icmp_var.h>
17295 #endif
17297 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17299 cat >>confdefs.h <<_ACEOF
17300 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17301 _ACEOF
17307 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17308 #include <sys/types.h>
17309 #endif
17310 #ifdef HAVE_ALIAS_H
17311 #include <alias.h>
17312 #endif
17313 #ifdef HAVE_SYS_SOCKET_H
17314 #include <sys/socket.h>
17315 #endif
17316 #ifdef HAVE_SYS_SOCKETVAR_H
17317 #include <sys/socketvar.h>
17318 #endif
17319 #ifdef HAVE_SYS_TIMEOUT_H
17320 #include <sys/timeout.h>
17321 #endif
17322 #ifdef HAVE_NETINET_IN_H
17323 #include <netinet/in.h>
17324 #endif
17325 #ifdef HAVE_NETINET_IN_SYSTM_H
17326 #include <netinet/in_systm.h>
17327 #endif
17328 #ifdef HAVE_NETINET_IP_H
17329 #include <netinet/ip.h>
17330 #endif
17331 #ifdef HAVE_NETINET_IP_VAR_H
17332 #include <netinet/ip_var.h>
17333 #endif
17334 #ifdef HAVE_NETINET_IP_ICMP_H
17335 #include <netinet/ip_icmp.h>
17336 #endif
17337 #ifdef HAVE_NETINET_ICMP_VAR_H
17338 #include <netinet/icmp_var.h>
17339 #endif
17341 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17343 cat >>confdefs.h <<_ACEOF
17344 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17345 _ACEOF
17351 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17352 #include <sys/types.h>
17353 #endif
17354 #ifdef HAVE_SYS_SOCKETVAR_H
17355 #include <sys/socketvar.h>
17356 #endif
17357 #ifdef HAVE_NETINET_IN_H
17358 #include <netinet/in.h>
17359 #endif
17360 #ifdef HAVE_NETINET_IP_VAR_H
17361 #include <netinet/ip_var.h>
17362 #endif
17364 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17366 cat >>confdefs.h <<_ACEOF
17367 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17368 _ACEOF
17374 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
17375 #include <netinet/ip_var.h>
17376 #endif
17378 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17380 cat >>confdefs.h <<_ACEOF
17381 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17382 _ACEOF
17388 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17389 #include <sys/types.h>
17390 #endif
17391 #ifdef HAVE_SYS_SOCKETVAR_H
17392 #include <sys/socketvar.h>
17393 #endif
17394 #ifdef HAVE_NETINET_IN_H
17395 #include <netinet/in.h>
17396 #endif
17397 #ifdef HAVE_NETINET_TCP_H
17398 #include <netinet/tcp.h>
17399 #endif
17400 #ifdef HAVE_NETINET_TCP_VAR_H
17401 #include <netinet/tcp_var.h>
17402 #endif
17404 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17408 _ACEOF
17414 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
17415 #include <netinet/tcp_var.h>
17416 #endif
17418 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17420 cat >>confdefs.h <<_ACEOF
17421 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17422 _ACEOF
17428 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17429 #include <sys/types.h>
17430 #endif
17431 #ifdef HAVE_NETINET_IN_H
17432 #include <netinet/in.h>
17433 #endif
17434 #ifdef HAVE_NETINET_IP_VAR_H
17435 #include <netinet/ip_var.h>
17436 #endif
17437 #ifdef HAVE_NETINET_UDP_H
17438 #include <netinet/udp.h>
17439 #endif
17440 #ifdef HAVE_NETINET_UDP_VAR_H
17441 #include <netinet/udp_var.h>
17442 #endif
17444 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17446 cat >>confdefs.h <<_ACEOF
17447 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17448 _ACEOF
17454 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17455 #include <sys/types.h>
17456 #endif
17457 #ifdef HAVE_NET_IF_H
17458 # include <net/if.h>
17459 #endif
17461 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17463 cat >>confdefs.h <<_ACEOF
17464 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17465 _ACEOF
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17472 $as_echo_n "checking for timezone variable... " >&6; }
17473 if ${ac_cv_have_timezone+:} false; then :
17474 $as_echo_n "(cached) " >&6
17475 else
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #include <time.h>
17480 main ()
17482 timezone = 1
17484 return 0;
17486 _ACEOF
17487 if ac_fn_c_try_link "$LINENO"; then :
17488 ac_cv_have_timezone="yes"
17489 else
17490 ac_cv_have_timezone="no"
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17496 $as_echo "$ac_cv_have_timezone" >&6; }
17497 if test "$ac_cv_have_timezone" = "yes"
17498 then
17500 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17504 $as_echo_n "checking for daylight variable... " >&6; }
17505 if ${ac_cv_have_daylight+:} false; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #include <time.h>
17512 main ()
17514 daylight = 1
17516 return 0;
17518 _ACEOF
17519 if ac_fn_c_try_link "$LINENO"; then :
17520 ac_cv_have_daylight="yes"
17521 else
17522 ac_cv_have_daylight="no"
17524 rm -f core conftest.err conftest.$ac_objext \
17525 conftest$ac_exeext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17528 $as_echo "$ac_cv_have_daylight" >&6; }
17529 if test "$ac_cv_have_daylight" = "yes"
17530 then
17532 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17536 ac_save_LIBS="$LIBS"
17537 LIBS="$LIBS -lm"
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17539 $as_echo_n "checking for isfinite... " >&6; }
17540 if ${ac_cv_have_isfinite+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17545 #define _GNU_SOURCE
17546 #include <math.h>
17548 main ()
17550 float f = 0.0; return isfinite(f)
17552 return 0;
17554 _ACEOF
17555 if ac_fn_c_try_link "$LINENO"; then :
17556 ac_cv_have_isfinite="yes"
17557 else
17558 ac_cv_have_isfinite="no"
17560 rm -f core conftest.err conftest.$ac_objext \
17561 conftest$ac_exeext conftest.$ac_ext
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17564 $as_echo "$ac_cv_have_isfinite" >&6; }
17565 if test "$ac_cv_have_isfinite" = "yes"
17566 then
17568 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17573 $as_echo_n "checking for isinf... " >&6; }
17574 if ${ac_cv_have_isinf+:} false; then :
17575 $as_echo_n "(cached) " >&6
17576 else
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17579 #include <math.h>
17581 main ()
17583 float f = 0.0; return isinf(f)
17585 return 0;
17587 _ACEOF
17588 if ac_fn_c_try_link "$LINENO"; then :
17589 ac_cv_have_isinf="yes"
17590 else
17591 ac_cv_have_isinf="no"
17593 rm -f core conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17597 $as_echo "$ac_cv_have_isinf" >&6; }
17598 if test "$ac_cv_have_isinf" = "yes"
17599 then
17601 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17606 $as_echo_n "checking for isnan... " >&6; }
17607 if ${ac_cv_have_isnan+:} false; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17612 #include <math.h>
17614 main ()
17616 float f = 0.0; return isnan(f)
17618 return 0;
17620 _ACEOF
17621 if ac_fn_c_try_link "$LINENO"; then :
17622 ac_cv_have_isnan="yes"
17623 else
17624 ac_cv_have_isnan="no"
17626 rm -f core conftest.err conftest.$ac_objext \
17627 conftest$ac_exeext conftest.$ac_ext
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17630 $as_echo "$ac_cv_have_isnan" >&6; }
17631 if test "$ac_cv_have_isnan" = "yes"
17632 then
17634 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17638 for ac_func in \
17639 acosh \
17640 acoshf \
17641 asinh \
17642 asinhf \
17643 atanh \
17644 atanhf \
17645 cbrt \
17646 cbrtf \
17647 erf \
17648 erfc \
17649 erfcf \
17650 erff \
17651 exp2 \
17652 exp2f \
17653 expm1 \
17654 expm1f \
17655 j0 \
17656 j1 \
17657 jn \
17658 lgamma \
17659 lgammaf \
17660 llrint \
17661 llrintf \
17662 llround \
17663 llroundf \
17664 log1p \
17665 log1pf \
17666 log2 \
17667 log2f \
17668 lrint \
17669 lrintf \
17670 lround \
17671 lroundf \
17672 nearbyint \
17673 nearbyintf \
17674 powl \
17675 remainder \
17676 remainderf \
17677 rint \
17678 rintf \
17679 round \
17680 roundf \
17681 trunc \
17682 truncf \
17683 y0 \
17684 y1 \
17687 do :
17688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17690 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17691 cat >>confdefs.h <<_ACEOF
17692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17693 _ACEOF
17696 done
17698 LIBS="$ac_save_LIBS"
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17701 $as_echo_n "checking for __builtin_clz... " >&6; }
17702 if ${ac_cv_have___builtin_clz+:} false; then :
17703 $as_echo_n "(cached) " >&6
17704 else
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17709 main ()
17711 return __builtin_clz(1)
17713 return 0;
17715 _ACEOF
17716 if ac_fn_c_try_link "$LINENO"; then :
17717 ac_cv_have___builtin_clz="yes"
17718 else
17719 ac_cv_have___builtin_clz="no"
17721 rm -f core conftest.err conftest.$ac_objext \
17722 conftest$ac_exeext conftest.$ac_ext
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17725 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17726 if test "$ac_cv_have___builtin_clz" = "yes"
17727 then
17729 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17734 $as_echo_n "checking for __builtin_popcount... " >&6; }
17735 if ${ac_cv_have___builtin_popcount+:} false; then :
17736 $as_echo_n "(cached) " >&6
17737 else
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17742 main ()
17744 return __builtin_popcount(1)
17746 return 0;
17748 _ACEOF
17749 if ac_fn_c_try_link "$LINENO"; then :
17750 ac_cv_have___builtin_popcount="yes"
17751 else
17752 ac_cv_have___builtin_popcount="no"
17754 rm -f core conftest.err conftest.$ac_objext \
17755 conftest$ac_exeext conftest.$ac_ext
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17758 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17759 if test "$ac_cv_have___builtin_popcount" = "yes"
17760 then
17762 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17767 $as_echo_n "checking for __clear_cache... " >&6; }
17768 if ${ac_cv_have___clear_cache+:} false; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17775 main ()
17777 __clear_cache((void*)0, (void*)0); return 0;
17779 return 0;
17781 _ACEOF
17782 if ac_fn_c_try_link "$LINENO"; then :
17783 ac_cv_have___clear_cache="yes"
17784 else
17785 ac_cv_have___clear_cache="no"
17787 rm -f core conftest.err conftest.$ac_objext \
17788 conftest$ac_exeext conftest.$ac_ext
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17791 $as_echo "$ac_cv_have___clear_cache" >&6; }
17792 if test "$ac_cv_have___clear_cache" = "yes"
17793 then
17795 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17800 case $host_cpu in
17801 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17802 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17803 if ${ac_cv_cpp_def___i386__+:} false; then :
17804 $as_echo_n "(cached) " >&6
17805 else
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #ifndef __i386__
17810 #endif
17811 _ACEOF
17812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17813 $EGREP "yes" >/dev/null 2>&1; then :
17814 ac_cv_cpp_def___i386__=yes
17815 else
17816 ac_cv_cpp_def___i386__=no
17818 rm -f conftest*
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17822 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17823 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17824 CFLAGS="$CFLAGS -D__i386__"
17825 LINTFLAGS="$LINTFLAGS -D__i386__"
17826 fi ;;
17827 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17828 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17829 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17830 $as_echo_n "(cached) " >&6
17831 else
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17834 #ifndef __x86_64__
17836 #endif
17837 _ACEOF
17838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17839 $EGREP "yes" >/dev/null 2>&1; then :
17840 ac_cv_cpp_def___x86_64__=yes
17841 else
17842 ac_cv_cpp_def___x86_64__=no
17844 rm -f conftest*
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17848 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17849 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17850 CFLAGS="$CFLAGS -D__x86_64__"
17851 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17852 fi ;;
17853 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17854 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17855 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #ifndef __sparc64__
17862 #endif
17863 _ACEOF
17864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17865 $EGREP "yes" >/dev/null 2>&1; then :
17866 ac_cv_cpp_def___sparc64__=yes
17867 else
17868 ac_cv_cpp_def___sparc64__=no
17870 rm -f conftest*
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17874 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17875 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17876 CFLAGS="$CFLAGS -D__sparc64__"
17877 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17878 fi ;;
17879 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17880 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17881 if ${ac_cv_cpp_def___sparc__+:} false; then :
17882 $as_echo_n "(cached) " >&6
17883 else
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 #ifndef __sparc__
17888 #endif
17889 _ACEOF
17890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17891 $EGREP "yes" >/dev/null 2>&1; then :
17892 ac_cv_cpp_def___sparc__=yes
17893 else
17894 ac_cv_cpp_def___sparc__=no
17896 rm -f conftest*
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17900 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17901 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17902 CFLAGS="$CFLAGS -D__sparc__"
17903 LINTFLAGS="$LINTFLAGS -D__sparc__"
17904 fi ;;
17905 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17906 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17907 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17908 $as_echo_n "(cached) " >&6
17909 else
17910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17911 /* end confdefs.h. */
17912 #ifndef __powerpc64__
17914 #endif
17915 _ACEOF
17916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17917 $EGREP "yes" >/dev/null 2>&1; then :
17918 ac_cv_cpp_def___powerpc64__=yes
17919 else
17920 ac_cv_cpp_def___powerpc64__=no
17922 rm -f conftest*
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17926 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17927 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17928 CFLAGS="$CFLAGS -D__powerpc64__"
17929 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17930 fi ;;
17931 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17932 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17933 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17934 $as_echo_n "(cached) " >&6
17935 else
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #ifndef __powerpc__
17940 #endif
17941 _ACEOF
17942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17943 $EGREP "yes" >/dev/null 2>&1; then :
17944 ac_cv_cpp_def___powerpc__=yes
17945 else
17946 ac_cv_cpp_def___powerpc__=no
17948 rm -f conftest*
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17952 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17953 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17954 CFLAGS="$CFLAGS -D__powerpc__"
17955 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17956 fi ;;
17957 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17958 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17959 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17960 $as_echo_n "(cached) " >&6
17961 else
17962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17963 /* end confdefs.h. */
17964 #ifndef __aarch64__
17966 #endif
17967 _ACEOF
17968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17969 $EGREP "yes" >/dev/null 2>&1; then :
17970 ac_cv_cpp_def___aarch64__=yes
17971 else
17972 ac_cv_cpp_def___aarch64__=no
17974 rm -f conftest*
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17978 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17979 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17980 CFLAGS="$CFLAGS -D__aarch64__"
17981 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17982 fi ;;
17983 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17984 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17985 if ${ac_cv_cpp_def___arm__+:} false; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 #ifndef __arm__
17992 #endif
17993 _ACEOF
17994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17995 $EGREP "yes" >/dev/null 2>&1; then :
17996 ac_cv_cpp_def___arm__=yes
17997 else
17998 ac_cv_cpp_def___arm__=no
18000 rm -f conftest*
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18004 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18005 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18006 CFLAGS="$CFLAGS -D__arm__"
18007 LINTFLAGS="$LINTFLAGS -D__arm__"
18008 fi ;;
18009 esac
18011 case $host_vendor in
18012 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18013 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18014 if ${ac_cv_cpp_def___sun__+:} false; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018 /* end confdefs.h. */
18019 #ifndef __sun__
18021 #endif
18022 _ACEOF
18023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18024 $EGREP "yes" >/dev/null 2>&1; then :
18025 ac_cv_cpp_def___sun__=yes
18026 else
18027 ac_cv_cpp_def___sun__=no
18029 rm -f conftest*
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18033 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18034 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18035 CFLAGS="$CFLAGS -D__sun__"
18036 LINTFLAGS="$LINTFLAGS -D__sun__"
18037 fi ;;
18038 esac
18044 ac_config_commands="$ac_config_commands include/stamp-h"
18046 $as_echo_n "creating Makefile rules..." >&6
18048 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18049 SOCKET_LIBS = $SOCKET_LIBS
18050 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18051 IOKIT_LIBS = $IOKIT_LIBS
18052 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18053 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18054 CORESERVICES_LIBS = $CORESERVICES_LIBS
18055 APPKIT_LIBS = $APPKIT_LIBS
18056 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18057 SECURITY_LIBS = $SECURITY_LIBS
18058 COREAUDIO_LIBS = $COREAUDIO_LIBS
18059 OPENAL_LIBS = $OPENAL_LIBS
18060 OPENCL_LIBS = $OPENCL_LIBS
18061 QUICKTIME_LIBS = $QUICKTIME_LIBS
18062 CARBON_LIBS = $CARBON_LIBS
18063 PTHREAD_LIBS = $PTHREAD_LIBS
18064 X_CFLAGS = $X_CFLAGS
18065 X_PRE_LIBS = $X_PRE_LIBS
18066 X_LIBS = $X_LIBS
18067 X_EXTRA_LIBS = $X_EXTRA_LIBS
18068 PCAP_LIBS = $PCAP_LIBS
18069 XML2_CFLAGS = $XML2_CFLAGS
18070 XML2_LIBS = $XML2_LIBS
18071 XSLT_CFLAGS = $XSLT_CFLAGS
18072 XSLT_LIBS = $XSLT_LIBS
18073 DBUS_CFLAGS = $DBUS_CFLAGS
18074 DBUS_LIBS = $DBUS_LIBS
18075 HAL_CFLAGS = $HAL_CFLAGS
18076 HAL_LIBS = $HAL_LIBS
18077 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18078 GNUTLS_LIBS = $GNUTLS_LIBS
18079 SANE_CFLAGS = $SANE_CFLAGS
18080 SANE_LIBS = $SANE_LIBS
18081 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18082 GPHOTO2_LIBS = $GPHOTO2_LIBS
18083 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18084 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18085 RESOLV_LIBS = $RESOLV_LIBS
18086 LCMS2_CFLAGS = $LCMS2_CFLAGS
18087 LCMS2_LIBS = $LCMS2_LIBS
18088 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18089 FREETYPE_LIBS = $FREETYPE_LIBS
18090 Z_LIBS = $Z_LIBS
18091 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18092 PULSE_CFLAGS = $PULSE_CFLAGS
18093 PULSE_LIBS = $PULSE_LIBS
18094 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18095 GSTREAMER_LIBS = $GSTREAMER_LIBS
18096 ALSA_LIBS = $ALSA_LIBS
18097 OSS4_CFLAGS = $OSS4_CFLAGS
18098 UDEV_CFLAGS = $UDEV_CFLAGS
18099 UDEV_LIBS = $UDEV_LIBS
18100 SDL2_CFLAGS = $SDL2_CFLAGS
18101 SDL2_LIBS = $SDL2_LIBS
18102 CAPI20_CFLAGS = $CAPI20_CFLAGS
18103 CAPI20_LIBS = $CAPI20_LIBS
18104 CUPS_CFLAGS = $CUPS_CFLAGS
18105 CUPS_LIBS = $CUPS_LIBS
18106 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18107 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18108 KRB5_CFLAGS = $KRB5_CFLAGS
18109 KRB5_LIBS = $KRB5_LIBS
18110 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18111 GSSAPI_LIBS = $GSSAPI_LIBS
18112 JPEG_CFLAGS = $JPEG_CFLAGS
18113 JPEG_LIBS = $JPEG_LIBS
18114 PNG_CFLAGS = $PNG_CFLAGS
18115 PNG_LIBS = $PNG_LIBS
18116 TIFF_CFLAGS = $TIFF_CFLAGS
18117 TIFF_LIBS = $TIFF_LIBS
18118 MPG123_CFLAGS = $MPG123_CFLAGS
18119 MPG123_LIBS = $MPG123_LIBS
18120 KSTAT_LIBS = $KSTAT_LIBS
18121 PROCSTAT_LIBS = $PROCSTAT_LIBS
18122 NETAPI_CFLAGS = $NETAPI_CFLAGS
18123 NETAPI_LIBS = $NETAPI_LIBS
18124 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18125 DL_LIBS = $DL_LIBS
18126 POLL_LIBS = $POLL_LIBS
18127 RT_LIBS = $RT_LIBS
18128 LDAP_CFLAGS = $LDAP_CFLAGS
18129 LDAP_LIBS = $LDAP_LIBS
18134 wine_fn_append_rule "
18135 # Rules automatically generated by configure
18137 .INIT: Makefile
18138 .MAKEFILEDEPS:
18139 all: Makefile
18140 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18141 @./config.status Make.tmp Makefile
18142 depend: \$(MAKEDEP) dummy
18143 \$(MAKEDEP)"
18145 if test "x$enable_fonts" != xno; then
18146 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18147 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18148 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18149 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18150 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18151 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18153 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18154 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18155 ac_config_links="$ac_config_links wine:tools/winewrapper"
18156 wine_fn_config_symlink wine
18157 if test "x$enable_win64" != xno; then
18158 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18159 wine_fn_config_symlink wine64
18162 wine_fn_config_makefile dlls/acledit enable_acledit
18163 wine_fn_config_makefile dlls/aclui enable_aclui
18164 wine_fn_config_makefile dlls/activeds enable_activeds
18165 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18166 wine_fn_config_makefile dlls/adsiid enable_adsiid
18167 wine_fn_config_makefile dlls/adsldp enable_adsldp
18168 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18169 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18170 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18171 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18172 wine_fn_config_makefile dlls/advpack enable_advpack
18173 wine_fn_config_makefile dlls/advpack/tests enable_tests
18174 wine_fn_config_makefile dlls/amstream enable_amstream
18175 wine_fn_config_makefile dlls/amstream/tests enable_tests
18176 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18177 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18178 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18179 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18180 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18181 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18182 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18183 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18184 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18185 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18186 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18187 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18188 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18189 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18190 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18191 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18192 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18193 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18194 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18195 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18196 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18197 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18198 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18199 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18200 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18201 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18202 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18203 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18204 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18205 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18206 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18207 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18208 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18209 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18210 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18218 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18219 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18222 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18223 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18224 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18225 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18226 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18227 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18228 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18229 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18230 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18231 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18232 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18233 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18235 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18236 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18237 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18238 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18239 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18240 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18241 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18248 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18250 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18251 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18252 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18253 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18258 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18278 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18281 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18291 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18296 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18297 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18303 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18321 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18322 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18340 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18350 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18352 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18353 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18357 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18359 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18365 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18368 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18370 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18371 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18373 wine_fn_config_makefile dlls/apphelp enable_apphelp
18374 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18375 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18376 wine_fn_config_makefile dlls/atl enable_atl
18377 wine_fn_config_makefile dlls/atl/tests enable_tests
18378 wine_fn_config_makefile dlls/atl100 enable_atl100
18379 wine_fn_config_makefile dlls/atl100/tests enable_tests
18380 wine_fn_config_makefile dlls/atl110 enable_atl110
18381 wine_fn_config_makefile dlls/atl80 enable_atl80
18382 wine_fn_config_makefile dlls/atl80/tests enable_tests
18383 wine_fn_config_makefile dlls/atl90 enable_atl90
18384 wine_fn_config_makefile dlls/authz enable_authz
18385 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18386 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18387 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18388 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18389 wine_fn_config_makefile dlls/avrt enable_avrt
18390 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18391 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18392 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18393 wine_fn_config_makefile dlls/browseui enable_browseui
18394 wine_fn_config_makefile dlls/browseui/tests enable_tests
18395 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18396 wine_fn_config_makefile dlls/cabinet enable_cabinet
18397 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18398 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18399 wine_fn_config_makefile dlls/cards enable_cards
18400 wine_fn_config_makefile dlls/cdosys enable_cdosys
18401 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18402 wine_fn_config_makefile dlls/clusapi enable_clusapi
18403 wine_fn_config_makefile dlls/combase enable_combase
18404 wine_fn_config_makefile dlls/combase/tests enable_tests
18405 wine_fn_config_makefile dlls/comcat enable_comcat
18406 wine_fn_config_makefile dlls/comcat/tests enable_tests
18407 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18408 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18409 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18410 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18411 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18412 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18413 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18414 wine_fn_config_makefile dlls/compstui enable_compstui
18415 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18416 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18417 wine_fn_config_makefile dlls/connect enable_connect
18418 wine_fn_config_makefile dlls/credui enable_credui
18419 wine_fn_config_makefile dlls/credui/tests enable_tests
18420 wine_fn_config_makefile dlls/crtdll enable_crtdll
18421 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18422 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18423 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18424 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18425 wine_fn_config_makefile dlls/cryptext enable_cryptext
18426 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18427 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18428 wine_fn_config_makefile dlls/cryptui enable_cryptui
18429 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18430 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18431 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18432 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18433 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18434 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18435 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18436 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18437 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18438 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18439 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18440 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18441 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18442 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18443 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18444 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18445 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18446 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18447 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18448 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18449 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18450 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18451 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18452 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18453 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18454 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18455 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18456 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18457 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18458 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18459 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18460 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18461 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18462 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18463 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18464 wine_fn_config_makefile dlls/d3dim enable_d3dim
18465 wine_fn_config_makefile dlls/d3drm enable_d3drm
18466 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18467 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18468 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18469 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18470 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18471 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18472 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18473 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18474 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18475 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18476 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18477 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18478 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18479 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18480 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18481 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18482 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18483 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18484 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18485 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18486 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18487 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18488 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18489 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18490 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18491 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18492 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18493 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18494 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18495 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18496 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18497 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18498 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18499 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18500 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18501 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18502 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18503 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18504 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18505 wine_fn_config_makefile dlls/davclnt enable_davclnt
18506 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18507 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18508 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18509 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18510 wine_fn_config_makefile dlls/ddraw enable_ddraw
18511 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18512 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18513 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18514 wine_fn_config_makefile dlls/devenum enable_devenum
18515 wine_fn_config_makefile dlls/devenum/tests enable_tests
18516 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18517 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18518 wine_fn_config_makefile dlls/difxapi enable_difxapi
18519 wine_fn_config_makefile dlls/dinput enable_dinput
18520 wine_fn_config_makefile dlls/dinput/tests enable_tests
18521 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18522 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18523 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18524 wine_fn_config_makefile dlls/dispex enable_dispex
18525 wine_fn_config_makefile dlls/dispex/tests enable_tests
18526 wine_fn_config_makefile dlls/display.drv16 enable_win16
18527 wine_fn_config_makefile dlls/dmband enable_dmband
18528 wine_fn_config_makefile dlls/dmband/tests enable_tests
18529 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18530 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18531 wine_fn_config_makefile dlls/dmime enable_dmime
18532 wine_fn_config_makefile dlls/dmime/tests enable_tests
18533 wine_fn_config_makefile dlls/dmloader enable_dmloader
18534 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18535 wine_fn_config_makefile dlls/dmscript enable_dmscript
18536 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18537 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18538 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18539 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18540 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18541 wine_fn_config_makefile dlls/dmusic enable_dmusic
18542 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18543 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18544 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18545 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18546 wine_fn_config_makefile dlls/dplay enable_dplay
18547 wine_fn_config_makefile dlls/dplayx enable_dplayx
18548 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18549 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18550 wine_fn_config_makefile dlls/dpnet enable_dpnet
18551 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18552 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18553 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18554 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18555 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18556 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18557 wine_fn_config_makefile dlls/drmclien enable_drmclien
18558 wine_fn_config_makefile dlls/dsound enable_dsound
18559 wine_fn_config_makefile dlls/dsound/tests enable_tests
18560 wine_fn_config_makefile dlls/dsquery enable_dsquery
18561 wine_fn_config_makefile dlls/dssenh enable_dssenh
18562 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18563 wine_fn_config_makefile dlls/dswave enable_dswave
18564 wine_fn_config_makefile dlls/dswave/tests enable_tests
18565 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18566 wine_fn_config_makefile dlls/dwrite enable_dwrite
18567 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18568 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18569 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18570 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18571 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18572 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18573 wine_fn_config_makefile dlls/dxgi enable_dxgi
18574 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18575 wine_fn_config_makefile dlls/dxguid enable_dxguid
18576 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18577 wine_fn_config_makefile dlls/esent enable_esent
18578 wine_fn_config_makefile dlls/evr enable_evr
18579 wine_fn_config_makefile dlls/evr/tests enable_tests
18580 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18581 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18582 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18583 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18584 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18585 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18586 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18587 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18588 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18589 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18590 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18591 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18592 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18593 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18594 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18595 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18596 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18597 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18598 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18599 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18600 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
18601 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18602 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18603 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18604 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18605 wine_fn_config_makefile dlls/faultrep enable_faultrep
18606 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18607 wine_fn_config_makefile dlls/fltlib enable_fltlib
18608 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18609 wine_fn_config_makefile dlls/fntcache enable_fntcache
18610 wine_fn_config_makefile dlls/fontsub enable_fontsub
18611 wine_fn_config_makefile dlls/fusion enable_fusion
18612 wine_fn_config_makefile dlls/fusion/tests enable_tests
18613 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18614 wine_fn_config_makefile dlls/gameux enable_gameux
18615 wine_fn_config_makefile dlls/gameux/tests enable_tests
18616 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18617 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18618 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18619 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18620 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18621 wine_fn_config_makefile dlls/glu32 enable_glu32
18622 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18623 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18624 wine_fn_config_makefile dlls/hal enable_hal
18625 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18626 wine_fn_config_makefile dlls/hid enable_hid
18627 wine_fn_config_makefile dlls/hid/tests enable_tests
18628 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18629 wine_fn_config_makefile dlls/hlink enable_hlink
18630 wine_fn_config_makefile dlls/hlink/tests enable_tests
18631 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18632 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18633 wine_fn_config_makefile dlls/httpapi enable_httpapi
18634 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18635 wine_fn_config_makefile dlls/iccvid enable_iccvid
18636 wine_fn_config_makefile dlls/icmp enable_icmp
18637 wine_fn_config_makefile dlls/ieframe enable_ieframe
18638 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18639 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18640 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18641 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18642 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18643 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18644 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18645 wine_fn_config_makefile dlls/imm32 enable_imm32
18646 wine_fn_config_makefile dlls/imm32/tests enable_tests
18647 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18648 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18649 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18650 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18651 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18652 wine_fn_config_makefile dlls/infosoft enable_infosoft
18653 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18654 wine_fn_config_makefile dlls/initpki enable_initpki
18655 wine_fn_config_makefile dlls/inkobj enable_inkobj
18656 wine_fn_config_makefile dlls/inseng enable_inseng
18657 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18658 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18659 wine_fn_config_makefile dlls/iprop enable_iprop
18660 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18661 wine_fn_config_makefile dlls/itircl enable_itircl
18662 wine_fn_config_makefile dlls/itss enable_itss
18663 wine_fn_config_makefile dlls/itss/tests enable_tests
18664 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18665 wine_fn_config_makefile dlls/jscript enable_jscript
18666 wine_fn_config_makefile dlls/jscript/tests enable_tests
18667 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18668 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18669 wine_fn_config_makefile dlls/kerberos enable_kerberos
18670 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18671 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18672 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18673 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18674 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18675 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18676 wine_fn_config_makefile dlls/ksuser enable_ksuser
18677 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18678 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18679 wine_fn_config_makefile dlls/loadperf enable_loadperf
18680 wine_fn_config_makefile dlls/localspl enable_localspl
18681 wine_fn_config_makefile dlls/localspl/tests enable_tests
18682 wine_fn_config_makefile dlls/localui enable_localui
18683 wine_fn_config_makefile dlls/localui/tests enable_tests
18684 wine_fn_config_makefile dlls/lz32 enable_lz32
18685 wine_fn_config_makefile dlls/lz32/tests enable_tests
18686 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18687 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18688 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18689 wine_fn_config_makefile dlls/mapistub enable_mapistub
18690 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18691 wine_fn_config_makefile dlls/mcicda enable_mcicda
18692 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18693 wine_fn_config_makefile dlls/mciseq enable_mciseq
18694 wine_fn_config_makefile dlls/mciwave enable_mciwave
18695 wine_fn_config_makefile dlls/mf enable_mf
18696 wine_fn_config_makefile dlls/mf/tests enable_tests
18697 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18698 wine_fn_config_makefile dlls/mfplat enable_mfplat
18699 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18700 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18701 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18702 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18703 wine_fn_config_makefile dlls/midimap enable_midimap
18704 wine_fn_config_makefile dlls/mlang enable_mlang
18705 wine_fn_config_makefile dlls/mlang/tests enable_tests
18706 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18707 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18708 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18709 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18710 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18711 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18712 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18713 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18714 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18715 wine_fn_config_makefile dlls/mpr enable_mpr
18716 wine_fn_config_makefile dlls/mpr/tests enable_tests
18717 wine_fn_config_makefile dlls/mprapi enable_mprapi
18718 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18719 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18720 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18721 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18722 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18723 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18724 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18725 wine_fn_config_makefile dlls/mscms enable_mscms
18726 wine_fn_config_makefile dlls/mscms/tests enable_tests
18727 wine_fn_config_makefile dlls/mscoree enable_mscoree
18728 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18729 wine_fn_config_makefile dlls/msctf enable_msctf
18730 wine_fn_config_makefile dlls/msctf/tests enable_tests
18731 wine_fn_config_makefile dlls/msctfp enable_msctfp
18732 wine_fn_config_makefile dlls/msdaps enable_msdaps
18733 wine_fn_config_makefile dlls/msdelta enable_msdelta
18734 wine_fn_config_makefile dlls/msdmo enable_msdmo
18735 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18736 wine_fn_config_makefile dlls/msdrm enable_msdrm
18737 wine_fn_config_makefile dlls/msftedit enable_msftedit
18738 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18739 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18740 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18741 wine_fn_config_makefile dlls/mshtml enable_mshtml
18742 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18743 wine_fn_config_makefile dlls/msi enable_msi
18744 wine_fn_config_makefile dlls/msi/tests enable_tests
18745 wine_fn_config_makefile dlls/msident enable_msident
18746 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18747 wine_fn_config_makefile dlls/msimsg enable_msimsg
18748 wine_fn_config_makefile dlls/msimtf enable_msimtf
18749 wine_fn_config_makefile dlls/msisip enable_msisip
18750 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18751 wine_fn_config_makefile dlls/msls31 enable_msls31
18752 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18753 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18754 wine_fn_config_makefile dlls/msports enable_msports
18755 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18756 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18757 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18758 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18759 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18760 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18761 wine_fn_config_makefile dlls/mstask enable_mstask
18762 wine_fn_config_makefile dlls/mstask/tests enable_tests
18763 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18764 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18765 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18766 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18767 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18768 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18769 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18770 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18771 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18772 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18773 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18774 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18775 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18776 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18777 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18778 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18779 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18780 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18781 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18782 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18783 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18784 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18785 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18786 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18787 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18788 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18789 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18790 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18791 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18792 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18793 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18794 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18795 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18796 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18797 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18798 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18799 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18800 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18801 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18802 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18803 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18804 wine_fn_config_makefile dlls/mswsock enable_mswsock
18805 wine_fn_config_makefile dlls/msxml enable_msxml
18806 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18807 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18808 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18809 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18810 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18811 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18812 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18813 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18814 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18815 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18816 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18817 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18818 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18819 wine_fn_config_makefile dlls/netprofm enable_netprofm
18820 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18821 wine_fn_config_makefile dlls/newdev enable_newdev
18822 wine_fn_config_makefile dlls/ninput enable_ninput
18823 wine_fn_config_makefile dlls/normaliz enable_normaliz
18824 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18825 wine_fn_config_makefile dlls/npptools enable_npptools
18826 wine_fn_config_makefile dlls/ntdll enable_ntdll
18827 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18828 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18829 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18830 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18831 wine_fn_config_makefile dlls/ntprint enable_ntprint
18832 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18833 wine_fn_config_makefile dlls/objsel enable_objsel
18834 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18835 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18836 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18837 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18838 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18839 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18840 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18841 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18842 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18843 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18844 wine_fn_config_makefile dlls/ole32 enable_ole32
18845 wine_fn_config_makefile dlls/ole32/tests enable_tests
18846 wine_fn_config_makefile dlls/oleacc enable_oleacc
18847 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18848 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18849 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18850 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18851 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18852 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18853 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18854 wine_fn_config_makefile dlls/oledlg enable_oledlg
18855 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18856 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18857 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18858 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18859 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18860 wine_fn_config_makefile dlls/openal32 enable_openal32
18861 wine_fn_config_makefile dlls/opencl enable_opencl
18862 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18863 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18864 wine_fn_config_makefile dlls/packager enable_packager
18865 wine_fn_config_makefile dlls/packager/tests enable_tests
18866 wine_fn_config_makefile dlls/pdh enable_pdh
18867 wine_fn_config_makefile dlls/pdh/tests enable_tests
18868 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18869 wine_fn_config_makefile dlls/pidgen enable_pidgen
18870 wine_fn_config_makefile dlls/powrprof enable_powrprof
18871 wine_fn_config_makefile dlls/printui enable_printui
18872 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18873 wine_fn_config_makefile dlls/propsys enable_propsys
18874 wine_fn_config_makefile dlls/propsys/tests enable_tests
18875 wine_fn_config_makefile dlls/psapi enable_psapi
18876 wine_fn_config_makefile dlls/psapi/tests enable_tests
18877 wine_fn_config_makefile dlls/pstorec enable_pstorec
18878 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18879 wine_fn_config_makefile dlls/qcap enable_qcap
18880 wine_fn_config_makefile dlls/qcap/tests enable_tests
18881 wine_fn_config_makefile dlls/qedit enable_qedit
18882 wine_fn_config_makefile dlls/qedit/tests enable_tests
18883 wine_fn_config_makefile dlls/qmgr enable_qmgr
18884 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18885 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18886 wine_fn_config_makefile dlls/quartz enable_quartz
18887 wine_fn_config_makefile dlls/quartz/tests enable_tests
18888 wine_fn_config_makefile dlls/query enable_query
18889 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18890 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18891 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18892 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18893 wine_fn_config_makefile dlls/regapi enable_regapi
18894 wine_fn_config_makefile dlls/resutils enable_resutils
18895 wine_fn_config_makefile dlls/riched20 enable_riched20
18896 wine_fn_config_makefile dlls/riched20/tests enable_tests
18897 wine_fn_config_makefile dlls/riched32 enable_riched32
18898 wine_fn_config_makefile dlls/riched32/tests enable_tests
18899 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18900 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18901 wine_fn_config_makefile dlls/rsabase enable_rsabase
18902 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18903 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18904 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18905 wine_fn_config_makefile dlls/rtutils enable_rtutils
18906 wine_fn_config_makefile dlls/samlib enable_samlib
18907 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18908 wine_fn_config_makefile dlls/sapi enable_sapi
18909 wine_fn_config_makefile dlls/sapi/tests enable_tests
18910 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18911 wine_fn_config_makefile dlls/sccbase enable_sccbase
18912 wine_fn_config_makefile dlls/schannel enable_schannel
18913 wine_fn_config_makefile dlls/schannel/tests enable_tests
18914 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18915 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18916 wine_fn_config_makefile dlls/scrobj enable_scrobj
18917 wine_fn_config_makefile dlls/scrrun enable_scrrun
18918 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18919 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18920 wine_fn_config_makefile dlls/secur32 enable_secur32
18921 wine_fn_config_makefile dlls/secur32/tests enable_tests
18922 wine_fn_config_makefile dlls/security enable_security
18923 wine_fn_config_makefile dlls/sensapi enable_sensapi
18924 wine_fn_config_makefile dlls/serialui enable_serialui
18925 wine_fn_config_makefile dlls/serialui/tests enable_tests
18926 wine_fn_config_makefile dlls/setupapi enable_setupapi
18927 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18928 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18929 wine_fn_config_makefile dlls/sfc enable_sfc
18930 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18931 wine_fn_config_makefile dlls/shcore enable_shcore
18932 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18933 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18934 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18935 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18936 wine_fn_config_makefile dlls/shell32 enable_shell32
18937 wine_fn_config_makefile dlls/shell32/tests enable_tests
18938 wine_fn_config_makefile dlls/shfolder enable_shfolder
18939 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18940 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18941 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18942 wine_fn_config_makefile dlls/slc enable_slc
18943 wine_fn_config_makefile dlls/slc/tests enable_tests
18944 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18945 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
18946 wine_fn_config_makefile dlls/softpub enable_softpub
18947 wine_fn_config_makefile dlls/sound.drv16 enable_win16
18948 wine_fn_config_makefile dlls/spoolss enable_spoolss
18949 wine_fn_config_makefile dlls/spoolss/tests enable_tests
18950 wine_fn_config_makefile dlls/sspicli enable_sspicli
18951 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
18952 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
18953 wine_fn_config_makefile dlls/sti enable_sti
18954 wine_fn_config_makefile dlls/sti/tests enable_tests
18955 wine_fn_config_makefile dlls/storage.dll16 enable_win16
18956 wine_fn_config_makefile dlls/stress.dll16 enable_win16
18957 wine_fn_config_makefile dlls/strmbase enable_strmbase
18958 wine_fn_config_makefile dlls/strmiids enable_strmiids
18959 wine_fn_config_makefile dlls/svrapi enable_svrapi
18960 wine_fn_config_makefile dlls/sxs enable_sxs
18961 wine_fn_config_makefile dlls/sxs/tests enable_tests
18962 wine_fn_config_makefile dlls/system.drv16 enable_win16
18963 wine_fn_config_makefile dlls/t2embed enable_t2embed
18964 wine_fn_config_makefile dlls/t2embed/tests enable_tests
18965 wine_fn_config_makefile dlls/tapi32 enable_tapi32
18966 wine_fn_config_makefile dlls/taskschd enable_taskschd
18967 wine_fn_config_makefile dlls/taskschd/tests enable_tests
18968 wine_fn_config_makefile dlls/tdh enable_tdh
18969 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
18970 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
18971 wine_fn_config_makefile dlls/traffic enable_traffic
18972 wine_fn_config_makefile dlls/twain.dll16 enable_win16
18973 wine_fn_config_makefile dlls/twain_32 enable_twain_32
18974 wine_fn_config_makefile dlls/twain_32/tests enable_tests
18975 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
18976 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
18977 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
18978 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
18979 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
18980 wine_fn_config_makefile dlls/unicows enable_unicows
18981 wine_fn_config_makefile dlls/updspapi enable_updspapi
18982 wine_fn_config_makefile dlls/url enable_url
18983 wine_fn_config_makefile dlls/urlmon enable_urlmon
18984 wine_fn_config_makefile dlls/urlmon/tests enable_tests
18985 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
18986 wine_fn_config_makefile dlls/user.exe16 enable_win16
18987 wine_fn_config_makefile dlls/user32 enable_user32
18988 wine_fn_config_makefile dlls/user32/tests enable_tests
18989 wine_fn_config_makefile dlls/userenv enable_userenv
18990 wine_fn_config_makefile dlls/userenv/tests enable_tests
18991 wine_fn_config_makefile dlls/usp10 enable_usp10
18992 wine_fn_config_makefile dlls/usp10/tests enable_tests
18993 wine_fn_config_makefile dlls/uuid enable_uuid
18994 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
18995 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
18996 wine_fn_config_makefile dlls/vbscript enable_vbscript
18997 wine_fn_config_makefile dlls/vbscript/tests enable_tests
18998 wine_fn_config_makefile dlls/vcomp enable_vcomp
18999 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19000 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19001 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19002 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19003 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19004 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19005 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19006 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19007 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19008 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19009 wine_fn_config_makefile dlls/version enable_version
19010 wine_fn_config_makefile dlls/version/tests enable_tests
19011 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19012 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19013 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19014 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19015 wine_fn_config_makefile dlls/vssapi enable_vssapi
19016 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19017 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19018 wine_fn_config_makefile dlls/w32skrnl enable_win16
19019 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19020 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19021 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19022 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19023 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19024 wine_fn_config_makefile dlls/wdscore enable_wdscore
19025 wine_fn_config_makefile dlls/webservices enable_webservices
19026 wine_fn_config_makefile dlls/webservices/tests enable_tests
19027 wine_fn_config_makefile dlls/wer enable_wer
19028 wine_fn_config_makefile dlls/wer/tests enable_tests
19029 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19030 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19031 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19032 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19033 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19034 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19035 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19036 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19037 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19038 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19039 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19040 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19041 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19042 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19043 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19044 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19045 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19046 wine_fn_config_makefile dlls/wined3d enable_wined3d
19047 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19048 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19049 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19050 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19051 wine_fn_config_makefile dlls/winemapi enable_winemapi
19052 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19053 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19054 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19055 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19056 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19057 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19058 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19059 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19060 wine_fn_config_makefile dlls/wing32 enable_wing32
19061 wine_fn_config_makefile dlls/winhttp enable_winhttp
19062 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19063 wine_fn_config_makefile dlls/wininet enable_wininet
19064 wine_fn_config_makefile dlls/wininet/tests enable_tests
19065 wine_fn_config_makefile dlls/winmm enable_winmm
19066 wine_fn_config_makefile dlls/winmm/tests enable_tests
19067 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19068 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19069 wine_fn_config_makefile dlls/winscard enable_winscard
19070 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19071 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19072 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19073 wine_fn_config_makefile dlls/winsta enable_winsta
19074 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19075 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19076 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19077 wine_fn_config_makefile dlls/wintrust enable_wintrust
19078 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19079 wine_fn_config_makefile dlls/winusb enable_winusb
19080 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19081 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19082 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19083 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19084 wine_fn_config_makefile dlls/wmasf enable_wmasf
19085 wine_fn_config_makefile dlls/wmi enable_wmi
19086 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19087 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19088 wine_fn_config_makefile dlls/wmp enable_wmp
19089 wine_fn_config_makefile dlls/wmp/tests enable_tests
19090 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19091 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19092 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19093 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19094 wine_fn_config_makefile dlls/wow32 enable_win16
19095 wine_fn_config_makefile dlls/wpc enable_wpc
19096 wine_fn_config_makefile dlls/wpc/tests enable_tests
19097 wine_fn_config_makefile dlls/wpcap enable_wpcap
19098 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19099 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19100 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19101 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19102 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19103 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19104 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19105 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19106 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19107 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19108 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19109 wine_fn_config_makefile dlls/wuapi enable_wuapi
19110 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19111 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19112 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19113 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19114 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19115 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19116 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19117 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19118 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19119 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19120 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19121 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19122 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19123 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19124 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19125 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19126 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19127 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19128 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19129 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19130 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19131 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19132 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19133 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19134 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19135 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19136 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19137 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19138 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19139 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19140 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19141 wine_fn_config_makefile dlls/xmllite enable_xmllite
19142 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19143 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19144 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19145 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19146 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19147 wine_fn_config_makefile include enable_include
19148 wine_fn_config_makefile libs/port enable_port
19149 wine_fn_config_makefile libs/wine enable_wine
19150 wine_fn_config_makefile libs/wpp enable_wpp
19151 wine_fn_config_makefile loader enable_loader
19152 wine_fn_config_makefile po enable_po
19153 wine_fn_config_makefile programs/arp enable_arp
19154 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19155 wine_fn_config_makefile programs/attrib enable_attrib
19156 wine_fn_config_makefile programs/cabarc enable_cabarc
19157 wine_fn_config_makefile programs/cacls enable_cacls
19158 wine_fn_config_makefile programs/clock enable_clock
19159 wine_fn_config_makefile programs/cmd enable_cmd
19160 wine_fn_config_makefile programs/cmd/tests enable_tests
19161 wine_fn_config_makefile programs/conhost enable_conhost
19162 wine_fn_config_makefile programs/control enable_control
19163 wine_fn_config_makefile programs/cscript enable_cscript
19164 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19165 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19166 wine_fn_config_makefile programs/eject enable_eject
19167 wine_fn_config_makefile programs/expand enable_expand
19168 wine_fn_config_makefile programs/explorer enable_explorer
19169 wine_fn_config_makefile programs/extrac32 enable_extrac32
19170 wine_fn_config_makefile programs/findstr enable_findstr
19171 wine_fn_config_makefile programs/fsutil enable_fsutil
19172 wine_fn_config_makefile programs/hh enable_hh
19173 wine_fn_config_makefile programs/hostname enable_hostname
19174 wine_fn_config_makefile programs/icacls enable_icacls
19175 wine_fn_config_makefile programs/icinfo enable_icinfo
19176 wine_fn_config_makefile programs/iexplore enable_iexplore
19177 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19178 wine_fn_config_makefile programs/lodctr enable_lodctr
19179 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19180 wine_fn_config_makefile programs/mshta enable_mshta
19181 wine_fn_config_makefile programs/msiexec enable_msiexec
19182 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19183 wine_fn_config_makefile programs/net enable_net
19184 wine_fn_config_makefile programs/netsh enable_netsh
19185 wine_fn_config_makefile programs/netstat enable_netstat
19186 wine_fn_config_makefile programs/ngen enable_ngen
19187 wine_fn_config_makefile programs/notepad enable_notepad
19188 wine_fn_config_makefile programs/oleview enable_oleview
19189 wine_fn_config_makefile programs/ping enable_ping
19190 wine_fn_config_makefile programs/plugplay enable_plugplay
19191 wine_fn_config_makefile programs/powershell enable_powershell
19192 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19193 wine_fn_config_makefile programs/progman enable_progman
19194 wine_fn_config_makefile programs/reg enable_reg
19195 wine_fn_config_makefile programs/reg/tests enable_tests
19196 wine_fn_config_makefile programs/regasm enable_regasm
19197 wine_fn_config_makefile programs/regedit enable_regedit
19198 wine_fn_config_makefile programs/regedit/tests enable_tests
19199 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19200 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19201 wine_fn_config_makefile programs/rpcss enable_rpcss
19202 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19203 wine_fn_config_makefile programs/rundll32 enable_rundll32
19204 wine_fn_config_makefile programs/sc enable_sc
19205 wine_fn_config_makefile programs/schtasks enable_schtasks
19206 wine_fn_config_makefile programs/schtasks/tests enable_tests
19207 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19208 wine_fn_config_makefile programs/secedit enable_secedit
19209 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19210 wine_fn_config_makefile programs/services enable_services
19211 wine_fn_config_makefile programs/services/tests enable_tests
19212 wine_fn_config_makefile programs/shutdown enable_shutdown
19213 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19214 wine_fn_config_makefile programs/start enable_start
19215 wine_fn_config_makefile programs/subst enable_subst
19216 wine_fn_config_makefile programs/svchost enable_svchost
19217 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19218 wine_fn_config_makefile programs/taskkill enable_taskkill
19219 wine_fn_config_makefile programs/tasklist enable_tasklist
19220 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19221 wine_fn_config_makefile programs/termsv enable_termsv
19222 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19223 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19224 wine_fn_config_makefile programs/view enable_view
19225 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19226 wine_fn_config_makefile programs/wineboot enable_wineboot
19227 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19228 wine_fn_config_makefile programs/winecfg enable_winecfg
19229 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19230 wine_fn_config_makefile programs/winedbg enable_winedbg
19231 wine_fn_config_makefile programs/winedevice enable_winedevice
19232 wine_fn_config_makefile programs/winefile enable_winefile
19233 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19234 wine_fn_config_makefile programs/winemine enable_winemine
19235 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19236 wine_fn_config_makefile programs/winepath enable_winepath
19237 wine_fn_config_makefile programs/winetest enable_winetest
19238 wine_fn_config_makefile programs/winevdm enable_win16
19239 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19240 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19241 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19242 wine_fn_config_makefile programs/winver enable_winver
19243 wine_fn_config_makefile programs/wmic enable_wmic
19244 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19245 wine_fn_config_makefile programs/wordpad enable_wordpad
19246 wine_fn_config_makefile programs/write enable_write
19247 wine_fn_config_makefile programs/wscript enable_wscript
19248 wine_fn_config_makefile programs/wscript/tests enable_tests
19249 wine_fn_config_makefile programs/wusa enable_wusa
19250 wine_fn_config_makefile programs/xcopy enable_xcopy
19251 wine_fn_config_makefile programs/xcopy/tests enable_tests
19252 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19253 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19254 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19255 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19256 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19264 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19265 wine_fn_append_file CONFIGURE_TARGETS "tags"
19266 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19267 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19268 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19269 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19270 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19271 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19273 if test "x$enable_tools" != xno
19274 then
19275 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19276 ac_config_commands="$ac_config_commands tools/makedep"
19280 ac_config_commands="$ac_config_commands Makefile"
19283 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19287 if test "x$enable_maintainer_mode" = xyes
19288 then
19289 wine_fn_append_rule "configure: configure.ac aclocal.m4
19290 autoconf --warnings=all
19291 include/config.h.in: include/stamp-h.in
19292 include/stamp-h.in: configure.ac aclocal.m4
19293 autoheader --warnings=all
19294 @echo timestamp > \$@"
19297 if test "x$enable_tools" != xno
19298 then
19299 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19300 @./config.status tools/makedep
19301 Makefile: tools/makedep$ac_exeext
19302 fonts: tools/sfnt2fon
19303 include: tools tools/widl"
19304 else
19305 wine_fn_append_rule "\$(MAKEDEP):
19306 @echo \"You need to run make in $TOOLSDIR first\" && false"
19309 if test -n "$with_wine64"
19310 then
19311 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19312 fonts server:
19313 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19314 $with_wine64/loader/wine:
19315 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19316 $with_wine64/loader/wine-preloader:
19317 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19318 clean::
19319 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19320 else
19321 WINELOADER_INSTALL="wine.inf l_intl.nls"
19323 case $host_os in
19324 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19325 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19326 esac
19329 $as_echo " done" >&6
19330 cat >confcache <<\_ACEOF
19331 # This file is a shell script that caches the results of configure
19332 # tests run on this system so they can be shared between configure
19333 # scripts and configure runs, see configure's option --config-cache.
19334 # It is not useful on other systems. If it contains results you don't
19335 # want to keep, you may remove or edit it.
19337 # config.status only pays attention to the cache file if you give it
19338 # the --recheck option to rerun configure.
19340 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19341 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19342 # following values.
19344 _ACEOF
19346 # The following way of writing the cache mishandles newlines in values,
19347 # but we know of no workaround that is simple, portable, and efficient.
19348 # So, we kill variables containing newlines.
19349 # Ultrix sh set writes to stderr and can't be redirected directly,
19350 # and sets the high bit in the cache file unless we assign to the vars.
19352 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19353 eval ac_val=\$$ac_var
19354 case $ac_val in #(
19355 *${as_nl}*)
19356 case $ac_var in #(
19357 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19358 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19359 esac
19360 case $ac_var in #(
19361 _ | IFS | as_nl) ;; #(
19362 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19363 *) { eval $ac_var=; unset $ac_var;} ;;
19364 esac ;;
19365 esac
19366 done
19368 (set) 2>&1 |
19369 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19370 *${as_nl}ac_space=\ *)
19371 # `set' does not quote correctly, so add quotes: double-quote
19372 # substitution turns \\\\ into \\, and sed turns \\ into \.
19373 sed -n \
19374 "s/'/'\\\\''/g;
19375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19376 ;; #(
19378 # `set' quotes correctly as required by POSIX, so do not add quotes.
19379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19381 esac |
19382 sort
19384 sed '
19385 /^ac_cv_env_/b end
19386 t clear
19387 :clear
19388 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19389 t end
19390 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19391 :end' >>confcache
19392 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19393 if test -w "$cache_file"; then
19394 if test "x$cache_file" != "x/dev/null"; then
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19396 $as_echo "$as_me: updating cache $cache_file" >&6;}
19397 if test ! -f "$cache_file" || test -h "$cache_file"; then
19398 cat confcache >"$cache_file"
19399 else
19400 case $cache_file in #(
19401 */* | ?:*)
19402 mv -f confcache "$cache_file"$$ &&
19403 mv -f "$cache_file"$$ "$cache_file" ;; #(
19405 mv -f confcache "$cache_file" ;;
19406 esac
19409 else
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19411 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19414 rm -f confcache
19416 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19417 # Let make expand exec_prefix.
19418 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19420 DEFS=-DHAVE_CONFIG_H
19422 ac_libobjs=
19423 ac_ltlibobjs=
19425 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19426 # 1. Remove the extension, and $U if already installed.
19427 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19428 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19429 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19430 # will be set to the directory where LIBOBJS objects are built.
19431 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19432 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19433 done
19434 LIBOBJS=$ac_libobjs
19436 LTLIBOBJS=$ac_ltlibobjs
19440 : "${CONFIG_STATUS=./config.status}"
19441 ac_write_fail=0
19442 ac_clean_files_save=$ac_clean_files
19443 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19445 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19446 as_write_fail=0
19447 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19448 #! $SHELL
19449 # Generated by $as_me.
19450 # Run this file to recreate the current configuration.
19451 # Compiler output produced by configure, useful for debugging
19452 # configure, is in config.log if it exists.
19454 debug=false
19455 ac_cs_recheck=false
19456 ac_cs_silent=false
19458 SHELL=\${CONFIG_SHELL-$SHELL}
19459 export SHELL
19460 _ASEOF
19461 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19462 ## -------------------- ##
19463 ## M4sh Initialization. ##
19464 ## -------------------- ##
19466 # Be more Bourne compatible
19467 DUALCASE=1; export DUALCASE # for MKS sh
19468 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19469 emulate sh
19470 NULLCMD=:
19471 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19472 # is contrary to our usage. Disable this feature.
19473 alias -g '${1+"$@"}'='"$@"'
19474 setopt NO_GLOB_SUBST
19475 else
19476 case `(set -o) 2>/dev/null` in #(
19477 *posix*) :
19478 set -o posix ;; #(
19479 *) :
19481 esac
19485 as_nl='
19487 export as_nl
19488 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19489 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19490 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19491 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19492 # Prefer a ksh shell builtin over an external printf program on Solaris,
19493 # but without wasting forks for bash or zsh.
19494 if test -z "$BASH_VERSION$ZSH_VERSION" \
19495 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19496 as_echo='print -r --'
19497 as_echo_n='print -rn --'
19498 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19499 as_echo='printf %s\n'
19500 as_echo_n='printf %s'
19501 else
19502 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19503 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19504 as_echo_n='/usr/ucb/echo -n'
19505 else
19506 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19507 as_echo_n_body='eval
19508 arg=$1;
19509 case $arg in #(
19510 *"$as_nl"*)
19511 expr "X$arg" : "X\\(.*\\)$as_nl";
19512 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19513 esac;
19514 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19516 export as_echo_n_body
19517 as_echo_n='sh -c $as_echo_n_body as_echo'
19519 export as_echo_body
19520 as_echo='sh -c $as_echo_body as_echo'
19523 # The user is always right.
19524 if test "${PATH_SEPARATOR+set}" != set; then
19525 PATH_SEPARATOR=:
19526 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19527 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19528 PATH_SEPARATOR=';'
19533 # IFS
19534 # We need space, tab and new line, in precisely that order. Quoting is
19535 # there to prevent editors from complaining about space-tab.
19536 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19537 # splitting by setting IFS to empty value.)
19538 IFS=" "" $as_nl"
19540 # Find who we are. Look in the path if we contain no directory separator.
19541 as_myself=
19542 case $0 in #((
19543 *[\\/]* ) as_myself=$0 ;;
19544 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19545 for as_dir in $PATH
19547 IFS=$as_save_IFS
19548 test -z "$as_dir" && as_dir=.
19549 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19550 done
19551 IFS=$as_save_IFS
19554 esac
19555 # We did not find ourselves, most probably we were run as `sh COMMAND'
19556 # in which case we are not to be found in the path.
19557 if test "x$as_myself" = x; then
19558 as_myself=$0
19560 if test ! -f "$as_myself"; then
19561 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19562 exit 1
19565 # Unset variables that we do not need and which cause bugs (e.g. in
19566 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19567 # suppresses any "Segmentation fault" message there. '((' could
19568 # trigger a bug in pdksh 5.2.14.
19569 for as_var in BASH_ENV ENV MAIL MAILPATH
19570 do eval test x\${$as_var+set} = xset \
19571 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19572 done
19573 PS1='$ '
19574 PS2='> '
19575 PS4='+ '
19577 # NLS nuisances.
19578 LC_ALL=C
19579 export LC_ALL
19580 LANGUAGE=C
19581 export LANGUAGE
19583 # CDPATH.
19584 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19587 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19588 # ----------------------------------------
19589 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19590 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19591 # script with STATUS, using 1 if that was 0.
19592 as_fn_error ()
19594 as_status=$1; test $as_status -eq 0 && as_status=1
19595 if test "$4"; then
19596 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19597 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19599 $as_echo "$as_me: error: $2" >&2
19600 as_fn_exit $as_status
19601 } # as_fn_error
19604 # as_fn_set_status STATUS
19605 # -----------------------
19606 # Set $? to STATUS, without forking.
19607 as_fn_set_status ()
19609 return $1
19610 } # as_fn_set_status
19612 # as_fn_exit STATUS
19613 # -----------------
19614 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19615 as_fn_exit ()
19617 set +e
19618 as_fn_set_status $1
19619 exit $1
19620 } # as_fn_exit
19622 # as_fn_unset VAR
19623 # ---------------
19624 # Portably unset VAR.
19625 as_fn_unset ()
19627 { eval $1=; unset $1;}
19629 as_unset=as_fn_unset
19630 # as_fn_append VAR VALUE
19631 # ----------------------
19632 # Append the text in VALUE to the end of the definition contained in VAR. Take
19633 # advantage of any shell optimizations that allow amortized linear growth over
19634 # repeated appends, instead of the typical quadratic growth present in naive
19635 # implementations.
19636 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19637 eval 'as_fn_append ()
19639 eval $1+=\$2
19641 else
19642 as_fn_append ()
19644 eval $1=\$$1\$2
19646 fi # as_fn_append
19648 # as_fn_arith ARG...
19649 # ------------------
19650 # Perform arithmetic evaluation on the ARGs, and store the result in the
19651 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19652 # must be portable across $(()) and expr.
19653 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19654 eval 'as_fn_arith ()
19656 as_val=$(( $* ))
19658 else
19659 as_fn_arith ()
19661 as_val=`expr "$@" || test $? -eq 1`
19663 fi # as_fn_arith
19666 if expr a : '\(a\)' >/dev/null 2>&1 &&
19667 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19668 as_expr=expr
19669 else
19670 as_expr=false
19673 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19674 as_basename=basename
19675 else
19676 as_basename=false
19679 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19680 as_dirname=dirname
19681 else
19682 as_dirname=false
19685 as_me=`$as_basename -- "$0" ||
19686 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19687 X"$0" : 'X\(//\)$' \| \
19688 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19689 $as_echo X/"$0" |
19690 sed '/^.*\/\([^/][^/]*\)\/*$/{
19691 s//\1/
19694 /^X\/\(\/\/\)$/{
19695 s//\1/
19698 /^X\/\(\/\).*/{
19699 s//\1/
19702 s/.*/./; q'`
19704 # Avoid depending upon Character Ranges.
19705 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19706 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19707 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19708 as_cr_digits='0123456789'
19709 as_cr_alnum=$as_cr_Letters$as_cr_digits
19711 ECHO_C= ECHO_N= ECHO_T=
19712 case `echo -n x` in #(((((
19713 -n*)
19714 case `echo 'xy\c'` in
19715 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19716 xy) ECHO_C='\c';;
19717 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19718 ECHO_T=' ';;
19719 esac;;
19721 ECHO_N='-n';;
19722 esac
19724 rm -f conf$$ conf$$.exe conf$$.file
19725 if test -d conf$$.dir; then
19726 rm -f conf$$.dir/conf$$.file
19727 else
19728 rm -f conf$$.dir
19729 mkdir conf$$.dir 2>/dev/null
19731 if (echo >conf$$.file) 2>/dev/null; then
19732 if ln -s conf$$.file conf$$ 2>/dev/null; then
19733 as_ln_s='ln -s'
19734 # ... but there are two gotchas:
19735 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19736 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19737 # In both cases, we have to default to `cp -pR'.
19738 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19739 as_ln_s='cp -pR'
19740 elif ln conf$$.file conf$$ 2>/dev/null; then
19741 as_ln_s=ln
19742 else
19743 as_ln_s='cp -pR'
19745 else
19746 as_ln_s='cp -pR'
19748 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19749 rmdir conf$$.dir 2>/dev/null
19752 # as_fn_mkdir_p
19753 # -------------
19754 # Create "$as_dir" as a directory, including parents if necessary.
19755 as_fn_mkdir_p ()
19758 case $as_dir in #(
19759 -*) as_dir=./$as_dir;;
19760 esac
19761 test -d "$as_dir" || eval $as_mkdir_p || {
19762 as_dirs=
19763 while :; do
19764 case $as_dir in #(
19765 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19766 *) as_qdir=$as_dir;;
19767 esac
19768 as_dirs="'$as_qdir' $as_dirs"
19769 as_dir=`$as_dirname -- "$as_dir" ||
19770 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19771 X"$as_dir" : 'X\(//\)[^/]' \| \
19772 X"$as_dir" : 'X\(//\)$' \| \
19773 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19774 $as_echo X"$as_dir" |
19775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19776 s//\1/
19779 /^X\(\/\/\)[^/].*/{
19780 s//\1/
19783 /^X\(\/\/\)$/{
19784 s//\1/
19787 /^X\(\/\).*/{
19788 s//\1/
19791 s/.*/./; q'`
19792 test -d "$as_dir" && break
19793 done
19794 test -z "$as_dirs" || eval "mkdir $as_dirs"
19795 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19798 } # as_fn_mkdir_p
19799 if mkdir -p . 2>/dev/null; then
19800 as_mkdir_p='mkdir -p "$as_dir"'
19801 else
19802 test -d ./-p && rmdir ./-p
19803 as_mkdir_p=false
19807 # as_fn_executable_p FILE
19808 # -----------------------
19809 # Test if FILE is an executable regular file.
19810 as_fn_executable_p ()
19812 test -f "$1" && test -x "$1"
19813 } # as_fn_executable_p
19814 as_test_x='test -x'
19815 as_executable_p=as_fn_executable_p
19817 # Sed expression to map a string onto a valid CPP name.
19818 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19820 # Sed expression to map a string onto a valid variable name.
19821 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19824 exec 6>&1
19825 ## ----------------------------------- ##
19826 ## Main body of $CONFIG_STATUS script. ##
19827 ## ----------------------------------- ##
19828 _ASEOF
19829 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19832 # Save the log message, to keep $0 and so on meaningful, and to
19833 # report actual input values of CONFIG_FILES etc. instead of their
19834 # values after options handling.
19835 ac_log="
19836 This file was extended by Wine $as_me 3.3, which was
19837 generated by GNU Autoconf 2.69. Invocation command line was
19839 CONFIG_FILES = $CONFIG_FILES
19840 CONFIG_HEADERS = $CONFIG_HEADERS
19841 CONFIG_LINKS = $CONFIG_LINKS
19842 CONFIG_COMMANDS = $CONFIG_COMMANDS
19843 $ $0 $@
19845 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19848 _ACEOF
19850 case $ac_config_files in *"
19851 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19852 esac
19854 case $ac_config_headers in *"
19855 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19856 esac
19859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19860 # Files that config.status was made for.
19861 config_files="$ac_config_files"
19862 config_headers="$ac_config_headers"
19863 config_links="$ac_config_links"
19864 config_commands="$ac_config_commands"
19866 _ACEOF
19868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19869 ac_cs_usage="\
19870 \`$as_me' instantiates files and other configuration actions
19871 from templates according to the current configuration. Unless the files
19872 and actions are specified as TAGs, all are instantiated by default.
19874 Usage: $0 [OPTION]... [TAG]...
19876 -h, --help print this help, then exit
19877 -V, --version print version number and configuration settings, then exit
19878 --config print configuration, then exit
19879 -q, --quiet, --silent
19880 do not print progress messages
19881 -d, --debug don't remove temporary files
19882 --recheck update $as_me by reconfiguring in the same conditions
19883 --file=FILE[:TEMPLATE]
19884 instantiate the configuration file FILE
19885 --header=FILE[:TEMPLATE]
19886 instantiate the configuration header FILE
19888 Configuration files:
19889 $config_files
19891 Configuration headers:
19892 $config_headers
19894 Configuration links:
19895 $config_links
19897 Configuration commands:
19898 $config_commands
19900 Report bugs to <wine-devel@winehq.org>.
19901 Wine home page: <https://www.winehq.org>."
19903 _ACEOF
19904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19905 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19906 ac_cs_version="\\
19907 Wine config.status 3.3
19908 configured by $0, generated by GNU Autoconf 2.69,
19909 with options \\"\$ac_cs_config\\"
19911 Copyright (C) 2012 Free Software Foundation, Inc.
19912 This config.status script is free software; the Free Software Foundation
19913 gives unlimited permission to copy, distribute and modify it."
19915 ac_pwd='$ac_pwd'
19916 srcdir='$srcdir'
19917 test -n "\$AWK" || AWK=awk
19918 _ACEOF
19920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19921 # The default lists apply if the user does not specify any file.
19922 ac_need_defaults=:
19923 while test $# != 0
19925 case $1 in
19926 --*=?*)
19927 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19928 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19929 ac_shift=:
19931 --*=)
19932 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19933 ac_optarg=
19934 ac_shift=:
19937 ac_option=$1
19938 ac_optarg=$2
19939 ac_shift=shift
19941 esac
19943 case $ac_option in
19944 # Handling of the options.
19945 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19946 ac_cs_recheck=: ;;
19947 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19948 $as_echo "$ac_cs_version"; exit ;;
19949 --config | --confi | --conf | --con | --co | --c )
19950 $as_echo "$ac_cs_config"; exit ;;
19951 --debug | --debu | --deb | --de | --d | -d )
19952 debug=: ;;
19953 --file | --fil | --fi | --f )
19954 $ac_shift
19955 case $ac_optarg in
19956 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19957 '') as_fn_error $? "missing file argument" ;;
19958 esac
19959 as_fn_append CONFIG_FILES " '$ac_optarg'"
19960 ac_need_defaults=false;;
19961 --header | --heade | --head | --hea )
19962 $ac_shift
19963 case $ac_optarg in
19964 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19965 esac
19966 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19967 ac_need_defaults=false;;
19968 --he | --h)
19969 # Conflict between --help and --header
19970 as_fn_error $? "ambiguous option: \`$1'
19971 Try \`$0 --help' for more information.";;
19972 --help | --hel | -h )
19973 $as_echo "$ac_cs_usage"; exit ;;
19974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19975 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19976 ac_cs_silent=: ;;
19978 # This is an error.
19979 -*) as_fn_error $? "unrecognized option: \`$1'
19980 Try \`$0 --help' for more information." ;;
19982 *) as_fn_append ac_config_targets " $1"
19983 ac_need_defaults=false ;;
19985 esac
19986 shift
19987 done
19989 ac_configure_extra_args=
19991 if $ac_cs_silent; then
19992 exec 6>/dev/null
19993 ac_configure_extra_args="$ac_configure_extra_args --silent"
19996 _ACEOF
19997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19998 if \$ac_cs_recheck; then
19999 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20000 shift
20001 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20002 CONFIG_SHELL='$SHELL'
20003 export CONFIG_SHELL
20004 exec "\$@"
20007 _ACEOF
20008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20009 exec 5>>config.log
20011 echo
20012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20013 ## Running $as_me. ##
20014 _ASBOX
20015 $as_echo "$ac_log"
20016 } >&5
20018 _ACEOF
20019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20021 # INIT-COMMANDS
20023 wine_fn_output_makedep ()
20025 as_dir=tools; as_fn_mkdir_p
20026 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20028 wine_fn_output_makefile ()
20030 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20031 `cat $wine_rules_file`
20032 _WINE_EOF
20033 as_fn_error $? "could not create Makefile" "$LINENO" 5
20036 _ACEOF
20038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20040 # Handling of arguments.
20041 for ac_config_target in $ac_config_targets
20043 case $ac_config_target in
20044 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20045 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20046 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20047 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20048 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20049 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20050 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20051 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20052 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20053 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20054 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20055 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20056 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20058 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20059 esac
20060 done
20063 # If the user did not use the arguments to specify the items to instantiate,
20064 # then the envvar interface is used. Set only those that are not.
20065 # We use the long form for the default assignment because of an extremely
20066 # bizarre bug on SunOS 4.1.3.
20067 if $ac_need_defaults; then
20068 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20069 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20070 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20071 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20074 # Have a temporary directory for convenience. Make it in the build tree
20075 # simply because there is no reason against having it here, and in addition,
20076 # creating and moving files from /tmp can sometimes cause problems.
20077 # Hook for its removal unless debugging.
20078 # Note that there is a small window in which the directory will not be cleaned:
20079 # after its creation but before its name has been assigned to `$tmp'.
20080 $debug ||
20082 tmp= ac_tmp=
20083 trap 'exit_status=$?
20084 : "${ac_tmp:=$tmp}"
20085 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20087 trap 'as_fn_exit 1' 1 2 13 15
20089 # Create a (secure) tmp directory for tmp files.
20092 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20093 test -d "$tmp"
20094 } ||
20096 tmp=./conf$$-$RANDOM
20097 (umask 077 && mkdir "$tmp")
20098 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20099 ac_tmp=$tmp
20101 # Set up the scripts for CONFIG_FILES section.
20102 # No need to generate them if there are no CONFIG_FILES.
20103 # This happens for instance with `./config.status config.h'.
20104 if test -n "$CONFIG_FILES"; then
20107 ac_cr=`echo X | tr X '\015'`
20108 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20109 # But we know of no other shell where ac_cr would be empty at this
20110 # point, so we can use a bashism as a fallback.
20111 if test "x$ac_cr" = x; then
20112 eval ac_cr=\$\'\\r\'
20114 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20115 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20116 ac_cs_awk_cr='\\r'
20117 else
20118 ac_cs_awk_cr=$ac_cr
20121 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20122 _ACEOF
20126 echo "cat >conf$$subs.awk <<_ACEOF" &&
20127 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20128 echo "_ACEOF"
20129 } >conf$$subs.sh ||
20130 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20131 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20132 ac_delim='%!_!# '
20133 for ac_last_try in false false false false false :; do
20134 . ./conf$$subs.sh ||
20135 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20137 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20138 if test $ac_delim_n = $ac_delim_num; then
20139 break
20140 elif $ac_last_try; then
20141 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20142 else
20143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20145 done
20146 rm -f conf$$subs.sh
20148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20149 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20150 _ACEOF
20151 sed -n '
20153 s/^/S["/; s/!.*/"]=/
20156 s/^[^!]*!//
20157 :repl
20158 t repl
20159 s/'"$ac_delim"'$//
20160 t delim
20163 s/\(.\{148\}\)..*/\1/
20164 t more1
20165 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20168 b repl
20169 :more1
20170 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20173 s/.\{148\}//
20174 t nl
20175 :delim
20177 s/\(.\{148\}\)..*/\1/
20178 t more2
20179 s/["\\]/\\&/g; s/^/"/; s/$/"/
20182 :more2
20183 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20186 s/.\{148\}//
20187 t delim
20188 ' <conf$$subs.awk | sed '
20189 /^[^""]/{
20191 s/\n//
20193 ' >>$CONFIG_STATUS || ac_write_fail=1
20194 rm -f conf$$subs.awk
20195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20196 _ACAWK
20197 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20198 for (key in S) S_is_set[key] = 1
20199 FS = "\a"
20203 line = $ 0
20204 nfields = split(line, field, "@")
20205 substed = 0
20206 len = length(field[1])
20207 for (i = 2; i < nfields; i++) {
20208 key = field[i]
20209 keylen = length(key)
20210 if (S_is_set[key]) {
20211 value = S[key]
20212 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20213 len += length(value) + length(field[++i])
20214 substed = 1
20215 } else
20216 len += 1 + keylen
20219 print line
20222 _ACAWK
20223 _ACEOF
20224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20225 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20226 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20227 else
20229 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20230 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20231 _ACEOF
20233 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20234 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20235 # trailing colons and then remove the whole line if VPATH becomes empty
20236 # (actually we leave an empty line to preserve line numbers).
20237 if test "x$srcdir" = x.; then
20238 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20240 s///
20241 s/^/:/
20242 s/[ ]*$/:/
20243 s/:\$(srcdir):/:/g
20244 s/:\${srcdir}:/:/g
20245 s/:@srcdir@:/:/g
20246 s/^:*//
20247 s/:*$//
20249 s/\(=[ ]*\).*/\1/
20251 s/\n//
20252 s/^[^=]*=[ ]*$//
20256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20257 fi # test -n "$CONFIG_FILES"
20259 # Set up the scripts for CONFIG_HEADERS section.
20260 # No need to generate them if there are no CONFIG_HEADERS.
20261 # This happens for instance with `./config.status Makefile'.
20262 if test -n "$CONFIG_HEADERS"; then
20263 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20264 BEGIN {
20265 _ACEOF
20267 # Transform confdefs.h into an awk script `defines.awk', embedded as
20268 # here-document in config.status, that substitutes the proper values into
20269 # config.h.in to produce config.h.
20271 # Create a delimiter string that does not exist in confdefs.h, to ease
20272 # handling of long lines.
20273 ac_delim='%!_!# '
20274 for ac_last_try in false false :; do
20275 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20276 if test -z "$ac_tt"; then
20277 break
20278 elif $ac_last_try; then
20279 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20280 else
20281 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20283 done
20285 # For the awk script, D is an array of macro values keyed by name,
20286 # likewise P contains macro parameters if any. Preserve backslash
20287 # newline sequences.
20289 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20290 sed -n '
20291 s/.\{148\}/&'"$ac_delim"'/g
20292 t rset
20293 :rset
20294 s/^[ ]*#[ ]*define[ ][ ]*/ /
20295 t def
20297 :def
20298 s/\\$//
20299 t bsnl
20300 s/["\\]/\\&/g
20301 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20302 D["\1"]=" \3"/p
20303 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20305 :bsnl
20306 s/["\\]/\\&/g
20307 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20308 D["\1"]=" \3\\\\\\n"\\/p
20309 t cont
20310 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20311 t cont
20313 :cont
20315 s/.\{148\}/&'"$ac_delim"'/g
20316 t clear
20317 :clear
20318 s/\\$//
20319 t bsnlc
20320 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20322 :bsnlc
20323 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20324 b cont
20325 ' <confdefs.h | sed '
20326 s/'"$ac_delim"'/"\\\
20327 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20330 for (key in D) D_is_set[key] = 1
20331 FS = "\a"
20333 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20334 line = \$ 0
20335 split(line, arg, " ")
20336 if (arg[1] == "#") {
20337 defundef = arg[2]
20338 mac1 = arg[3]
20339 } else {
20340 defundef = substr(arg[1], 2)
20341 mac1 = arg[2]
20343 split(mac1, mac2, "(") #)
20344 macro = mac2[1]
20345 prefix = substr(line, 1, index(line, defundef) - 1)
20346 if (D_is_set[macro]) {
20347 # Preserve the white space surrounding the "#".
20348 print prefix "define", macro P[macro] D[macro]
20349 next
20350 } else {
20351 # Replace #undef with comments. This is necessary, for example,
20352 # in the case of _POSIX_SOURCE, which is predefined and required
20353 # on some systems where configure will not decide to define it.
20354 if (defundef == "undef") {
20355 print "/*", prefix defundef, macro, "*/"
20356 next
20360 { print }
20361 _ACAWK
20362 _ACEOF
20363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20364 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20365 fi # test -n "$CONFIG_HEADERS"
20368 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20369 shift
20370 for ac_tag
20372 case $ac_tag in
20373 :[FHLC]) ac_mode=$ac_tag; continue;;
20374 esac
20375 case $ac_mode$ac_tag in
20376 :[FHL]*:*);;
20377 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20378 :[FH]-) ac_tag=-:-;;
20379 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20380 esac
20381 ac_save_IFS=$IFS
20382 IFS=:
20383 set x $ac_tag
20384 IFS=$ac_save_IFS
20385 shift
20386 ac_file=$1
20387 shift
20389 case $ac_mode in
20390 :L) ac_source=$1;;
20391 :[FH])
20392 ac_file_inputs=
20393 for ac_f
20395 case $ac_f in
20396 -) ac_f="$ac_tmp/stdin";;
20397 *) # Look for the file first in the build tree, then in the source tree
20398 # (if the path is not absolute). The absolute path cannot be DOS-style,
20399 # because $ac_f cannot contain `:'.
20400 test -f "$ac_f" ||
20401 case $ac_f in
20402 [\\/$]*) false;;
20403 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20404 esac ||
20405 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20406 esac
20407 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20408 as_fn_append ac_file_inputs " '$ac_f'"
20409 done
20411 # Let's still pretend it is `configure' which instantiates (i.e., don't
20412 # use $as_me), people would be surprised to read:
20413 # /* config.h. Generated by config.status. */
20414 configure_input='Generated from '`
20415 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20416 `' by configure.'
20417 if test x"$ac_file" != x-; then
20418 configure_input="$ac_file. $configure_input"
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20420 $as_echo "$as_me: creating $ac_file" >&6;}
20422 # Neutralize special characters interpreted by sed in replacement strings.
20423 case $configure_input in #(
20424 *\&* | *\|* | *\\* )
20425 ac_sed_conf_input=`$as_echo "$configure_input" |
20426 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20427 *) ac_sed_conf_input=$configure_input;;
20428 esac
20430 case $ac_tag in
20431 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20432 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20433 esac
20435 esac
20437 ac_dir=`$as_dirname -- "$ac_file" ||
20438 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20439 X"$ac_file" : 'X\(//\)[^/]' \| \
20440 X"$ac_file" : 'X\(//\)$' \| \
20441 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20442 $as_echo X"$ac_file" |
20443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20444 s//\1/
20447 /^X\(\/\/\)[^/].*/{
20448 s//\1/
20451 /^X\(\/\/\)$/{
20452 s//\1/
20455 /^X\(\/\).*/{
20456 s//\1/
20459 s/.*/./; q'`
20460 as_dir="$ac_dir"; as_fn_mkdir_p
20461 ac_builddir=.
20463 case "$ac_dir" in
20464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20467 # A ".." for each directory in $ac_dir_suffix.
20468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20469 case $ac_top_builddir_sub in
20470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20472 esac ;;
20473 esac
20474 ac_abs_top_builddir=$ac_pwd
20475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20476 # for backward compatibility:
20477 ac_top_builddir=$ac_top_build_prefix
20479 case $srcdir in
20480 .) # We are building in place.
20481 ac_srcdir=.
20482 ac_top_srcdir=$ac_top_builddir_sub
20483 ac_abs_top_srcdir=$ac_pwd ;;
20484 [\\/]* | ?:[\\/]* ) # Absolute name.
20485 ac_srcdir=$srcdir$ac_dir_suffix;
20486 ac_top_srcdir=$srcdir
20487 ac_abs_top_srcdir=$srcdir ;;
20488 *) # Relative name.
20489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20490 ac_top_srcdir=$ac_top_build_prefix$srcdir
20491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20492 esac
20493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20496 case $ac_mode in
20499 # CONFIG_FILE
20502 _ACEOF
20504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20505 # If the template does not know about datarootdir, expand it.
20506 # FIXME: This hack should be removed a few years after 2.60.
20507 ac_datarootdir_hack=; ac_datarootdir_seen=
20508 ac_sed_dataroot='
20509 /datarootdir/ {
20513 /@datadir@/p
20514 /@docdir@/p
20515 /@infodir@/p
20516 /@localedir@/p
20517 /@mandir@/p'
20518 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20519 *datarootdir*) ac_datarootdir_seen=yes;;
20520 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20522 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20523 _ACEOF
20524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20525 ac_datarootdir_hack='
20526 s&@datadir@&$datadir&g
20527 s&@docdir@&$docdir&g
20528 s&@infodir@&$infodir&g
20529 s&@localedir@&$localedir&g
20530 s&@mandir@&$mandir&g
20531 s&\\\${datarootdir}&$datarootdir&g' ;;
20532 esac
20533 _ACEOF
20535 # Neutralize VPATH when `$srcdir' = `.'.
20536 # Shell code in configure.ac might set extrasub.
20537 # FIXME: do we really want to maintain this feature?
20538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20539 ac_sed_extra="$ac_vpsub
20540 $extrasub
20541 _ACEOF
20542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20545 s|@configure_input@|$ac_sed_conf_input|;t t
20546 s&@top_builddir@&$ac_top_builddir_sub&;t t
20547 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20548 s&@srcdir@&$ac_srcdir&;t t
20549 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20550 s&@top_srcdir@&$ac_top_srcdir&;t t
20551 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20552 s&@builddir@&$ac_builddir&;t t
20553 s&@abs_builddir@&$ac_abs_builddir&;t t
20554 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20555 $ac_datarootdir_hack
20557 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20558 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20560 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20561 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20562 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20563 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20565 which seems to be undefined. Please make sure it is defined" >&5
20566 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20567 which seems to be undefined. Please make sure it is defined" >&2;}
20569 rm -f "$ac_tmp/stdin"
20570 case $ac_file in
20571 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20572 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20573 esac \
20574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20578 # CONFIG_HEADER
20580 if test x"$ac_file" != x-; then
20582 $as_echo "/* $configure_input */" \
20583 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20584 } >"$ac_tmp/config.h" \
20585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20586 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20588 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20589 else
20590 rm -f "$ac_file"
20591 mv "$ac_tmp/config.h" "$ac_file" \
20592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20594 else
20595 $as_echo "/* $configure_input */" \
20596 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20597 || as_fn_error $? "could not create -" "$LINENO" 5
20602 # CONFIG_LINK
20605 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20607 else
20608 # Prefer the file from the source tree if names are identical.
20609 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20610 ac_source=$srcdir/$ac_source
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20614 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20616 if test ! -r "$ac_source"; then
20617 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20619 rm -f "$ac_file"
20621 # Try a relative symlink, then a hard link, then a copy.
20622 case $ac_source in
20623 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20624 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20625 esac
20626 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20627 ln "$ac_source" "$ac_file" 2>/dev/null ||
20628 cp -p "$ac_source" "$ac_file" ||
20629 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20632 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20633 $as_echo "$as_me: executing $ac_file commands" >&6;}
20635 esac
20638 case $ac_file$ac_mode in
20639 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20640 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20641 "Makefile":C) wine_fn_output_makefile Makefile ;;
20643 esac
20644 done # for ac_tag
20647 as_fn_exit 0
20648 _ACEOF
20649 ac_clean_files=$ac_clean_files_save
20651 test $ac_write_fail = 0 ||
20652 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20655 # configure is writing to config.log, and then calls config.status.
20656 # config.status does its own redirection, appending to config.log.
20657 # Unfortunately, on DOS this fails, as config.log is still kept open
20658 # by configure, so config.status won't be able to write to it; its
20659 # output is simply discarded. So we exec the FD to /dev/null,
20660 # effectively closing config.log, so it can be properly (re)opened and
20661 # appended to by config.status. When coming back to configure, we
20662 # need to make the FD available again.
20663 if test "$no_create" != yes; then
20664 ac_cs_success=:
20665 ac_config_status_args=
20666 test "$silent" = yes &&
20667 ac_config_status_args="$ac_config_status_args --quiet"
20668 exec 5>/dev/null
20669 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20670 exec 5>>config.log
20671 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20672 # would make configure fail if this is the last instruction.
20673 $ac_cs_success || as_fn_exit 1
20675 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20677 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20681 if test "$no_create" = "yes"
20682 then
20683 exit 0
20686 ac_save_IFS="$IFS"
20687 if test "x$wine_notices" != x; then
20688 echo >&6
20689 IFS="|"
20690 for msg in $wine_notices; do
20691 IFS="$ac_save_IFS"
20692 if ${msg:+false} :; then :
20694 else
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20696 $as_echo "$as_me: $msg" >&6;}
20698 done
20700 IFS="|"
20701 for msg in $wine_warnings; do
20702 IFS="$ac_save_IFS"
20703 if ${msg:+false} :; then :
20705 else
20706 echo >&2
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20708 $as_echo "$as_me: WARNING: $msg" >&2;}
20710 done
20711 IFS="$ac_save_IFS"
20713 $as_echo "
20714 $as_me: Finished. Do '${ac_make}' to compile Wine.
20715 " >&6