po: Update Finnish translation.
[wine.git] / configure
blob28e678e6b889e482f382748aad643d7fd23df60f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.2.
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.2'
584 PACKAGE_STRING='Wine 3.2'
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 ALL_TEST_RESOURCES
729 CONFIGURE_TARGETS
730 DISABLED_SUBDIRS
731 SUBDIRS
732 READELF
733 OTOOL
735 WINELOADER_LDFLAGS
736 LDEXECFLAGS
737 LDRPATH_LOCAL
738 LDRPATH_INSTALL
739 DLLFLAGS
741 OPENGL_LIBS
742 ICOTOOL
743 CONVERT
744 RSVG
745 FONTFORGE
746 PKG_CONFIG
747 MSGFMT
748 LDCONFIG
749 EGREP
750 GREP
751 LN_S
752 RANLIB
753 ARFLAGS
754 STRIP
755 ac_ct_AR
757 BISON
758 FLEX
759 TOOLSDIR
760 wine64_disable
761 TARGETFLAGS
763 CPPBIN
764 ac_ct_CXX
765 CXXFLAGS
767 OBJEXT
768 EXEEXT
769 ac_ct_CC
770 CPPFLAGS
771 LDFLAGS
772 CFLAGS
774 SET_MAKE
775 host_os
776 host_vendor
777 host_cpu
778 host
779 build_os
780 build_vendor
781 build_cpu
782 build
783 target_alias
784 host_alias
785 build_alias
786 LIBS
787 ECHO_T
788 ECHO_N
789 ECHO_C
790 DEFS
791 mandir
792 localedir
793 libdir
794 psdir
795 pdfdir
796 dvidir
797 htmldir
798 infodir
799 docdir
800 oldincludedir
801 includedir
802 runstatedir
803 localstatedir
804 sharedstatedir
805 sysconfdir
806 datadir
807 datarootdir
808 libexecdir
809 sbindir
810 bindir
811 program_transform_name
812 prefix
813 exec_prefix
814 PACKAGE_URL
815 PACKAGE_BUGREPORT
816 PACKAGE_STRING
817 PACKAGE_VERSION
818 PACKAGE_TARNAME
819 PACKAGE_NAME
820 PATH_SEPARATOR
821 SHELL'
822 ac_subst_files=''
823 ac_user_opts='
824 enable_option_checking
825 enable_win16
826 enable_win64
827 enable_tests
828 enable_maintainer_mode
829 with_alsa
830 with_capi
831 with_cms
832 with_coreaudio
833 with_cups
834 with_curses
835 with_dbus
836 with_float_abi
837 with_fontconfig
838 with_freetype
839 with_gettext
840 with_gettextpo
841 with_gphoto
842 with_glu
843 with_gnutls
844 with_gsm
845 with_gssapi
846 with_gstreamer
847 with_hal
848 with_jpeg
849 with_krb5
850 with_ldap
851 with_mpg123
852 with_netapi
853 with_openal
854 with_opencl
855 with_opengl
856 with_osmesa
857 with_oss
858 with_pcap
859 with_png
860 with_pthread
861 with_pulse
862 with_sane
863 with_sdl
864 with_tiff
865 with_udev
866 with_v4l
867 with_vulkan
868 with_xcomposite
869 with_xcursor
870 with_xfixes
871 with_xinerama
872 with_xinput
873 with_xinput2
874 with_xml
875 with_xrandr
876 with_xrender
877 with_xshape
878 with_xshm
879 with_xslt
880 with_xxf86vm
881 with_zlib
882 with_wine_tools
883 with_wine64
884 enable_largefile
885 with_x
886 enable_acledit
887 enable_aclui
888 enable_activeds
889 enable_actxprxy
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_dxgi
1229 enable_dxva2
1230 enable_esent
1231 enable_evr
1232 enable_explorerframe
1233 enable_ext_ms_win_authz_context_l1_1_0
1234 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1235 enable_ext_ms_win_gdi_dc_create_l1_1_1
1236 enable_ext_ms_win_gdi_dc_l1_2_0
1237 enable_ext_ms_win_gdi_devcaps_l1_1_0
1238 enable_ext_ms_win_gdi_draw_l1_1_1
1239 enable_ext_ms_win_gdi_render_l1_1_0
1240 enable_ext_ms_win_kernel32_package_current_l1_1_0
1241 enable_ext_ms_win_kernel32_package_l1_1_1
1242 enable_ext_ms_win_ntuser_message_l1_1_1
1243 enable_ext_ms_win_ntuser_private_l1_1_1
1244 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1245 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1246 enable_ext_ms_win_ntuser_window_l1_1_1
1247 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1248 enable_ext_ms_win_ras_rasapi32_l1_1_0
1249 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1250 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1251 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1252 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1253 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1254 enable_ext_ms_win_security_credui_l1_1_0
1255 enable_ext_ms_win_security_cryptui_l1_1_0
1256 enable_faultrep
1257 enable_fltlib
1258 enable_fltmgr_sys
1259 enable_fntcache
1260 enable_fontsub
1261 enable_fusion
1262 enable_fwpuclnt
1263 enable_gameux
1264 enable_gdi32
1265 enable_gdiplus
1266 enable_glu32
1267 enable_gphoto2_ds
1268 enable_gpkcsp
1269 enable_hal
1270 enable_hhctrl_ocx
1271 enable_hid
1272 enable_hidclass_sys
1273 enable_hlink
1274 enable_hnetcfg
1275 enable_httpapi
1276 enable_iccvid
1277 enable_icmp
1278 enable_ieframe
1279 enable_ieproxy
1280 enable_imaadp32_acm
1281 enable_imagehlp
1282 enable_imm32
1283 enable_inetcomm
1284 enable_inetcpl_cpl
1285 enable_inetmib1
1286 enable_infosoft
1287 enable_initpki
1288 enable_inkobj
1289 enable_inseng
1290 enable_iphlpapi
1291 enable_iprop
1292 enable_irprops_cpl
1293 enable_itircl
1294 enable_itss
1295 enable_joy_cpl
1296 enable_jscript
1297 enable_jsproxy
1298 enable_kerberos
1299 enable_kernel32
1300 enable_kernelbase
1301 enable_ksuser
1302 enable_ktmw32
1303 enable_l3codeca_acm
1304 enable_loadperf
1305 enable_localspl
1306 enable_localui
1307 enable_lz32
1308 enable_mapi32
1309 enable_mapistub
1310 enable_mciavi32
1311 enable_mcicda
1312 enable_mciqtz32
1313 enable_mciseq
1314 enable_mciwave
1315 enable_mf
1316 enable_mf3216
1317 enable_mfplat
1318 enable_mfreadwrite
1319 enable_mgmtapi
1320 enable_midimap
1321 enable_mlang
1322 enable_mmcndmgr
1323 enable_mmdevapi
1324 enable_mountmgr_sys
1325 enable_mpr
1326 enable_mprapi
1327 enable_msacm32_drv
1328 enable_msacm32
1329 enable_msadp32_acm
1330 enable_msasn1
1331 enable_mscat32
1332 enable_mscms
1333 enable_mscoree
1334 enable_msctf
1335 enable_msctfp
1336 enable_msdaps
1337 enable_msdelta
1338 enable_msdmo
1339 enable_msdrm
1340 enable_msftedit
1341 enable_msg711_acm
1342 enable_msgsm32_acm
1343 enable_mshtml_tlb
1344 enable_mshtml
1345 enable_msi
1346 enable_msident
1347 enable_msimg32
1348 enable_msimsg
1349 enable_msimtf
1350 enable_msisip
1351 enable_msisys_ocx
1352 enable_msls31
1353 enable_msnet32
1354 enable_mspatcha
1355 enable_msports
1356 enable_msrle32
1357 enable_msscript_ocx
1358 enable_mssign32
1359 enable_mssip32
1360 enable_mstask
1361 enable_msvcirt
1362 enable_msvcm80
1363 enable_msvcm90
1364 enable_msvcp100
1365 enable_msvcp110
1366 enable_msvcp120
1367 enable_msvcp120_app
1368 enable_msvcp140
1369 enable_msvcp60
1370 enable_msvcp70
1371 enable_msvcp71
1372 enable_msvcp80
1373 enable_msvcp90
1374 enable_msvcr100
1375 enable_msvcr110
1376 enable_msvcr120
1377 enable_msvcr120_app
1378 enable_msvcr70
1379 enable_msvcr71
1380 enable_msvcr80
1381 enable_msvcr90
1382 enable_msvcrt
1383 enable_msvcrt20
1384 enable_msvcrt40
1385 enable_msvcrtd
1386 enable_msvfw32
1387 enable_msvidc32
1388 enable_mswsock
1389 enable_msxml
1390 enable_msxml2
1391 enable_msxml3
1392 enable_msxml4
1393 enable_msxml6
1394 enable_mtxdm
1395 enable_ncrypt
1396 enable_nddeapi
1397 enable_ndis_sys
1398 enable_netapi32
1399 enable_netcfgx
1400 enable_netprofm
1401 enable_newdev
1402 enable_normaliz
1403 enable_npmshtml
1404 enable_npptools
1405 enable_ntdll
1406 enable_ntdsapi
1407 enable_ntoskrnl_exe
1408 enable_ntprint
1409 enable_objsel
1410 enable_odbc32
1411 enable_odbccp32
1412 enable_odbccu32
1413 enable_ole32
1414 enable_oleacc
1415 enable_oleaut32
1416 enable_olecli32
1417 enable_oledb32
1418 enable_oledlg
1419 enable_olepro32
1420 enable_olesvr32
1421 enable_olethk32
1422 enable_openal32
1423 enable_opencl
1424 enable_opengl32
1425 enable_packager
1426 enable_pdh
1427 enable_photometadatahandler
1428 enable_pidgen
1429 enable_powrprof
1430 enable_printui
1431 enable_prntvpt
1432 enable_propsys
1433 enable_psapi
1434 enable_pstorec
1435 enable_qcap
1436 enable_qedit
1437 enable_qmgr
1438 enable_qmgrprxy
1439 enable_quartz
1440 enable_query
1441 enable_rasapi32
1442 enable_rasdlg
1443 enable_regapi
1444 enable_resutils
1445 enable_riched20
1446 enable_riched32
1447 enable_rpcrt4
1448 enable_rsabase
1449 enable_rsaenh
1450 enable_rstrtmgr
1451 enable_rtutils
1452 enable_samlib
1453 enable_sane_ds
1454 enable_sapi
1455 enable_scarddlg
1456 enable_sccbase
1457 enable_schannel
1458 enable_schedsvc
1459 enable_scrobj
1460 enable_scrrun
1461 enable_scsiport_sys
1462 enable_secur32
1463 enable_security
1464 enable_sensapi
1465 enable_serialui
1466 enable_setupapi
1467 enable_sfc
1468 enable_sfc_os
1469 enable_shcore
1470 enable_shdoclc
1471 enable_shdocvw
1472 enable_shell32
1473 enable_shfolder
1474 enable_shlwapi
1475 enable_slbcsp
1476 enable_slc
1477 enable_snmpapi
1478 enable_softpub
1479 enable_spoolss
1480 enable_sspicli
1481 enable_stdole2_tlb
1482 enable_stdole32_tlb
1483 enable_sti
1484 enable_svrapi
1485 enable_sxs
1486 enable_t2embed
1487 enable_tapi32
1488 enable_taskschd
1489 enable_tdh
1490 enable_tdi_sys
1491 enable_traffic
1492 enable_twain_32
1493 enable_ucrtbase
1494 enable_uiautomationcore
1495 enable_uiribbon
1496 enable_unicows
1497 enable_updspapi
1498 enable_url
1499 enable_urlmon
1500 enable_usbd_sys
1501 enable_user32
1502 enable_userenv
1503 enable_usp10
1504 enable_uxtheme
1505 enable_vbscript
1506 enable_vcomp
1507 enable_vcomp100
1508 enable_vcomp110
1509 enable_vcomp120
1510 enable_vcomp140
1511 enable_vcomp90
1512 enable_vcruntime140
1513 enable_vdmdbg
1514 enable_version
1515 enable_virtdisk
1516 enable_vssapi
1517 enable_wbemdisp
1518 enable_wbemprox
1519 enable_wdscore
1520 enable_webservices
1521 enable_wer
1522 enable_wevtapi
1523 enable_wiaservc
1524 enable_wimgapi
1525 enable_windowscodecs
1526 enable_windowscodecsext
1527 enable_winealsa_drv
1528 enable_wineandroid_drv
1529 enable_winebus_sys
1530 enable_winecoreaudio_drv
1531 enable_wined3d
1532 enable_winegstreamer
1533 enable_winehid_sys
1534 enable_winejoystick_drv
1535 enable_winemac_drv
1536 enable_winemapi
1537 enable_wineoss_drv
1538 enable_wineps_drv
1539 enable_winepulse_drv
1540 enable_wineqtdecoder
1541 enable_winevulkan
1542 enable_winex11_drv
1543 enable_wing32
1544 enable_winhttp
1545 enable_wininet
1546 enable_winmm
1547 enable_winnls32
1548 enable_winscard
1549 enable_winspool_drv
1550 enable_winsta
1551 enable_wintab32
1552 enable_wintrust
1553 enable_winusb
1554 enable_wlanapi
1555 enable_wldap32
1556 enable_wmasf
1557 enable_wmi
1558 enable_wmiutils
1559 enable_wmp
1560 enable_wmphoto
1561 enable_wmvcore
1562 enable_wnaspi32
1563 enable_wpc
1564 enable_wpcap
1565 enable_ws2_32
1566 enable_wsdapi
1567 enable_wshom_ocx
1568 enable_wsnmp32
1569 enable_wsock32
1570 enable_wtsapi32
1571 enable_wuapi
1572 enable_wuaueng
1573 enable_x3daudio1_0
1574 enable_x3daudio1_1
1575 enable_x3daudio1_2
1576 enable_x3daudio1_3
1577 enable_x3daudio1_4
1578 enable_x3daudio1_5
1579 enable_x3daudio1_6
1580 enable_x3daudio1_7
1581 enable_xapofx1_1
1582 enable_xapofx1_2
1583 enable_xapofx1_3
1584 enable_xapofx1_4
1585 enable_xapofx1_5
1586 enable_xaudio2_0
1587 enable_xaudio2_1
1588 enable_xaudio2_2
1589 enable_xaudio2_3
1590 enable_xaudio2_4
1591 enable_xaudio2_5
1592 enable_xaudio2_6
1593 enable_xaudio2_7
1594 enable_xaudio2_8
1595 enable_xaudio2_9
1596 enable_xinput1_1
1597 enable_xinput1_2
1598 enable_xinput1_3
1599 enable_xinput1_4
1600 enable_xinput9_1_0
1601 enable_xmllite
1602 enable_xolehlp
1603 enable_xpsprint
1604 enable_xpssvcs
1605 enable_fonts
1606 enable_include
1607 enable_libs_port
1608 enable_libs_wine
1609 enable_libs_wpp
1610 enable_loader
1611 enable_po
1612 enable_arp
1613 enable_aspnet_regiis
1614 enable_attrib
1615 enable_cabarc
1616 enable_cacls
1617 enable_clock
1618 enable_cmd
1619 enable_conhost
1620 enable_control
1621 enable_cscript
1622 enable_dpnsvr
1623 enable_dxdiag
1624 enable_eject
1625 enable_expand
1626 enable_explorer
1627 enable_extrac32
1628 enable_findstr
1629 enable_fsutil
1630 enable_hh
1631 enable_hostname
1632 enable_icacls
1633 enable_icinfo
1634 enable_iexplore
1635 enable_ipconfig
1636 enable_lodctr
1637 enable_mofcomp
1638 enable_mshta
1639 enable_msiexec
1640 enable_msinfo32
1641 enable_net
1642 enable_netsh
1643 enable_netstat
1644 enable_ngen
1645 enable_notepad
1646 enable_oleview
1647 enable_ping
1648 enable_plugplay
1649 enable_powershell
1650 enable_presentationfontcache
1651 enable_progman
1652 enable_reg
1653 enable_regasm
1654 enable_regedit
1655 enable_regsvcs
1656 enable_regsvr32
1657 enable_rpcss
1658 enable_rundll32
1659 enable_sc
1660 enable_schtasks
1661 enable_sdbinst
1662 enable_secedit
1663 enable_servicemodelreg
1664 enable_services
1665 enable_shutdown
1666 enable_spoolsv
1667 enable_start
1668 enable_subst
1669 enable_svchost
1670 enable_systeminfo
1671 enable_taskkill
1672 enable_tasklist
1673 enable_taskmgr
1674 enable_termsv
1675 enable_uninstaller
1676 enable_unlodctr
1677 enable_view
1678 enable_wevtutil
1679 enable_wineboot
1680 enable_winebrowser
1681 enable_winecfg
1682 enable_wineconsole
1683 enable_winedbg
1684 enable_winedevice
1685 enable_winefile
1686 enable_winemenubuilder
1687 enable_winemine
1688 enable_winemsibuilder
1689 enable_winepath
1690 enable_winetest
1691 enable_winhlp32
1692 enable_winver
1693 enable_wmic
1694 enable_wmplayer
1695 enable_wordpad
1696 enable_write
1697 enable_wscript
1698 enable_wusa
1699 enable_xcopy
1700 enable_server
1701 enable_tools
1703 ac_precious_vars='build_alias
1704 host_alias
1705 target_alias
1707 CFLAGS
1708 LDFLAGS
1709 LIBS
1710 CPPFLAGS
1712 CXXFLAGS
1715 XMKMF
1716 XML2_CFLAGS
1717 XML2_LIBS
1718 XSLT_CFLAGS
1719 XSLT_LIBS
1720 DBUS_CFLAGS
1721 DBUS_LIBS
1722 HAL_CFLAGS
1723 HAL_LIBS
1724 GNUTLS_CFLAGS
1725 GNUTLS_LIBS
1726 SANE_CFLAGS
1727 SANE_LIBS
1728 GPHOTO2_CFLAGS
1729 GPHOTO2_LIBS
1730 GPHOTO2_PORT_CFLAGS
1731 GPHOTO2_PORT_LIBS
1732 LCMS2_CFLAGS
1733 LCMS2_LIBS
1734 FREETYPE_CFLAGS
1735 FREETYPE_LIBS
1736 PULSE_CFLAGS
1737 PULSE_LIBS
1738 GSTREAMER_CFLAGS
1739 GSTREAMER_LIBS
1740 UDEV_CFLAGS
1741 UDEV_LIBS
1742 SDL2_CFLAGS
1743 SDL2_LIBS
1744 CAPI20_CFLAGS
1745 CAPI20_LIBS
1746 CUPS_CFLAGS
1747 CUPS_LIBS
1748 FONTCONFIG_CFLAGS
1749 FONTCONFIG_LIBS
1750 KRB5_CFLAGS
1751 KRB5_LIBS
1752 GSSAPI_CFLAGS
1753 GSSAPI_LIBS
1754 JPEG_CFLAGS
1755 JPEG_LIBS
1756 PNG_CFLAGS
1757 PNG_LIBS
1758 TIFF_CFLAGS
1759 TIFF_LIBS
1760 MPG123_CFLAGS
1761 MPG123_LIBS
1762 NETAPI_CFLAGS
1763 NETAPI_LIBS
1764 LDAP_CFLAGS
1765 LDAP_LIBS'
1768 # Initialize some variables set by options.
1769 ac_init_help=
1770 ac_init_version=false
1771 ac_unrecognized_opts=
1772 ac_unrecognized_sep=
1773 # The variables have the same names as the options, with
1774 # dashes changed to underlines.
1775 cache_file=/dev/null
1776 exec_prefix=NONE
1777 no_create=
1778 no_recursion=
1779 prefix=NONE
1780 program_prefix=NONE
1781 program_suffix=NONE
1782 program_transform_name=s,x,x,
1783 silent=
1784 site=
1785 srcdir=
1786 verbose=
1787 x_includes=NONE
1788 x_libraries=NONE
1790 # Installation directory options.
1791 # These are left unexpanded so users can "make install exec_prefix=/foo"
1792 # and all the variables that are supposed to be based on exec_prefix
1793 # by default will actually change.
1794 # Use braces instead of parens because sh, perl, etc. also accept them.
1795 # (The list follows the same order as the GNU Coding Standards.)
1796 bindir='${exec_prefix}/bin'
1797 sbindir='${exec_prefix}/sbin'
1798 libexecdir='${exec_prefix}/libexec'
1799 datarootdir='${prefix}/share'
1800 datadir='${datarootdir}'
1801 sysconfdir='${prefix}/etc'
1802 sharedstatedir='${prefix}/com'
1803 localstatedir='${prefix}/var'
1804 runstatedir='${localstatedir}/run'
1805 includedir='${prefix}/include'
1806 oldincludedir='/usr/include'
1807 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1808 infodir='${datarootdir}/info'
1809 htmldir='${docdir}'
1810 dvidir='${docdir}'
1811 pdfdir='${docdir}'
1812 psdir='${docdir}'
1813 libdir='${exec_prefix}/lib'
1814 localedir='${datarootdir}/locale'
1815 mandir='${datarootdir}/man'
1817 ac_prev=
1818 ac_dashdash=
1819 for ac_option
1821 # If the previous option needs an argument, assign it.
1822 if test -n "$ac_prev"; then
1823 eval $ac_prev=\$ac_option
1824 ac_prev=
1825 continue
1828 case $ac_option in
1829 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1830 *=) ac_optarg= ;;
1831 *) ac_optarg=yes ;;
1832 esac
1834 # Accept the important Cygnus configure options, so we can diagnose typos.
1836 case $ac_dashdash$ac_option in
1838 ac_dashdash=yes ;;
1840 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1841 ac_prev=bindir ;;
1842 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1843 bindir=$ac_optarg ;;
1845 -build | --build | --buil | --bui | --bu)
1846 ac_prev=build_alias ;;
1847 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1848 build_alias=$ac_optarg ;;
1850 -cache-file | --cache-file | --cache-fil | --cache-fi \
1851 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1852 ac_prev=cache_file ;;
1853 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1854 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1855 cache_file=$ac_optarg ;;
1857 --config-cache | -C)
1858 cache_file=config.cache ;;
1860 -datadir | --datadir | --datadi | --datad)
1861 ac_prev=datadir ;;
1862 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1863 datadir=$ac_optarg ;;
1865 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1866 | --dataroo | --dataro | --datar)
1867 ac_prev=datarootdir ;;
1868 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1869 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1870 datarootdir=$ac_optarg ;;
1872 -disable-* | --disable-*)
1873 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1874 # Reject names that are not valid shell variable names.
1875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1876 as_fn_error $? "invalid feature name: $ac_useropt"
1877 ac_useropt_orig=$ac_useropt
1878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1879 case $ac_user_opts in
1881 "enable_$ac_useropt"
1882 "*) ;;
1883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1884 ac_unrecognized_sep=', ';;
1885 esac
1886 eval enable_$ac_useropt=no ;;
1888 -docdir | --docdir | --docdi | --doc | --do)
1889 ac_prev=docdir ;;
1890 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1891 docdir=$ac_optarg ;;
1893 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1894 ac_prev=dvidir ;;
1895 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1896 dvidir=$ac_optarg ;;
1898 -enable-* | --enable-*)
1899 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1900 # Reject names that are not valid shell variable names.
1901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1902 as_fn_error $? "invalid feature name: $ac_useropt"
1903 ac_useropt_orig=$ac_useropt
1904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1905 case $ac_user_opts in
1907 "enable_$ac_useropt"
1908 "*) ;;
1909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1910 ac_unrecognized_sep=', ';;
1911 esac
1912 eval enable_$ac_useropt=\$ac_optarg ;;
1914 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1915 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1916 | --exec | --exe | --ex)
1917 ac_prev=exec_prefix ;;
1918 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1919 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1920 | --exec=* | --exe=* | --ex=*)
1921 exec_prefix=$ac_optarg ;;
1923 -gas | --gas | --ga | --g)
1924 # Obsolete; use --with-gas.
1925 with_gas=yes ;;
1927 -help | --help | --hel | --he | -h)
1928 ac_init_help=long ;;
1929 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1930 ac_init_help=recursive ;;
1931 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1932 ac_init_help=short ;;
1934 -host | --host | --hos | --ho)
1935 ac_prev=host_alias ;;
1936 -host=* | --host=* | --hos=* | --ho=*)
1937 host_alias=$ac_optarg ;;
1939 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1940 ac_prev=htmldir ;;
1941 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1942 | --ht=*)
1943 htmldir=$ac_optarg ;;
1945 -includedir | --includedir | --includedi | --included | --include \
1946 | --includ | --inclu | --incl | --inc)
1947 ac_prev=includedir ;;
1948 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1949 | --includ=* | --inclu=* | --incl=* | --inc=*)
1950 includedir=$ac_optarg ;;
1952 -infodir | --infodir | --infodi | --infod | --info | --inf)
1953 ac_prev=infodir ;;
1954 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1955 infodir=$ac_optarg ;;
1957 -libdir | --libdir | --libdi | --libd)
1958 ac_prev=libdir ;;
1959 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1960 libdir=$ac_optarg ;;
1962 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1963 | --libexe | --libex | --libe)
1964 ac_prev=libexecdir ;;
1965 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1966 | --libexe=* | --libex=* | --libe=*)
1967 libexecdir=$ac_optarg ;;
1969 -localedir | --localedir | --localedi | --localed | --locale)
1970 ac_prev=localedir ;;
1971 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1972 localedir=$ac_optarg ;;
1974 -localstatedir | --localstatedir | --localstatedi | --localstated \
1975 | --localstate | --localstat | --localsta | --localst | --locals)
1976 ac_prev=localstatedir ;;
1977 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1978 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1979 localstatedir=$ac_optarg ;;
1981 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1982 ac_prev=mandir ;;
1983 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1984 mandir=$ac_optarg ;;
1986 -nfp | --nfp | --nf)
1987 # Obsolete; use --without-fp.
1988 with_fp=no ;;
1990 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1991 | --no-cr | --no-c | -n)
1992 no_create=yes ;;
1994 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1995 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1996 no_recursion=yes ;;
1998 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1999 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2000 | --oldin | --oldi | --old | --ol | --o)
2001 ac_prev=oldincludedir ;;
2002 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2003 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2004 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2005 oldincludedir=$ac_optarg ;;
2007 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2008 ac_prev=prefix ;;
2009 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2010 prefix=$ac_optarg ;;
2012 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2013 | --program-pre | --program-pr | --program-p)
2014 ac_prev=program_prefix ;;
2015 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2016 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2017 program_prefix=$ac_optarg ;;
2019 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2020 | --program-suf | --program-su | --program-s)
2021 ac_prev=program_suffix ;;
2022 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2023 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2024 program_suffix=$ac_optarg ;;
2026 -program-transform-name | --program-transform-name \
2027 | --program-transform-nam | --program-transform-na \
2028 | --program-transform-n | --program-transform- \
2029 | --program-transform | --program-transfor \
2030 | --program-transfo | --program-transf \
2031 | --program-trans | --program-tran \
2032 | --progr-tra | --program-tr | --program-t)
2033 ac_prev=program_transform_name ;;
2034 -program-transform-name=* | --program-transform-name=* \
2035 | --program-transform-nam=* | --program-transform-na=* \
2036 | --program-transform-n=* | --program-transform-=* \
2037 | --program-transform=* | --program-transfor=* \
2038 | --program-transfo=* | --program-transf=* \
2039 | --program-trans=* | --program-tran=* \
2040 | --progr-tra=* | --program-tr=* | --program-t=*)
2041 program_transform_name=$ac_optarg ;;
2043 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2044 ac_prev=pdfdir ;;
2045 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2046 pdfdir=$ac_optarg ;;
2048 -psdir | --psdir | --psdi | --psd | --ps)
2049 ac_prev=psdir ;;
2050 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2051 psdir=$ac_optarg ;;
2053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2054 | -silent | --silent | --silen | --sile | --sil)
2055 silent=yes ;;
2057 -runstatedir | --runstatedir | --runstatedi | --runstated \
2058 | --runstate | --runstat | --runsta | --runst | --runs \
2059 | --run | --ru | --r)
2060 ac_prev=runstatedir ;;
2061 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2062 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2063 | --run=* | --ru=* | --r=*)
2064 runstatedir=$ac_optarg ;;
2066 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2067 ac_prev=sbindir ;;
2068 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2069 | --sbi=* | --sb=*)
2070 sbindir=$ac_optarg ;;
2072 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2073 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2074 | --sharedst | --shareds | --shared | --share | --shar \
2075 | --sha | --sh)
2076 ac_prev=sharedstatedir ;;
2077 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2078 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2079 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2080 | --sha=* | --sh=*)
2081 sharedstatedir=$ac_optarg ;;
2083 -site | --site | --sit)
2084 ac_prev=site ;;
2085 -site=* | --site=* | --sit=*)
2086 site=$ac_optarg ;;
2088 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2089 ac_prev=srcdir ;;
2090 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2091 srcdir=$ac_optarg ;;
2093 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2094 | --syscon | --sysco | --sysc | --sys | --sy)
2095 ac_prev=sysconfdir ;;
2096 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2097 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2098 sysconfdir=$ac_optarg ;;
2100 -target | --target | --targe | --targ | --tar | --ta | --t)
2101 ac_prev=target_alias ;;
2102 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2103 target_alias=$ac_optarg ;;
2105 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2106 verbose=yes ;;
2108 -version | --version | --versio | --versi | --vers | -V)
2109 ac_init_version=: ;;
2111 -with-* | --with-*)
2112 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2113 # Reject names that are not valid shell variable names.
2114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2115 as_fn_error $? "invalid package name: $ac_useropt"
2116 ac_useropt_orig=$ac_useropt
2117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2118 case $ac_user_opts in
2120 "with_$ac_useropt"
2121 "*) ;;
2122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2123 ac_unrecognized_sep=', ';;
2124 esac
2125 eval with_$ac_useropt=\$ac_optarg ;;
2127 -without-* | --without-*)
2128 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2129 # Reject names that are not valid shell variable names.
2130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2131 as_fn_error $? "invalid package name: $ac_useropt"
2132 ac_useropt_orig=$ac_useropt
2133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2134 case $ac_user_opts in
2136 "with_$ac_useropt"
2137 "*) ;;
2138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2139 ac_unrecognized_sep=', ';;
2140 esac
2141 eval with_$ac_useropt=no ;;
2143 --x)
2144 # Obsolete; use --with-x.
2145 with_x=yes ;;
2147 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2148 | --x-incl | --x-inc | --x-in | --x-i)
2149 ac_prev=x_includes ;;
2150 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2151 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2152 x_includes=$ac_optarg ;;
2154 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2155 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2156 ac_prev=x_libraries ;;
2157 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2158 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2159 x_libraries=$ac_optarg ;;
2161 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2162 Try \`$0 --help' for more information"
2165 *=*)
2166 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2167 # Reject names that are not valid shell variable names.
2168 case $ac_envvar in #(
2169 '' | [0-9]* | *[!_$as_cr_alnum]* )
2170 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2171 esac
2172 eval $ac_envvar=\$ac_optarg
2173 export $ac_envvar ;;
2176 # FIXME: should be removed in autoconf 3.0.
2177 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2178 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2179 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2180 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2183 esac
2184 done
2186 if test -n "$ac_prev"; then
2187 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2188 as_fn_error $? "missing argument to $ac_option"
2191 if test -n "$ac_unrecognized_opts"; then
2192 case $enable_option_checking in
2193 no) ;;
2194 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2195 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2196 esac
2199 # Check all directory arguments for consistency.
2200 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2201 datadir sysconfdir sharedstatedir localstatedir includedir \
2202 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2203 libdir localedir mandir runstatedir
2205 eval ac_val=\$$ac_var
2206 # Remove trailing slashes.
2207 case $ac_val in
2208 */ )
2209 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2210 eval $ac_var=\$ac_val;;
2211 esac
2212 # Be sure to have absolute directory names.
2213 case $ac_val in
2214 [\\/$]* | ?:[\\/]* ) continue;;
2215 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2216 esac
2217 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2218 done
2220 # There might be people who depend on the old broken behavior: `$host'
2221 # used to hold the argument of --host etc.
2222 # FIXME: To remove some day.
2223 build=$build_alias
2224 host=$host_alias
2225 target=$target_alias
2227 # FIXME: To remove some day.
2228 if test "x$host_alias" != x; then
2229 if test "x$build_alias" = x; then
2230 cross_compiling=maybe
2231 elif test "x$build_alias" != "x$host_alias"; then
2232 cross_compiling=yes
2236 ac_tool_prefix=
2237 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2239 test "$silent" = yes && exec 6>/dev/null
2242 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2243 ac_ls_di=`ls -di .` &&
2244 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2245 as_fn_error $? "working directory cannot be determined"
2246 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2247 as_fn_error $? "pwd does not report name of working directory"
2250 # Find the source files, if location was not specified.
2251 if test -z "$srcdir"; then
2252 ac_srcdir_defaulted=yes
2253 # Try the directory containing this script, then the parent directory.
2254 ac_confdir=`$as_dirname -- "$as_myself" ||
2255 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2256 X"$as_myself" : 'X\(//\)[^/]' \| \
2257 X"$as_myself" : 'X\(//\)$' \| \
2258 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2259 $as_echo X"$as_myself" |
2260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2261 s//\1/
2264 /^X\(\/\/\)[^/].*/{
2265 s//\1/
2268 /^X\(\/\/\)$/{
2269 s//\1/
2272 /^X\(\/\).*/{
2273 s//\1/
2276 s/.*/./; q'`
2277 srcdir=$ac_confdir
2278 if test ! -r "$srcdir/$ac_unique_file"; then
2279 srcdir=..
2281 else
2282 ac_srcdir_defaulted=no
2284 if test ! -r "$srcdir/$ac_unique_file"; then
2285 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2286 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2288 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2289 ac_abs_confdir=`(
2290 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2291 pwd)`
2292 # When building in place, set srcdir=.
2293 if test "$ac_abs_confdir" = "$ac_pwd"; then
2294 srcdir=.
2296 # Remove unnecessary trailing slashes from srcdir.
2297 # Double slashes in file names in object file debugging info
2298 # mess up M-x gdb in Emacs.
2299 case $srcdir in
2300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2301 esac
2302 for ac_var in $ac_precious_vars; do
2303 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2304 eval ac_env_${ac_var}_value=\$${ac_var}
2305 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2306 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2307 done
2310 # Report the --help message.
2312 if test "$ac_init_help" = "long"; then
2313 # Omit some internal or obsolete options to make the list less imposing.
2314 # This message is too long to be a string in the A/UX 3.1 sh.
2315 cat <<_ACEOF
2316 \`configure' configures Wine 3.2 to adapt to many kinds of systems.
2318 Usage: $0 [OPTION]... [VAR=VALUE]...
2320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2321 VAR=VALUE. See below for descriptions of some of the useful variables.
2323 Defaults for the options are specified in brackets.
2325 Configuration:
2326 -h, --help display this help and exit
2327 --help=short display options specific to this package
2328 --help=recursive display the short help of all the included packages
2329 -V, --version display version information and exit
2330 -q, --quiet, --silent do not print \`checking ...' messages
2331 --cache-file=FILE cache test results in FILE [disabled]
2332 -C, --config-cache alias for \`--cache-file=config.cache'
2333 -n, --no-create do not create output files
2334 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2336 Installation directories:
2337 --prefix=PREFIX install architecture-independent files in PREFIX
2338 [$ac_default_prefix]
2339 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2340 [PREFIX]
2342 By default, \`make install' will install all the files in
2343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2345 for instance \`--prefix=\$HOME'.
2347 For better control, use the options below.
2349 Fine tuning of the installation directories:
2350 --bindir=DIR user executables [EPREFIX/bin]
2351 --sbindir=DIR system admin executables [EPREFIX/sbin]
2352 --libexecdir=DIR program executables [EPREFIX/libexec]
2353 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2354 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2355 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2356 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2357 --libdir=DIR object code libraries [EPREFIX/lib]
2358 --includedir=DIR C header files [PREFIX/include]
2359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2362 --infodir=DIR info documentation [DATAROOTDIR/info]
2363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2364 --mandir=DIR man documentation [DATAROOTDIR/man]
2365 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2366 --htmldir=DIR html documentation [DOCDIR]
2367 --dvidir=DIR dvi documentation [DOCDIR]
2368 --pdfdir=DIR pdf documentation [DOCDIR]
2369 --psdir=DIR ps documentation [DOCDIR]
2370 _ACEOF
2372 cat <<\_ACEOF
2374 X features:
2375 --x-includes=DIR X include files are in DIR
2376 --x-libraries=DIR X library files are in DIR
2378 System types:
2379 --build=BUILD configure for building on BUILD [guessed]
2380 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2381 _ACEOF
2384 if test -n "$ac_init_help"; then
2385 case $ac_init_help in
2386 short | recursive ) echo "Configuration of Wine 3.2:";;
2387 esac
2388 cat <<\_ACEOF
2390 Optional Features:
2391 --disable-option-checking ignore unrecognized --enable/--with options
2392 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2393 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2394 --disable-win16 do not include Win16 support
2395 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2396 binaries)
2397 --disable-tests do not build the regression tests
2398 --enable-maintainer-mode
2399 enable maintainer-specific build rules
2400 --disable-largefile omit support for large files
2402 Optional Packages:
2403 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2404 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2405 --without-alsa do not use the Alsa sound support
2406 --without-capi do not use CAPI (ISDN support)
2407 --without-cms do not use CMS (color management support)
2408 --without-coreaudio do not use the CoreAudio sound support
2409 --without-cups do not use CUPS
2410 --without-curses do not use (n)curses
2411 --without-dbus do not use DBus (dynamic device support)
2412 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2413 --without-fontconfig do not use fontconfig
2414 --without-freetype do not use the FreeType library
2415 --without-gettext do not use gettext
2416 --with-gettextpo use the GetTextPO library to rebuild po files
2417 --without-gphoto do not use gphoto (Digital Camera support)
2418 --without-glu do not use the GLU library
2419 --without-gnutls do not use GnuTLS (schannel support)
2420 --without-gsm do not use libgsm (GSM 06.10 codec support)
2421 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2422 --without-gstreamer do not use GStreamer (codecs support)
2423 --without-hal do not use HAL (dynamic device support)
2424 --without-jpeg do not use JPEG
2425 --without-krb5 do not use krb5 (Kerberos)
2426 --without-ldap do not use LDAP
2427 --without-mpg123 do not use the mpg123 library
2428 --without-netapi do not use the Samba NetAPI library
2429 --without-openal do not use OpenAL
2430 --without-opencl do not use OpenCL
2431 --without-opengl do not use OpenGL
2432 --without-osmesa do not use the OSMesa library
2433 --without-oss do not use the OSS sound support
2434 --without-pcap do not use the Packet Capture library
2435 --without-png do not use PNG
2436 --without-pthread do not use the pthread library
2437 --without-pulse do not use PulseAudio sound support
2438 --without-sane do not use SANE (scanner support)
2439 --without-sdl do not use SDL
2440 --without-tiff do not use TIFF
2441 --without-udev do not use udev (plug and play support)
2442 --without-v4l do not use v4l1 (v4l support)
2443 --without-vulkan do not use Vulkan
2444 --without-xcomposite do not use the Xcomposite extension
2445 --without-xcursor do not use the Xcursor extension
2446 --without-xfixes do not use Xfixes for clipboard change notifications
2447 --without-xinerama do not use Xinerama (multi-monitor support)
2448 --without-xinput do not use the Xinput extension
2449 --without-xinput2 do not use the Xinput 2 extension
2450 --without-xml do not use XML
2451 --without-xrandr do not use Xrandr (resolution changes)
2452 --without-xrender do not use the Xrender extension
2453 --without-xshape do not use the Xshape extension
2454 --without-xshm do not use XShm (shared memory extension)
2455 --without-xslt do not use XSLT
2456 --without-xxf86vm do not use XFree video mode extension
2457 --without-zlib do not use Zlib (data compression)
2458 --with-wine-tools=DIR use Wine tools from directory DIR
2459 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2460 --with-x use the X Window System
2462 Some influential environment variables:
2463 CC C compiler command
2464 CFLAGS C compiler flags
2465 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2466 nonstandard directory <lib dir>
2467 LIBS libraries to pass to the linker, e.g. -l<library>
2468 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2469 you have headers in a nonstandard directory <include dir>
2470 CXX C++ compiler command
2471 CXXFLAGS C++ compiler flags
2472 CPP C preprocessor
2473 XMKMF Path to xmkmf, Makefile generator for X Window System
2474 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2475 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2476 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2477 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2478 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2479 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2480 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2481 HAL_LIBS Linker flags for hal, overriding pkg-config
2482 GNUTLS_CFLAGS
2483 C compiler flags for gnutls, overriding pkg-config
2484 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2485 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2486 SANE_LIBS Linker flags for libsane, overriding pkg-config
2487 GPHOTO2_CFLAGS
2488 C compiler flags for libgphoto2, overriding pkg-config
2489 GPHOTO2_LIBS
2490 Linker flags for libgphoto2, overriding pkg-config
2491 GPHOTO2_PORT_CFLAGS
2492 C compiler flags for libgphoto2_port, overriding pkg-config
2493 GPHOTO2_PORT_LIBS
2494 Linker flags for libgphoto2_port, overriding pkg-config
2495 LCMS2_CFLAGS
2496 C compiler flags for lcms2, overriding pkg-config
2497 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2498 FREETYPE_CFLAGS
2499 C compiler flags for freetype2, overriding pkg-config
2500 FREETYPE_LIBS
2501 Linker flags for freetype2, overriding pkg-config
2502 PULSE_CFLAGS
2503 C compiler flags for libpulse, overriding pkg-config
2504 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2505 GSTREAMER_CFLAGS
2506 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2507 gstreamer-audio-1.0, overriding pkg-config
2508 GSTREAMER_LIBS
2509 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2510 gstreamer-audio-1.0, overriding pkg-config
2511 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2512 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2513 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2514 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2515 CAPI20_CFLAGS
2516 C compiler flags for capi20, overriding pkg-config
2517 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2518 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2519 CUPS_LIBS Linker flags for cups, overriding pkg-config
2520 FONTCONFIG_CFLAGS
2521 C compiler flags for fontconfig, overriding pkg-config
2522 FONTCONFIG_LIBS
2523 Linker flags for fontconfig, overriding pkg-config
2524 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2525 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2526 GSSAPI_CFLAGS
2527 C compiler flags for krb5-gssapi, overriding pkg-config
2528 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2529 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2530 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2531 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2532 PNG_LIBS Linker flags for libpng, overriding pkg-config
2533 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2534 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2535 MPG123_CFLAGS
2536 C compiler flags for libmpg123, overriding pkg-config
2537 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2538 NETAPI_CFLAGS
2539 C compiler flags for netapi, overriding pkg-config
2540 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2541 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2542 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2544 Use these variables to override the choices made by `configure' or to help
2545 it to find libraries and programs with nonstandard names/locations.
2547 Report bugs to <wine-devel@winehq.org>.
2548 Wine home page: <https://www.winehq.org>.
2549 _ACEOF
2550 ac_status=$?
2553 if test "$ac_init_help" = "recursive"; then
2554 # If there are subdirs, report their specific --help.
2555 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2556 test -d "$ac_dir" ||
2557 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2558 continue
2559 ac_builddir=.
2561 case "$ac_dir" in
2562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2564 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2565 # A ".." for each directory in $ac_dir_suffix.
2566 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2567 case $ac_top_builddir_sub in
2568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2570 esac ;;
2571 esac
2572 ac_abs_top_builddir=$ac_pwd
2573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2574 # for backward compatibility:
2575 ac_top_builddir=$ac_top_build_prefix
2577 case $srcdir in
2578 .) # We are building in place.
2579 ac_srcdir=.
2580 ac_top_srcdir=$ac_top_builddir_sub
2581 ac_abs_top_srcdir=$ac_pwd ;;
2582 [\\/]* | ?:[\\/]* ) # Absolute name.
2583 ac_srcdir=$srcdir$ac_dir_suffix;
2584 ac_top_srcdir=$srcdir
2585 ac_abs_top_srcdir=$srcdir ;;
2586 *) # Relative name.
2587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2588 ac_top_srcdir=$ac_top_build_prefix$srcdir
2589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2590 esac
2591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2593 cd "$ac_dir" || { ac_status=$?; continue; }
2594 # Check for guested configure.
2595 if test -f "$ac_srcdir/configure.gnu"; then
2596 echo &&
2597 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2598 elif test -f "$ac_srcdir/configure"; then
2599 echo &&
2600 $SHELL "$ac_srcdir/configure" --help=recursive
2601 else
2602 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2603 fi || ac_status=$?
2604 cd "$ac_pwd" || { ac_status=$?; break; }
2605 done
2608 test -n "$ac_init_help" && exit $ac_status
2609 if $ac_init_version; then
2610 cat <<\_ACEOF
2611 Wine configure 3.2
2612 generated by GNU Autoconf 2.69
2614 Copyright (C) 2012 Free Software Foundation, Inc.
2615 This configure script is free software; the Free Software Foundation
2616 gives unlimited permission to copy, distribute and modify it.
2617 _ACEOF
2618 exit
2621 ## ------------------------ ##
2622 ## Autoconf initialization. ##
2623 ## ------------------------ ##
2625 # ac_fn_c_try_compile LINENO
2626 # --------------------------
2627 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2628 ac_fn_c_try_compile ()
2630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2631 rm -f conftest.$ac_objext
2632 if { { ac_try="$ac_compile"
2633 case "(($ac_try" in
2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2636 esac
2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639 (eval "$ac_compile") 2>conftest.err
2640 ac_status=$?
2641 if test -s conftest.err; then
2642 grep -v '^ *+' conftest.err >conftest.er1
2643 cat conftest.er1 >&5
2644 mv -f conftest.er1 conftest.err
2646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2647 test $ac_status = 0; } && {
2648 test -z "$ac_c_werror_flag" ||
2649 test ! -s conftest.err
2650 } && test -s conftest.$ac_objext; then :
2651 ac_retval=0
2652 else
2653 $as_echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2656 ac_retval=1
2658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2659 as_fn_set_status $ac_retval
2661 } # ac_fn_c_try_compile
2663 # ac_fn_cxx_try_compile LINENO
2664 # ----------------------------
2665 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2666 ac_fn_cxx_try_compile ()
2668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2669 rm -f conftest.$ac_objext
2670 if { { ac_try="$ac_compile"
2671 case "(($ac_try" in
2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2674 esac
2675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2676 $as_echo "$ac_try_echo"; } >&5
2677 (eval "$ac_compile") 2>conftest.err
2678 ac_status=$?
2679 if test -s conftest.err; then
2680 grep -v '^ *+' conftest.err >conftest.er1
2681 cat conftest.er1 >&5
2682 mv -f conftest.er1 conftest.err
2684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685 test $ac_status = 0; } && {
2686 test -z "$ac_cxx_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then :
2689 ac_retval=0
2690 else
2691 $as_echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_retval=1
2696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2697 as_fn_set_status $ac_retval
2699 } # ac_fn_cxx_try_compile
2701 # ac_fn_c_try_link LINENO
2702 # -----------------------
2703 # Try to link conftest.$ac_ext, and return whether this succeeded.
2704 ac_fn_c_try_link ()
2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2707 rm -f conftest.$ac_objext conftest$ac_exeext
2708 if { { ac_try="$ac_link"
2709 case "(($ac_try" in
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2712 esac
2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2714 $as_echo "$ac_try_echo"; } >&5
2715 (eval "$ac_link") 2>conftest.err
2716 ac_status=$?
2717 if test -s conftest.err; then
2718 grep -v '^ *+' conftest.err >conftest.er1
2719 cat conftest.er1 >&5
2720 mv -f conftest.er1 conftest.err
2722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2723 test $ac_status = 0; } && {
2724 test -z "$ac_c_werror_flag" ||
2725 test ! -s conftest.err
2726 } && test -s conftest$ac_exeext && {
2727 test "$cross_compiling" = yes ||
2728 test -x conftest$ac_exeext
2729 }; then :
2730 ac_retval=0
2731 else
2732 $as_echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2735 ac_retval=1
2737 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2738 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2739 # interfere with the next link command; also delete a directory that is
2740 # left behind by Apple's compiler. We do this before executing the actions.
2741 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 as_fn_set_status $ac_retval
2745 } # ac_fn_c_try_link
2747 # ac_fn_c_try_cpp LINENO
2748 # ----------------------
2749 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_c_try_cpp ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 if { { ac_try="$ac_cpp conftest.$ac_ext"
2754 case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2761 ac_status=$?
2762 if test -s conftest.err; then
2763 grep -v '^ *+' conftest.err >conftest.er1
2764 cat conftest.er1 >&5
2765 mv -f conftest.er1 conftest.err
2767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; } > conftest.i && {
2769 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2770 test ! -s conftest.err
2771 }; then :
2772 ac_retval=0
2773 else
2774 $as_echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2777 ac_retval=1
2779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2780 as_fn_set_status $ac_retval
2782 } # ac_fn_c_try_cpp
2784 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2785 # -------------------------------------------------------
2786 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2787 # the include files in INCLUDES and setting the cache variable VAR
2788 # accordingly.
2789 ac_fn_c_check_header_mongrel ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 if eval \${$3+:} false; then :
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2794 $as_echo_n "checking for $2... " >&6; }
2795 if eval \${$3+:} false; then :
2796 $as_echo_n "(cached) " >&6
2798 eval ac_res=\$$3
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2800 $as_echo "$ac_res" >&6; }
2801 else
2802 # Is the header compilable?
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2804 $as_echo_n "checking $2 usability... " >&6; }
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2808 #include <$2>
2809 _ACEOF
2810 if ac_fn_c_try_compile "$LINENO"; then :
2811 ac_header_compiler=yes
2812 else
2813 ac_header_compiler=no
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2817 $as_echo "$ac_header_compiler" >&6; }
2819 # Is the header present?
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2821 $as_echo_n "checking $2 presence... " >&6; }
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2824 #include <$2>
2825 _ACEOF
2826 if ac_fn_c_try_cpp "$LINENO"; then :
2827 ac_header_preproc=yes
2828 else
2829 ac_header_preproc=no
2831 rm -f conftest.err conftest.i conftest.$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2833 $as_echo "$ac_header_preproc" >&6; }
2835 # So? What about this header?
2836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2837 yes:no: )
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2839 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2841 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2843 no:yes:* )
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2845 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2847 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2849 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2851 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2853 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2854 ( $as_echo "## ------------------------------------ ##
2855 ## Report this to wine-devel@winehq.org ##
2856 ## ------------------------------------ ##"
2857 ) | sed "s/^/$as_me: WARNING: /" >&2
2859 esac
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2861 $as_echo_n "checking for $2... " >&6; }
2862 if eval \${$3+:} false; then :
2863 $as_echo_n "(cached) " >&6
2864 else
2865 eval "$3=\$ac_header_compiler"
2867 eval ac_res=\$$3
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 $as_echo "$ac_res" >&6; }
2871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2873 } # ac_fn_c_check_header_mongrel
2875 # ac_fn_c_try_run LINENO
2876 # ----------------------
2877 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2878 # that executables *can* be run.
2879 ac_fn_c_try_run ()
2881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2882 if { { ac_try="$ac_link"
2883 case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 $as_echo "$ac_try_echo"; } >&5
2889 (eval "$ac_link") 2>&5
2890 ac_status=$?
2891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2892 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2893 { { case "(($ac_try" in
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2896 esac
2897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2898 $as_echo "$ac_try_echo"; } >&5
2899 (eval "$ac_try") 2>&5
2900 ac_status=$?
2901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; }; }; then :
2903 ac_retval=0
2904 else
2905 $as_echo "$as_me: program exited with status $ac_status" >&5
2906 $as_echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2909 ac_retval=$ac_status
2911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2913 as_fn_set_status $ac_retval
2915 } # ac_fn_c_try_run
2917 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2918 # -------------------------------------------------------
2919 # Tests whether HEADER exists and can be compiled using the include files in
2920 # INCLUDES, setting the cache variable VAR accordingly.
2921 ac_fn_c_check_header_compile ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2925 $as_echo_n "checking for $2... " >&6; }
2926 if eval \${$3+:} false; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2932 #include <$2>
2933 _ACEOF
2934 if ac_fn_c_try_compile "$LINENO"; then :
2935 eval "$3=yes"
2936 else
2937 eval "$3=no"
2939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2941 eval ac_res=\$$3
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2943 $as_echo "$ac_res" >&6; }
2944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2946 } # ac_fn_c_check_header_compile
2948 # ac_fn_c_check_func LINENO FUNC VAR
2949 # ----------------------------------
2950 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2951 ac_fn_c_check_func ()
2953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2955 $as_echo_n "checking for $2... " >&6; }
2956 if eval \${$3+:} false; then :
2957 $as_echo_n "(cached) " >&6
2958 else
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2961 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2963 #define $2 innocuous_$2
2965 /* System header to define __stub macros and hopefully few prototypes,
2966 which can conflict with char $2 (); below.
2967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2968 <limits.h> exists even on freestanding compilers. */
2970 #ifdef __STDC__
2971 # include <limits.h>
2972 #else
2973 # include <assert.h>
2974 #endif
2976 #undef $2
2978 /* Override any GCC internal prototype to avoid an error.
2979 Use char because int might match the return type of a GCC
2980 builtin and then its argument prototype would still apply. */
2981 #ifdef __cplusplus
2982 extern "C"
2983 #endif
2984 char $2 ();
2985 /* The GNU C library defines this for functions which it implements
2986 to always fail with ENOSYS. Some functions are actually named
2987 something starting with __ and the normal name is an alias. */
2988 #if defined __stub_$2 || defined __stub___$2
2989 choke me
2990 #endif
2993 main ()
2995 return $2 ();
2997 return 0;
2999 _ACEOF
3000 if ac_fn_c_try_link "$LINENO"; then :
3001 eval "$3=yes"
3002 else
3003 eval "$3=no"
3005 rm -f core conftest.err conftest.$ac_objext \
3006 conftest$ac_exeext conftest.$ac_ext
3008 eval ac_res=\$$3
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3010 $as_echo "$ac_res" >&6; }
3011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3013 } # ac_fn_c_check_func
3015 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3016 # ----------------------------------------------------
3017 # Tries to find if the field MEMBER exists in type AGGR, after including
3018 # INCLUDES, setting cache variable VAR accordingly.
3019 ac_fn_c_check_member ()
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3023 $as_echo_n "checking for $2.$3... " >&6; }
3024 if eval \${$4+:} false; then :
3025 $as_echo_n "(cached) " >&6
3026 else
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3031 main ()
3033 static $2 ac_aggr;
3034 if (ac_aggr.$3)
3035 return 0;
3037 return 0;
3039 _ACEOF
3040 if ac_fn_c_try_compile "$LINENO"; then :
3041 eval "$4=yes"
3042 else
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3047 main ()
3049 static $2 ac_aggr;
3050 if (sizeof ac_aggr.$3)
3051 return 0;
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 eval "$4=yes"
3058 else
3059 eval "$4=no"
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 eval ac_res=\$$4
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3067 $as_echo "$ac_res" >&6; }
3068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3070 } # ac_fn_c_check_member
3072 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3073 # -------------------------------------------
3074 # Tests whether TYPE exists after having included INCLUDES, setting cache
3075 # variable VAR accordingly.
3076 ac_fn_c_check_type ()
3078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3080 $as_echo_n "checking for $2... " >&6; }
3081 if eval \${$3+:} false; then :
3082 $as_echo_n "(cached) " >&6
3083 else
3084 eval "$3=no"
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3089 main ()
3091 if (sizeof ($2))
3092 return 0;
3094 return 0;
3096 _ACEOF
3097 if ac_fn_c_try_compile "$LINENO"; then :
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3102 main ()
3104 if (sizeof (($2)))
3105 return 0;
3107 return 0;
3109 _ACEOF
3110 if ac_fn_c_try_compile "$LINENO"; then :
3112 else
3113 eval "$3=yes"
3115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3119 eval ac_res=\$$3
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3121 $as_echo "$ac_res" >&6; }
3122 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3124 } # ac_fn_c_check_type
3125 cat >config.log <<_ACEOF
3126 This file contains any messages produced by compilers while
3127 running configure, to aid debugging if configure makes a mistake.
3129 It was created by Wine $as_me 3.2, which was
3130 generated by GNU Autoconf 2.69. Invocation command line was
3132 $ $0 $@
3134 _ACEOF
3135 exec 5>>config.log
3137 cat <<_ASUNAME
3138 ## --------- ##
3139 ## Platform. ##
3140 ## --------- ##
3142 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3143 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3144 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3145 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3146 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3148 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3149 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3151 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3152 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3153 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3154 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3155 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3156 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3157 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3159 _ASUNAME
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH
3164 IFS=$as_save_IFS
3165 test -z "$as_dir" && as_dir=.
3166 $as_echo "PATH: $as_dir"
3167 done
3168 IFS=$as_save_IFS
3170 } >&5
3172 cat >&5 <<_ACEOF
3175 ## ----------- ##
3176 ## Core tests. ##
3177 ## ----------- ##
3179 _ACEOF
3182 # Keep a trace of the command line.
3183 # Strip out --no-create and --no-recursion so they do not pile up.
3184 # Strip out --silent because we don't want to record it for future runs.
3185 # Also quote any args containing shell meta-characters.
3186 # Make two passes to allow for proper duplicate-argument suppression.
3187 ac_configure_args=
3188 ac_configure_args0=
3189 ac_configure_args1=
3190 ac_must_keep_next=false
3191 for ac_pass in 1 2
3193 for ac_arg
3195 case $ac_arg in
3196 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3198 | -silent | --silent | --silen | --sile | --sil)
3199 continue ;;
3200 *\'*)
3201 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3202 esac
3203 case $ac_pass in
3204 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3206 as_fn_append ac_configure_args1 " '$ac_arg'"
3207 if test $ac_must_keep_next = true; then
3208 ac_must_keep_next=false # Got value, back to normal.
3209 else
3210 case $ac_arg in
3211 *=* | --config-cache | -C | -disable-* | --disable-* \
3212 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3213 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3214 | -with-* | --with-* | -without-* | --without-* | --x)
3215 case "$ac_configure_args0 " in
3216 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3217 esac
3219 -* ) ac_must_keep_next=true ;;
3220 esac
3222 as_fn_append ac_configure_args " '$ac_arg'"
3224 esac
3225 done
3226 done
3227 { ac_configure_args0=; unset ac_configure_args0;}
3228 { ac_configure_args1=; unset ac_configure_args1;}
3230 # When interrupted or exit'd, cleanup temporary files, and complete
3231 # config.log. We remove comments because anyway the quotes in there
3232 # would cause problems or look ugly.
3233 # WARNING: Use '\'' to represent an apostrophe within the trap.
3234 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3235 trap 'exit_status=$?
3236 # Save into config.log some information that might help in debugging.
3238 echo
3240 $as_echo "## ---------------- ##
3241 ## Cache variables. ##
3242 ## ---------------- ##"
3243 echo
3244 # The following way of writing the cache mishandles newlines in values,
3246 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3247 eval ac_val=\$$ac_var
3248 case $ac_val in #(
3249 *${as_nl}*)
3250 case $ac_var in #(
3251 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3252 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3253 esac
3254 case $ac_var in #(
3255 _ | IFS | as_nl) ;; #(
3256 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3257 *) { eval $ac_var=; unset $ac_var;} ;;
3258 esac ;;
3259 esac
3260 done
3261 (set) 2>&1 |
3262 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3263 *${as_nl}ac_space=\ *)
3264 sed -n \
3265 "s/'\''/'\''\\\\'\'''\''/g;
3266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3267 ;; #(
3269 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3271 esac |
3272 sort
3274 echo
3276 $as_echo "## ----------------- ##
3277 ## Output variables. ##
3278 ## ----------------- ##"
3279 echo
3280 for ac_var in $ac_subst_vars
3282 eval ac_val=\$$ac_var
3283 case $ac_val in
3284 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3285 esac
3286 $as_echo "$ac_var='\''$ac_val'\''"
3287 done | sort
3288 echo
3290 if test -n "$ac_subst_files"; then
3291 $as_echo "## ------------------- ##
3292 ## File substitutions. ##
3293 ## ------------------- ##"
3294 echo
3295 for ac_var in $ac_subst_files
3297 eval ac_val=\$$ac_var
3298 case $ac_val in
3299 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3300 esac
3301 $as_echo "$ac_var='\''$ac_val'\''"
3302 done | sort
3303 echo
3306 if test -s confdefs.h; then
3307 $as_echo "## ----------- ##
3308 ## confdefs.h. ##
3309 ## ----------- ##"
3310 echo
3311 cat confdefs.h
3312 echo
3314 test "$ac_signal" != 0 &&
3315 $as_echo "$as_me: caught signal $ac_signal"
3316 $as_echo "$as_me: exit $exit_status"
3317 } >&5
3318 rm -f core *.core core.conftest.* &&
3319 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3320 exit $exit_status
3322 for ac_signal in 1 2 13 15; do
3323 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3324 done
3325 ac_signal=0
3327 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3328 rm -f -r conftest* confdefs.h
3330 $as_echo "/* confdefs.h */" > confdefs.h
3332 # Predefined preprocessor variables.
3334 cat >>confdefs.h <<_ACEOF
3335 #define PACKAGE_NAME "$PACKAGE_NAME"
3336 _ACEOF
3338 cat >>confdefs.h <<_ACEOF
3339 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3340 _ACEOF
3342 cat >>confdefs.h <<_ACEOF
3343 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3344 _ACEOF
3346 cat >>confdefs.h <<_ACEOF
3347 #define PACKAGE_STRING "$PACKAGE_STRING"
3348 _ACEOF
3350 cat >>confdefs.h <<_ACEOF
3351 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3352 _ACEOF
3354 cat >>confdefs.h <<_ACEOF
3355 #define PACKAGE_URL "$PACKAGE_URL"
3356 _ACEOF
3359 # Let the site file select an alternate cache file if it wants to.
3360 # Prefer an explicitly selected file to automatically selected ones.
3361 ac_site_file1=NONE
3362 ac_site_file2=NONE
3363 if test -n "$CONFIG_SITE"; then
3364 # We do not want a PATH search for config.site.
3365 case $CONFIG_SITE in #((
3366 -*) ac_site_file1=./$CONFIG_SITE;;
3367 */*) ac_site_file1=$CONFIG_SITE;;
3368 *) ac_site_file1=./$CONFIG_SITE;;
3369 esac
3370 elif test "x$prefix" != xNONE; then
3371 ac_site_file1=$prefix/share/config.site
3372 ac_site_file2=$prefix/etc/config.site
3373 else
3374 ac_site_file1=$ac_default_prefix/share/config.site
3375 ac_site_file2=$ac_default_prefix/etc/config.site
3377 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3379 test "x$ac_site_file" = xNONE && continue
3380 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3382 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3383 sed 's/^/| /' "$ac_site_file" >&5
3384 . "$ac_site_file" \
3385 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error $? "failed to load site script $ac_site_file
3388 See \`config.log' for more details" "$LINENO" 5; }
3390 done
3392 if test -r "$cache_file"; then
3393 # Some versions of bash will fail to source /dev/null (special files
3394 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3395 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3397 $as_echo "$as_me: loading cache $cache_file" >&6;}
3398 case $cache_file in
3399 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3400 *) . "./$cache_file";;
3401 esac
3403 else
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3405 $as_echo "$as_me: creating cache $cache_file" >&6;}
3406 >$cache_file
3409 # Check that the precious variables saved in the cache have kept the same
3410 # value.
3411 ac_cache_corrupted=false
3412 for ac_var in $ac_precious_vars; do
3413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3414 eval ac_new_set=\$ac_env_${ac_var}_set
3415 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3416 eval ac_new_val=\$ac_env_${ac_var}_value
3417 case $ac_old_set,$ac_new_set in
3418 set,)
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3420 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3421 ac_cache_corrupted=: ;;
3422 ,set)
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3424 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3425 ac_cache_corrupted=: ;;
3426 ,);;
3428 if test "x$ac_old_val" != "x$ac_new_val"; then
3429 # differences in whitespace do not lead to failure.
3430 ac_old_val_w=`echo x $ac_old_val`
3431 ac_new_val_w=`echo x $ac_new_val`
3432 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3434 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3435 ac_cache_corrupted=:
3436 else
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3438 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3439 eval $ac_var=\$ac_old_val
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3442 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3444 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3445 fi;;
3446 esac
3447 # Pass precious variables to config.status.
3448 if test "$ac_new_set" = set; then
3449 case $ac_new_val in
3450 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3451 *) ac_arg=$ac_var=$ac_new_val ;;
3452 esac
3453 case " $ac_configure_args " in
3454 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3455 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3456 esac
3458 done
3459 if $ac_cache_corrupted; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3463 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3464 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3466 ## -------------------- ##
3467 ## Main body of script. ##
3468 ## -------------------- ##
3470 ac_ext=c
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 ac_config_headers="$ac_config_headers include/config.h"
3480 ac_aux_dir=
3481 for ac_dir in tools "$srcdir"/tools; do
3482 if test -f "$ac_dir/install-sh"; then
3483 ac_aux_dir=$ac_dir
3484 ac_install_sh="$ac_aux_dir/install-sh -c"
3485 break
3486 elif test -f "$ac_dir/install.sh"; then
3487 ac_aux_dir=$ac_dir
3488 ac_install_sh="$ac_aux_dir/install.sh -c"
3489 break
3490 elif test -f "$ac_dir/shtool"; then
3491 ac_aux_dir=$ac_dir
3492 ac_install_sh="$ac_aux_dir/shtool install -c"
3493 break
3495 done
3496 if test -z "$ac_aux_dir"; then
3497 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3500 # These three variables are undocumented and unsupported,
3501 # and are intended to be withdrawn in a future Autoconf release.
3502 # They can cause serious problems if a builder's source tree is in a directory
3503 # whose full name contains unusual characters.
3504 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3505 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3506 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3510 libwine_version="1.0"
3514 # Check whether --enable-win16 was given.
3515 if test "${enable_win16+set}" = set; then :
3516 enableval=$enable_win16;
3519 # Check whether --enable-win64 was given.
3520 if test "${enable_win64+set}" = set; then :
3521 enableval=$enable_win64;
3524 # Check whether --enable-tests was given.
3525 if test "${enable_tests+set}" = set; then :
3526 enableval=$enable_tests;
3529 # Check whether --enable-maintainer-mode was given.
3530 if test "${enable_maintainer_mode+set}" = set; then :
3531 enableval=$enable_maintainer_mode;
3536 # Check whether --with-alsa was given.
3537 if test "${with_alsa+set}" = set; then :
3538 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3542 # Check whether --with-capi was given.
3543 if test "${with_capi+set}" = set; then :
3544 withval=$with_capi;
3548 # Check whether --with-cms was given.
3549 if test "${with_cms+set}" = set; then :
3550 withval=$with_cms;
3554 # Check whether --with-coreaudio was given.
3555 if test "${with_coreaudio+set}" = set; then :
3556 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3560 # Check whether --with-cups was given.
3561 if test "${with_cups+set}" = set; then :
3562 withval=$with_cups;
3566 # Check whether --with-curses was given.
3567 if test "${with_curses+set}" = set; then :
3568 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3572 # Check whether --with-dbus was given.
3573 if test "${with_dbus+set}" = set; then :
3574 withval=$with_dbus;
3578 # Check whether --with-float-abi was given.
3579 if test "${with_float_abi+set}" = set; then :
3580 withval=$with_float_abi;
3584 # Check whether --with-fontconfig was given.
3585 if test "${with_fontconfig+set}" = set; then :
3586 withval=$with_fontconfig;
3590 # Check whether --with-freetype was given.
3591 if test "${with_freetype+set}" = set; then :
3592 withval=$with_freetype;
3596 # Check whether --with-gettext was given.
3597 if test "${with_gettext+set}" = set; then :
3598 withval=$with_gettext;
3602 # Check whether --with-gettextpo was given.
3603 if test "${with_gettextpo+set}" = set; then :
3604 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3608 # Check whether --with-gphoto was given.
3609 if test "${with_gphoto+set}" = set; then :
3610 withval=$with_gphoto;
3614 # Check whether --with-glu was given.
3615 if test "${with_glu+set}" = set; then :
3616 withval=$with_glu;
3620 # Check whether --with-gnutls was given.
3621 if test "${with_gnutls+set}" = set; then :
3622 withval=$with_gnutls;
3626 # Check whether --with-gsm was given.
3627 if test "${with_gsm+set}" = set; then :
3628 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3632 # Check whether --with-gssapi was given.
3633 if test "${with_gssapi+set}" = set; then :
3634 withval=$with_gssapi;
3638 # Check whether --with-gstreamer was given.
3639 if test "${with_gstreamer+set}" = set; then :
3640 withval=$with_gstreamer;
3644 # Check whether --with-hal was given.
3645 if test "${with_hal+set}" = set; then :
3646 withval=$with_hal;
3650 # Check whether --with-jpeg was given.
3651 if test "${with_jpeg+set}" = set; then :
3652 withval=$with_jpeg;
3656 # Check whether --with-krb5 was given.
3657 if test "${with_krb5+set}" = set; then :
3658 withval=$with_krb5;
3662 # Check whether --with-ldap was given.
3663 if test "${with_ldap+set}" = set; then :
3664 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3668 # Check whether --with-mpg123 was given.
3669 if test "${with_mpg123+set}" = set; then :
3670 withval=$with_mpg123;
3674 # Check whether --with-netapi was given.
3675 if test "${with_netapi+set}" = set; then :
3676 withval=$with_netapi;
3680 # Check whether --with-openal was given.
3681 if test "${with_openal+set}" = set; then :
3682 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3686 # Check whether --with-opencl was given.
3687 if test "${with_opencl+set}" = set; then :
3688 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3692 # Check whether --with-opengl was given.
3693 if test "${with_opengl+set}" = set; then :
3694 withval=$with_opengl;
3698 # Check whether --with-osmesa was given.
3699 if test "${with_osmesa+set}" = set; then :
3700 withval=$with_osmesa;
3704 # Check whether --with-oss was given.
3705 if test "${with_oss+set}" = set; then :
3706 withval=$with_oss;
3710 # Check whether --with-pcap was given.
3711 if test "${with_pcap+set}" = set; then :
3712 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3716 # Check whether --with-png was given.
3717 if test "${with_png+set}" = set; then :
3718 withval=$with_png;
3722 # Check whether --with-pthread was given.
3723 if test "${with_pthread+set}" = set; then :
3724 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3728 # Check whether --with-pulse was given.
3729 if test "${with_pulse+set}" = set; then :
3730 withval=$with_pulse;
3734 # Check whether --with-sane was given.
3735 if test "${with_sane+set}" = set; then :
3736 withval=$with_sane;
3740 # Check whether --with-sdl was given.
3741 if test "${with_sdl+set}" = set; then :
3742 withval=$with_sdl;
3746 # Check whether --with-tiff was given.
3747 if test "${with_tiff+set}" = set; then :
3748 withval=$with_tiff;
3752 # Check whether --with-udev was given.
3753 if test "${with_udev+set}" = set; then :
3754 withval=$with_udev;
3758 # Check whether --with-v4l was given.
3759 if test "${with_v4l+set}" = set; then :
3760 withval=$with_v4l;
3764 # Check whether --with-vulkan was given.
3765 if test "${with_vulkan+set}" = set; then :
3766 withval=$with_vulkan;
3770 # Check whether --with-xcomposite was given.
3771 if test "${with_xcomposite+set}" = set; then :
3772 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3776 # Check whether --with-xcursor was given.
3777 if test "${with_xcursor+set}" = set; then :
3778 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3782 # Check whether --with-xfixes was given.
3783 if test "${with_xfixes+set}" = set; then :
3784 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3788 # Check whether --with-xinerama was given.
3789 if test "${with_xinerama+set}" = set; then :
3790 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3794 # Check whether --with-xinput was given.
3795 if test "${with_xinput+set}" = set; then :
3796 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3800 # Check whether --with-xinput2 was given.
3801 if test "${with_xinput2+set}" = set; then :
3802 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3806 # Check whether --with-xml was given.
3807 if test "${with_xml+set}" = set; then :
3808 withval=$with_xml;
3812 # Check whether --with-xrandr was given.
3813 if test "${with_xrandr+set}" = set; then :
3814 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3818 # Check whether --with-xrender was given.
3819 if test "${with_xrender+set}" = set; then :
3820 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3824 # Check whether --with-xshape was given.
3825 if test "${with_xshape+set}" = set; then :
3826 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3830 # Check whether --with-xshm was given.
3831 if test "${with_xshm+set}" = set; then :
3832 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3836 # Check whether --with-xslt was given.
3837 if test "${with_xslt+set}" = set; then :
3838 withval=$with_xslt;
3842 # Check whether --with-xxf86vm was given.
3843 if test "${with_xxf86vm+set}" = set; then :
3844 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
3848 # Check whether --with-zlib was given.
3849 if test "${with_zlib+set}" = set; then :
3850 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3855 # Check whether --with-wine-tools was given.
3856 if test "${with_wine_tools+set}" = set; then :
3857 withval=$with_wine_tools;
3861 # Check whether --with-wine64 was given.
3862 if test "${with_wine64+set}" = set; then :
3863 withval=$with_wine64;
3867 # Make sure we can run config.sub.
3868 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3869 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3872 $as_echo_n "checking build system type... " >&6; }
3873 if ${ac_cv_build+:} false; then :
3874 $as_echo_n "(cached) " >&6
3875 else
3876 ac_build_alias=$build_alias
3877 test "x$ac_build_alias" = x &&
3878 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3879 test "x$ac_build_alias" = x &&
3880 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3881 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3882 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3886 $as_echo "$ac_cv_build" >&6; }
3887 case $ac_cv_build in
3888 *-*-*) ;;
3889 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3890 esac
3891 build=$ac_cv_build
3892 ac_save_IFS=$IFS; IFS='-'
3893 set x $ac_cv_build
3894 shift
3895 build_cpu=$1
3896 build_vendor=$2
3897 shift; shift
3898 # Remember, the first character of IFS is used to create $*,
3899 # except with old shells:
3900 build_os=$*
3901 IFS=$ac_save_IFS
3902 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3906 $as_echo_n "checking host system type... " >&6; }
3907 if ${ac_cv_host+:} false; then :
3908 $as_echo_n "(cached) " >&6
3909 else
3910 if test "x$host_alias" = x; then
3911 ac_cv_host=$ac_cv_build
3912 else
3913 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3914 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3919 $as_echo "$ac_cv_host" >&6; }
3920 case $ac_cv_host in
3921 *-*-*) ;;
3922 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3923 esac
3924 host=$ac_cv_host
3925 ac_save_IFS=$IFS; IFS='-'
3926 set x $ac_cv_host
3927 shift
3928 host_cpu=$1
3929 host_vendor=$2
3930 shift; shift
3931 # Remember, the first character of IFS is used to create $*,
3932 # except with old shells:
3933 host_os=$*
3934 IFS=$ac_save_IFS
3935 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3939 case "$srcdir" in
3940 .) ;;
3941 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3942 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3943 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3944 fi ;;
3945 esac
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3949 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3950 set x ${MAKE-make}
3951 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3952 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3953 $as_echo_n "(cached) " >&6
3954 else
3955 cat >conftest.make <<\_ACEOF
3956 SHELL = /bin/sh
3957 all:
3958 @echo '@@@%%%=$(MAKE)=@@@%%%'
3959 _ACEOF
3960 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3961 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3962 *@@@%%%=?*=@@@%%%*)
3963 eval ac_cv_prog_make_${ac_make}_set=yes;;
3965 eval ac_cv_prog_make_${ac_make}_set=no;;
3966 esac
3967 rm -f conftest.make
3969 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3971 $as_echo "yes" >&6; }
3972 SET_MAKE=
3973 else
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3976 SET_MAKE="MAKE=${MAKE-make}"
3979 ac_ext=c
3980 ac_cpp='$CPP $CPPFLAGS'
3981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3984 if test -n "$ac_tool_prefix"; then
3985 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3986 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_CC+:} false; then :
3990 $as_echo_n "(cached) " >&6
3991 else
3992 if test -n "$CC"; then
3993 ac_cv_prog_CC="$CC" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 break 2
4006 done
4007 done
4008 IFS=$as_save_IFS
4012 CC=$ac_cv_prog_CC
4013 if test -n "$CC"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4015 $as_echo "$CC" >&6; }
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4023 if test -z "$ac_cv_prog_CC"; then
4024 ac_ct_CC=$CC
4025 # Extract the first word of "gcc", so it can be a program name with args.
4026 set dummy gcc; ac_word=$2
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028 $as_echo_n "checking for $ac_word... " >&6; }
4029 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4030 $as_echo_n "(cached) " >&6
4031 else
4032 if test -n "$ac_ct_CC"; then
4033 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4034 else
4035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 for as_dir in $PATH
4038 IFS=$as_save_IFS
4039 test -z "$as_dir" && as_dir=.
4040 for ac_exec_ext in '' $ac_executable_extensions; do
4041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4042 ac_cv_prog_ac_ct_CC="gcc"
4043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4044 break 2
4046 done
4047 done
4048 IFS=$as_save_IFS
4052 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4053 if test -n "$ac_ct_CC"; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4055 $as_echo "$ac_ct_CC" >&6; }
4056 else
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4058 $as_echo "no" >&6; }
4061 if test "x$ac_ct_CC" = x; then
4062 CC=""
4063 else
4064 case $cross_compiling:$ac_tool_warned in
4065 yes:)
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4068 ac_tool_warned=yes ;;
4069 esac
4070 CC=$ac_ct_CC
4072 else
4073 CC="$ac_cv_prog_CC"
4076 if test -z "$CC"; then
4077 if test -n "$ac_tool_prefix"; then
4078 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4079 set dummy ${ac_tool_prefix}cc; ac_word=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_CC+:} false; then :
4083 $as_echo_n "(cached) " >&6
4084 else
4085 if test -n "$CC"; then
4086 ac_cv_prog_CC="$CC" # Let the user override the test.
4087 else
4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 for as_dir in $PATH
4091 IFS=$as_save_IFS
4092 test -z "$as_dir" && as_dir=.
4093 for ac_exec_ext in '' $ac_executable_extensions; do
4094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4095 ac_cv_prog_CC="${ac_tool_prefix}cc"
4096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 break 2
4099 done
4100 done
4101 IFS=$as_save_IFS
4105 CC=$ac_cv_prog_CC
4106 if test -n "$CC"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4108 $as_echo "$CC" >&6; }
4109 else
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4117 if test -z "$CC"; then
4118 # Extract the first word of "cc", so it can be a program name with args.
4119 set dummy cc; ac_word=$2
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4121 $as_echo_n "checking for $ac_word... " >&6; }
4122 if ${ac_cv_prog_CC+:} false; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 if test -n "$CC"; then
4126 ac_cv_prog_CC="$CC" # Let the user override the test.
4127 else
4128 ac_prog_rejected=no
4129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4130 for as_dir in $PATH
4132 IFS=$as_save_IFS
4133 test -z "$as_dir" && as_dir=.
4134 for ac_exec_ext in '' $ac_executable_extensions; do
4135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4136 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4137 ac_prog_rejected=yes
4138 continue
4140 ac_cv_prog_CC="cc"
4141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 break 2
4144 done
4145 done
4146 IFS=$as_save_IFS
4148 if test $ac_prog_rejected = yes; then
4149 # We found a bogon in the path, so make sure we never use it.
4150 set dummy $ac_cv_prog_CC
4151 shift
4152 if test $# != 0; then
4153 # We chose a different compiler from the bogus one.
4154 # However, it has the same basename, so the bogon will be chosen
4155 # first if we set CC to just the basename; use the full file name.
4156 shift
4157 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4162 CC=$ac_cv_prog_CC
4163 if test -n "$CC"; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4165 $as_echo "$CC" >&6; }
4166 else
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168 $as_echo "no" >&6; }
4173 if test -z "$CC"; then
4174 if test -n "$ac_tool_prefix"; then
4175 for ac_prog in cl.exe
4177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4178 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180 $as_echo_n "checking for $ac_word... " >&6; }
4181 if ${ac_cv_prog_CC+:} false; then :
4182 $as_echo_n "(cached) " >&6
4183 else
4184 if test -n "$CC"; then
4185 ac_cv_prog_CC="$CC" # Let the user override the test.
4186 else
4187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 for as_dir in $PATH
4190 IFS=$as_save_IFS
4191 test -z "$as_dir" && as_dir=.
4192 for ac_exec_ext in '' $ac_executable_extensions; do
4193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4194 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 break 2
4198 done
4199 done
4200 IFS=$as_save_IFS
4204 CC=$ac_cv_prog_CC
4205 if test -n "$CC"; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4207 $as_echo "$CC" >&6; }
4208 else
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4214 test -n "$CC" && break
4215 done
4217 if test -z "$CC"; then
4218 ac_ct_CC=$CC
4219 for ac_prog in cl.exe
4221 # Extract the first word of "$ac_prog", so it can be a program name with args.
4222 set dummy $ac_prog; ac_word=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4226 $as_echo_n "(cached) " >&6
4227 else
4228 if test -n "$ac_ct_CC"; then
4229 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4230 else
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 for as_dir in $PATH
4234 IFS=$as_save_IFS
4235 test -z "$as_dir" && as_dir=.
4236 for ac_exec_ext in '' $ac_executable_extensions; do
4237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238 ac_cv_prog_ac_ct_CC="$ac_prog"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 break 2
4242 done
4243 done
4244 IFS=$as_save_IFS
4248 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4249 if test -n "$ac_ct_CC"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4251 $as_echo "$ac_ct_CC" >&6; }
4252 else
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4258 test -n "$ac_ct_CC" && break
4259 done
4261 if test "x$ac_ct_CC" = x; then
4262 CC=""
4263 else
4264 case $cross_compiling:$ac_tool_warned in
4265 yes:)
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4268 ac_tool_warned=yes ;;
4269 esac
4270 CC=$ac_ct_CC
4277 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4279 as_fn_error $? "no acceptable C compiler found in \$PATH
4280 See \`config.log' for more details" "$LINENO" 5; }
4282 # Provide some information about the compiler.
4283 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4284 set X $ac_compile
4285 ac_compiler=$2
4286 for ac_option in --version -v -V -qversion; do
4287 { { ac_try="$ac_compiler $ac_option >&5"
4288 case "(($ac_try" in
4289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4290 *) ac_try_echo=$ac_try;;
4291 esac
4292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4293 $as_echo "$ac_try_echo"; } >&5
4294 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4295 ac_status=$?
4296 if test -s conftest.err; then
4297 sed '10a\
4298 ... rest of stderr output deleted ...
4299 10q' conftest.err >conftest.er1
4300 cat conftest.er1 >&5
4302 rm -f conftest.er1 conftest.err
4303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4304 test $ac_status = 0; }
4305 done
4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4311 main ()
4315 return 0;
4317 _ACEOF
4318 ac_clean_files_save=$ac_clean_files
4319 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4320 # Try to create an executable without -o first, disregard a.out.
4321 # It will help us diagnose broken compilers, and finding out an intuition
4322 # of exeext.
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4324 $as_echo_n "checking whether the C compiler works... " >&6; }
4325 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4327 # The possible output files:
4328 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4330 ac_rmfiles=
4331 for ac_file in $ac_files
4333 case $ac_file in
4334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4335 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4336 esac
4337 done
4338 rm -f $ac_rmfiles
4340 if { { ac_try="$ac_link_default"
4341 case "(($ac_try" in
4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343 *) ac_try_echo=$ac_try;;
4344 esac
4345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4346 $as_echo "$ac_try_echo"; } >&5
4347 (eval "$ac_link_default") 2>&5
4348 ac_status=$?
4349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4350 test $ac_status = 0; }; then :
4351 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4352 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4353 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4354 # so that the user can short-circuit this test for compilers unknown to
4355 # Autoconf.
4356 for ac_file in $ac_files ''
4358 test -f "$ac_file" || continue
4359 case $ac_file in
4360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4362 [ab].out )
4363 # We found the default executable, but exeext='' is most
4364 # certainly right.
4365 break;;
4366 *.* )
4367 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4368 then :; else
4369 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4371 # We set ac_cv_exeext here because the later test for it is not
4372 # safe: cross compilers may not add the suffix if given an `-o'
4373 # argument, so we may need to know it at that point already.
4374 # Even if this section looks crufty: it has the advantage of
4375 # actually working.
4376 break;;
4378 break;;
4379 esac
4380 done
4381 test "$ac_cv_exeext" = no && ac_cv_exeext=
4383 else
4384 ac_file=''
4386 if test -z "$ac_file"; then :
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4389 $as_echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4394 as_fn_error 77 "C compiler cannot create executables
4395 See \`config.log' for more details" "$LINENO" 5; }
4396 else
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4398 $as_echo "yes" >&6; }
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4401 $as_echo_n "checking for C compiler default output file name... " >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4403 $as_echo "$ac_file" >&6; }
4404 ac_exeext=$ac_cv_exeext
4406 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4407 ac_clean_files=$ac_clean_files_save
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4409 $as_echo_n "checking for suffix of executables... " >&6; }
4410 if { { ac_try="$ac_link"
4411 case "(($ac_try" in
4412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413 *) ac_try_echo=$ac_try;;
4414 esac
4415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417 (eval "$ac_link") 2>&5
4418 ac_status=$?
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }; then :
4421 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4422 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4423 # work properly (i.e., refer to `conftest.exe'), while it won't with
4424 # `rm'.
4425 for ac_file in conftest.exe conftest conftest.*; do
4426 test -f "$ac_file" || continue
4427 case $ac_file in
4428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4429 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4430 break;;
4431 * ) break;;
4432 esac
4433 done
4434 else
4435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4437 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4438 See \`config.log' for more details" "$LINENO" 5; }
4440 rm -f conftest conftest$ac_cv_exeext
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4442 $as_echo "$ac_cv_exeext" >&6; }
4444 rm -f conftest.$ac_ext
4445 EXEEXT=$ac_cv_exeext
4446 ac_exeext=$EXEEXT
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4449 #include <stdio.h>
4451 main ()
4453 FILE *f = fopen ("conftest.out", "w");
4454 return ferror (f) || fclose (f) != 0;
4457 return 0;
4459 _ACEOF
4460 ac_clean_files="$ac_clean_files conftest.out"
4461 # Check that the compiler produces executables we can run. If not, either
4462 # the compiler is broken, or we cross compile.
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4464 $as_echo_n "checking whether we are cross compiling... " >&6; }
4465 if test "$cross_compiling" != yes; then
4466 { { ac_try="$ac_link"
4467 case "(($ac_try" in
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;;
4470 esac
4471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4472 $as_echo "$ac_try_echo"; } >&5
4473 (eval "$ac_link") 2>&5
4474 ac_status=$?
4475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4476 test $ac_status = 0; }
4477 if { ac_try='./conftest$ac_cv_exeext'
4478 { { case "(($ac_try" in
4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4481 esac
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484 (eval "$ac_try") 2>&5
4485 ac_status=$?
4486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4487 test $ac_status = 0; }; }; then
4488 cross_compiling=no
4489 else
4490 if test "$cross_compiling" = maybe; then
4491 cross_compiling=yes
4492 else
4493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4495 as_fn_error $? "cannot run C compiled programs.
4496 If you meant to cross compile, use \`--host'.
4497 See \`config.log' for more details" "$LINENO" 5; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4502 $as_echo "$cross_compiling" >&6; }
4504 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4505 ac_clean_files=$ac_clean_files_save
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4507 $as_echo_n "checking for suffix of object files... " >&6; }
4508 if ${ac_cv_objext+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4515 main ()
4519 return 0;
4521 _ACEOF
4522 rm -f conftest.o conftest.obj
4523 if { { ac_try="$ac_compile"
4524 case "(($ac_try" in
4525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4526 *) ac_try_echo=$ac_try;;
4527 esac
4528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4529 $as_echo "$ac_try_echo"; } >&5
4530 (eval "$ac_compile") 2>&5
4531 ac_status=$?
4532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4533 test $ac_status = 0; }; then :
4534 for ac_file in conftest.o conftest.obj conftest.*; do
4535 test -f "$ac_file" || continue;
4536 case $ac_file in
4537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4538 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4539 break;;
4540 esac
4541 done
4542 else
4543 $as_echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4548 as_fn_error $? "cannot compute suffix of object files: cannot compile
4549 See \`config.log' for more details" "$LINENO" 5; }
4551 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4554 $as_echo "$ac_cv_objext" >&6; }
4555 OBJEXT=$ac_cv_objext
4556 ac_objext=$OBJEXT
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4558 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4559 if ${ac_cv_c_compiler_gnu+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4568 #ifndef __GNUC__
4569 choke me
4570 #endif
4573 return 0;
4575 _ACEOF
4576 if ac_fn_c_try_compile "$LINENO"; then :
4577 ac_compiler_gnu=yes
4578 else
4579 ac_compiler_gnu=no
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4586 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4587 if test $ac_compiler_gnu = yes; then
4588 GCC=yes
4589 else
4590 GCC=
4592 ac_test_CFLAGS=${CFLAGS+set}
4593 ac_save_CFLAGS=$CFLAGS
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4595 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4596 if ${ac_cv_prog_cc_g+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 ac_save_c_werror_flag=$ac_c_werror_flag
4600 ac_c_werror_flag=yes
4601 ac_cv_prog_cc_g=no
4602 CFLAGS="-g"
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 if ac_fn_c_try_compile "$LINENO"; then :
4615 ac_cv_prog_cc_g=yes
4616 else
4617 CFLAGS=""
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4622 main ()
4626 return 0;
4628 _ACEOF
4629 if ac_fn_c_try_compile "$LINENO"; then :
4631 else
4632 ac_c_werror_flag=$ac_save_c_werror_flag
4633 CFLAGS="-g"
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4638 main ()
4642 return 0;
4644 _ACEOF
4645 if ac_fn_c_try_compile "$LINENO"; then :
4646 ac_cv_prog_cc_g=yes
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 ac_c_werror_flag=$ac_save_c_werror_flag
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4656 $as_echo "$ac_cv_prog_cc_g" >&6; }
4657 if test "$ac_test_CFLAGS" = set; then
4658 CFLAGS=$ac_save_CFLAGS
4659 elif test $ac_cv_prog_cc_g = yes; then
4660 if test "$GCC" = yes; then
4661 CFLAGS="-g -O2"
4662 else
4663 CFLAGS="-g"
4665 else
4666 if test "$GCC" = yes; then
4667 CFLAGS="-O2"
4668 else
4669 CFLAGS=
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4673 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4674 if ${ac_cv_prog_cc_c89+:} false; then :
4675 $as_echo_n "(cached) " >&6
4676 else
4677 ac_cv_prog_cc_c89=no
4678 ac_save_CC=$CC
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 #include <stdarg.h>
4682 #include <stdio.h>
4683 struct stat;
4684 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4685 struct buf { int x; };
4686 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4687 static char *e (p, i)
4688 char **p;
4689 int i;
4691 return p[i];
4693 static char *f (char * (*g) (char **, int), char **p, ...)
4695 char *s;
4696 va_list v;
4697 va_start (v,p);
4698 s = g (p, va_arg (v,int));
4699 va_end (v);
4700 return s;
4703 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4704 function prototypes and stuff, but not '\xHH' hex character constants.
4705 These don't provoke an error unfortunately, instead are silently treated
4706 as 'x'. The following induces an error, until -std is added to get
4707 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4708 array size at least. It's necessary to write '\x00'==0 to get something
4709 that's true only with -std. */
4710 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4712 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4713 inside strings and character constants. */
4714 #define FOO(x) 'x'
4715 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4717 int test (int i, double x);
4718 struct s1 {int (*f) (int a);};
4719 struct s2 {int (*f) (double a);};
4720 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4721 int argc;
4722 char **argv;
4724 main ()
4726 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4728 return 0;
4730 _ACEOF
4731 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4732 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4734 CC="$ac_save_CC $ac_arg"
4735 if ac_fn_c_try_compile "$LINENO"; then :
4736 ac_cv_prog_cc_c89=$ac_arg
4738 rm -f core conftest.err conftest.$ac_objext
4739 test "x$ac_cv_prog_cc_c89" != "xno" && break
4740 done
4741 rm -f conftest.$ac_ext
4742 CC=$ac_save_CC
4745 # AC_CACHE_VAL
4746 case "x$ac_cv_prog_cc_c89" in
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4749 $as_echo "none needed" >&6; } ;;
4750 xno)
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4752 $as_echo "unsupported" >&6; } ;;
4754 CC="$CC $ac_cv_prog_cc_c89"
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4756 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4757 esac
4758 if test "x$ac_cv_prog_cc_c89" != xno; then :
4762 ac_ext=c
4763 ac_cpp='$CPP $CPPFLAGS'
4764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4768 ac_ext=cpp
4769 ac_cpp='$CXXCPP $CPPFLAGS'
4770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4773 if test -z "$CXX"; then
4774 if test -n "$CCC"; then
4775 CXX=$CCC
4776 else
4777 if test -n "$ac_tool_prefix"; then
4778 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4780 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4781 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if ${ac_cv_prog_CXX+:} false; then :
4785 $as_echo_n "(cached) " >&6
4786 else
4787 if test -n "$CXX"; then
4788 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4789 else
4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 for as_dir in $PATH
4793 IFS=$as_save_IFS
4794 test -z "$as_dir" && as_dir=.
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4797 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4799 break 2
4801 done
4802 done
4803 IFS=$as_save_IFS
4807 CXX=$ac_cv_prog_CXX
4808 if test -n "$CXX"; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4810 $as_echo "$CXX" >&6; }
4811 else
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4817 test -n "$CXX" && break
4818 done
4820 if test -z "$CXX"; then
4821 ac_ct_CXX=$CXX
4822 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4824 # Extract the first word of "$ac_prog", so it can be a program name with args.
4825 set dummy $ac_prog; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if test -n "$ac_ct_CXX"; then
4832 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_ac_ct_CXX="$ac_prog"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4852 if test -n "$ac_ct_CXX"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4854 $as_echo "$ac_ct_CXX" >&6; }
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4861 test -n "$ac_ct_CXX" && break
4862 done
4864 if test "x$ac_ct_CXX" = x; then
4865 CXX="g++"
4866 else
4867 case $cross_compiling:$ac_tool_warned in
4868 yes:)
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4871 ac_tool_warned=yes ;;
4872 esac
4873 CXX=$ac_ct_CXX
4879 # Provide some information about the compiler.
4880 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4881 set X $ac_compile
4882 ac_compiler=$2
4883 for ac_option in --version -v -V -qversion; do
4884 { { ac_try="$ac_compiler $ac_option >&5"
4885 case "(($ac_try" in
4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4887 *) ac_try_echo=$ac_try;;
4888 esac
4889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4890 $as_echo "$ac_try_echo"; } >&5
4891 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4892 ac_status=$?
4893 if test -s conftest.err; then
4894 sed '10a\
4895 ... rest of stderr output deleted ...
4896 10q' conftest.err >conftest.er1
4897 cat conftest.er1 >&5
4899 rm -f conftest.er1 conftest.err
4900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4901 test $ac_status = 0; }
4902 done
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4905 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4906 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4907 $as_echo_n "(cached) " >&6
4908 else
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4913 main ()
4915 #ifndef __GNUC__
4916 choke me
4917 #endif
4920 return 0;
4922 _ACEOF
4923 if ac_fn_cxx_try_compile "$LINENO"; then :
4924 ac_compiler_gnu=yes
4925 else
4926 ac_compiler_gnu=no
4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4933 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4934 if test $ac_compiler_gnu = yes; then
4935 GXX=yes
4936 else
4937 GXX=
4939 ac_test_CXXFLAGS=${CXXFLAGS+set}
4940 ac_save_CXXFLAGS=$CXXFLAGS
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4942 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4943 if ${ac_cv_prog_cxx_g+:} false; then :
4944 $as_echo_n "(cached) " >&6
4945 else
4946 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4947 ac_cxx_werror_flag=yes
4948 ac_cv_prog_cxx_g=no
4949 CXXFLAGS="-g"
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4954 main ()
4958 return 0;
4960 _ACEOF
4961 if ac_fn_cxx_try_compile "$LINENO"; then :
4962 ac_cv_prog_cxx_g=yes
4963 else
4964 CXXFLAGS=""
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4969 main ()
4973 return 0;
4975 _ACEOF
4976 if ac_fn_cxx_try_compile "$LINENO"; then :
4978 else
4979 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4980 CXXFLAGS="-g"
4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4985 main ()
4989 return 0;
4991 _ACEOF
4992 if ac_fn_cxx_try_compile "$LINENO"; then :
4993 ac_cv_prog_cxx_g=yes
4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5003 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5004 if test "$ac_test_CXXFLAGS" = set; then
5005 CXXFLAGS=$ac_save_CXXFLAGS
5006 elif test $ac_cv_prog_cxx_g = yes; then
5007 if test "$GXX" = yes; then
5008 CXXFLAGS="-g -O2"
5009 else
5010 CXXFLAGS="-g"
5012 else
5013 if test "$GXX" = yes; then
5014 CXXFLAGS="-O2"
5015 else
5016 CXXFLAGS=
5019 ac_ext=c
5020 ac_cpp='$CPP $CPPFLAGS'
5021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5025 if test -n "$ac_tool_prefix"; then
5026 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5027 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if ${ac_cv_prog_CPPBIN+:} false; then :
5031 $as_echo_n "(cached) " >&6
5032 else
5033 if test -n "$CPPBIN"; then
5034 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5035 else
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 for as_dir in $PATH
5039 IFS=$as_save_IFS
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 break 2
5047 done
5048 done
5049 IFS=$as_save_IFS
5053 CPPBIN=$ac_cv_prog_CPPBIN
5054 if test -n "$CPPBIN"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5056 $as_echo "$CPPBIN" >&6; }
5057 else
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5064 if test -z "$ac_cv_prog_CPPBIN"; then
5065 ac_ct_CPPBIN=$CPPBIN
5066 # Extract the first word of "cpp", so it can be a program name with args.
5067 set dummy cpp; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test -n "$ac_ct_CPPBIN"; then
5074 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5075 else
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH
5079 IFS=$as_save_IFS
5080 test -z "$as_dir" && as_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5083 ac_cv_prog_ac_ct_CPPBIN="cpp"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 break 2
5087 done
5088 done
5089 IFS=$as_save_IFS
5093 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5094 if test -n "$ac_ct_CPPBIN"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5096 $as_echo "$ac_ct_CPPBIN" >&6; }
5097 else
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5102 if test "x$ac_ct_CPPBIN" = x; then
5103 CPPBIN="cpp"
5104 else
5105 case $cross_compiling:$ac_tool_warned in
5106 yes:)
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5109 ac_tool_warned=yes ;;
5110 esac
5111 CPPBIN=$ac_ct_CPPBIN
5113 else
5114 CPPBIN="$ac_cv_prog_CPPBIN"
5118 cat >>confdefs.h <<_ACEOF
5119 #define EXEEXT "$ac_exeext"
5120 _ACEOF
5122 if test -n "$ac_tool_prefix"; then
5123 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5124 set dummy ${ac_tool_prefix}ld; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_LD+:} false; then :
5128 $as_echo_n "(cached) " >&6
5129 else
5130 if test -n "$LD"; then
5131 ac_cv_prog_LD="$LD" # Let the user override the test.
5132 else
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 for as_dir in $PATH
5136 IFS=$as_save_IFS
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_LD="${ac_tool_prefix}ld"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 break 2
5144 done
5145 done
5146 IFS=$as_save_IFS
5150 LD=$ac_cv_prog_LD
5151 if test -n "$LD"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5153 $as_echo "$LD" >&6; }
5154 else
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5161 if test -z "$ac_cv_prog_LD"; then
5162 ac_ct_LD=$LD
5163 # Extract the first word of "ld", so it can be a program name with args.
5164 set dummy ld; ac_word=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5168 $as_echo_n "(cached) " >&6
5169 else
5170 if test -n "$ac_ct_LD"; then
5171 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_ac_ct_LD="ld"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2
5184 done
5185 done
5186 IFS=$as_save_IFS
5190 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5191 if test -n "$ac_ct_LD"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5193 $as_echo "$ac_ct_LD" >&6; }
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5199 if test "x$ac_ct_LD" = x; then
5200 LD=""
5201 else
5202 case $cross_compiling:$ac_tool_warned in
5203 yes:)
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5206 ac_tool_warned=yes ;;
5207 esac
5208 LD=$ac_ct_LD
5210 else
5211 LD="$ac_cv_prog_LD"
5215 case $host in
5216 *-darwin*)
5217 with_fontconfig=${with_fontconfig:-no}
5219 *-mingw32*|*-cygwin*)
5220 enable_win16=${enable_win16:-no}
5221 CFLAGS="$CFLAGS -D_WIN32"
5223 esac
5225 case $host in
5226 x86_64*|amd64*)
5227 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5228 then
5229 CC="$CC -m32"
5230 CXX="$CXX -m32"
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5232 $as_echo_n "checking whether $CC works... " >&6; }
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5238 main ()
5242 return 0;
5244 _ACEOF
5245 if ac_fn_c_try_link "$LINENO"; then :
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5247 $as_echo "yes" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5251 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5253 rm -f core conftest.err conftest.$ac_objext \
5254 conftest$ac_exeext conftest.$ac_ext
5255 host_cpu="i386"
5256 notice_platform="32-bit "
5257 TARGETFLAGS="-m32"
5259 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5260 export PKG_CONFIG_PATH
5261 enable_win16=${enable_win16:-yes}
5262 else
5263 if test "x${GCC}" = "xyes"
5264 then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5266 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5269 #include <stdarg.h>
5271 main ()
5273 void func(__builtin_ms_va_list *args);
5275 return 0;
5277 _ACEOF
5278 if ac_fn_c_try_compile "$LINENO"; then :
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5280 $as_echo "yes" >&6; }
5281 else
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5284 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5288 CC="$CC -m64"
5289 CXX="$CXX -m64"
5290 host_cpu="x86_64"
5291 notice_platform="64-bit "
5292 TARGETFLAGS="-m64"
5296 arm*)
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5298 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 int ac_test(int i) { return i; }
5303 main ()
5305 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5307 return 0;
5309 _ACEOF
5310 if ac_fn_c_try_link "$LINENO"; then :
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5312 $as_echo "yes" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5316 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5318 rm -f core conftest.err conftest.$ac_objext \
5319 conftest$ac_exeext conftest.$ac_ext
5320 case $with_float_abi in
5321 soft|softfp|hard)
5322 float_abi=$with_float_abi ;;
5324 case $host_os in
5325 *eabihf)
5326 float_abi=hard ;;
5328 float_abi=softfp
5329 saved_CFLAGS=$CFLAGS
5330 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5332 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5337 main ()
5339 asm("vmrs r2,fpscr");
5341 return 0;
5343 _ACEOF
5344 if ac_fn_c_try_link "$LINENO"; then :
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5346 $as_echo "yes" >&6; }
5347 else
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5350 float_abi=soft
5351 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5353 rm -f core conftest.err conftest.$ac_objext \
5354 conftest$ac_exeext conftest.$ac_ext
5355 CFLAGS=$saved_CFLAGS
5356 esac
5358 esac
5359 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5360 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5363 i[3456789]86*)
5364 enable_win16=${enable_win16:-yes}
5366 esac
5368 enable_win16=${enable_win16:-no}
5369 enable_win64=${enable_win64:-no}
5371 enable_winetest=${enable_winetest:-$enable_tests}
5373 if test -n "$with_wine64"
5374 then
5375 if test "x$enable_win64" = "xyes"
5376 then
5377 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5378 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5380 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5381 You should create a separate build directory and run configure from there." "$LINENO" 5
5382 enable_fonts=${enable_fonts:-no}
5383 enable_server=${enable_server:-no}
5384 wine64_disable=\#
5386 elif test "x$enable_win64" = "xyes"
5387 then
5388 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5392 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5393 if ${wine_cv_toolsdir+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 wine_cv_toolsdir="$with_wine_tools"
5397 if test -z "$with_wine_tools"; then
5398 if test "$cross_compiling" = "yes"; then
5399 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5400 elif test -n "$with_wine64"; then
5401 wine_cv_toolsdir="$with_wine64"
5404 if test -z "$wine_cv_toolsdir"; then
5405 wine_makedep=tools/makedep
5406 wine_cv_toolsdir="\$(top_builddir)"
5407 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5408 wine_makedep=$wine_cv_toolsdir/tools/makedep
5409 case "$wine_cv_toolsdir" in
5410 /*) ;;
5411 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5412 esac
5413 enable_tools=${enable_tools:-no}
5414 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5415 else
5416 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5420 $as_echo "$wine_cv_toolsdir" >&6; }
5421 TOOLSDIR=$wine_cv_toolsdir
5423 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5424 then
5425 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5429 for ac_prog in flex
5431 # Extract the first word of "$ac_prog", so it can be a program name with args.
5432 set dummy $ac_prog; ac_word=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_FLEX+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 if test -n "$FLEX"; then
5439 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_FLEX="$ac_prog"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 FLEX=$ac_cv_prog_FLEX
5459 if test -n "$FLEX"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5461 $as_echo "$FLEX" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5468 test -n "$FLEX" && break
5469 done
5470 test -n "$FLEX" || FLEX="none"
5472 if test "$FLEX" = "none"
5473 then
5474 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5477 $as_echo_n "checking whether flex is recent enough... " >&6; }
5478 cat >conftest.l <<EOF
5479 %top{
5480 #include "prediluvian.h"
5484 if $FLEX -t conftest.l >/dev/null 2>&5
5485 then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5487 $as_echo "yes" >&6; }
5488 else
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5491 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5494 for ac_prog in bison
5496 # Extract the first word of "$ac_prog", so it can be a program name with args.
5497 set dummy $ac_prog; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_BISON+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$BISON"; then
5504 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_BISON="$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5517 done
5518 done
5519 IFS=$as_save_IFS
5523 BISON=$ac_cv_prog_BISON
5524 if test -n "$BISON"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5526 $as_echo "$BISON" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5533 test -n "$BISON" && break
5534 done
5535 test -n "$BISON" || BISON="none"
5537 if test "$BISON" = "none"
5538 then
5539 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5542 if test -n "$ac_tool_prefix"; then
5543 for ac_prog in ar gar
5545 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_AR+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -n "$AR"; then
5553 ac_cv_prog_AR="$AR" # Let the user override the test.
5554 else
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_exec_ext in '' $ac_executable_extensions; do
5561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 break 2
5566 done
5567 done
5568 IFS=$as_save_IFS
5572 AR=$ac_cv_prog_AR
5573 if test -n "$AR"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5575 $as_echo "$AR" >&6; }
5576 else
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5582 test -n "$AR" && break
5583 done
5585 if test -z "$AR"; then
5586 ac_ct_AR=$AR
5587 for ac_prog in ar gar
5589 # Extract the first word of "$ac_prog", so it can be a program name with args.
5590 set dummy $ac_prog; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 if test -n "$ac_ct_AR"; then
5597 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5598 else
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_ac_ct_AR="$ac_prog"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5616 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5617 if test -n "$ac_ct_AR"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5619 $as_echo "$ac_ct_AR" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5626 test -n "$ac_ct_AR" && break
5627 done
5629 if test "x$ac_ct_AR" = x; then
5630 AR="ar"
5631 else
5632 case $cross_compiling:$ac_tool_warned in
5633 yes:)
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5636 ac_tool_warned=yes ;;
5637 esac
5638 AR=$ac_ct_AR
5642 if test -n "$ac_tool_prefix"; then
5643 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5644 set dummy ${ac_tool_prefix}strip; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_STRIP+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 if test -n "$STRIP"; then
5651 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5652 else
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH
5656 IFS=$as_save_IFS
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 break 2
5664 done
5665 done
5666 IFS=$as_save_IFS
5670 STRIP=$ac_cv_prog_STRIP
5671 if test -n "$STRIP"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5673 $as_echo "$STRIP" >&6; }
5674 else
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5681 if test -z "$ac_cv_prog_STRIP"; then
5682 ac_ct_STRIP=$STRIP
5683 # Extract the first word of "strip", so it can be a program name with args.
5684 set dummy strip; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if test -n "$ac_ct_STRIP"; then
5691 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_STRIP="strip"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5704 done
5705 done
5706 IFS=$as_save_IFS
5710 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5711 if test -n "$ac_ct_STRIP"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5713 $as_echo "$ac_ct_STRIP" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5719 if test "x$ac_ct_STRIP" = x; then
5720 STRIP="strip"
5721 else
5722 case $cross_compiling:$ac_tool_warned in
5723 yes:)
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5726 ac_tool_warned=yes ;;
5727 esac
5728 STRIP=$ac_ct_STRIP
5730 else
5731 STRIP="$ac_cv_prog_STRIP"
5734 ARFLAGS=rc
5736 if test -n "$ac_tool_prefix"; then
5737 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5738 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740 $as_echo_n "checking for $ac_word... " >&6; }
5741 if ${ac_cv_prog_RANLIB+:} false; then :
5742 $as_echo_n "(cached) " >&6
5743 else
5744 if test -n "$RANLIB"; then
5745 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5746 else
5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 for as_dir in $PATH
5750 IFS=$as_save_IFS
5751 test -z "$as_dir" && as_dir=.
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 break 2
5758 done
5759 done
5760 IFS=$as_save_IFS
5764 RANLIB=$ac_cv_prog_RANLIB
5765 if test -n "$RANLIB"; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5767 $as_echo "$RANLIB" >&6; }
5768 else
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5775 if test -z "$ac_cv_prog_RANLIB"; then
5776 ac_ct_RANLIB=$RANLIB
5777 # Extract the first word of "ranlib", so it can be a program name with args.
5778 set dummy ranlib; ac_word=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 if test -n "$ac_ct_RANLIB"; then
5785 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_ac_ct_RANLIB="ranlib"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5804 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5805 if test -n "$ac_ct_RANLIB"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5807 $as_echo "$ac_ct_RANLIB" >&6; }
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5813 if test "x$ac_ct_RANLIB" = x; then
5814 RANLIB=":"
5815 else
5816 case $cross_compiling:$ac_tool_warned in
5817 yes:)
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5820 ac_tool_warned=yes ;;
5821 esac
5822 RANLIB=$ac_ct_RANLIB
5824 else
5825 RANLIB="$ac_cv_prog_RANLIB"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5829 $as_echo_n "checking whether ln -s works... " >&6; }
5830 LN_S=$as_ln_s
5831 if test "$LN_S" = "ln -s"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5833 $as_echo "yes" >&6; }
5834 else
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5836 $as_echo "no, using $LN_S" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5840 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5841 if ${ac_cv_path_GREP+:} false; then :
5842 $as_echo_n "(cached) " >&6
5843 else
5844 if test -z "$GREP"; then
5845 ac_path_GREP_found=false
5846 # Loop through the user's path and test for each of PROGNAME-LIST
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5850 IFS=$as_save_IFS
5851 test -z "$as_dir" && as_dir=.
5852 for ac_prog in grep ggrep; do
5853 for ac_exec_ext in '' $ac_executable_extensions; do
5854 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5855 as_fn_executable_p "$ac_path_GREP" || continue
5856 # Check for GNU ac_path_GREP and select it if it is found.
5857 # Check for GNU $ac_path_GREP
5858 case `"$ac_path_GREP" --version 2>&1` in
5859 *GNU*)
5860 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5862 ac_count=0
5863 $as_echo_n 0123456789 >"conftest.in"
5864 while :
5866 cat "conftest.in" "conftest.in" >"conftest.tmp"
5867 mv "conftest.tmp" "conftest.in"
5868 cp "conftest.in" "conftest.nl"
5869 $as_echo 'GREP' >> "conftest.nl"
5870 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5871 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5872 as_fn_arith $ac_count + 1 && ac_count=$as_val
5873 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5874 # Best one so far, save it but keep looking for a better one
5875 ac_cv_path_GREP="$ac_path_GREP"
5876 ac_path_GREP_max=$ac_count
5878 # 10*(2^10) chars as input seems more than enough
5879 test $ac_count -gt 10 && break
5880 done
5881 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5882 esac
5884 $ac_path_GREP_found && break 3
5885 done
5886 done
5887 done
5888 IFS=$as_save_IFS
5889 if test -z "$ac_cv_path_GREP"; then
5890 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5892 else
5893 ac_cv_path_GREP=$GREP
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5898 $as_echo "$ac_cv_path_GREP" >&6; }
5899 GREP="$ac_cv_path_GREP"
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5903 $as_echo_n "checking for egrep... " >&6; }
5904 if ${ac_cv_path_EGREP+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5908 then ac_cv_path_EGREP="$GREP -E"
5909 else
5910 if test -z "$EGREP"; then
5911 ac_path_EGREP_found=false
5912 # Loop through the user's path and test for each of PROGNAME-LIST
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5916 IFS=$as_save_IFS
5917 test -z "$as_dir" && as_dir=.
5918 for ac_prog in egrep; do
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5921 as_fn_executable_p "$ac_path_EGREP" || continue
5922 # Check for GNU ac_path_EGREP and select it if it is found.
5923 # Check for GNU $ac_path_EGREP
5924 case `"$ac_path_EGREP" --version 2>&1` in
5925 *GNU*)
5926 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5928 ac_count=0
5929 $as_echo_n 0123456789 >"conftest.in"
5930 while :
5932 cat "conftest.in" "conftest.in" >"conftest.tmp"
5933 mv "conftest.tmp" "conftest.in"
5934 cp "conftest.in" "conftest.nl"
5935 $as_echo 'EGREP' >> "conftest.nl"
5936 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5937 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5938 as_fn_arith $ac_count + 1 && ac_count=$as_val
5939 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5940 # Best one so far, save it but keep looking for a better one
5941 ac_cv_path_EGREP="$ac_path_EGREP"
5942 ac_path_EGREP_max=$ac_count
5944 # 10*(2^10) chars as input seems more than enough
5945 test $ac_count -gt 10 && break
5946 done
5947 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5948 esac
5950 $ac_path_EGREP_found && break 3
5951 done
5952 done
5953 done
5954 IFS=$as_save_IFS
5955 if test -z "$ac_cv_path_EGREP"; then
5956 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5958 else
5959 ac_cv_path_EGREP=$EGREP
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5965 $as_echo "$ac_cv_path_EGREP" >&6; }
5966 EGREP="$ac_cv_path_EGREP"
5969 # Extract the first word of "ldconfig", so it can be a program name with args.
5970 set dummy ldconfig; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_path_LDCONFIG+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 case $LDCONFIG in
5977 [\\/]* | ?:[\\/]*)
5978 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in /sbin /usr/sbin $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5996 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5998 esac
6000 LDCONFIG=$ac_cv_path_LDCONFIG
6001 if test -n "$LDCONFIG"; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6003 $as_echo "$LDCONFIG" >&6; }
6004 else
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006 $as_echo "no" >&6; }
6010 for ac_prog in msgfmt
6012 # Extract the first word of "$ac_prog", so it can be a program name with args.
6013 set dummy $ac_prog; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_MSGFMT+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 if test -n "$MSGFMT"; then
6020 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_MSGFMT="$ac_prog"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 MSGFMT=$ac_cv_prog_MSGFMT
6040 if test -n "$MSGFMT"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6042 $as_echo "$MSGFMT" >&6; }
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6049 test -n "$MSGFMT" && break
6050 done
6051 test -n "$MSGFMT" || MSGFMT="false"
6053 if ${ac_tool_prefix+:} false; then :
6054 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6055 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 if test -n "$PKG_CONFIG"; then
6062 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 break 2
6075 done
6076 done
6077 IFS=$as_save_IFS
6081 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6082 if test -n "$PKG_CONFIG"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6084 $as_echo "$PKG_CONFIG" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6092 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6093 if test "x$cross_compiling" = xyes; then :
6095 else
6096 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6097 # Extract the first word of "pkg-config", so it can be a program name with args.
6098 set dummy pkg-config; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$PKG_CONFIG"; then
6105 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6114 ac_cv_prog_PKG_CONFIG="pkg-config"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6118 done
6119 done
6120 IFS=$as_save_IFS
6124 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6125 if test -n "$PKG_CONFIG"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6127 $as_echo "$PKG_CONFIG" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6135 else
6136 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6139 if test "x$enable_maintainer_mode" != "xyes"
6140 then
6141 FONTFORGE=""
6142 RSVG=""
6143 CONVERT=""
6144 ICOTOOL=""
6145 else
6146 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6147 for ac_prog in fontforge
6149 # Extract the first word of "$ac_prog", so it can be a program name with args.
6150 set dummy $ac_prog; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if ${ac_cv_prog_FONTFORGE+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 if test -n "$FONTFORGE"; then
6157 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_FONTFORGE="$ac_prog"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 FONTFORGE=$ac_cv_prog_FONTFORGE
6177 if test -n "$FONTFORGE"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6179 $as_echo "$FONTFORGE" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6186 test -n "$FONTFORGE" && break
6187 done
6188 test -n "$FONTFORGE" || FONTFORGE="false"
6190 for ac_prog in rsvg-convert rsvg
6192 # Extract the first word of "$ac_prog", so it can be a program name with args.
6193 set dummy $ac_prog; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_RSVG+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 if test -n "$RSVG"; then
6200 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6205 IFS=$as_save_IFS
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_RSVG="$ac_prog"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 break 2
6213 done
6214 done
6215 IFS=$as_save_IFS
6219 RSVG=$ac_cv_prog_RSVG
6220 if test -n "$RSVG"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6222 $as_echo "$RSVG" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6229 test -n "$RSVG" && break
6230 done
6231 test -n "$RSVG" || RSVG="false"
6233 for ac_prog in convert
6235 # Extract the first word of "$ac_prog", so it can be a program name with args.
6236 set dummy $ac_prog; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_CONVERT+:} false; then :
6240 $as_echo_n "(cached) " >&6
6241 else
6242 if test -n "$CONVERT"; then
6243 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6244 else
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 for as_dir in $PATH
6248 IFS=$as_save_IFS
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_CONVERT="$ac_prog"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 break 2
6256 done
6257 done
6258 IFS=$as_save_IFS
6262 CONVERT=$ac_cv_prog_CONVERT
6263 if test -n "$CONVERT"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6265 $as_echo "$CONVERT" >&6; }
6266 else
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6272 test -n "$CONVERT" && break
6273 done
6274 test -n "$CONVERT" || CONVERT="false"
6276 for ac_prog in icotool
6278 # Extract the first word of "$ac_prog", so it can be a program name with args.
6279 set dummy $ac_prog; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281 $as_echo_n "checking for $ac_word... " >&6; }
6282 if ${ac_cv_prog_ICOTOOL+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test -n "$ICOTOOL"; then
6286 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6287 else
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH
6291 IFS=$as_save_IFS
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295 ac_cv_prog_ICOTOOL="$ac_prog"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 break 2
6299 done
6300 done
6301 IFS=$as_save_IFS
6305 ICOTOOL=$ac_cv_prog_ICOTOOL
6306 if test -n "$ICOTOOL"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6308 $as_echo "$ICOTOOL" >&6; }
6309 else
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311 $as_echo "no" >&6; }
6315 test -n "$ICOTOOL" && break
6316 done
6317 test -n "$ICOTOOL" || ICOTOOL="false"
6319 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6320 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6322 if test "$CONVERT" = false
6323 then
6324 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6325 else
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6327 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6328 convert_version=`convert --version | head -n1`
6329 if test "x$convert_version" != "x"
6330 then
6331 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6332 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6333 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6334 then
6335 CONVERT=false
6338 if test "$CONVERT" = false
6339 then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6341 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6342 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6343 else
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6345 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6349 if test "$ICOTOOL" = false
6350 then
6351 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6352 else
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6354 $as_echo_n "checking for recent enough icotool... " >&6; }
6355 icotool_version=`icotool --version | head -n1`
6356 if test "x$icotool_version" != "x"
6357 then
6358 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6359 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6360 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6361 then
6362 ICOTOOL=false
6363 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6366 if test "$ICOTOOL" = false
6367 then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6369 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6370 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6371 else
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6373 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6377 with_gettext=yes
6378 with_gettextpo=yes
6379 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6382 test "x$with_gettext" != xno || MSGFMT=false
6383 if test "$MSGFMT" != "false"
6384 then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6386 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6387 cat >conftest.po <<EOF
6388 # comment
6389 msgctxt "ctxt"
6390 msgid "id"
6391 msgstr "str"
6393 if $MSGFMT -o /dev/null conftest.po 2>&5
6394 then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6396 $as_echo "yes" >&6; }
6397 else
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6400 MSGFMT=false
6403 if test "$MSGFMT" = false; then :
6404 case "x$with_gettext" in
6405 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6406 xno) ;;
6407 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6408 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6409 esac
6410 enable_po=${enable_po:-no}
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6415 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6416 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6417 $as_echo_n "(cached) " >&6
6418 else
6419 ac_check_lib_save_LIBS=$LIBS
6420 LIBS="-li386 $LIBS"
6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6424 /* Override any GCC internal prototype to avoid an error.
6425 Use char because int might match the return type of a GCC
6426 builtin and then its argument prototype would still apply. */
6427 #ifdef __cplusplus
6428 extern "C"
6429 #endif
6430 char i386_set_ldt ();
6432 main ()
6434 return i386_set_ldt ();
6436 return 0;
6438 _ACEOF
6439 if ac_fn_c_try_link "$LINENO"; then :
6440 ac_cv_lib_i386_i386_set_ldt=yes
6441 else
6442 ac_cv_lib_i386_i386_set_ldt=no
6444 rm -f core conftest.err conftest.$ac_objext \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LIBS=$ac_check_lib_save_LIBS
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6449 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6450 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6451 cat >>confdefs.h <<_ACEOF
6452 #define HAVE_LIBI386 1
6453 _ACEOF
6455 LIBS="-li386 $LIBS"
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6460 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6461 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 ac_check_lib_save_LIBS=$LIBS
6465 LIBS="-lossaudio $LIBS"
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6469 /* Override any GCC internal prototype to avoid an error.
6470 Use char because int might match the return type of a GCC
6471 builtin and then its argument prototype would still apply. */
6472 #ifdef __cplusplus
6473 extern "C"
6474 #endif
6475 char _oss_ioctl ();
6477 main ()
6479 return _oss_ioctl ();
6481 return 0;
6483 _ACEOF
6484 if ac_fn_c_try_link "$LINENO"; then :
6485 ac_cv_lib_ossaudio__oss_ioctl=yes
6486 else
6487 ac_cv_lib_ossaudio__oss_ioctl=no
6489 rm -f core conftest.err conftest.$ac_objext \
6490 conftest$ac_exeext conftest.$ac_ext
6491 LIBS=$ac_check_lib_save_LIBS
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6494 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6495 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6496 cat >>confdefs.h <<_ACEOF
6497 #define HAVE_LIBOSSAUDIO 1
6498 _ACEOF
6500 LIBS="-lossaudio $LIBS"
6505 OPENGL_LIBS=""
6509 # Check whether --enable-largefile was given.
6510 if test "${enable_largefile+set}" = set; then :
6511 enableval=$enable_largefile;
6514 if test "$enable_largefile" != no; then
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6517 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6518 if ${ac_cv_sys_largefile_CC+:} false; then :
6519 $as_echo_n "(cached) " >&6
6520 else
6521 ac_cv_sys_largefile_CC=no
6522 if test "$GCC" != yes; then
6523 ac_save_CC=$CC
6524 while :; do
6525 # IRIX 6.2 and later do not support large files by default,
6526 # so use the C compiler's -n32 option if that helps.
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 /* end confdefs.h. */
6529 #include <sys/types.h>
6530 /* Check that off_t can represent 2**63 - 1 correctly.
6531 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6532 since some C++ compilers masquerading as C compilers
6533 incorrectly reject 9223372036854775807. */
6534 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6535 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6536 && LARGE_OFF_T % 2147483647 == 1)
6537 ? 1 : -1];
6539 main ()
6543 return 0;
6545 _ACEOF
6546 if ac_fn_c_try_compile "$LINENO"; then :
6547 break
6549 rm -f core conftest.err conftest.$ac_objext
6550 CC="$CC -n32"
6551 if ac_fn_c_try_compile "$LINENO"; then :
6552 ac_cv_sys_largefile_CC=' -n32'; break
6554 rm -f core conftest.err conftest.$ac_objext
6555 break
6556 done
6557 CC=$ac_save_CC
6558 rm -f conftest.$ac_ext
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6562 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6563 if test "$ac_cv_sys_largefile_CC" != no; then
6564 CC=$CC$ac_cv_sys_largefile_CC
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6568 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6569 if ${ac_cv_sys_file_offset_bits+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 while :; do
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6575 #include <sys/types.h>
6576 /* Check that off_t can represent 2**63 - 1 correctly.
6577 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6578 since some C++ compilers masquerading as C compilers
6579 incorrectly reject 9223372036854775807. */
6580 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6581 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6582 && LARGE_OFF_T % 2147483647 == 1)
6583 ? 1 : -1];
6585 main ()
6589 return 0;
6591 _ACEOF
6592 if ac_fn_c_try_compile "$LINENO"; then :
6593 ac_cv_sys_file_offset_bits=no; break
6595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6597 /* end confdefs.h. */
6598 #define _FILE_OFFSET_BITS 64
6599 #include <sys/types.h>
6600 /* Check that off_t can represent 2**63 - 1 correctly.
6601 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6602 since some C++ compilers masquerading as C compilers
6603 incorrectly reject 9223372036854775807. */
6604 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6605 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6606 && LARGE_OFF_T % 2147483647 == 1)
6607 ? 1 : -1];
6609 main ()
6613 return 0;
6615 _ACEOF
6616 if ac_fn_c_try_compile "$LINENO"; then :
6617 ac_cv_sys_file_offset_bits=64; break
6619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6620 ac_cv_sys_file_offset_bits=unknown
6621 break
6622 done
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6625 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6626 case $ac_cv_sys_file_offset_bits in #(
6627 no | unknown) ;;
6629 cat >>confdefs.h <<_ACEOF
6630 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6631 _ACEOF
6633 esac
6634 rm -rf conftest*
6635 if test $ac_cv_sys_file_offset_bits = unknown; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6637 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6638 if ${ac_cv_sys_large_files+:} false; then :
6639 $as_echo_n "(cached) " >&6
6640 else
6641 while :; do
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 #include <sys/types.h>
6645 /* Check that off_t can represent 2**63 - 1 correctly.
6646 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6647 since some C++ compilers masquerading as C compilers
6648 incorrectly reject 9223372036854775807. */
6649 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6650 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6651 && LARGE_OFF_T % 2147483647 == 1)
6652 ? 1 : -1];
6654 main ()
6658 return 0;
6660 _ACEOF
6661 if ac_fn_c_try_compile "$LINENO"; then :
6662 ac_cv_sys_large_files=no; break
6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #define _LARGE_FILES 1
6668 #include <sys/types.h>
6669 /* Check that off_t can represent 2**63 - 1 correctly.
6670 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6671 since some C++ compilers masquerading as C compilers
6672 incorrectly reject 9223372036854775807. */
6673 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6674 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6675 && LARGE_OFF_T % 2147483647 == 1)
6676 ? 1 : -1];
6678 main ()
6682 return 0;
6684 _ACEOF
6685 if ac_fn_c_try_compile "$LINENO"; then :
6686 ac_cv_sys_large_files=1; break
6688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6689 ac_cv_sys_large_files=unknown
6690 break
6691 done
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6694 $as_echo "$ac_cv_sys_large_files" >&6; }
6695 case $ac_cv_sys_large_files in #(
6696 no | unknown) ;;
6698 cat >>confdefs.h <<_ACEOF
6699 #define _LARGE_FILES $ac_cv_sys_large_files
6700 _ACEOF
6702 esac
6703 rm -rf conftest*
6710 ac_ext=c
6711 ac_cpp='$CPP $CPPFLAGS'
6712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6716 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6717 # On Suns, sometimes $CPP names a directory.
6718 if test -n "$CPP" && test -d "$CPP"; then
6719 CPP=
6721 if test -z "$CPP"; then
6722 if ${ac_cv_prog_CPP+:} false; then :
6723 $as_echo_n "(cached) " >&6
6724 else
6725 # Double quotes because CPP needs to be expanded
6726 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6728 ac_preproc_ok=false
6729 for ac_c_preproc_warn_flag in '' yes
6731 # Use a header file that comes with gcc, so configuring glibc
6732 # with a fresh cross-compiler works.
6733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6734 # <limits.h> exists even on freestanding compilers.
6735 # On the NeXT, cc -E runs the code through the compiler's parser,
6736 # not just through cpp. "Syntax error" is here to catch this case.
6737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6739 #ifdef __STDC__
6740 # include <limits.h>
6741 #else
6742 # include <assert.h>
6743 #endif
6744 Syntax error
6745 _ACEOF
6746 if ac_fn_c_try_cpp "$LINENO"; then :
6748 else
6749 # Broken: fails on valid input.
6750 continue
6752 rm -f conftest.err conftest.i conftest.$ac_ext
6754 # OK, works on sane cases. Now check whether nonexistent headers
6755 # can be detected and how.
6756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h. */
6758 #include <ac_nonexistent.h>
6759 _ACEOF
6760 if ac_fn_c_try_cpp "$LINENO"; then :
6761 # Broken: success on invalid input.
6762 continue
6763 else
6764 # Passes both tests.
6765 ac_preproc_ok=:
6766 break
6768 rm -f conftest.err conftest.i conftest.$ac_ext
6770 done
6771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6772 rm -f conftest.i conftest.err conftest.$ac_ext
6773 if $ac_preproc_ok; then :
6774 break
6777 done
6778 ac_cv_prog_CPP=$CPP
6781 CPP=$ac_cv_prog_CPP
6782 else
6783 ac_cv_prog_CPP=$CPP
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6786 $as_echo "$CPP" >&6; }
6787 ac_preproc_ok=false
6788 for ac_c_preproc_warn_flag in '' yes
6790 # Use a header file that comes with gcc, so configuring glibc
6791 # with a fresh cross-compiler works.
6792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6793 # <limits.h> exists even on freestanding compilers.
6794 # On the NeXT, cc -E runs the code through the compiler's parser,
6795 # not just through cpp. "Syntax error" is here to catch this case.
6796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6797 /* end confdefs.h. */
6798 #ifdef __STDC__
6799 # include <limits.h>
6800 #else
6801 # include <assert.h>
6802 #endif
6803 Syntax error
6804 _ACEOF
6805 if ac_fn_c_try_cpp "$LINENO"; then :
6807 else
6808 # Broken: fails on valid input.
6809 continue
6811 rm -f conftest.err conftest.i conftest.$ac_ext
6813 # OK, works on sane cases. Now check whether nonexistent headers
6814 # can be detected and how.
6815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6816 /* end confdefs.h. */
6817 #include <ac_nonexistent.h>
6818 _ACEOF
6819 if ac_fn_c_try_cpp "$LINENO"; then :
6820 # Broken: success on invalid input.
6821 continue
6822 else
6823 # Passes both tests.
6824 ac_preproc_ok=:
6825 break
6827 rm -f conftest.err conftest.i conftest.$ac_ext
6829 done
6830 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6831 rm -f conftest.i conftest.err conftest.$ac_ext
6832 if $ac_preproc_ok; then :
6834 else
6835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6837 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6838 See \`config.log' for more details" "$LINENO" 5; }
6841 ac_ext=c
6842 ac_cpp='$CPP $CPPFLAGS'
6843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6849 $as_echo_n "checking for ANSI C header files... " >&6; }
6850 if ${ac_cv_header_stdc+:} false; then :
6851 $as_echo_n "(cached) " >&6
6852 else
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6855 #include <stdlib.h>
6856 #include <stdarg.h>
6857 #include <string.h>
6858 #include <float.h>
6861 main ()
6865 return 0;
6867 _ACEOF
6868 if ac_fn_c_try_compile "$LINENO"; then :
6869 ac_cv_header_stdc=yes
6870 else
6871 ac_cv_header_stdc=no
6873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6875 if test $ac_cv_header_stdc = yes; then
6876 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6879 #include <string.h>
6881 _ACEOF
6882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6883 $EGREP "memchr" >/dev/null 2>&1; then :
6885 else
6886 ac_cv_header_stdc=no
6888 rm -f conftest*
6892 if test $ac_cv_header_stdc = yes; then
6893 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #include <stdlib.h>
6898 _ACEOF
6899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6900 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6911 if test "$cross_compiling" = yes; then :
6913 else
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 #include <ctype.h>
6917 #include <stdlib.h>
6918 #if ((' ' & 0x0FF) == 0x020)
6919 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6920 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6921 #else
6922 # define ISLOWER(c) \
6923 (('a' <= (c) && (c) <= 'i') \
6924 || ('j' <= (c) && (c) <= 'r') \
6925 || ('s' <= (c) && (c) <= 'z'))
6926 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6927 #endif
6929 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6931 main ()
6933 int i;
6934 for (i = 0; i < 256; i++)
6935 if (XOR (islower (i), ISLOWER (i))
6936 || toupper (i) != TOUPPER (i))
6937 return 2;
6938 return 0;
6940 _ACEOF
6941 if ac_fn_c_try_run "$LINENO"; then :
6943 else
6944 ac_cv_header_stdc=no
6946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6947 conftest.$ac_objext conftest.beam conftest.$ac_ext
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6953 $as_echo "$ac_cv_header_stdc" >&6; }
6954 if test $ac_cv_header_stdc = yes; then
6956 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6960 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6961 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6962 inttypes.h stdint.h unistd.h
6963 do :
6964 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6965 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6967 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6968 cat >>confdefs.h <<_ACEOF
6969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6970 _ACEOF
6974 done
6977 for ac_header in \
6978 AL/al.h \
6979 ApplicationServices/ApplicationServices.h \
6980 AudioToolbox/AudioConverter.h \
6981 AudioUnit/AudioUnit.h \
6982 AudioUnit/AudioComponent.h \
6983 CL/cl.h \
6984 Carbon/Carbon.h \
6985 CommonCrypto/CommonCryptor.h \
6986 CoreAudio/CoreAudio.h \
6987 CoreServices/CoreServices.h \
6988 DiskArbitration/DiskArbitration.h \
6989 EGL/egl.h \
6990 IOKit/IOKitLib.h \
6991 IOKit/hid/IOHIDLib.h \
6992 OpenAL/al.h \
6993 OpenCL/opencl.h \
6994 QuickTime/ImageCompression.h \
6995 Security/Security.h \
6996 alias.h \
6997 alsa/asoundlib.h \
6998 arpa/inet.h \
6999 arpa/nameser.h \
7000 asm/types.h \
7001 asm/user.h \
7002 curses.h \
7003 direct.h \
7004 dirent.h \
7005 dlfcn.h \
7006 elf.h \
7007 float.h \
7008 fnmatch.h \
7009 getopt.h \
7010 gettext-po.h \
7011 grp.h \
7012 gsm.h \
7013 gsm/gsm.h \
7014 ieeefp.h \
7015 inet/mib2.h \
7016 io.h \
7017 kstat.h \
7018 libproc.h \
7019 link.h \
7020 linux/cdrom.h \
7021 linux/compiler.h \
7022 linux/filter.h \
7023 linux/hdreg.h \
7024 linux/hidraw.h \
7025 linux/input.h \
7026 linux/ioctl.h \
7027 linux/joystick.h \
7028 linux/major.h \
7029 linux/param.h \
7030 linux/serial.h \
7031 linux/types.h \
7032 linux/ucdrom.h \
7033 lwp.h \
7034 mach-o/nlist.h \
7035 mach-o/loader.h \
7036 mach/mach.h \
7037 mach/machine.h \
7038 machine/cpu.h \
7039 machine/limits.h \
7040 machine/sysarch.h \
7041 mntent.h \
7042 ncurses.h \
7043 netdb.h \
7044 netinet/in.h \
7045 netinet/in_systm.h \
7046 netinet/tcp.h \
7047 netinet/tcp_fsm.h \
7048 pcap/pcap.h \
7049 poll.h \
7050 port.h \
7051 process.h \
7052 pthread.h \
7053 pwd.h \
7054 sched.h \
7055 scsi/scsi.h \
7056 scsi/scsi_ioctl.h \
7057 scsi/sg.h \
7058 stdbool.h \
7059 stdint.h \
7060 stropts.h \
7061 sys/asoundlib.h \
7062 sys/attr.h \
7063 sys/auxv.h \
7064 sys/cdio.h \
7065 sys/elf32.h \
7066 sys/epoll.h \
7067 sys/event.h \
7068 sys/exec_elf.h \
7069 sys/filio.h \
7070 sys/inotify.h \
7071 sys/ioctl.h \
7072 sys/ipc.h \
7073 sys/limits.h \
7074 sys/link.h \
7075 sys/mman.h \
7076 sys/modem.h \
7077 sys/msg.h \
7078 sys/mtio.h \
7079 sys/param.h \
7080 sys/poll.h \
7081 sys/prctl.h \
7082 sys/protosw.h \
7083 sys/ptrace.h \
7084 sys/queue.h \
7085 sys/resource.h \
7086 sys/scsiio.h \
7087 sys/shm.h \
7088 sys/signal.h \
7089 sys/socket.h \
7090 sys/socketvar.h \
7091 sys/sockio.h \
7092 sys/statvfs.h \
7093 sys/strtio.h \
7094 sys/syscall.h \
7095 sys/sysinfo.h \
7096 sys/tihdr.h \
7097 sys/time.h \
7098 sys/timeout.h \
7099 sys/times.h \
7100 sys/uio.h \
7101 sys/user.h \
7102 sys/utsname.h \
7103 sys/vnode.h \
7104 sys/wait.h \
7105 syscall.h \
7106 termios.h \
7107 unistd.h \
7108 utime.h \
7109 valgrind/memcheck.h \
7110 valgrind/valgrind.h \
7111 zlib.h
7113 do :
7114 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7115 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7117 cat >>confdefs.h <<_ACEOF
7118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7119 _ACEOF
7123 done
7125 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7126 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7128 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7133 if test $ac_cv_header_sys_mkdev_h = no; then
7134 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7135 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7137 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7144 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7145 if ${ac_cv_header_stat_broken+:} false; then :
7146 $as_echo_n "(cached) " >&6
7147 else
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7150 #include <sys/types.h>
7151 #include <sys/stat.h>
7153 #if defined S_ISBLK && defined S_IFDIR
7154 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7155 #endif
7157 #if defined S_ISBLK && defined S_IFCHR
7158 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7159 #endif
7161 #if defined S_ISLNK && defined S_IFREG
7162 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7163 #endif
7165 #if defined S_ISSOCK && defined S_IFREG
7166 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7167 #endif
7169 _ACEOF
7170 if ac_fn_c_try_compile "$LINENO"; then :
7171 ac_cv_header_stat_broken=no
7172 else
7173 ac_cv_header_stat_broken=yes
7175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7178 $as_echo "$ac_cv_header_stat_broken" >&6; }
7179 if test $ac_cv_header_stat_broken = yes; then
7181 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7187 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7188 do :
7189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7190 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7191 #ifdef HAVE_SYS_PARAM_H
7192 # include <sys/param.h>
7193 #endif
7195 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7196 cat >>confdefs.h <<_ACEOF
7197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7198 _ACEOF
7202 done
7205 for ac_header in \
7206 netinet/ip.h \
7207 net/if.h \
7208 net/if_arp.h \
7209 net/if_dl.h \
7210 net/if_types.h \
7211 net/route.h \
7212 netinet/if_ether.h \
7213 netinet/if_inarp.h \
7214 netinet/in_pcb.h \
7215 netinet/ip_icmp.h \
7216 netinet/ip_var.h \
7217 netinet/udp.h \
7218 netipx/ipx.h \
7219 sys/un.h \
7221 do :
7222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7224 #ifdef HAVE_SYS_SOCKET_H
7225 # include <sys/socket.h>
7226 #endif
7227 #ifdef HAVE_SYS_SOCKETVAR_H
7228 # include <sys/socketvar.h>
7229 #endif
7230 #ifdef HAVE_NET_ROUTE_H
7231 # include <net/route.h>
7232 #endif
7233 #ifdef HAVE_NETINET_IN_H
7234 # include <netinet/in.h>
7235 #endif
7236 #ifdef HAVE_NETINET_IN_SYSTM_H
7237 # include <netinet/in_systm.h>
7238 #endif
7239 #ifdef HAVE_NET_IF_H
7240 # include <net/if.h>
7241 #endif
7242 #ifdef HAVE_NETINET_IP_H
7243 # include <netinet/ip.h>
7244 #endif
7246 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7247 cat >>confdefs.h <<_ACEOF
7248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7249 _ACEOF
7253 done
7256 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7257 do :
7258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7259 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7260 #ifdef HAVE_ALIAS_H
7261 # include <alias.h>
7262 #endif
7263 #ifdef HAVE_SYS_SOCKET_H
7264 # include <sys/socket.h>
7265 #endif
7266 #ifdef HAVE_SYS_SOCKETVAR_H
7267 # include <sys/socketvar.h>
7268 #endif
7269 #ifdef HAVE_SYS_TIMEOUT_H
7270 # include <sys/timeout.h>
7271 #endif
7272 #ifdef HAVE_NETINET_IN_H
7273 # include <netinet/in.h>
7274 #endif
7275 #ifdef HAVE_NETINET_IN_SYSTM_H
7276 # include <netinet/in_systm.h>
7277 #endif
7278 #ifdef HAVE_NETINET_IP_H
7279 # include <netinet/ip.h>
7280 #endif
7281 #ifdef HAVE_NETINET_IP_VAR_H
7282 # include <netinet/ip_var.h>
7283 #endif
7284 #ifdef HAVE_NETINET_IP_ICMP_H
7285 # include <netinet/ip_icmp.h>
7286 #endif
7287 #ifdef HAVE_NETINET_UDP_H
7288 # include <netinet/udp.h>
7289 #endif
7290 #ifdef HAVE_NETINET_TCP_H
7291 # include <netinet/tcp.h>
7292 #endif
7293 #ifdef HAVE_NETINET_TCP_TIMER_H
7294 #include <netinet/tcp_timer.h>
7295 #endif
7297 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7298 cat >>confdefs.h <<_ACEOF
7299 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7300 _ACEOF
7304 done
7307 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7308 do :
7309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7310 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7311 #ifdef HAVE_ASM_TYPES_H
7312 # include <asm/types.h>
7313 #endif
7314 #ifdef HAVE_SYS_SOCKET_H
7315 # include <sys/socket.h>
7316 #endif
7317 #ifdef HAVE_LINUX_TYPES_H
7318 # include <linux/types.h>
7319 #endif
7321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7322 cat >>confdefs.h <<_ACEOF
7323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7324 _ACEOF
7328 done
7331 for ac_header in mach-o/dyld_images.h
7332 do :
7333 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7334 # include <stdbool.h>
7335 #endif
7336 #ifdef HAVE_STDINT_H
7337 # include <stdint.h>
7338 #endif
7340 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7341 cat >>confdefs.h <<_ACEOF
7342 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7343 _ACEOF
7347 done
7350 for ac_header in resolv.h
7351 do :
7352 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7353 #ifdef HAVE_SYS_SOCKET_H
7354 # include <sys/socket.h>
7355 #endif
7356 #ifdef HAVE_NETINET_IN_H
7357 # include <netinet/in.h>
7358 #endif
7359 #ifdef HAVE_ARPA_NAMESER_H
7360 # include <arpa/nameser.h>
7361 #endif
7363 if test "x$ac_cv_header_resolv_h" = xyes; then :
7364 cat >>confdefs.h <<_ACEOF
7365 #define HAVE_RESOLV_H 1
7366 _ACEOF
7370 done
7373 for ac_header in ifaddrs.h
7374 do :
7375 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7377 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7378 cat >>confdefs.h <<_ACEOF
7379 #define HAVE_IFADDRS_H 1
7380 _ACEOF
7384 done
7387 for ac_header in sys/ucontext.h
7388 do :
7389 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7391 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7392 cat >>confdefs.h <<_ACEOF
7393 #define HAVE_SYS_UCONTEXT_H 1
7394 _ACEOF
7398 done
7401 for ac_header in sys/thr.h
7402 do :
7403 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7404 #ifdef HAVE_SYS_UCONTEXT_H
7405 #include <sys/ucontext.h>
7406 #endif
7408 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7409 cat >>confdefs.h <<_ACEOF
7410 #define HAVE_SYS_THR_H 1
7411 _ACEOF
7415 done
7418 for ac_header in pthread_np.h
7419 do :
7420 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7421 #include <pthread.h>
7422 #endif
7424 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7425 cat >>confdefs.h <<_ACEOF
7426 #define HAVE_PTHREAD_NP_H 1
7427 _ACEOF
7431 done
7434 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7435 do :
7436 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7437 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7438 #include <sys/time.h>
7439 #endif
7440 #include <sys/types.h>
7441 #ifdef HAVE_ASM_TYPES_H
7442 #include <asm/types.h>
7443 #endif
7445 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7446 cat >>confdefs.h <<_ACEOF
7447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7448 _ACEOF
7452 done
7455 for ac_header in libprocstat.h
7456 do :
7457 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7458 #include <sys/param.h>
7459 #endif
7460 #ifdef HAVE_SYS_QUEUE_H
7461 #include <sys/queue.h>
7462 #endif
7463 #ifdef HAVE_SYS_SOCKET_H
7464 #include <sys/socket.h>
7465 #endif
7467 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7468 cat >>confdefs.h <<_ACEOF
7469 #define HAVE_LIBPROCSTAT_H 1
7470 _ACEOF
7474 done
7478 DLLFLAGS="-D_REENTRANT"
7480 LDRPATH_INSTALL=""
7482 LDRPATH_LOCAL=""
7484 LDEXECFLAGS=""
7486 WINELOADER_LDFLAGS=""
7488 LIBEXT="so"
7489 DLLEXT=".so"
7490 IMPLIBEXT="def"
7491 # Extract the first word of "ldd", so it can be a program name with args.
7492 set dummy ldd; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if ${ac_cv_path_LDD+:} false; then :
7496 $as_echo_n "(cached) " >&6
7497 else
7498 case $LDD in
7499 [\\/]* | ?:[\\/]*)
7500 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 as_dummy="/sbin:/usr/sbin:$PATH"
7505 for as_dir in $as_dummy
7507 IFS=$as_save_IFS
7508 test -z "$as_dir" && as_dir=.
7509 for ac_exec_ext in '' $ac_executable_extensions; do
7510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7511 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 break 2
7515 done
7516 done
7517 IFS=$as_save_IFS
7519 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7521 esac
7523 LDD=$ac_cv_path_LDD
7524 if test -n "$LDD"; then
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7526 $as_echo "$LDD" >&6; }
7527 else
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7529 $as_echo "no" >&6; }
7533 if test -n "$ac_tool_prefix"; then
7534 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7535 set dummy ${ac_tool_prefix}otool; ac_word=$2
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 $as_echo_n "checking for $ac_word... " >&6; }
7538 if ${ac_cv_prog_OTOOL+:} false; then :
7539 $as_echo_n "(cached) " >&6
7540 else
7541 if test -n "$OTOOL"; then
7542 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7543 else
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545 for as_dir in $PATH
7547 IFS=$as_save_IFS
7548 test -z "$as_dir" && as_dir=.
7549 for ac_exec_ext in '' $ac_executable_extensions; do
7550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7551 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 break 2
7555 done
7556 done
7557 IFS=$as_save_IFS
7561 OTOOL=$ac_cv_prog_OTOOL
7562 if test -n "$OTOOL"; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7564 $as_echo "$OTOOL" >&6; }
7565 else
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7572 if test -z "$ac_cv_prog_OTOOL"; then
7573 ac_ct_OTOOL=$OTOOL
7574 # Extract the first word of "otool", so it can be a program name with args.
7575 set dummy otool; ac_word=$2
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7577 $as_echo_n "checking for $ac_word... " >&6; }
7578 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7579 $as_echo_n "(cached) " >&6
7580 else
7581 if test -n "$ac_ct_OTOOL"; then
7582 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7583 else
7584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585 for as_dir in $PATH
7587 IFS=$as_save_IFS
7588 test -z "$as_dir" && as_dir=.
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7591 ac_cv_prog_ac_ct_OTOOL="otool"
7592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 break 2
7595 done
7596 done
7597 IFS=$as_save_IFS
7601 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7602 if test -n "$ac_ct_OTOOL"; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7604 $as_echo "$ac_ct_OTOOL" >&6; }
7605 else
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7607 $as_echo "no" >&6; }
7610 if test "x$ac_ct_OTOOL" = x; then
7611 OTOOL="otool"
7612 else
7613 case $cross_compiling:$ac_tool_warned in
7614 yes:)
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7617 ac_tool_warned=yes ;;
7618 esac
7619 OTOOL=$ac_ct_OTOOL
7621 else
7622 OTOOL="$ac_cv_prog_OTOOL"
7625 if test -n "$ac_tool_prefix"; then
7626 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7627 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if ${ac_cv_prog_READELF+:} false; then :
7631 $as_echo_n "(cached) " >&6
7632 else
7633 if test -n "$READELF"; then
7634 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7635 else
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 for as_dir in $PATH
7639 IFS=$as_save_IFS
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7643 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 break 2
7647 done
7648 done
7649 IFS=$as_save_IFS
7653 READELF=$ac_cv_prog_READELF
7654 if test -n "$READELF"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7656 $as_echo "$READELF" >&6; }
7657 else
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7664 if test -z "$ac_cv_prog_READELF"; then
7665 ac_ct_READELF=$READELF
7666 # Extract the first word of "readelf", so it can be a program name with args.
7667 set dummy readelf; ac_word=$2
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669 $as_echo_n "checking for $ac_word... " >&6; }
7670 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7671 $as_echo_n "(cached) " >&6
7672 else
7673 if test -n "$ac_ct_READELF"; then
7674 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7675 else
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 for as_dir in $PATH
7679 IFS=$as_save_IFS
7680 test -z "$as_dir" && as_dir=.
7681 for ac_exec_ext in '' $ac_executable_extensions; do
7682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7683 ac_cv_prog_ac_ct_READELF="readelf"
7684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685 break 2
7687 done
7688 done
7689 IFS=$as_save_IFS
7693 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7694 if test -n "$ac_ct_READELF"; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7696 $as_echo "$ac_ct_READELF" >&6; }
7697 else
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699 $as_echo "no" >&6; }
7702 if test "x$ac_ct_READELF" = x; then
7703 READELF="true"
7704 else
7705 case $cross_compiling:$ac_tool_warned in
7706 yes:)
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7709 ac_tool_warned=yes ;;
7710 esac
7711 READELF=$ac_ct_READELF
7713 else
7714 READELF="$ac_cv_prog_READELF"
7717 wine_rules_file=conf$$rules.make
7718 rm -f $wine_rules_file
7719 SUBDIRS=""
7721 DISABLED_SUBDIRS=""
7723 CONFIGURE_TARGETS=""
7725 ALL_TEST_RESOURCES=""
7728 wine_fn_append_file ()
7730 as_fn_append $1 " \\$as_nl $2"
7733 wine_fn_append_rule ()
7735 $as_echo "$1" >>$wine_rules_file
7738 wine_fn_all_rules ()
7740 wine_fn_append_file SUBDIRS $ac_dir
7743 wine_fn_disabled_rules ()
7745 wine_fn_append_file SUBDIRS $ac_dir
7746 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7749 wine_fn_config_makefile ()
7751 ac_dir=$1
7752 ac_enable=$2
7754 case $ac_dir in
7755 fonts|server) test -z "$with_wine64" || return ;;
7756 esac
7757 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7758 wine_fn_disabled_rules
7759 else
7760 wine_fn_all_rules
7764 wine_fn_config_lib ()
7766 ac_name=$1
7767 ac_dir=dlls/$ac_name
7769 wine_fn_all_rules
7772 wine_fn_config_dll ()
7774 ac_name=$1
7775 ac_dir=dlls/$ac_name
7776 ac_enable=$2
7777 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7778 wine_fn_disabled_rules
7779 else
7780 wine_fn_all_rules
7784 wine_fn_config_program ()
7786 ac_name=$1
7787 ac_dir=programs/$ac_name
7788 ac_enable=$2
7789 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7790 wine_fn_disabled_rules
7791 else
7792 wine_fn_all_rules
7796 wine_fn_config_test ()
7798 ac_dir=$1
7799 ac_name=$2
7801 if test "x$enable_tests" = xno; then :
7802 wine_fn_disabled_rules; return
7805 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7806 wine_fn_all_rules
7809 wine_fn_config_tool ()
7811 ac_dir=$1
7812 if test "x$enable_tools" = xno; then :
7813 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7816 wine_fn_all_rules
7818 wine_fn_append_rule "__tooldeps__: $ac_dir"
7819 wine_fn_append_rule "$ac_dir: libs/port"
7820 case $ac_dir in
7821 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7822 esac
7825 wine_fn_config_symlink ()
7827 ac_links=$@
7828 wine_fn_append_rule \
7829 "$ac_links:
7830 @./config.status \$@"
7831 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7834 wine_binary="wine"
7835 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7836 WINELOADER_PROGRAMS="$wine_binary"
7838 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7840 case $host_os in
7841 cygwin*|mingw32*)
7842 if test -n "$ac_tool_prefix"; then
7843 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7844 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if ${ac_cv_prog_DLLTOOL+:} false; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 if test -n "$DLLTOOL"; then
7851 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7852 else
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 for as_dir in $PATH
7856 IFS=$as_save_IFS
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 break 2
7864 done
7865 done
7866 IFS=$as_save_IFS
7870 DLLTOOL=$ac_cv_prog_DLLTOOL
7871 if test -n "$DLLTOOL"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7873 $as_echo "$DLLTOOL" >&6; }
7874 else
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7881 if test -z "$ac_cv_prog_DLLTOOL"; then
7882 ac_ct_DLLTOOL=$DLLTOOL
7883 # Extract the first word of "dlltool", so it can be a program name with args.
7884 set dummy dlltool; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 if test -n "$ac_ct_DLLTOOL"; then
7891 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7910 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7911 if test -n "$ac_ct_DLLTOOL"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7913 $as_echo "$ac_ct_DLLTOOL" >&6; }
7914 else
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7919 if test "x$ac_ct_DLLTOOL" = x; then
7920 DLLTOOL="false"
7921 else
7922 case $cross_compiling:$ac_tool_warned in
7923 yes:)
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926 ac_tool_warned=yes ;;
7927 esac
7928 DLLTOOL=$ac_ct_DLLTOOL
7930 else
7931 DLLTOOL="$ac_cv_prog_DLLTOOL"
7934 LIBEXT="dll"
7935 DLLEXT=""
7936 IMPLIBEXT="a"
7937 enable_iphlpapi=${enable_iphlpapi:-no}
7938 enable_kernel32=${enable_kernel32:-no}
7939 enable_msvcrt=${enable_msvcrt:-no}
7940 enable_ntdll=${enable_ntdll:-no}
7941 enable_ws2_32=${enable_ws2_32:-no}
7942 enable_loader=${enable_loader:-no}
7943 enable_server=${enable_server:-no}
7944 with_x=${with_x:-no}
7945 with_pthread=${with_pthread:-no}
7947 crtlibs=""
7948 case $host_os in
7949 mingw32*)
7950 crtlibs="-lmsvcrt"
7951 SOCKET_LIBS="-lws2_32"
7953 esac
7955 LIBWINE_SHAREDLIB="libwine.dll"
7957 LIBWINE_IMPORTLIB="libwine.a"
7959 LIBWINE_INSTALL_LIB="libwine.dll"
7961 LIBWINE_INSTALL_DEV="libwine.a"
7963 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7965 LIBWINE_DEPENDS="wine.def"
7969 darwin*|macosx*)
7970 for ac_header in libunwind.h
7971 do :
7972 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7974 cat >>confdefs.h <<_ACEOF
7975 #define HAVE_LIBUNWIND_H 1
7976 _ACEOF
7980 done
7982 LIBEXT="dylib"
7983 DLLFLAGS="$DLLFLAGS -fPIC"
7984 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7985 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7986 COREFOUNDATION_LIBS="-framework CoreFoundation"
7988 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7990 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7992 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7994 CORESERVICES_LIBS="-framework CoreServices"
7996 APPKIT_LIBS="-framework AppKit"
7998 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8000 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8001 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8002 $as_echo_n "(cached) " >&6
8003 else
8004 ac_wine_try_cflags_saved=$CFLAGS
8005 CFLAGS="$CFLAGS -Wl,-no_pie"
8006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8007 /* end confdefs.h. */
8008 int main(int argc, char **argv) { return 0; }
8009 _ACEOF
8010 if ac_fn_c_try_link "$LINENO"; then :
8011 ac_cv_cflags__Wl__no_pie=yes
8012 else
8013 ac_cv_cflags__Wl__no_pie=no
8015 rm -f core conftest.err conftest.$ac_objext \
8016 conftest$ac_exeext conftest.$ac_ext
8017 CFLAGS=$ac_wine_try_cflags_saved
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8020 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8021 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8022 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8024 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8025 then
8026 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8029 if test "$ac_cv_header_Security_Security_h" = "yes"
8030 then
8031 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8033 ac_save_LIBS="$LIBS"
8034 LIBS="$LIBS $SECURITY_LIBS"
8035 for ac_func in SSLCopyPeerCertificates
8036 do :
8037 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8038 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8039 cat >>confdefs.h <<_ACEOF
8040 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8041 _ACEOF
8044 done
8046 LIBS="$ac_save_LIBS"
8047 with_gnutls=${with_gnutls:-no}
8049 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8050 then
8051 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8052 then
8053 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8055 else
8056 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8059 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8060 ac_save_LIBS="$LIBS"
8061 LIBS="$LIBS $COREAUDIO_LIBS"
8062 for ac_func in AUGraphAddNode
8063 do :
8064 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8065 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8066 cat >>confdefs.h <<_ACEOF
8067 #define HAVE_AUGRAPHADDNODE 1
8068 _ACEOF
8071 done
8073 LIBS="$ac_save_LIBS"
8075 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8076 then
8077 OPENAL_LIBS="-framework OpenAL"
8080 cat >>confdefs.h <<_ACEOF
8081 #define HAVE_OPENAL 1
8082 _ACEOF
8084 ac_cv_lib_openal=yes
8086 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8087 then
8088 OPENCL_LIBS="-framework OpenCL"
8090 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8092 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8093 then
8094 ac_save_LIBS="$LIBS"
8095 LIBS="$LIBS $IOKIT_LIBS"
8096 for ac_func in IOHIDManagerCreate
8097 do :
8098 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8099 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8100 cat >>confdefs.h <<_ACEOF
8101 #define HAVE_IOHIDMANAGERCREATE 1
8102 _ACEOF
8105 done
8107 LIBS="$ac_save_LIBS"
8109 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8110 then
8111 ac_save_LIBS="$LIBS"
8112 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8114 $as_echo_n "checking for the QuickTime framework... " >&6; }
8115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8117 #include <QuickTime/ImageCompression.h>
8119 main ()
8121 CodecManagerVersion(NULL);
8123 return 0;
8125 _ACEOF
8126 if ac_fn_c_try_link "$LINENO"; then :
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8128 $as_echo "yes" >&6; }
8129 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8131 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8132 else
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8135 ac_cv_header_QuickTime_ImageCompression_h=no
8137 rm -f core conftest.err conftest.$ac_objext \
8138 conftest$ac_exeext conftest.$ac_ext
8139 LIBS="$ac_save_LIBS"
8141 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8142 then
8143 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8145 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8146 then
8147 CARBON_LIBS="-framework Carbon"
8151 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8152 then
8153 ac_save_LIBS="$LIBS"
8154 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8155 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8156 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8157 enable_winemac_drv=${enable_winemac_drv:-yes}
8160 LIBS="$ac_save_LIBS"
8163 if test "x$enable_win16" = "xyes"
8164 then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8166 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8167 if test "$cross_compiling" = yes; then :
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8169 $as_echo "cross-compiling, assuming yes" >&6; }
8170 else
8171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8172 /* end confdefs.h. */
8173 asm(".text\n"
8174 "bad:\tnop;nop\n"
8175 "good:\tnop;nop\n\t"
8176 ".globl _testfunc\n"
8177 "_testfunc:\tcallw good");
8178 extern void testfunc();
8180 main ()
8182 unsigned short *p = (unsigned short *)testfunc;
8183 return p[0] != 0xe866 || p[1] != 0xfffa
8185 return 0;
8187 _ACEOF
8188 if ac_fn_c_try_run "$LINENO"; then :
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8190 $as_echo "yes" >&6; }
8191 else
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8193 $as_echo "no" >&6; }
8194 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
8196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8197 conftest.$ac_objext conftest.beam conftest.$ac_ext
8202 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8204 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8206 LIBWINE_INSTALL_DEV="libwine.dylib"
8208 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8210 WINELOADER_DEPENDS="wine_info.plist"
8214 linux-android*)
8215 DLLFLAGS="$DLLFLAGS -fPIC"
8216 LDEXECFLAGS="-Wl,-pie"
8217 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8219 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8220 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8221 $as_echo_n "(cached) " >&6
8222 else
8223 ac_wine_try_cflags_saved=$CFLAGS
8224 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8226 /* end confdefs.h. */
8227 int main(int argc, char **argv) { return 0; }
8228 _ACEOF
8229 if ac_fn_c_try_link "$LINENO"; then :
8230 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8231 else
8232 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8234 rm -f core conftest.err conftest.$ac_objext \
8235 conftest$ac_exeext conftest.$ac_ext
8236 CFLAGS=$ac_wine_try_cflags_saved
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8239 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8240 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8241 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8243 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8245 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8246 if eval \${$as_ac_var+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 ac_wine_try_cflags_saved=$CFLAGS
8250 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8252 /* end confdefs.h. */
8253 int main(int argc, char **argv) { return 0; }
8254 _ACEOF
8255 if ac_fn_c_try_link "$LINENO"; then :
8256 eval "$as_ac_var=yes"
8257 else
8258 eval "$as_ac_var=no"
8260 rm -f core conftest.err conftest.$ac_objext \
8261 conftest$ac_exeext conftest.$ac_ext
8262 CFLAGS=$ac_wine_try_cflags_saved
8264 eval ac_res=\$$as_ac_var
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8266 $as_echo "$ac_res" >&6; }
8267 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8268 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8269 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8270 else
8271 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8273 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8274 if eval \${$as_ac_var+:} false; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 ac_wine_try_cflags_saved=$CFLAGS
8278 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8281 int main(int argc, char **argv) { return 0; }
8282 _ACEOF
8283 if ac_fn_c_try_link "$LINENO"; then :
8284 eval "$as_ac_var=yes"
8285 else
8286 eval "$as_ac_var=no"
8288 rm -f core conftest.err conftest.$ac_objext \
8289 conftest$ac_exeext conftest.$ac_ext
8290 CFLAGS=$ac_wine_try_cflags_saved
8292 eval ac_res=\$$as_ac_var
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8294 $as_echo "$ac_res" >&6; }
8295 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8296 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8297 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8301 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8302 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8303 $as_echo_n "(cached) " >&6
8304 else
8305 ac_wine_try_cflags_saved=$CFLAGS
8306 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 int main(int argc, char **argv) { return 0; }
8310 _ACEOF
8311 if ac_fn_c_try_link "$LINENO"; then :
8312 ac_cv_cflags__Wl___enable_new_dtags=yes
8313 else
8314 ac_cv_cflags__Wl___enable_new_dtags=no
8316 rm -f core conftest.err conftest.$ac_objext \
8317 conftest$ac_exeext conftest.$ac_ext
8318 CFLAGS=$ac_wine_try_cflags_saved
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8321 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8322 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8323 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8326 LIBWINE_SHAREDLIB="libwine.so"
8328 LIBWINE_INSTALL_LIB="libwine.so"
8330 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8334 $as_echo_n "checking for -lEGL... " >&6; }
8335 if ${ac_cv_lib_soname_EGL+:} false; then :
8336 $as_echo_n "(cached) " >&6
8337 else
8338 ac_check_soname_save_LIBS=$LIBS
8339 LIBS="-lEGL $LIBS"
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8343 /* Override any GCC internal prototype to avoid an error.
8344 Use char because int might match the return type of a GCC
8345 builtin and then its argument prototype would still apply. */
8346 #ifdef __cplusplus
8347 extern "C"
8348 #endif
8349 char eglGetProcAddress ();
8351 main ()
8353 return eglGetProcAddress ();
8355 return 0;
8357 _ACEOF
8358 if ac_fn_c_try_link "$LINENO"; then :
8359 case "$LIBEXT" in
8360 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8361 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'` ;;
8362 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8363 if ${ac_cv_lib_soname_EGL:+false} :; then :
8364 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8365 fi ;;
8366 esac
8368 rm -f core conftest.err conftest.$ac_objext \
8369 conftest$ac_exeext conftest.$ac_ext
8370 LIBS=$ac_check_soname_save_LIBS
8372 if ${ac_cv_lib_soname_EGL:+false} :; then :
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8374 $as_echo "not found" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8378 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8380 cat >>confdefs.h <<_ACEOF
8381 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8382 _ACEOF
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8387 $as_echo_n "checking for -lGLESv2... " >&6; }
8388 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_check_soname_save_LIBS=$LIBS
8392 LIBS="-lGLESv2 $LIBS"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8396 /* Override any GCC internal prototype to avoid an error.
8397 Use char because int might match the return type of a GCC
8398 builtin and then its argument prototype would still apply. */
8399 #ifdef __cplusplus
8400 extern "C"
8401 #endif
8402 char glFlush ();
8404 main ()
8406 return glFlush ();
8408 return 0;
8410 _ACEOF
8411 if ac_fn_c_try_link "$LINENO"; then :
8412 case "$LIBEXT" in
8413 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8414 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'` ;;
8415 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8416 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8417 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8418 fi ;;
8419 esac
8421 rm -f core conftest.err conftest.$ac_objext \
8422 conftest$ac_exeext conftest.$ac_ext
8423 LIBS=$ac_check_soname_save_LIBS
8425 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8427 $as_echo "not found" >&6; }
8429 else
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8431 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8433 cat >>confdefs.h <<_ACEOF
8434 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8435 _ACEOF
8440 if test "x$exec_prefix" = xNONE
8441 then
8442 case $host_cpu in
8443 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8444 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8445 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8446 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8447 esac
8452 DLLFLAGS="$DLLFLAGS -fPIC"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8454 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8455 if ${ac_cv_c_dll_gnuelf+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_wine_try_cflags_saved=$CFLAGS
8459 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 void myfunc() {}
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 ac_cv_c_dll_gnuelf="yes"
8466 else
8467 ac_cv_c_dll_gnuelf="no"
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8474 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8475 if test "$ac_cv_c_dll_gnuelf" = "yes"
8476 then
8477 LIBWINE_LDFLAGS="-shared"
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8479 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8480 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 ac_wine_try_cflags_saved=$CFLAGS
8484 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8491 else
8492 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8499 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8500 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8501 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8502 else
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8504 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8505 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_wine_try_cflags_saved=$CFLAGS
8509 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 int main(int argc, char **argv) { return 0; }
8513 _ACEOF
8514 if ac_fn_c_try_link "$LINENO"; then :
8515 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8516 else
8517 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8519 rm -f core conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8521 CFLAGS=$ac_wine_try_cflags_saved
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8524 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8525 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8526 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8530 echo '{ global: *; };' >conftest.map
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8532 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8533 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8534 $as_echo_n "(cached) " >&6
8535 else
8536 ac_wine_try_cflags_saved=$CFLAGS
8537 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 int main(int argc, char **argv) { return 0; }
8541 _ACEOF
8542 if ac_fn_c_try_link "$LINENO"; then :
8543 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8544 else
8545 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8547 rm -f core conftest.err conftest.$ac_objext \
8548 conftest$ac_exeext conftest.$ac_ext
8549 CFLAGS=$ac_wine_try_cflags_saved
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8552 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8553 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8554 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8556 rm -f conftest.map
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8559 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8560 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 ac_wine_try_cflags_saved=$CFLAGS
8564 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8567 int main(int argc, char **argv) { return 0; }
8568 _ACEOF
8569 if ac_fn_c_try_link "$LINENO"; then :
8570 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8571 else
8572 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8574 rm -f core conftest.err conftest.$ac_objext \
8575 conftest$ac_exeext conftest.$ac_ext
8576 CFLAGS=$ac_wine_try_cflags_saved
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8579 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8580 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8581 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8584 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8586 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8587 if eval \${$as_ac_var+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 int main(int argc, char **argv) { return 0; }
8595 _ACEOF
8596 if ac_fn_c_try_link "$LINENO"; then :
8597 eval "$as_ac_var=yes"
8598 else
8599 eval "$as_ac_var=no"
8601 rm -f core conftest.err conftest.$ac_objext \
8602 conftest$ac_exeext conftest.$ac_ext
8603 CFLAGS=$ac_wine_try_cflags_saved
8605 eval ac_res=\$$as_ac_var
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8607 $as_echo "$ac_res" >&6; }
8608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8609 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8610 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8611 else
8612 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8614 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8615 if eval \${$as_ac_var+:} false; then :
8616 $as_echo_n "(cached) " >&6
8617 else
8618 ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 int main(int argc, char **argv) { return 0; }
8623 _ACEOF
8624 if ac_fn_c_try_link "$LINENO"; then :
8625 eval "$as_ac_var=yes"
8626 else
8627 eval "$as_ac_var=no"
8629 rm -f core conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 CFLAGS=$ac_wine_try_cflags_saved
8633 eval ac_res=\$$as_ac_var
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8635 $as_echo "$ac_res" >&6; }
8636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8637 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8638 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8643 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8644 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8645 $as_echo_n "(cached) " >&6
8646 else
8647 ac_wine_try_cflags_saved=$CFLAGS
8648 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8651 int main(int argc, char **argv) { return 0; }
8652 _ACEOF
8653 if ac_fn_c_try_link "$LINENO"; then :
8654 ac_cv_cflags__Wl___enable_new_dtags=yes
8655 else
8656 ac_cv_cflags__Wl___enable_new_dtags=no
8658 rm -f core conftest.err conftest.$ac_objext \
8659 conftest$ac_exeext conftest.$ac_ext
8660 CFLAGS=$ac_wine_try_cflags_saved
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8663 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8664 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8665 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8668 case $host_cpu in
8669 *i[3456789]86* | x86_64 | *aarch64*)
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8671 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8672 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8683 else
8684 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8691 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8692 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8693 case $host_os in
8694 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8695 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8696 esac
8697 else
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8699 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8700 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 ac_wine_try_cflags_saved=$CFLAGS
8704 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8711 else
8712 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 CFLAGS=$ac_wine_try_cflags_saved
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8719 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8720 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8721 case $host_os in
8722 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8723 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8724 esac
8726 # Extract the first word of "prelink", so it can be a program name with args.
8727 set dummy prelink; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if ${ac_cv_path_PRELINK+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 case $PRELINK in
8734 [\\/]* | ?:[\\/]*)
8735 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8739 for as_dir in /sbin /usr/sbin $PATH
8741 IFS=$as_save_IFS
8742 test -z "$as_dir" && as_dir=.
8743 for ac_exec_ext in '' $ac_executable_extensions; do
8744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8745 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8747 break 2
8749 done
8750 done
8751 IFS=$as_save_IFS
8753 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8755 esac
8757 PRELINK=$ac_cv_path_PRELINK
8758 if test -n "$PRELINK"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8760 $as_echo "$PRELINK" >&6; }
8761 else
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8763 $as_echo "no" >&6; }
8767 if test "x$PRELINK" = xfalse
8768 then
8769 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8773 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8774 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8775 $as_echo_n "(cached) " >&6
8776 else
8777 ac_wine_try_cflags_saved=$CFLAGS
8778 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 int main(int argc, char **argv) { return 0; }
8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then :
8784 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8785 else
8786 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8788 rm -f core conftest.err conftest.$ac_objext \
8789 conftest$ac_exeext conftest.$ac_ext
8790 CFLAGS=$ac_wine_try_cflags_saved
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8793 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8794 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8795 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8798 esac
8800 else
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8802 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8803 if ${ac_cv_c_dll_unixware+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 ac_wine_try_cflags_saved=$CFLAGS
8807 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8810 void myfunc() {}
8811 _ACEOF
8812 if ac_fn_c_try_link "$LINENO"; then :
8813 ac_cv_c_dll_unixware="yes"
8814 else
8815 ac_cv_c_dll_unixware="no"
8817 rm -f core conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8819 CFLAGS=$ac_wine_try_cflags_saved
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8822 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8823 if test "$ac_cv_c_dll_unixware" = "yes"
8824 then
8825 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8828 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8830 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8832 LIBWINE_INSTALL_DEV="libwine.so"
8834 LIBWINE_DEPENDS="wine.map"
8837 esac
8839 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8840 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8841 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8842 enable_winemac_drv=${enable_winemac_drv:-no}
8843 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8845 CROSSTARGET=""
8847 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8848 then
8849 case "$host_cpu" in
8850 arm*)
8851 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8852 i[3456789]86*)
8853 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
8854 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8855 mingw32-gcc" ;;
8856 x86_64)
8857 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
8858 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8860 ac_prefix_list="" ;;
8861 esac
8862 for ac_prog in $ac_prefix_list
8864 # Extract the first word of "$ac_prog", so it can be a program name with args.
8865 set dummy $ac_prog; ac_word=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8867 $as_echo_n "checking for $ac_word... " >&6; }
8868 if ${ac_cv_prog_CROSSCC+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 if test -n "$CROSSCC"; then
8872 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8873 else
8874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8875 for as_dir in $PATH
8877 IFS=$as_save_IFS
8878 test -z "$as_dir" && as_dir=.
8879 for ac_exec_ext in '' $ac_executable_extensions; do
8880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8881 ac_cv_prog_CROSSCC="$ac_prog"
8882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8883 break 2
8885 done
8886 done
8887 IFS=$as_save_IFS
8891 CROSSCC=$ac_cv_prog_CROSSCC
8892 if test -n "$CROSSCC"; then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8894 $as_echo "$CROSSCC" >&6; }
8895 else
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8897 $as_echo "no" >&6; }
8901 test -n "$CROSSCC" && break
8902 done
8903 test -n "$CROSSCC" || CROSSCC="false"
8905 if test "$CROSSCC" != "false"
8906 then
8907 ac_save_CC="$CC"
8908 CC="$CROSSCC"
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8910 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8915 main ()
8919 return 0;
8921 _ACEOF
8922 if ac_fn_c_try_compile "$LINENO"; then :
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8924 $as_echo "yes" >&6; }
8925 set x $CROSSCC
8926 shift
8927 while test $# -ge 1
8929 case "$1" in
8930 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8931 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8932 esac
8933 shift
8934 done
8935 else
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8937 $as_echo "no" >&6; }
8939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8940 CC="$ac_save_CC"
8941 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8947 if test "$ac_cv_header_pthread_h" = "yes"
8948 then
8949 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8950 if test "x$ac_cv_func_pthread_create" = xyes; then :
8952 else
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8954 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8955 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8956 $as_echo_n "(cached) " >&6
8957 else
8958 ac_check_lib_save_LIBS=$LIBS
8959 LIBS="-lpthread $LIBS"
8960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8961 /* end confdefs.h. */
8963 /* Override any GCC internal prototype to avoid an error.
8964 Use char because int might match the return type of a GCC
8965 builtin and then its argument prototype would still apply. */
8966 #ifdef __cplusplus
8967 extern "C"
8968 #endif
8969 char pthread_create ();
8971 main ()
8973 return pthread_create ();
8975 return 0;
8977 _ACEOF
8978 if ac_fn_c_try_link "$LINENO"; then :
8979 ac_cv_lib_pthread_pthread_create=yes
8980 else
8981 ac_cv_lib_pthread_pthread_create=no
8983 rm -f core conftest.err conftest.$ac_objext \
8984 conftest$ac_exeext conftest.$ac_ext
8985 LIBS=$ac_check_lib_save_LIBS
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8988 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8989 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8990 PTHREAD_LIBS="-lpthread"
8997 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8998 case "x$with_pthread" in
8999 xno) ;;
9000 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9001 Wine cannot support threads without libpthread.
9002 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9003 esac
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9009 $as_echo_n "checking for X... " >&6; }
9012 # Check whether --with-x was given.
9013 if test "${with_x+set}" = set; then :
9014 withval=$with_x;
9017 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9018 if test "x$with_x" = xno; then
9019 # The user explicitly disabled X.
9020 have_x=disabled
9021 else
9022 case $x_includes,$x_libraries in #(
9023 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9024 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9025 $as_echo_n "(cached) " >&6
9026 else
9027 # One or both of the vars are not set, and there is no cached value.
9028 ac_x_includes=no ac_x_libraries=no
9029 rm -f -r conftest.dir
9030 if mkdir conftest.dir; then
9031 cd conftest.dir
9032 cat >Imakefile <<'_ACEOF'
9033 incroot:
9034 @echo incroot='${INCROOT}'
9035 usrlibdir:
9036 @echo usrlibdir='${USRLIBDIR}'
9037 libdir:
9038 @echo libdir='${LIBDIR}'
9039 _ACEOF
9040 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9041 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9042 for ac_var in incroot usrlibdir libdir; do
9043 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9044 done
9045 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9046 for ac_extension in a so sl dylib la dll; do
9047 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9048 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9049 ac_im_usrlibdir=$ac_im_libdir; break
9051 done
9052 # Screen out bogus values from the imake configuration. They are
9053 # bogus both because they are the default anyway, and because
9054 # using them would break gcc on systems where it needs fixed includes.
9055 case $ac_im_incroot in
9056 /usr/include) ac_x_includes= ;;
9057 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9058 esac
9059 case $ac_im_usrlibdir in
9060 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9061 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9062 esac
9064 cd ..
9065 rm -f -r conftest.dir
9068 # Standard set of common directories for X headers.
9069 # Check X11 before X11Rn because it is often a symlink to the current release.
9070 ac_x_header_dirs='
9071 /usr/X11/include
9072 /usr/X11R7/include
9073 /usr/X11R6/include
9074 /usr/X11R5/include
9075 /usr/X11R4/include
9077 /usr/include/X11
9078 /usr/include/X11R7
9079 /usr/include/X11R6
9080 /usr/include/X11R5
9081 /usr/include/X11R4
9083 /usr/local/X11/include
9084 /usr/local/X11R7/include
9085 /usr/local/X11R6/include
9086 /usr/local/X11R5/include
9087 /usr/local/X11R4/include
9089 /usr/local/include/X11
9090 /usr/local/include/X11R7
9091 /usr/local/include/X11R6
9092 /usr/local/include/X11R5
9093 /usr/local/include/X11R4
9095 /usr/X386/include
9096 /usr/x386/include
9097 /usr/XFree86/include/X11
9099 /usr/include
9100 /usr/local/include
9101 /usr/unsupported/include
9102 /usr/athena/include
9103 /usr/local/x11r5/include
9104 /usr/lpp/Xamples/include
9106 /usr/openwin/include
9107 /usr/openwin/share/include'
9109 if test "$ac_x_includes" = no; then
9110 # Guess where to find include files, by looking for Xlib.h.
9111 # First, try using that file with no special directory specified.
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9114 #include <X11/Xlib.h>
9115 _ACEOF
9116 if ac_fn_c_try_cpp "$LINENO"; then :
9117 # We can compile using X headers with no special include directory.
9118 ac_x_includes=
9119 else
9120 for ac_dir in $ac_x_header_dirs; do
9121 if test -r "$ac_dir/X11/Xlib.h"; then
9122 ac_x_includes=$ac_dir
9123 break
9125 done
9127 rm -f conftest.err conftest.i conftest.$ac_ext
9128 fi # $ac_x_includes = no
9130 if test "$ac_x_libraries" = no; then
9131 # Check for the libraries.
9132 # See if we find them without any special options.
9133 # Don't add to $LIBS permanently.
9134 ac_save_LIBS=$LIBS
9135 LIBS="-lX11 $LIBS"
9136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9137 /* end confdefs.h. */
9138 #include <X11/Xlib.h>
9140 main ()
9142 XrmInitialize ()
9144 return 0;
9146 _ACEOF
9147 if ac_fn_c_try_link "$LINENO"; then :
9148 LIBS=$ac_save_LIBS
9149 # We can link X programs with no special library path.
9150 ac_x_libraries=
9151 else
9152 LIBS=$ac_save_LIBS
9153 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9155 # Don't even attempt the hair of trying to link an X program!
9156 for ac_extension in a so sl dylib la dll; do
9157 if test -r "$ac_dir/libX11.$ac_extension"; then
9158 ac_x_libraries=$ac_dir
9159 break 2
9161 done
9162 done
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 fi # $ac_x_libraries = no
9168 case $ac_x_includes,$ac_x_libraries in #(
9169 no,* | *,no | *\'*)
9170 # Didn't find X, or a directory has "'" in its name.
9171 ac_cv_have_x="have_x=no";; #(
9173 # Record where we found X for the cache.
9174 ac_cv_have_x="have_x=yes\
9175 ac_x_includes='$ac_x_includes'\
9176 ac_x_libraries='$ac_x_libraries'"
9177 esac
9179 ;; #(
9180 *) have_x=yes;;
9181 esac
9182 eval "$ac_cv_have_x"
9183 fi # $with_x != no
9185 if test "$have_x" != yes; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9187 $as_echo "$have_x" >&6; }
9188 no_x=yes
9189 else
9190 # If each of the values was on the command line, it overrides each guess.
9191 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9192 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9193 # Update the cache value to reflect the command line values.
9194 ac_cv_have_x="have_x=yes\
9195 ac_x_includes='$x_includes'\
9196 ac_x_libraries='$x_libraries'"
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9198 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9201 if test "$no_x" = yes; then
9202 # Not all programs may use this symbol, but it does not hurt to define it.
9204 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9206 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9207 else
9208 if test -n "$x_includes"; then
9209 X_CFLAGS="$X_CFLAGS -I$x_includes"
9212 # It would also be nice to do this for all -L options, not just this one.
9213 if test -n "$x_libraries"; then
9214 X_LIBS="$X_LIBS -L$x_libraries"
9215 # For Solaris; some versions of Sun CC require a space after -R and
9216 # others require no space. Words are not sufficient . . . .
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9218 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9219 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9220 ac_xsave_c_werror_flag=$ac_c_werror_flag
9221 ac_c_werror_flag=yes
9222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9226 main ()
9230 return 0;
9232 _ACEOF
9233 if ac_fn_c_try_link "$LINENO"; then :
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9235 $as_echo "no" >&6; }
9236 X_LIBS="$X_LIBS -R$x_libraries"
9237 else
9238 LIBS="$ac_xsave_LIBS -R $x_libraries"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9243 main ()
9247 return 0;
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9252 $as_echo "yes" >&6; }
9253 X_LIBS="$X_LIBS -R $x_libraries"
9254 else
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9256 $as_echo "neither works" >&6; }
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 ac_c_werror_flag=$ac_xsave_c_werror_flag
9264 LIBS=$ac_xsave_LIBS
9267 # Check for system-dependent libraries X programs must link with.
9268 # Do this before checking for the system-independent R6 libraries
9269 # (-lICE), since we may need -lsocket or whatever for X linking.
9271 if test "$ISC" = yes; then
9272 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9273 else
9274 # Martyn Johnson says this is needed for Ultrix, if the X
9275 # libraries were built with DECnet support. And Karl Berry says
9276 # the Alpha needs dnet_stub (dnet does not exist).
9277 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9284 #ifdef __cplusplus
9285 extern "C"
9286 #endif
9287 char XOpenDisplay ();
9289 main ()
9291 return XOpenDisplay ();
9293 return 0;
9295 _ACEOF
9296 if ac_fn_c_try_link "$LINENO"; then :
9298 else
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9300 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9301 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9302 $as_echo_n "(cached) " >&6
9303 else
9304 ac_check_lib_save_LIBS=$LIBS
9305 LIBS="-ldnet $LIBS"
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9309 /* Override any GCC internal prototype to avoid an error.
9310 Use char because int might match the return type of a GCC
9311 builtin and then its argument prototype would still apply. */
9312 #ifdef __cplusplus
9313 extern "C"
9314 #endif
9315 char dnet_ntoa ();
9317 main ()
9319 return dnet_ntoa ();
9321 return 0;
9323 _ACEOF
9324 if ac_fn_c_try_link "$LINENO"; then :
9325 ac_cv_lib_dnet_dnet_ntoa=yes
9326 else
9327 ac_cv_lib_dnet_dnet_ntoa=no
9329 rm -f core conftest.err conftest.$ac_objext \
9330 conftest$ac_exeext conftest.$ac_ext
9331 LIBS=$ac_check_lib_save_LIBS
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9334 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9335 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9336 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9339 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9341 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9342 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9345 ac_check_lib_save_LIBS=$LIBS
9346 LIBS="-ldnet_stub $LIBS"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9353 #ifdef __cplusplus
9354 extern "C"
9355 #endif
9356 char dnet_ntoa ();
9358 main ()
9360 return dnet_ntoa ();
9362 return 0;
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9367 else
9368 ac_cv_lib_dnet_stub_dnet_ntoa=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 LIBS=$ac_check_lib_save_LIBS
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9375 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9376 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9377 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 LIBS="$ac_xsave_LIBS"
9386 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9387 # to get the SysV transport functions.
9388 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9389 # needs -lnsl.
9390 # The nsl library prevents programs from opening the X display
9391 # on Irix 5.2, according to T.E. Dickey.
9392 # The functions gethostbyname, getservbyname, and inet_addr are
9393 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9394 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9395 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9399 if test $ac_cv_func_gethostbyname = no; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9401 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9402 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9403 $as_echo_n "(cached) " >&6
9404 else
9405 ac_check_lib_save_LIBS=$LIBS
9406 LIBS="-lnsl $LIBS"
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9410 /* Override any GCC internal prototype to avoid an error.
9411 Use char because int might match the return type of a GCC
9412 builtin and then its argument prototype would still apply. */
9413 #ifdef __cplusplus
9414 extern "C"
9415 #endif
9416 char gethostbyname ();
9418 main ()
9420 return gethostbyname ();
9422 return 0;
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_lib_nsl_gethostbyname=yes
9427 else
9428 ac_cv_lib_nsl_gethostbyname=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 LIBS=$ac_check_lib_save_LIBS
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9435 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9436 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9437 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9440 if test $ac_cv_lib_nsl_gethostbyname = no; then
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9442 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9443 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9444 $as_echo_n "(cached) " >&6
9445 else
9446 ac_check_lib_save_LIBS=$LIBS
9447 LIBS="-lbsd $LIBS"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9454 #ifdef __cplusplus
9455 extern "C"
9456 #endif
9457 char gethostbyname ();
9459 main ()
9461 return gethostbyname ();
9463 return 0;
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 ac_cv_lib_bsd_gethostbyname=yes
9468 else
9469 ac_cv_lib_bsd_gethostbyname=no
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 LIBS=$ac_check_lib_save_LIBS
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9476 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9477 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9478 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9484 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9485 # socket/setsockopt and other routines are undefined under SCO ODT
9486 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9487 # on later versions), says Simon Leinen: it contains gethostby*
9488 # variants that don't use the name server (or something). -lsocket
9489 # must be given before -lnsl if both are needed. We assume that
9490 # if connect needs -lnsl, so does gethostbyname.
9491 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9492 if test "x$ac_cv_func_connect" = xyes; then :
9496 if test $ac_cv_func_connect = no; then
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9498 $as_echo_n "checking for connect in -lsocket... " >&6; }
9499 if ${ac_cv_lib_socket_connect+:} false; then :
9500 $as_echo_n "(cached) " >&6
9501 else
9502 ac_check_lib_save_LIBS=$LIBS
9503 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char connect ();
9515 main ()
9517 return connect ();
9519 return 0;
9521 _ACEOF
9522 if ac_fn_c_try_link "$LINENO"; then :
9523 ac_cv_lib_socket_connect=yes
9524 else
9525 ac_cv_lib_socket_connect=no
9527 rm -f core conftest.err conftest.$ac_objext \
9528 conftest$ac_exeext conftest.$ac_ext
9529 LIBS=$ac_check_lib_save_LIBS
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9532 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9533 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9534 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9539 # Guillermo Gomez says -lposix is necessary on A/UX.
9540 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9541 if test "x$ac_cv_func_remove" = xyes; then :
9545 if test $ac_cv_func_remove = no; then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9547 $as_echo_n "checking for remove in -lposix... " >&6; }
9548 if ${ac_cv_lib_posix_remove+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_check_lib_save_LIBS=$LIBS
9552 LIBS="-lposix $LIBS"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9559 #ifdef __cplusplus
9560 extern "C"
9561 #endif
9562 char remove ();
9564 main ()
9566 return remove ();
9568 return 0;
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_lib_posix_remove=yes
9573 else
9574 ac_cv_lib_posix_remove=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS=$ac_check_lib_save_LIBS
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9581 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9582 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9583 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9588 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9589 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9590 if test "x$ac_cv_func_shmat" = xyes; then :
9594 if test $ac_cv_func_shmat = no; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9596 $as_echo_n "checking for shmat in -lipc... " >&6; }
9597 if ${ac_cv_lib_ipc_shmat+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_check_lib_save_LIBS=$LIBS
9601 LIBS="-lipc $LIBS"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9605 /* Override any GCC internal prototype to avoid an error.
9606 Use char because int might match the return type of a GCC
9607 builtin and then its argument prototype would still apply. */
9608 #ifdef __cplusplus
9609 extern "C"
9610 #endif
9611 char shmat ();
9613 main ()
9615 return shmat ();
9617 return 0;
9619 _ACEOF
9620 if ac_fn_c_try_link "$LINENO"; then :
9621 ac_cv_lib_ipc_shmat=yes
9622 else
9623 ac_cv_lib_ipc_shmat=no
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_lib_save_LIBS
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9630 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9631 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9632 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9638 # Check for libraries that X11R6 Xt/Xaw programs need.
9639 ac_save_LDFLAGS=$LDFLAGS
9640 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9641 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9642 # check for ICE first), but we must link in the order -lSM -lICE or
9643 # we get undefined symbols. So assume we have SM if we have ICE.
9644 # These have to be linked with before -lX11, unlike the other
9645 # libraries we check for below, so use a different variable.
9646 # John Interrante, Karl Berry
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9648 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9649 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 ac_check_lib_save_LIBS=$LIBS
9653 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9660 #ifdef __cplusplus
9661 extern "C"
9662 #endif
9663 char IceConnectionNumber ();
9665 main ()
9667 return IceConnectionNumber ();
9669 return 0;
9671 _ACEOF
9672 if ac_fn_c_try_link "$LINENO"; then :
9673 ac_cv_lib_ICE_IceConnectionNumber=yes
9674 else
9675 ac_cv_lib_ICE_IceConnectionNumber=no
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_lib_save_LIBS
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9682 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9683 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9684 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9687 LDFLAGS=$ac_save_LDFLAGS
9692 if test "$have_x" = "yes"
9693 then
9694 ac_save_CPPFLAGS="$CPPFLAGS"
9695 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9698 $as_echo_n "checking for -lX11... " >&6; }
9699 if ${ac_cv_lib_soname_X11+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 ac_check_soname_save_LIBS=$LIBS
9703 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9707 /* Override any GCC internal prototype to avoid an error.
9708 Use char because int might match the return type of a GCC
9709 builtin and then its argument prototype would still apply. */
9710 #ifdef __cplusplus
9711 extern "C"
9712 #endif
9713 char XCreateWindow ();
9715 main ()
9717 return XCreateWindow ();
9719 return 0;
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 case "$LIBEXT" in
9724 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9725 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'` ;;
9726 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9727 if ${ac_cv_lib_soname_X11:+false} :; then :
9728 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9729 fi ;;
9730 esac
9732 rm -f core conftest.err conftest.$ac_objext \
9733 conftest$ac_exeext conftest.$ac_ext
9734 LIBS=$ac_check_soname_save_LIBS
9736 if ${ac_cv_lib_soname_X11:+false} :; then :
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9738 $as_echo "not found" >&6; }
9740 else
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9742 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9744 cat >>confdefs.h <<_ACEOF
9745 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9746 _ACEOF
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9751 $as_echo_n "checking for -lXext... " >&6; }
9752 if ${ac_cv_lib_soname_Xext+:} false; then :
9753 $as_echo_n "(cached) " >&6
9754 else
9755 ac_check_soname_save_LIBS=$LIBS
9756 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9760 /* Override any GCC internal prototype to avoid an error.
9761 Use char because int might match the return type of a GCC
9762 builtin and then its argument prototype would still apply. */
9763 #ifdef __cplusplus
9764 extern "C"
9765 #endif
9766 char XextCreateExtension ();
9768 main ()
9770 return XextCreateExtension ();
9772 return 0;
9774 _ACEOF
9775 if ac_fn_c_try_link "$LINENO"; then :
9776 case "$LIBEXT" in
9777 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9778 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'` ;;
9779 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9780 if ${ac_cv_lib_soname_Xext:+false} :; then :
9781 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9782 fi ;;
9783 esac
9785 rm -f core conftest.err conftest.$ac_objext \
9786 conftest$ac_exeext conftest.$ac_ext
9787 LIBS=$ac_check_soname_save_LIBS
9789 if ${ac_cv_lib_soname_Xext:+false} :; then :
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9791 $as_echo "not found" >&6; }
9793 else
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9795 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9797 cat >>confdefs.h <<_ACEOF
9798 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9799 _ACEOF
9801 X_LIBS="$X_LIBS -lXext"
9803 X_LIBS="$X_LIBS -lX11"
9805 for ac_header in X11/Xlib.h \
9806 X11/XKBlib.h \
9807 X11/Xutil.h \
9808 X11/Xcursor/Xcursor.h \
9809 X11/extensions/shape.h \
9810 X11/extensions/XInput.h \
9811 X11/extensions/XInput2.h \
9812 X11/extensions/XShm.h \
9813 X11/extensions/Xcomposite.h \
9814 X11/extensions/Xfixes.h \
9815 X11/extensions/Xinerama.h \
9816 X11/extensions/Xrandr.h \
9817 X11/extensions/Xrender.h \
9818 X11/extensions/xf86vmode.h \
9819 X11/extensions/xf86vmproto.h
9820 do :
9821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9822 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9823 # include <X11/Xlib.h>
9824 #endif
9825 #ifdef HAVE_X11_XUTIL_H
9826 # include <X11/Xutil.h>
9827 #endif
9829 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9830 cat >>confdefs.h <<_ACEOF
9831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9832 _ACEOF
9836 done
9839 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9840 then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9842 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9843 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 ac_check_lib_save_LIBS=$LIBS
9847 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9851 /* Override any GCC internal prototype to avoid an error.
9852 Use char because int might match the return type of a GCC
9853 builtin and then its argument prototype would still apply. */
9854 #ifdef __cplusplus
9855 extern "C"
9856 #endif
9857 char XkbQueryExtension ();
9859 main ()
9861 return XkbQueryExtension ();
9863 return 0;
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 ac_cv_lib_X11_XkbQueryExtension=yes
9868 else
9869 ac_cv_lib_X11_XkbQueryExtension=no
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 LIBS=$ac_check_lib_save_LIBS
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9876 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9877 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9879 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9885 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9886 then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9888 $as_echo_n "checking for -lXcursor... " >&6; }
9889 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_check_soname_save_LIBS=$LIBS
9893 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9900 #ifdef __cplusplus
9901 extern "C"
9902 #endif
9903 char XcursorImageLoadCursor ();
9905 main ()
9907 return XcursorImageLoadCursor ();
9909 return 0;
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 case "$LIBEXT" in
9914 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9915 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'` ;;
9916 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9917 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9918 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9919 fi ;;
9920 esac
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 LIBS=$ac_check_soname_save_LIBS
9926 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9928 $as_echo "not found" >&6; }
9930 else
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9932 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9934 cat >>confdefs.h <<_ACEOF
9935 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9936 _ACEOF
9941 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9942 case "x$with_xcursor" in
9943 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9944 xno) ;;
9945 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9946 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9947 esac
9951 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9952 then
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9954 $as_echo_n "checking for -lXi... " >&6; }
9955 if ${ac_cv_lib_soname_Xi+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_check_soname_save_LIBS=$LIBS
9959 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9963 /* Override any GCC internal prototype to avoid an error.
9964 Use char because int might match the return type of a GCC
9965 builtin and then its argument prototype would still apply. */
9966 #ifdef __cplusplus
9967 extern "C"
9968 #endif
9969 char XOpenDevice ();
9971 main ()
9973 return XOpenDevice ();
9975 return 0;
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 case "$LIBEXT" in
9980 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9981 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'` ;;
9982 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9983 if ${ac_cv_lib_soname_Xi:+false} :; then :
9984 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9985 fi ;;
9986 esac
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LIBS=$ac_check_soname_save_LIBS
9992 if ${ac_cv_lib_soname_Xi:+false} :; then :
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9994 $as_echo "not found" >&6; }
9996 else
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9998 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10000 cat >>confdefs.h <<_ACEOF
10001 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10002 _ACEOF
10007 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10008 case "x$with_xinput" in
10009 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10010 xno) ;;
10011 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10012 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10013 esac
10017 if test "x$ac_cv_lib_soname_Xi" != x
10018 then
10019 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10020 case "x$with_xinput2" in
10021 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10022 xno) ;;
10023 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10024 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10025 esac
10030 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10031 then
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10033 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10034 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10035 $as_echo_n "(cached) " >&6
10036 else
10037 ac_check_lib_save_LIBS=$LIBS
10038 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10042 /* Override any GCC internal prototype to avoid an error.
10043 Use char because int might match the return type of a GCC
10044 builtin and then its argument prototype would still apply. */
10045 #ifdef __cplusplus
10046 extern "C"
10047 #endif
10048 char XShmQueryExtension ();
10050 main ()
10052 return XShmQueryExtension ();
10054 return 0;
10056 _ACEOF
10057 if ac_fn_c_try_link "$LINENO"; then :
10058 ac_cv_lib_Xext_XShmQueryExtension=yes
10059 else
10060 ac_cv_lib_Xext_XShmQueryExtension=no
10062 rm -f core conftest.err conftest.$ac_objext \
10063 conftest$ac_exeext conftest.$ac_ext
10064 LIBS=$ac_check_lib_save_LIBS
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10067 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10068 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10070 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10075 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10076 case "x$with_xshm" in
10077 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10078 xno) ;;
10079 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10080 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10081 esac
10085 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10086 then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10088 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10089 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 ac_check_lib_save_LIBS=$LIBS
10093 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10097 /* Override any GCC internal prototype to avoid an error.
10098 Use char because int might match the return type of a GCC
10099 builtin and then its argument prototype would still apply. */
10100 #ifdef __cplusplus
10101 extern "C"
10102 #endif
10103 char XShapeQueryExtension ();
10105 main ()
10107 return XShapeQueryExtension ();
10109 return 0;
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 ac_cv_lib_Xext_XShapeQueryExtension=yes
10114 else
10115 ac_cv_lib_Xext_XShapeQueryExtension=no
10117 rm -f core conftest.err conftest.$ac_objext \
10118 conftest$ac_exeext conftest.$ac_ext
10119 LIBS=$ac_check_lib_save_LIBS
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10122 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10123 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10125 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10130 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10131 case "x$with_xshape" in
10132 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10133 xno) ;;
10134 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10135 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10136 esac
10140 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10141 then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10143 $as_echo_n "checking for -lXxf86vm... " >&6; }
10144 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_check_soname_save_LIBS=$LIBS
10148 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10155 #ifdef __cplusplus
10156 extern "C"
10157 #endif
10158 char XF86VidModeQueryExtension ();
10160 main ()
10162 return XF86VidModeQueryExtension ();
10164 return 0;
10166 _ACEOF
10167 if ac_fn_c_try_link "$LINENO"; then :
10168 case "$LIBEXT" in
10169 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10170 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'` ;;
10171 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10172 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10173 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10174 fi ;;
10175 esac
10177 rm -f core conftest.err conftest.$ac_objext \
10178 conftest$ac_exeext conftest.$ac_ext
10179 LIBS=$ac_check_soname_save_LIBS
10181 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10183 $as_echo "not found" >&6; }
10185 else
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10187 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10189 cat >>confdefs.h <<_ACEOF
10190 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10191 _ACEOF
10196 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10197 case "x$with_xxf86vm" in
10198 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10199 xno) ;;
10200 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10201 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10202 esac
10206 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10207 then
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10209 $as_echo_n "checking for -lXrender... " >&6; }
10210 if ${ac_cv_lib_soname_Xrender+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_check_soname_save_LIBS=$LIBS
10214 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10218 /* Override any GCC internal prototype to avoid an error.
10219 Use char because int might match the return type of a GCC
10220 builtin and then its argument prototype would still apply. */
10221 #ifdef __cplusplus
10222 extern "C"
10223 #endif
10224 char XRenderQueryExtension ();
10226 main ()
10228 return XRenderQueryExtension ();
10230 return 0;
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"; then :
10234 case "$LIBEXT" in
10235 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10236 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'` ;;
10237 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10238 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10239 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10240 fi ;;
10241 esac
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LIBS=$ac_check_soname_save_LIBS
10247 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10249 $as_echo "not found" >&6; }
10251 else
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10253 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10255 cat >>confdefs.h <<_ACEOF
10256 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10257 _ACEOF
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10260 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10261 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10262 $as_echo_n "(cached) " >&6
10263 else
10264 ac_check_lib_save_LIBS=$LIBS
10265 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10272 #ifdef __cplusplus
10273 extern "C"
10274 #endif
10275 char XRenderSetPictureTransform ();
10277 main ()
10279 return XRenderSetPictureTransform ();
10281 return 0;
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10286 else
10287 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LIBS=$ac_check_lib_save_LIBS
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10294 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10295 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10297 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10302 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10303 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char XRenderCreateLinearGradient ();
10319 main ()
10321 return XRenderCreateLinearGradient ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10328 else
10329 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10336 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10337 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10339 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10346 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10347 case "x$with_xrender" in
10348 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10349 xno) ;;
10350 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10351 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10352 esac
10356 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10357 then
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(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10367 return 0;
10369 _ACEOF
10370 if ac_fn_c_try_compile "$LINENO"; then :
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10372 $as_echo_n "checking for -lXrandr... " >&6; }
10373 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10374 $as_echo_n "(cached) " >&6
10375 else
10376 ac_check_soname_save_LIBS=$LIBS
10377 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10384 #ifdef __cplusplus
10385 extern "C"
10386 #endif
10387 char XRRQueryExtension ();
10389 main ()
10391 return XRRQueryExtension ();
10393 return 0;
10395 _ACEOF
10396 if ac_fn_c_try_link "$LINENO"; then :
10397 case "$LIBEXT" in
10398 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10399 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'` ;;
10400 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10401 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10402 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10403 fi ;;
10404 esac
10406 rm -f core conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 LIBS=$ac_check_soname_save_LIBS
10410 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10412 $as_echo "not found" >&6; }
10414 else
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10416 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10418 cat >>confdefs.h <<_ACEOF
10419 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10420 _ACEOF
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 #include <X11/Xlib.h>
10425 #include <X11/extensions/Xrandr.h>
10427 main ()
10429 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10431 return 0;
10433 _ACEOF
10434 if ac_fn_c_try_compile "$LINENO"; then :
10436 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10444 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10445 case "x$with_xrandr" in
10446 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10447 xno) ;;
10448 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10449 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10450 esac
10454 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10455 then
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 #include <X11/Xlib.h>
10459 #include <X11/extensions/Xfixes.h>
10461 main ()
10463 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10465 return 0;
10467 _ACEOF
10468 if ac_fn_c_try_compile "$LINENO"; then :
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10470 $as_echo_n "checking for -lXfixes... " >&6; }
10471 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10472 $as_echo_n "(cached) " >&6
10473 else
10474 ac_check_soname_save_LIBS=$LIBS
10475 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10482 #ifdef __cplusplus
10483 extern "C"
10484 #endif
10485 char XFixesQueryVersion ();
10487 main ()
10489 return XFixesQueryVersion ();
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"; then :
10495 case "$LIBEXT" in
10496 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10497 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'` ;;
10498 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10499 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10500 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10501 fi ;;
10502 esac
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 LIBS=$ac_check_soname_save_LIBS
10508 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10510 $as_echo "not found" >&6; }
10512 else
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10514 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10516 cat >>confdefs.h <<_ACEOF
10517 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10518 _ACEOF
10523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10525 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10526 case "x$with_xfixes" in
10527 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10528 xno) ;;
10529 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10530 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10531 esac
10535 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10536 then
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10539 #include <X11/Xlib.h>
10540 #include <X11/extensions/Xinerama.h>
10542 main ()
10544 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10546 return 0;
10548 _ACEOF
10549 if ac_fn_c_try_compile "$LINENO"; then :
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10551 $as_echo_n "checking for -lXinerama... " >&6; }
10552 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10553 $as_echo_n "(cached) " >&6
10554 else
10555 ac_check_soname_save_LIBS=$LIBS
10556 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10563 #ifdef __cplusplus
10564 extern "C"
10565 #endif
10566 char XineramaQueryScreens ();
10568 main ()
10570 return XineramaQueryScreens ();
10572 return 0;
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 case "$LIBEXT" in
10577 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10578 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'` ;;
10579 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10580 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10581 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10582 fi ;;
10583 esac
10585 rm -f core conftest.err conftest.$ac_objext \
10586 conftest$ac_exeext conftest.$ac_ext
10587 LIBS=$ac_check_soname_save_LIBS
10589 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10591 $as_echo "not found" >&6; }
10593 else
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10595 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10597 cat >>confdefs.h <<_ACEOF
10598 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10599 _ACEOF
10604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10606 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10607 case "x$with_xinerama" in
10608 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10609 xno) ;;
10610 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10611 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10612 esac
10616 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10617 then
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10619 $as_echo_n "checking for -lXcomposite... " >&6; }
10620 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10621 $as_echo_n "(cached) " >&6
10622 else
10623 ac_check_soname_save_LIBS=$LIBS
10624 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10628 /* Override any GCC internal prototype to avoid an error.
10629 Use char because int might match the return type of a GCC
10630 builtin and then its argument prototype would still apply. */
10631 #ifdef __cplusplus
10632 extern "C"
10633 #endif
10634 char XCompositeRedirectWindow ();
10636 main ()
10638 return XCompositeRedirectWindow ();
10640 return 0;
10642 _ACEOF
10643 if ac_fn_c_try_link "$LINENO"; then :
10644 case "$LIBEXT" in
10645 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10646 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'` ;;
10647 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10648 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10649 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10650 fi ;;
10651 esac
10653 rm -f core conftest.err conftest.$ac_objext \
10654 conftest$ac_exeext conftest.$ac_ext
10655 LIBS=$ac_check_soname_save_LIBS
10657 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10659 $as_echo "not found" >&6; }
10661 else
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10663 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10665 cat >>confdefs.h <<_ACEOF
10666 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10667 _ACEOF
10672 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10673 case "x$with_xcomposite" in
10674 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10675 xno) ;;
10676 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10677 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10678 esac
10682 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10683 #include <X11/Xlib.h>
10684 #endif
10686 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10688 cat >>confdefs.h <<_ACEOF
10689 #define HAVE_XICCALLBACK_CALLBACK 1
10690 _ACEOF
10694 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10695 #include <X11/Xlib.h>
10696 #endif
10698 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10700 cat >>confdefs.h <<_ACEOF
10701 #define HAVE_XEVENT_XCOOKIE 1
10702 _ACEOF
10709 opengl_msg=""
10710 if test "x$with_opengl" != "xno"
10711 then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10713 $as_echo_n "checking for -lGL... " >&6; }
10714 if ${ac_cv_lib_soname_GL+:} false; then :
10715 $as_echo_n "(cached) " >&6
10716 else
10717 ac_check_soname_save_LIBS=$LIBS
10718 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10722 /* Override any GCC internal prototype to avoid an error.
10723 Use char because int might match the return type of a GCC
10724 builtin and then its argument prototype would still apply. */
10725 #ifdef __cplusplus
10726 extern "C"
10727 #endif
10728 char glXCreateContext ();
10730 main ()
10732 return glXCreateContext ();
10734 return 0;
10736 _ACEOF
10737 if ac_fn_c_try_link "$LINENO"; then :
10738 case "$LIBEXT" in
10739 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10740 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'` ;;
10741 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10742 if ${ac_cv_lib_soname_GL:+false} :; then :
10743 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10744 fi ;;
10745 esac
10747 rm -f core conftest.err conftest.$ac_objext \
10748 conftest$ac_exeext conftest.$ac_ext
10749 LIBS=$ac_check_soname_save_LIBS
10751 if ${ac_cv_lib_soname_GL:+false} :; then :
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10753 $as_echo "not found" >&6; }
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10755 $as_echo_n "checking for -lGL... " >&6; }
10756 if ${ac_cv_lib_soname_GL+:} false; then :
10757 $as_echo_n "(cached) " >&6
10758 else
10759 ac_check_soname_save_LIBS=$LIBS
10760 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"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10767 #ifdef __cplusplus
10768 extern "C"
10769 #endif
10770 char glXCreateContext ();
10772 main ()
10774 return glXCreateContext ();
10776 return 0;
10778 _ACEOF
10779 if ac_fn_c_try_link "$LINENO"; then :
10780 case "$LIBEXT" in
10781 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10782 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'` ;;
10783 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10784 if ${ac_cv_lib_soname_GL:+false} :; then :
10785 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10786 fi ;;
10787 esac
10789 rm -f core conftest.err conftest.$ac_objext \
10790 conftest$ac_exeext conftest.$ac_ext
10791 LIBS=$ac_check_soname_save_LIBS
10793 if ${ac_cv_lib_soname_GL:+false} :; then :
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10795 $as_echo "not found" >&6; }
10796 if test -f /usr/X11R6/lib/libGL.a
10797 then
10798 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10799 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10800 else
10801 opengl_msg="No OpenGL library found on this system."
10803 else
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10805 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10807 cat >>confdefs.h <<_ACEOF
10808 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10809 _ACEOF
10811 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"
10813 else
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10815 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10817 cat >>confdefs.h <<_ACEOF
10818 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10819 _ACEOF
10821 OPENGL_LIBS="-lGL"
10823 if test "x$with_glu" != "xno"
10824 then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10826 $as_echo_n "checking for -lGLU... " >&6; }
10827 if ${ac_cv_lib_soname_GLU+:} false; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 ac_check_soname_save_LIBS=$LIBS
10831 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char gluLookAt ();
10843 main ()
10845 return gluLookAt ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 case "$LIBEXT" in
10852 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10853 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'` ;;
10854 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10855 if ${ac_cv_lib_soname_GLU:+false} :; then :
10856 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10857 fi ;;
10858 esac
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_soname_save_LIBS
10864 if ${ac_cv_lib_soname_GLU:+false} :; then :
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10866 $as_echo "not found" >&6; }
10868 else
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10870 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10872 cat >>confdefs.h <<_ACEOF
10873 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10874 _ACEOF
10878 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10879 case "x$with_glu" in
10880 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10881 xno) ;;
10882 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10883 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10884 esac
10889 if test "x$with_osmesa" != "xno"
10890 then
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10892 $as_echo_n "checking for -lOSMesa... " >&6; }
10893 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10894 $as_echo_n "(cached) " >&6
10895 else
10896 ac_check_soname_save_LIBS=$LIBS
10897 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10904 #ifdef __cplusplus
10905 extern "C"
10906 #endif
10907 char OSMesaGetProcAddress ();
10909 main ()
10911 return OSMesaGetProcAddress ();
10913 return 0;
10915 _ACEOF
10916 if ac_fn_c_try_link "$LINENO"; then :
10917 case "$LIBEXT" in
10918 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10919 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'` ;;
10920 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10921 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10922 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10923 fi ;;
10924 esac
10926 rm -f core conftest.err conftest.$ac_objext \
10927 conftest$ac_exeext conftest.$ac_ext
10928 LIBS=$ac_check_soname_save_LIBS
10930 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10932 $as_echo "not found" >&6; }
10934 else
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10936 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10938 cat >>confdefs.h <<_ACEOF
10939 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10940 _ACEOF
10944 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10945 case "x$with_osmesa" in
10946 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10947 xno) ;;
10948 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10949 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10950 esac
10955 if test -n "$opengl_msg"; then :
10956 case "x$with_opengl" in
10957 x) as_fn_append wine_warnings "|$opengl_msg
10958 OpenGL and Direct3D won't be supported." ;;
10959 xno) ;;
10960 *) as_fn_error $? "$opengl_msg
10961 OpenGL and Direct3D won't be supported.
10962 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10963 esac
10967 CPPFLAGS="$ac_save_CPPFLAGS"
10968 else
10969 X_CFLAGS=""
10970 X_LIBS=""
10973 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10974 then
10975 if test "x$X_LIBS" = "x"; then :
10976 case "x$with_x" in
10977 xno) ;;
10978 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10979 without X support, which probably isn't what you want. You will need
10980 to install ${notice_platform}development packages of Xlib at the very least.
10981 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10982 esac
10983 enable_winex11_drv=${enable_winex11_drv:-no}
10985 else
10986 if test "x$X_LIBS" = "x"; then :
10987 case "x$with_x" in
10988 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10989 xno) ;;
10990 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10991 This is an error since --with-x was requested." "$LINENO" 5 ;;
10992 esac
10993 enable_winex11_drv=${enable_winex11_drv:-no}
10997 if test "$ac_cv_header_CL_cl_h" = "yes"
10998 then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11000 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11001 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lOpenCL $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char clGetPlatformInfo ();
11017 main ()
11019 return clGetPlatformInfo ();
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11026 else
11027 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11034 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11035 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11036 OPENCL_LIBS="-lOpenCL"
11041 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11042 case "x$with_opencl" in
11043 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11044 xno) ;;
11045 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11046 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11047 esac
11048 enable_opencl=${enable_opencl:-no}
11051 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11052 then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11054 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11055 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11056 $as_echo_n "(cached) " >&6
11057 else
11058 ac_check_lib_save_LIBS=$LIBS
11059 LIBS="-lpcap $LIBS"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11066 #ifdef __cplusplus
11067 extern "C"
11068 #endif
11069 char pcap_create ();
11071 main ()
11073 return pcap_create ();
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 ac_cv_lib_pcap_pcap_create=yes
11080 else
11081 ac_cv_lib_pcap_pcap_create=no
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LIBS=$ac_check_lib_save_LIBS
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11088 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11089 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11090 PCAP_LIBS="-lpcap"
11095 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11096 case "x$with_pcap" in
11097 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11098 xno) ;;
11099 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11100 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11101 esac
11102 enable_wpcap=${enable_wpcap:-no}
11106 if test "x$with_xml" != "xno"
11107 then
11108 if ${XML2_CFLAGS:+false} :; then :
11109 if ${PKG_CONFIG+:} false; then :
11110 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11113 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11114 if ${XML2_LIBS:+false} :; then :
11115 if ${PKG_CONFIG+:} false; then :
11116 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11119 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11120 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11121 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11122 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11123 ac_save_CPPFLAGS=$CPPFLAGS
11124 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11125 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11126 do :
11127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11128 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11129 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11130 cat >>confdefs.h <<_ACEOF
11131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11132 _ACEOF
11136 done
11138 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"
11139 then
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11141 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11142 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11143 $as_echo_n "(cached) " >&6
11144 else
11145 ac_check_lib_save_LIBS=$LIBS
11146 LIBS="-lxml2 $XML2_LIBS $LIBS"
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char xmlParseMemory ();
11158 main ()
11160 return xmlParseMemory ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 ac_cv_lib_xml2_xmlParseMemory=yes
11167 else
11168 ac_cv_lib_xml2_xmlParseMemory=no
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11175 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11176 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11178 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11180 else
11181 XML2_LIBS=""
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11185 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11186 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-lxml2 $XML2_LIBS $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char xmlReadMemory ();
11202 main ()
11204 return xmlReadMemory ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_xml2_xmlReadMemory=yes
11211 else
11212 ac_cv_lib_xml2_xmlReadMemory=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11219 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11220 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11222 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11227 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11228 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11229 $as_echo_n "(cached) " >&6
11230 else
11231 ac_check_lib_save_LIBS=$LIBS
11232 LIBS="-lxml2 $XML2_LIBS $LIBS"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11239 #ifdef __cplusplus
11240 extern "C"
11241 #endif
11242 char xmlNewDocPI ();
11244 main ()
11246 return xmlNewDocPI ();
11248 return 0;
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"; then :
11252 ac_cv_lib_xml2_xmlNewDocPI=yes
11253 else
11254 ac_cv_lib_xml2_xmlNewDocPI=no
11256 rm -f core conftest.err conftest.$ac_objext \
11257 conftest$ac_exeext conftest.$ac_ext
11258 LIBS=$ac_check_lib_save_LIBS
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11261 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11262 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11264 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11269 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11270 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_lib_save_LIBS=$LIBS
11274 LIBS="-lxml2 $XML2_LIBS $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char xmlSchemaSetParserStructuredErrors ();
11286 main ()
11288 return xmlSchemaSetParserStructuredErrors ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11295 else
11296 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11303 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11304 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11306 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11311 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11312 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-lxml2 $XML2_LIBS $LIBS"
11317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11318 /* end confdefs.h. */
11320 /* Override any GCC internal prototype to avoid an error.
11321 Use char because int might match the return type of a GCC
11322 builtin and then its argument prototype would still apply. */
11323 #ifdef __cplusplus
11324 extern "C"
11325 #endif
11326 char xmlSchemaSetValidStructuredErrors ();
11328 main ()
11330 return xmlSchemaSetValidStructuredErrors ();
11332 return 0;
11334 _ACEOF
11335 if ac_fn_c_try_link "$LINENO"; then :
11336 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11337 else
11338 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11340 rm -f core conftest.err conftest.$ac_objext \
11341 conftest$ac_exeext conftest.$ac_ext
11342 LIBS=$ac_check_lib_save_LIBS
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11345 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11346 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11348 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11353 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11354 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11355 $as_echo_n "(cached) " >&6
11356 else
11357 ac_check_lib_save_LIBS=$LIBS
11358 LIBS="-lxml2 $XML2_LIBS $LIBS"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11365 #ifdef __cplusplus
11366 extern "C"
11367 #endif
11368 char xmlFirstElementChild ();
11370 main ()
11372 return xmlFirstElementChild ();
11374 return 0;
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"; then :
11378 ac_cv_lib_xml2_xmlFirstElementChild=yes
11379 else
11380 ac_cv_lib_xml2_xmlFirstElementChild=no
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_lib_save_LIBS
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11387 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11388 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11390 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11394 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11396 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11398 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11402 else
11403 XML2_CFLAGS=""
11404 XML2_LIBS=""
11406 CPPFLAGS=$ac_save_CPPFLAGS
11407 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11408 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11411 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11412 case "x$with_xml" in
11413 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11414 xno) ;;
11415 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11416 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11417 esac
11421 if test "x$with_xslt" != "xno"
11422 then
11423 if ${XSLT_CFLAGS:+false} :; then :
11424 if ${PKG_CONFIG+:} false; then :
11425 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11428 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11429 if ${XSLT_LIBS:+false} :; then :
11430 if ${PKG_CONFIG+:} false; then :
11431 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11434 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11435 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11436 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11437 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11438 ac_save_CPPFLAGS=$CPPFLAGS
11439 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11440 for ac_header in libxslt/pattern.h libxslt/transform.h
11441 do :
11442 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11443 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11444 # include <libxslt/pattern.h>
11445 #endif
11447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11448 cat >>confdefs.h <<_ACEOF
11449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11450 _ACEOF
11454 done
11456 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11457 then
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11459 $as_echo_n "checking for -lxslt... " >&6; }
11460 if ${ac_cv_lib_soname_xslt+:} false; then :
11461 $as_echo_n "(cached) " >&6
11462 else
11463 ac_check_soname_save_LIBS=$LIBS
11464 LIBS="-lxslt $XSLT_LIBS $LIBS"
11465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11468 /* Override any GCC internal prototype to avoid an error.
11469 Use char because int might match the return type of a GCC
11470 builtin and then its argument prototype would still apply. */
11471 #ifdef __cplusplus
11472 extern "C"
11473 #endif
11474 char xsltCompilePattern ();
11476 main ()
11478 return xsltCompilePattern ();
11480 return 0;
11482 _ACEOF
11483 if ac_fn_c_try_link "$LINENO"; then :
11484 case "$LIBEXT" in
11485 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11486 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'` ;;
11487 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11488 if ${ac_cv_lib_soname_xslt:+false} :; then :
11489 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11490 fi ;;
11491 esac
11493 rm -f core conftest.err conftest.$ac_objext \
11494 conftest$ac_exeext conftest.$ac_ext
11495 LIBS=$ac_check_soname_save_LIBS
11497 if ${ac_cv_lib_soname_xslt:+false} :; then :
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11499 $as_echo "not found" >&6; }
11501 else
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11503 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11505 cat >>confdefs.h <<_ACEOF
11506 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11507 _ACEOF
11511 else
11512 XSLT_CFLAGS=""
11514 CPPFLAGS=$ac_save_CPPFLAGS
11515 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11516 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11519 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11520 case "x$with_xslt" in
11521 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11522 xno) ;;
11523 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11524 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11525 esac
11529 if test "x$with_dbus" != "xno"
11530 then
11531 if ${DBUS_CFLAGS:+false} :; then :
11532 if ${PKG_CONFIG+:} false; then :
11533 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11537 if ${DBUS_LIBS:+false} :; then :
11538 if ${PKG_CONFIG+:} false; then :
11539 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11544 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11545 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11546 ac_save_CPPFLAGS=$CPPFLAGS
11547 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11548 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11549 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11551 $as_echo_n "checking for -ldbus-1... " >&6; }
11552 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11553 $as_echo_n "(cached) " >&6
11554 else
11555 ac_check_soname_save_LIBS=$LIBS
11556 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11563 #ifdef __cplusplus
11564 extern "C"
11565 #endif
11566 char dbus_connection_close ();
11568 main ()
11570 return dbus_connection_close ();
11572 return 0;
11574 _ACEOF
11575 if ac_fn_c_try_link "$LINENO"; then :
11576 case "$LIBEXT" in
11577 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11578 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'` ;;
11579 *) 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'`
11580 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11581 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11582 fi ;;
11583 esac
11585 rm -f core conftest.err conftest.$ac_objext \
11586 conftest$ac_exeext conftest.$ac_ext
11587 LIBS=$ac_check_soname_save_LIBS
11589 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11591 $as_echo "not found" >&6; }
11592 DBUS_CFLAGS=""
11593 else
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11595 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11597 cat >>confdefs.h <<_ACEOF
11598 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11599 _ACEOF
11603 else
11604 DBUS_CFLAGS=""
11608 CPPFLAGS=$ac_save_CPPFLAGS
11609 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11610 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11613 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11614 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11615 case "x$with_dbus" in
11616 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11617 xno) ;;
11618 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11619 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11620 esac
11624 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11625 then
11626 if ${HAL_CFLAGS:+false} :; then :
11627 if ${PKG_CONFIG+:} false; then :
11628 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11632 if ${HAL_LIBS:+false} :; then :
11633 if ${PKG_CONFIG+:} false; then :
11634 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11638 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11639 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11640 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11641 ac_save_CPPFLAGS=$CPPFLAGS
11642 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11643 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11644 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11646 $as_echo_n "checking for -lhal... " >&6; }
11647 if ${ac_cv_lib_soname_hal+:} false; then :
11648 $as_echo_n "(cached) " >&6
11649 else
11650 ac_check_soname_save_LIBS=$LIBS
11651 LIBS="-lhal $HAL_LIBS $LIBS"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 char libhal_ctx_new ();
11663 main ()
11665 return libhal_ctx_new ();
11667 return 0;
11669 _ACEOF
11670 if ac_fn_c_try_link "$LINENO"; then :
11671 case "$LIBEXT" in
11672 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11673 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'` ;;
11674 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11675 if ${ac_cv_lib_soname_hal:+false} :; then :
11676 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11677 fi ;;
11678 esac
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_soname_save_LIBS
11684 if ${ac_cv_lib_soname_hal:+false} :; then :
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11686 $as_echo "not found" >&6; }
11687 HAL_CFLAGS=""
11688 else
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11690 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11692 cat >>confdefs.h <<_ACEOF
11693 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11694 _ACEOF
11698 else
11699 HAL_CFLAGS=""
11703 CPPFLAGS=$ac_save_CPPFLAGS
11704 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11705 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11707 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11708 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11709 case "x$with_hal" in
11710 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11711 xno) ;;
11712 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11713 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11714 esac
11719 if test "x$with_gnutls" != "xno"
11720 then
11721 if ${GNUTLS_CFLAGS:+false} :; then :
11722 if ${PKG_CONFIG+:} false; then :
11723 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11727 if ${GNUTLS_LIBS:+false} :; then :
11728 if ${PKG_CONFIG+:} false; then :
11729 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11734 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11735 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11736 ac_save_CPPFLAGS=$CPPFLAGS
11737 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11738 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11739 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11742 #include <gnutls/gnutls.h>
11743 #include <gnutls/crypto.h>
11745 main ()
11747 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_compile "$LINENO"; then :
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11754 $as_echo_n "checking for -lgnutls... " >&6; }
11755 if ${ac_cv_lib_soname_gnutls+:} false; then :
11756 $as_echo_n "(cached) " >&6
11757 else
11758 ac_check_soname_save_LIBS=$LIBS
11759 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11766 #ifdef __cplusplus
11767 extern "C"
11768 #endif
11769 char gnutls_global_init ();
11771 main ()
11773 return gnutls_global_init ();
11775 return 0;
11777 _ACEOF
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 case "$LIBEXT" in
11780 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11781 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'` ;;
11782 *) 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'`
11783 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11784 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'`
11785 fi ;;
11786 esac
11788 rm -f core conftest.err conftest.$ac_objext \
11789 conftest$ac_exeext conftest.$ac_ext
11790 LIBS=$ac_check_soname_save_LIBS
11792 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11794 $as_echo "not found" >&6; }
11795 GNUTLS_CFLAGS=""
11796 else
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11798 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11800 cat >>confdefs.h <<_ACEOF
11801 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11802 _ACEOF
11806 ac_wine_check_funcs_save_LIBS="$LIBS"
11807 LIBS="$LIBS $GNUTLS_LIBS"
11808 for ac_func in gnutls_cipher_init
11809 do :
11810 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11811 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11812 cat >>confdefs.h <<_ACEOF
11813 #define HAVE_GNUTLS_CIPHER_INIT 1
11814 _ACEOF
11816 else
11817 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11819 done
11821 LIBS="$ac_wine_check_funcs_save_LIBS"
11823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11824 else
11825 GNUTLS_CFLAGS=""
11829 CPPFLAGS=$ac_save_CPPFLAGS
11830 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11831 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11834 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11835 case "x$with_gnutls" in
11836 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11837 xno) ;;
11838 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11839 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11840 esac
11844 CURSES_LIBS=""
11845 if test "$ac_cv_header_ncurses_h" = "yes"
11846 then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11848 $as_echo_n "checking for -lncurses... " >&6; }
11849 if ${ac_cv_lib_soname_ncurses+:} false; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 ac_check_soname_save_LIBS=$LIBS
11853 LIBS="-lncurses $LIBS"
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11860 #ifdef __cplusplus
11861 extern "C"
11862 #endif
11863 char waddch ();
11865 main ()
11867 return waddch ();
11869 return 0;
11871 _ACEOF
11872 if ac_fn_c_try_link "$LINENO"; then :
11873 case "$LIBEXT" in
11874 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11875 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'` ;;
11876 *) 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'`
11877 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11878 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11879 fi ;;
11880 esac
11882 rm -f core conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_soname_save_LIBS
11886 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11888 $as_echo "not found" >&6; }
11890 else
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11892 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11894 cat >>confdefs.h <<_ACEOF
11895 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11896 _ACEOF
11898 CURSES_LIBS="-lncurses"
11900 elif test "$ac_cv_header_curses_h" = "yes"
11901 then
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11903 $as_echo_n "checking for -lcurses... " >&6; }
11904 if ${ac_cv_lib_soname_curses+:} false; then :
11905 $as_echo_n "(cached) " >&6
11906 else
11907 ac_check_soname_save_LIBS=$LIBS
11908 LIBS="-lcurses $LIBS"
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11912 /* Override any GCC internal prototype to avoid an error.
11913 Use char because int might match the return type of a GCC
11914 builtin and then its argument prototype would still apply. */
11915 #ifdef __cplusplus
11916 extern "C"
11917 #endif
11918 char waddch ();
11920 main ()
11922 return waddch ();
11924 return 0;
11926 _ACEOF
11927 if ac_fn_c_try_link "$LINENO"; then :
11928 case "$LIBEXT" in
11929 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11930 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'` ;;
11931 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11932 if ${ac_cv_lib_soname_curses:+false} :; then :
11933 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11934 fi ;;
11935 esac
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_soname_save_LIBS
11941 if ${ac_cv_lib_soname_curses:+false} :; then :
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11943 $as_echo "not found" >&6; }
11945 else
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11947 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11949 cat >>confdefs.h <<_ACEOF
11950 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11951 _ACEOF
11953 CURSES_LIBS="-lcurses"
11956 ac_save_LIBS="$LIBS"
11957 LIBS="$LIBS $CURSES_LIBS"
11958 for ac_func in mousemask
11959 do :
11960 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11961 if test "x$ac_cv_func_mousemask" = xyes; then :
11962 cat >>confdefs.h <<_ACEOF
11963 #define HAVE_MOUSEMASK 1
11964 _ACEOF
11967 done
11969 LIBS="$ac_save_LIBS"
11970 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11971 case "x$with_curses" in
11972 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11973 xno) ;;
11974 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11975 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11976 esac
11980 if test "x$with_sane" != "xno"
11981 then
11982 if ${SANE_CFLAGS:+false} :; then :
11983 if ${PKG_CONFIG+:} false; then :
11984 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11987 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11988 if ${SANE_LIBS:+false} :; then :
11989 if ${PKG_CONFIG+:} false; then :
11990 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11993 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11995 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11996 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11997 ac_save_CPPFLAGS=$CPPFLAGS
11998 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11999 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12000 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12002 $as_echo_n "checking for -lsane... " >&6; }
12003 if ${ac_cv_lib_soname_sane+:} false; then :
12004 $as_echo_n "(cached) " >&6
12005 else
12006 ac_check_soname_save_LIBS=$LIBS
12007 LIBS="-lsane $SANE_LIBS $LIBS"
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12011 /* Override any GCC internal prototype to avoid an error.
12012 Use char because int might match the return type of a GCC
12013 builtin and then its argument prototype would still apply. */
12014 #ifdef __cplusplus
12015 extern "C"
12016 #endif
12017 char sane_init ();
12019 main ()
12021 return sane_init ();
12023 return 0;
12025 _ACEOF
12026 if ac_fn_c_try_link "$LINENO"; then :
12027 case "$LIBEXT" in
12028 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12029 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'` ;;
12030 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12031 if ${ac_cv_lib_soname_sane:+false} :; then :
12032 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12033 fi ;;
12034 esac
12036 rm -f core conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_soname_save_LIBS
12040 if ${ac_cv_lib_soname_sane:+false} :; then :
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12042 $as_echo "not found" >&6; }
12043 SANE_CFLAGS=""
12044 else
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12046 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12048 cat >>confdefs.h <<_ACEOF
12049 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12050 _ACEOF
12054 else
12055 SANE_CFLAGS=""
12059 CPPFLAGS=$ac_save_CPPFLAGS
12060 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12061 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12064 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12065 case "x$with_sane" in
12066 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12067 xno) ;;
12068 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12069 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12070 esac
12074 if test "x$with_v4l" != "xno"
12075 then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12077 $as_echo_n "checking for -lv4l1... " >&6; }
12078 if ${ac_cv_lib_soname_v4l1+:} false; then :
12079 $as_echo_n "(cached) " >&6
12080 else
12081 ac_check_soname_save_LIBS=$LIBS
12082 LIBS="-lv4l1 $LIBS"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 #ifdef __cplusplus
12090 extern "C"
12091 #endif
12092 char v4l1_open ();
12094 main ()
12096 return v4l1_open ();
12098 return 0;
12100 _ACEOF
12101 if ac_fn_c_try_link "$LINENO"; then :
12102 case "$LIBEXT" in
12103 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12104 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'` ;;
12105 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12106 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12107 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12108 fi ;;
12109 esac
12111 rm -f core conftest.err conftest.$ac_objext \
12112 conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_soname_save_LIBS
12115 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12117 $as_echo "not found" >&6; }
12119 else
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12121 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12123 cat >>confdefs.h <<_ACEOF
12124 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12125 _ACEOF
12130 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12131 case "x$with_v4l" in
12132 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12133 xno) ;;
12134 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12135 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12136 esac
12140 if test "x$with_gphoto" != "xno"
12141 then
12142 if ${GPHOTO2_CFLAGS:+false} :; then :
12143 if ${PKG_CONFIG+:} false; then :
12144 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12147 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12148 if ${GPHOTO2_LIBS:+false} :; then :
12149 if ${PKG_CONFIG+:} false; then :
12150 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12153 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12154 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12155 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12156 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12157 ac_save_CPPFLAGS=$CPPFLAGS
12158 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12159 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12160 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12162 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12163 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 ac_check_lib_save_LIBS=$LIBS
12167 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char gp_camera_new ();
12179 main ()
12181 return gp_camera_new ();
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 ac_cv_lib_gphoto2_gp_camera_new=yes
12188 else
12189 ac_cv_lib_gphoto2_gp_camera_new=no
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_lib_save_LIBS
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12196 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12197 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12199 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12201 else
12202 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12205 else
12206 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12210 CPPFLAGS=$ac_save_CPPFLAGS
12211 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12212 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12214 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12215 if ${PKG_CONFIG+:} false; then :
12216 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12219 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12220 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12221 if ${PKG_CONFIG+:} false; then :
12222 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12225 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12226 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12227 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12228 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12229 ac_save_CPPFLAGS=$CPPFLAGS
12230 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12231 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12232 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12234 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12235 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_check_lib_save_LIBS=$LIBS
12239 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char gp_port_info_list_new ();
12251 main ()
12253 return gp_port_info_list_new ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12260 else
12261 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 LIBS=$ac_check_lib_save_LIBS
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12268 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12269 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12271 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12273 else
12274 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12277 else
12278 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12282 CPPFLAGS=$ac_save_CPPFLAGS
12283 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12284 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12287 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12288 case "x$with_gphoto" in
12289 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12290 xno) ;;
12291 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12292 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12293 esac
12296 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12297 case "x$with_gphoto" in
12298 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12299 xno) ;;
12300 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12301 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12302 esac
12307 if test "$ac_cv_header_resolv_h" = "yes"
12308 then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12310 $as_echo_n "checking for resolver library... " >&6; }
12311 if ${ac_cv_have_resolv+:} false; then :
12312 $as_echo_n "(cached) " >&6
12313 else
12314 ac_save_LIBS="$LIBS"
12315 for lib in '' -lresolv
12317 LIBS="$lib $ac_save_LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12320 #ifdef HAVE_NETINET_IN_H
12321 #include <netinet/in.h>
12322 #endif
12323 #include <resolv.h>
12325 main ()
12327 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12329 return 0;
12331 _ACEOF
12332 if ac_fn_c_try_link "$LINENO"; then :
12333 ac_cv_have_resolv=${lib:-"none required"}
12334 else
12335 ac_cv_have_resolv="not found"
12337 rm -f core conftest.err conftest.$ac_objext \
12338 conftest$ac_exeext conftest.$ac_ext
12339 test "x$ac_cv_have_resolv" = "xnot found" || break
12340 done
12341 LIBS="$ac_save_LIBS"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12344 $as_echo "$ac_cv_have_resolv" >&6; }
12346 case "$ac_cv_have_resolv" in
12347 "not found") ;;
12348 "none required")
12350 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12353 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12355 RESOLV_LIBS=$ac_cv_have_resolv
12357 esac
12360 if test "x$with_cms" != "xno"
12361 then
12362 if ${LCMS2_CFLAGS:+false} :; then :
12363 if ${PKG_CONFIG+:} false; then :
12364 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12368 if ${LCMS2_LIBS:+false} :; then :
12369 if ${PKG_CONFIG+:} false; then :
12370 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12374 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12375 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12376 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12377 ac_save_CPPFLAGS=$CPPFLAGS
12378 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12379 for ac_header in lcms2.h
12380 do :
12381 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12382 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12383 cat >>confdefs.h <<_ACEOF
12384 #define HAVE_LCMS2_H 1
12385 _ACEOF
12389 done
12391 if test "$ac_cv_header_lcms2_h" = "yes"
12392 then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12394 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12395 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12396 $as_echo_n "(cached) " >&6
12397 else
12398 ac_check_lib_save_LIBS=$LIBS
12399 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12403 /* Override any GCC internal prototype to avoid an error.
12404 Use char because int might match the return type of a GCC
12405 builtin and then its argument prototype would still apply. */
12406 #ifdef __cplusplus
12407 extern "C"
12408 #endif
12409 char cmsOpenProfileFromFile ();
12411 main ()
12413 return cmsOpenProfileFromFile ();
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_link "$LINENO"; then :
12419 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12420 else
12421 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_lib_save_LIBS
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12428 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12429 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12431 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12433 else
12434 LCMS2_LIBS=""
12437 else
12438 LCMS2_CFLAGS=""
12439 LCMS2_LIBS=""
12441 CPPFLAGS=$ac_save_CPPFLAGS
12442 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12443 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12446 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12447 case "x$with_cms" in
12448 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12449 xno) ;;
12450 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12451 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12452 esac
12456 if test "x$with_freetype" != "xno"
12457 then
12458 if ${FREETYPE_CFLAGS:+false} :; then :
12459 if ${PKG_CONFIG+:} false; then :
12460 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12463 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12464 if ${FREETYPE_LIBS:+false} :; then :
12465 if ${PKG_CONFIG+:} false; then :
12466 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12469 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12470 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12471 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12472 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12473 ac_save_CPPFLAGS=$CPPFLAGS
12474 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12475 for ac_header in ft2build.h
12476 do :
12477 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12478 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12479 cat >>confdefs.h <<_ACEOF
12480 #define HAVE_FT2BUILD_H 1
12481 _ACEOF
12485 done
12487 if test "$ac_cv_header_ft2build_h" = "yes"
12488 then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12490 $as_echo_n "checking for -lfreetype... " >&6; }
12491 if ${ac_cv_lib_soname_freetype+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_check_soname_save_LIBS=$LIBS
12495 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12502 #ifdef __cplusplus
12503 extern "C"
12504 #endif
12505 char FT_Init_FreeType ();
12507 main ()
12509 return FT_Init_FreeType ();
12511 return 0;
12513 _ACEOF
12514 if ac_fn_c_try_link "$LINENO"; then :
12515 case "$LIBEXT" in
12516 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12517 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'` ;;
12518 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12519 if ${ac_cv_lib_soname_freetype:+false} :; then :
12520 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12521 fi ;;
12522 esac
12524 rm -f core conftest.err conftest.$ac_objext \
12525 conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_soname_save_LIBS
12528 if ${ac_cv_lib_soname_freetype:+false} :; then :
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12530 $as_echo "not found" >&6; }
12531 FREETYPE_LIBS=""
12532 else
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12534 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12536 cat >>confdefs.h <<_ACEOF
12537 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12538 _ACEOF
12541 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12543 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12544 #include FT_MODULE_H
12546 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12548 cat >>confdefs.h <<_ACEOF
12549 #define HAVE_FT_TRUETYPEENGINETYPE 1
12550 _ACEOF
12556 else
12557 FREETYPE_CFLAGS=""
12558 FREETYPE_LIBS=""
12560 CPPFLAGS=$ac_save_CPPFLAGS
12561 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12562 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12565 if test "x$ac_cv_lib_soname_freetype" = x; then :
12566 case "x$with_freetype" in
12567 xno) ;;
12568 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12569 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12570 esac
12571 enable_fonts=${enable_fonts:-no}
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12575 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12576 if ${ac_cv_c_ppdev+:} false; then :
12577 $as_echo_n "(cached) " >&6
12578 else
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12581 #ifdef HAVE_SYS_IOCTL_H
12582 # include <sys/ioctl.h>
12583 #endif
12584 #include <linux/ppdev.h>
12586 main ()
12588 ioctl (1,PPCLAIM,0)
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_compile "$LINENO"; then :
12594 ac_cv_c_ppdev="yes"
12595 else
12596 ac_cv_c_ppdev="no"
12598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12601 $as_echo "$ac_cv_c_ppdev" >&6; }
12602 if test "$ac_cv_c_ppdev" = "yes"
12603 then
12605 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12609 ac_wine_check_funcs_save_LIBS="$LIBS"
12610 LIBS="$LIBS $PTHREAD_LIBS"
12611 for ac_func in \
12612 pthread_attr_get_np \
12613 pthread_getattr_np \
12614 pthread_getthreadid_np \
12615 pthread_get_stackaddr_np \
12616 pthread_get_stacksize_np
12617 do :
12618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12620 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12621 cat >>confdefs.h <<_ACEOF
12622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12623 _ACEOF
12626 done
12628 LIBS="$ac_wine_check_funcs_save_LIBS"
12630 if test "$ac_cv_header_zlib_h" = "yes"
12631 then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12633 $as_echo_n "checking for inflate in -lz... " >&6; }
12634 if ${ac_cv_lib_z_inflate+:} false; then :
12635 $as_echo_n "(cached) " >&6
12636 else
12637 ac_check_lib_save_LIBS=$LIBS
12638 LIBS="-lz $LIBS"
12639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12645 #ifdef __cplusplus
12646 extern "C"
12647 #endif
12648 char inflate ();
12650 main ()
12652 return inflate ();
12654 return 0;
12656 _ACEOF
12657 if ac_fn_c_try_link "$LINENO"; then :
12658 ac_cv_lib_z_inflate=yes
12659 else
12660 ac_cv_lib_z_inflate=no
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_lib_save_LIBS
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12667 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12668 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12670 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12672 Z_LIBS="-lz"
12677 if test "x$Z_LIBS" = "x"; then :
12678 case "x$with_zlib" in
12679 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12680 xno) ;;
12681 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12682 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12683 esac
12687 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12688 then
12689 if test "$ac_cv_header_gettext_po_h" = "yes"
12690 then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12692 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12693 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12694 $as_echo_n "(cached) " >&6
12695 else
12696 ac_check_lib_save_LIBS=$LIBS
12697 LIBS="-lgettextpo $LIBS"
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 /* Override any GCC internal prototype to avoid an error.
12702 Use char because int might match the return type of a GCC
12703 builtin and then its argument prototype would still apply. */
12704 #ifdef __cplusplus
12705 extern "C"
12706 #endif
12707 char po_message_msgctxt ();
12709 main ()
12711 return po_message_msgctxt ();
12713 return 0;
12715 _ACEOF
12716 if ac_fn_c_try_link "$LINENO"; then :
12717 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12718 else
12719 ac_cv_lib_gettextpo_po_message_msgctxt=no
12721 rm -f core conftest.err conftest.$ac_objext \
12722 conftest$ac_exeext conftest.$ac_ext
12723 LIBS=$ac_check_lib_save_LIBS
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12726 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12727 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12729 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12731 GETTEXTPO_LIBS="-lgettextpo"
12736 if test "x$GETTEXTPO_LIBS" = "x"; then :
12737 case "x$with_gettextpo" in
12738 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12739 xno) ;;
12740 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12741 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12742 esac
12745 if test "$srcdir" != .; then :
12746 case "x$with_gettextpo" in
12747 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12748 xno) ;;
12749 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12750 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12751 esac
12756 if test "x$with_pulse" != "xno";
12757 then
12758 if ${PULSE_CFLAGS:+false} :; then :
12759 if ${PKG_CONFIG+:} false; then :
12760 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12764 if ${PULSE_LIBS:+false} :; then :
12765 if ${PKG_CONFIG+:} false; then :
12766 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12771 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12772 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12773 ac_save_CPPFLAGS=$CPPFLAGS
12774 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12775 for ac_header in pulse/pulseaudio.h
12776 do :
12777 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12778 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12779 cat >>confdefs.h <<_ACEOF
12780 #define HAVE_PULSE_PULSEAUDIO_H 1
12781 _ACEOF
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12783 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12784 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12785 $as_echo_n "(cached) " >&6
12786 else
12787 ac_check_lib_save_LIBS=$LIBS
12788 LIBS="-lpulse $PULSE_LIBS $LIBS"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 /* Override any GCC internal prototype to avoid an error.
12793 Use char because int might match the return type of a GCC
12794 builtin and then its argument prototype would still apply. */
12795 #ifdef __cplusplus
12796 extern "C"
12797 #endif
12798 char pa_stream_is_corked ();
12800 main ()
12802 return pa_stream_is_corked ();
12804 return 0;
12806 _ACEOF
12807 if ac_fn_c_try_link "$LINENO"; then :
12808 ac_cv_lib_pulse_pa_stream_is_corked=yes
12809 else
12810 ac_cv_lib_pulse_pa_stream_is_corked=no
12812 rm -f core conftest.err conftest.$ac_objext \
12813 conftest$ac_exeext conftest.$ac_ext
12814 LIBS=$ac_check_lib_save_LIBS
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12817 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12818 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12820 else
12821 PULSE_LIBS=""
12824 else
12825 PULSE_LIBS=""
12828 done
12830 CPPFLAGS=$ac_save_CPPFLAGS
12831 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12832 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12835 if test -z "$PULSE_LIBS"; then :
12836 case "x$with_pulse" in
12837 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12838 xno) ;;
12839 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12840 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12841 esac
12842 enable_winepulse_drv=${enable_winepulse_drv:-no}
12845 if test "x$with_gstreamer" != "xno"
12846 then
12847 if ${GSTREAMER_CFLAGS:+false} :; then :
12848 if ${PKG_CONFIG+:} false; then :
12849 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12853 if ${GSTREAMER_LIBS:+false} :; then :
12854 if ${PKG_CONFIG+:} false; then :
12855 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12860 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12861 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12862 ac_save_CPPFLAGS=$CPPFLAGS
12863 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12864 ac_gst_incl=""
12865 for i in $GSTREAMER_CFLAGS
12867 case "$i" in
12868 -I*) ac_gst_incl="$ac_gst_incl $i";;
12869 esac
12870 done
12871 GSTREAMER_CFLAGS=$ac_gst_incl
12872 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12873 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12874 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12876 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12879 #include <gst/gst.h>
12881 main ()
12883 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12885 return 0;
12887 _ACEOF
12888 if ac_fn_c_try_compile "$LINENO"; then :
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12890 $as_echo "yes" >&6; }
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12892 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12893 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12894 $as_echo_n "(cached) " >&6
12895 else
12896 ac_check_lib_save_LIBS=$LIBS
12897 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12901 /* Override any GCC internal prototype to avoid an error.
12902 Use char because int might match the return type of a GCC
12903 builtin and then its argument prototype would still apply. */
12904 #ifdef __cplusplus
12905 extern "C"
12906 #endif
12907 char gst_pad_new ();
12909 main ()
12911 return gst_pad_new ();
12913 return 0;
12915 _ACEOF
12916 if ac_fn_c_try_link "$LINENO"; then :
12917 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12918 else
12919 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12921 rm -f core conftest.err conftest.$ac_objext \
12922 conftest$ac_exeext conftest.$ac_ext
12923 LIBS=$ac_check_lib_save_LIBS
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12926 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12927 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12931 else
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12933 $as_echo "no" >&6; }
12934 ac_glib2_broken=yes
12935 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12941 CPPFLAGS=$ac_save_CPPFLAGS
12942 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12943 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12946 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 :
12947 case "x$with_gstreamer" in
12948 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12949 xno) ;;
12950 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12951 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12952 esac
12955 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12957 ALSA_LIBS=""
12959 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12960 then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12962 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12963 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_check_lib_save_LIBS=$LIBS
12967 LIBS="-lasound $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 #endif
12977 char snd_pcm_hw_params_get_access_mask ();
12979 main ()
12981 return snd_pcm_hw_params_get_access_mask ();
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_link "$LINENO"; then :
12987 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12988 else
12989 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_lib_save_LIBS
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12996 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12997 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13000 #ifdef HAVE_ALSA_ASOUNDLIB_H
13001 #include <alsa/asoundlib.h>
13002 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13003 #include <sys/asoundlib.h>
13004 #endif
13006 main ()
13008 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13010 return 0;
13012 _ACEOF
13013 if ac_fn_c_try_compile "$LINENO"; then :
13014 ALSA_LIBS="-lasound"
13016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13020 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13022 if test "x$with_oss" != xno
13023 then
13024 ac_save_CPPFLAGS="$CPPFLAGS"
13025 if test -f /etc/oss.conf
13026 then
13027 . /etc/oss.conf
13029 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13030 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13031 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13032 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13033 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13035 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13037 cat >>confdefs.h <<_ACEOF
13038 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13039 _ACEOF
13041 OSS4_CFLAGS="$ac_oss_incl"
13048 CPPFLAGS="$ac_save_CPPFLAGS"
13050 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13051 case "x$with_oss" in
13052 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13053 xno) ;;
13054 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13055 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13056 esac
13057 enable_wineoss_drv=${enable_wineoss_drv:-no}
13060 if test "x$with_udev" != "xno"
13061 then
13062 if ${UDEV_CFLAGS:+false} :; then :
13063 if ${PKG_CONFIG+:} false; then :
13064 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13068 if ${UDEV_LIBS:+false} :; then :
13069 if ${PKG_CONFIG+:} false; then :
13070 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13074 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13075 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13076 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13077 ac_save_CPPFLAGS=$CPPFLAGS
13078 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13079 for ac_header in libudev.h
13080 do :
13081 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13082 if test "x$ac_cv_header_libudev_h" = xyes; then :
13083 cat >>confdefs.h <<_ACEOF
13084 #define HAVE_LIBUDEV_H 1
13085 _ACEOF
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13087 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13088 if ${ac_cv_lib_udev_udev_new+:} false; then :
13089 $as_echo_n "(cached) " >&6
13090 else
13091 ac_check_lib_save_LIBS=$LIBS
13092 LIBS="-ludev $UDEV_LIBS $LIBS"
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13099 #ifdef __cplusplus
13100 extern "C"
13101 #endif
13102 char udev_new ();
13104 main ()
13106 return udev_new ();
13108 return 0;
13110 _ACEOF
13111 if ac_fn_c_try_link "$LINENO"; then :
13112 ac_cv_lib_udev_udev_new=yes
13113 else
13114 ac_cv_lib_udev_udev_new=no
13116 rm -f core conftest.err conftest.$ac_objext \
13117 conftest$ac_exeext conftest.$ac_ext
13118 LIBS=$ac_check_lib_save_LIBS
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13121 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13122 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13124 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13126 else
13127 UDEV_LIBS=""
13130 else
13131 UDEV_LIBS=""
13134 done
13136 CPPFLAGS=$ac_save_CPPFLAGS
13137 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13138 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13141 if test "x$UDEV_LIBS" = "x"; then :
13142 case "x$with_udev" in
13143 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13144 xno) ;;
13145 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13146 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13147 esac
13151 if test "x$with_sdl" != "xno"
13152 then
13153 if ${SDL2_CFLAGS:+false} :; then :
13154 if ${PKG_CONFIG+:} false; then :
13155 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13159 if ${SDL2_LIBS:+false} :; then :
13160 if ${PKG_CONFIG+:} false; then :
13161 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13165 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13166 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13167 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13168 ac_save_CPPFLAGS=$CPPFLAGS
13169 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13170 for ac_header in SDL2/SDL.h
13171 do :
13172 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13173 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13174 cat >>confdefs.h <<_ACEOF
13175 #define HAVE_SDL2_SDL_H 1
13176 _ACEOF
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13178 $as_echo_n "checking for -lSDL2... " >&6; }
13179 if ${ac_cv_lib_soname_SDL2+:} false; then :
13180 $as_echo_n "(cached) " >&6
13181 else
13182 ac_check_soname_save_LIBS=$LIBS
13183 LIBS="-lSDL2 $LIBS"
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13187 /* Override any GCC internal prototype to avoid an error.
13188 Use char because int might match the return type of a GCC
13189 builtin and then its argument prototype would still apply. */
13190 #ifdef __cplusplus
13191 extern "C"
13192 #endif
13193 char SDL_Init ();
13195 main ()
13197 return SDL_Init ();
13199 return 0;
13201 _ACEOF
13202 if ac_fn_c_try_link "$LINENO"; then :
13203 case "$LIBEXT" in
13204 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13205 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'` ;;
13206 *) 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'`
13207 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13208 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13209 fi ;;
13210 esac
13212 rm -f core conftest.err conftest.$ac_objext \
13213 conftest$ac_exeext conftest.$ac_ext
13214 LIBS=$ac_check_soname_save_LIBS
13216 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13218 $as_echo "not found" >&6; }
13220 else
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13222 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13224 cat >>confdefs.h <<_ACEOF
13225 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13226 _ACEOF
13232 done
13234 CPPFLAGS=$ac_save_CPPFLAGS
13235 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13236 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13239 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13240 case "x$with_sdl" in
13241 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13242 xno) ;;
13243 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13244 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13245 esac
13249 if test "x$with_capi" != "xno"
13250 then
13251 if ${CAPI20_CFLAGS:+false} :; then :
13252 if ${PKG_CONFIG+:} false; then :
13253 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13257 if ${CAPI20_LIBS:+false} :; then :
13258 if ${PKG_CONFIG+:} false; then :
13259 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13264 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13265 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13266 ac_save_CPPFLAGS=$CPPFLAGS
13267 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13268 for ac_header in capi20.h linux/capi.h
13269 do :
13270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13271 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13273 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13274 cat >>confdefs.h <<_ACEOF
13275 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13276 _ACEOF
13280 done
13282 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13283 then
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13285 $as_echo_n "checking for -lcapi20... " >&6; }
13286 if ${ac_cv_lib_soname_capi20+:} false; then :
13287 $as_echo_n "(cached) " >&6
13288 else
13289 ac_check_soname_save_LIBS=$LIBS
13290 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13292 /* end confdefs.h. */
13294 /* Override any GCC internal prototype to avoid an error.
13295 Use char because int might match the return type of a GCC
13296 builtin and then its argument prototype would still apply. */
13297 #ifdef __cplusplus
13298 extern "C"
13299 #endif
13300 char capi20_register ();
13302 main ()
13304 return capi20_register ();
13306 return 0;
13308 _ACEOF
13309 if ac_fn_c_try_link "$LINENO"; then :
13310 case "$LIBEXT" in
13311 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13312 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'` ;;
13313 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13314 if ${ac_cv_lib_soname_capi20:+false} :; then :
13315 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13316 fi ;;
13317 esac
13319 rm -f core conftest.err conftest.$ac_objext \
13320 conftest$ac_exeext conftest.$ac_ext
13321 LIBS=$ac_check_soname_save_LIBS
13323 if ${ac_cv_lib_soname_capi20:+false} :; then :
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13325 $as_echo "not found" >&6; }
13327 else
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13329 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13331 cat >>confdefs.h <<_ACEOF
13332 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13333 _ACEOF
13338 CPPFLAGS=$ac_save_CPPFLAGS
13339 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13340 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13343 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13344 case "x$with_capi" in
13345 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13346 xno) ;;
13347 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13348 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13349 esac
13353 if test "x$with_cups" != "xno"
13354 then
13355 if ${CUPS_CFLAGS:+false} :; then :
13356 if ${PKG_CONFIG+:} false; then :
13357 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13360 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13361 if ${CUPS_LIBS:+false} :; then :
13362 if ${PKG_CONFIG+:} false; then :
13363 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13366 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13367 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13368 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13369 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13370 ac_save_CPPFLAGS=$CPPFLAGS
13371 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13372 for ac_header in cups/cups.h cups/ppd.h
13373 do :
13374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13375 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13376 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13377 cat >>confdefs.h <<_ACEOF
13378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13379 _ACEOF
13383 done
13385 if test "$ac_cv_header_cups_cups_h" = "yes"
13386 then
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13388 $as_echo_n "checking for -lcups... " >&6; }
13389 if ${ac_cv_lib_soname_cups+:} false; then :
13390 $as_echo_n "(cached) " >&6
13391 else
13392 ac_check_soname_save_LIBS=$LIBS
13393 LIBS="-lcups $CUPS_LIBS $LIBS"
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13400 #ifdef __cplusplus
13401 extern "C"
13402 #endif
13403 char cupsGetDefault ();
13405 main ()
13407 return cupsGetDefault ();
13409 return 0;
13411 _ACEOF
13412 if ac_fn_c_try_link "$LINENO"; then :
13413 case "$LIBEXT" in
13414 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13415 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'` ;;
13416 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13417 if ${ac_cv_lib_soname_cups:+false} :; then :
13418 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13419 fi ;;
13420 esac
13422 rm -f core conftest.err conftest.$ac_objext \
13423 conftest$ac_exeext conftest.$ac_ext
13424 LIBS=$ac_check_soname_save_LIBS
13426 if ${ac_cv_lib_soname_cups:+false} :; then :
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13428 $as_echo "not found" >&6; }
13429 CUPS_LIBS=""
13430 else
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13432 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13434 cat >>confdefs.h <<_ACEOF
13435 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13436 _ACEOF
13440 else
13441 CUPS_CFLAGS=""
13442 CUPS_LIBS=""
13444 CPPFLAGS=$ac_save_CPPFLAGS
13445 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13446 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13449 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13450 case "x$with_cups" in
13451 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13452 xno) ;;
13453 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13454 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13455 esac
13459 if test "x$with_fontconfig" != "xno"
13460 then
13461 if ${FONTCONFIG_CFLAGS:+false} :; then :
13462 if ${PKG_CONFIG+:} false; then :
13463 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13466 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13467 if ${FONTCONFIG_LIBS:+false} :; then :
13468 if ${PKG_CONFIG+:} false; then :
13469 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13472 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13474 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13475 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13476 ac_save_CPPFLAGS=$CPPFLAGS
13477 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13478 for ac_header in fontconfig/fontconfig.h
13479 do :
13480 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13481 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13482 cat >>confdefs.h <<_ACEOF
13483 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13484 _ACEOF
13488 done
13490 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13491 then
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13493 $as_echo_n "checking for -lfontconfig... " >&6; }
13494 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13495 $as_echo_n "(cached) " >&6
13496 else
13497 ac_check_soname_save_LIBS=$LIBS
13498 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13500 /* end confdefs.h. */
13502 /* Override any GCC internal prototype to avoid an error.
13503 Use char because int might match the return type of a GCC
13504 builtin and then its argument prototype would still apply. */
13505 #ifdef __cplusplus
13506 extern "C"
13507 #endif
13508 char FcInit ();
13510 main ()
13512 return FcInit ();
13514 return 0;
13516 _ACEOF
13517 if ac_fn_c_try_link "$LINENO"; then :
13518 case "$LIBEXT" in
13519 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13520 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'` ;;
13521 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13522 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13523 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13524 fi ;;
13525 esac
13527 rm -f core conftest.err conftest.$ac_objext \
13528 conftest$ac_exeext conftest.$ac_ext
13529 LIBS=$ac_check_soname_save_LIBS
13531 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13533 $as_echo "not found" >&6; }
13534 FONTCONFIG_CFLAGS=""
13535 else
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13537 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13539 cat >>confdefs.h <<_ACEOF
13540 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13541 _ACEOF
13545 else
13546 FONTCONFIG_CFLAGS=""
13548 CPPFLAGS=$ac_save_CPPFLAGS
13549 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13550 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13553 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13554 case "x$with_fontconfig" in
13555 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13556 xno) ;;
13557 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13558 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13559 esac
13563 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13564 then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13566 $as_echo_n "checking for -lgsm... " >&6; }
13567 if ${ac_cv_lib_soname_gsm+:} false; then :
13568 $as_echo_n "(cached) " >&6
13569 else
13570 ac_check_soname_save_LIBS=$LIBS
13571 LIBS="-lgsm $LIBS"
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13575 /* Override any GCC internal prototype to avoid an error.
13576 Use char because int might match the return type of a GCC
13577 builtin and then its argument prototype would still apply. */
13578 #ifdef __cplusplus
13579 extern "C"
13580 #endif
13581 char gsm_create ();
13583 main ()
13585 return gsm_create ();
13587 return 0;
13589 _ACEOF
13590 if ac_fn_c_try_link "$LINENO"; then :
13591 case "$LIBEXT" in
13592 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13593 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'` ;;
13594 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13595 if ${ac_cv_lib_soname_gsm:+false} :; then :
13596 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13597 fi ;;
13598 esac
13600 rm -f core conftest.err conftest.$ac_objext \
13601 conftest$ac_exeext conftest.$ac_ext
13602 LIBS=$ac_check_soname_save_LIBS
13604 if ${ac_cv_lib_soname_gsm:+false} :; then :
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13606 $as_echo "not found" >&6; }
13608 else
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13610 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13612 cat >>confdefs.h <<_ACEOF
13613 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13614 _ACEOF
13619 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13620 case "x$with_gsm" in
13621 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13622 xno) ;;
13623 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13624 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13625 esac
13629 if test "x$with_krb5" != "xno"
13630 then
13631 if ${KRB5_CFLAGS:+false} :; then :
13632 if ${PKG_CONFIG+:} false; then :
13633 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13636 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13637 if ${KRB5_LIBS:+false} :; then :
13638 if ${PKG_CONFIG+:} false; then :
13639 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13642 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13644 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13645 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13646 ac_save_CPPFLAGS=$CPPFLAGS
13647 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13648 for ac_header in krb5/krb5.h
13649 do :
13650 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13651 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13652 cat >>confdefs.h <<_ACEOF
13653 #define HAVE_KRB5_KRB5_H 1
13654 _ACEOF
13658 done
13660 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13661 then
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13663 $as_echo_n "checking for -lkrb5... " >&6; }
13664 if ${ac_cv_lib_soname_krb5+:} false; then :
13665 $as_echo_n "(cached) " >&6
13666 else
13667 ac_check_soname_save_LIBS=$LIBS
13668 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670 /* end confdefs.h. */
13672 /* Override any GCC internal prototype to avoid an error.
13673 Use char because int might match the return type of a GCC
13674 builtin and then its argument prototype would still apply. */
13675 #ifdef __cplusplus
13676 extern "C"
13677 #endif
13678 char krb5_init_context ();
13680 main ()
13682 return krb5_init_context ();
13684 return 0;
13686 _ACEOF
13687 if ac_fn_c_try_link "$LINENO"; then :
13688 case "$LIBEXT" in
13689 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13690 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'` ;;
13691 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13692 if ${ac_cv_lib_soname_krb5:+false} :; then :
13693 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13694 fi ;;
13695 esac
13697 rm -f core conftest.err conftest.$ac_objext \
13698 conftest$ac_exeext conftest.$ac_ext
13699 LIBS=$ac_check_soname_save_LIBS
13701 if ${ac_cv_lib_soname_krb5:+false} :; then :
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13703 $as_echo "not found" >&6; }
13704 KRB5_CFLAGS=""
13705 else
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13707 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13709 cat >>confdefs.h <<_ACEOF
13710 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13711 _ACEOF
13715 else
13716 KRB5_CFLAGS=""
13718 CPPFLAGS=$ac_save_CPPFLAGS
13719 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13720 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13723 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13724 case "x$with_krb5" in
13725 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13726 xno) ;;
13727 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13728 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13729 esac
13733 if test "x$with_gssapi" != "xno"
13734 then
13735 if ${GSSAPI_CFLAGS:+false} :; then :
13736 if ${PKG_CONFIG+:} false; then :
13737 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13740 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13741 if ${GSSAPI_LIBS:+false} :; then :
13742 if ${PKG_CONFIG+:} false; then :
13743 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13746 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13748 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13749 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13750 ac_save_CPPFLAGS=$CPPFLAGS
13751 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13752 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13753 do :
13754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13755 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13756 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13757 cat >>confdefs.h <<_ACEOF
13758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13759 _ACEOF
13763 done
13765 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13766 then
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13768 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13769 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13770 $as_echo_n "(cached) " >&6
13771 else
13772 ac_check_soname_save_LIBS=$LIBS
13773 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13777 /* Override any GCC internal prototype to avoid an error.
13778 Use char because int might match the return type of a GCC
13779 builtin and then its argument prototype would still apply. */
13780 #ifdef __cplusplus
13781 extern "C"
13782 #endif
13783 char gss_init_sec_context ();
13785 main ()
13787 return gss_init_sec_context ();
13789 return 0;
13791 _ACEOF
13792 if ac_fn_c_try_link "$LINENO"; then :
13793 case "$LIBEXT" in
13794 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13795 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'` ;;
13796 *) 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'`
13797 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13798 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13799 fi ;;
13800 esac
13802 rm -f core conftest.err conftest.$ac_objext \
13803 conftest$ac_exeext conftest.$ac_ext
13804 LIBS=$ac_check_soname_save_LIBS
13806 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13808 $as_echo "not found" >&6; }
13809 GSSAPI_CFLAGS=""
13810 else
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13812 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13814 cat >>confdefs.h <<_ACEOF
13815 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13816 _ACEOF
13820 else
13821 GSSAPI_CFLAGS=""
13823 CPPFLAGS=$ac_save_CPPFLAGS
13824 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13825 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13828 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13829 case "x$with_gssapi" in
13830 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13831 xno) ;;
13832 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13833 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13834 esac
13838 if test "x$with_jpeg" != "xno"
13839 then
13840 if ${JPEG_CFLAGS:+false} :; then :
13841 if ${PKG_CONFIG+:} false; then :
13842 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13846 if ${JPEG_LIBS:+false} :; then :
13847 if ${PKG_CONFIG+:} false; then :
13848 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13853 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13854 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13855 ac_save_CPPFLAGS=$CPPFLAGS
13856 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13857 for ac_header in jpeglib.h
13858 do :
13859 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13860 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13861 cat >>confdefs.h <<_ACEOF
13862 #define HAVE_JPEGLIB_H 1
13863 _ACEOF
13867 done
13869 if test "$ac_cv_header_jpeglib_h" = "yes"
13870 then
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13872 $as_echo_n "checking for -ljpeg... " >&6; }
13873 if ${ac_cv_lib_soname_jpeg+:} false; then :
13874 $as_echo_n "(cached) " >&6
13875 else
13876 ac_check_soname_save_LIBS=$LIBS
13877 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13881 /* Override any GCC internal prototype to avoid an error.
13882 Use char because int might match the return type of a GCC
13883 builtin and then its argument prototype would still apply. */
13884 #ifdef __cplusplus
13885 extern "C"
13886 #endif
13887 char jpeg_start_decompress ();
13889 main ()
13891 return jpeg_start_decompress ();
13893 return 0;
13895 _ACEOF
13896 if ac_fn_c_try_link "$LINENO"; then :
13897 case "$LIBEXT" in
13898 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13899 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'` ;;
13900 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13901 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13902 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13903 fi ;;
13904 esac
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_soname_save_LIBS
13910 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13912 $as_echo "not found" >&6; }
13913 JPEG_CFLAGS=""
13914 else
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13916 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13918 cat >>confdefs.h <<_ACEOF
13919 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13920 _ACEOF
13924 else
13925 JPEG_CFLAGS=""
13927 CPPFLAGS=$ac_save_CPPFLAGS
13928 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13929 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13932 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13933 case "x$with_jpeg" in
13934 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13935 xno) ;;
13936 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13937 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13938 esac
13942 if test "x$with_png" != "xno"
13943 then
13944 if ${PNG_CFLAGS:+false} :; then :
13945 if ${PKG_CONFIG+:} false; then :
13946 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13949 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13950 if ${PNG_LIBS:+false} :; then :
13951 if ${PKG_CONFIG+:} false; then :
13952 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13955 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13957 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13958 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13959 ac_save_CPPFLAGS=$CPPFLAGS
13960 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13961 for ac_header in png.h
13962 do :
13963 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13964 if test "x$ac_cv_header_png_h" = xyes; then :
13965 cat >>confdefs.h <<_ACEOF
13966 #define HAVE_PNG_H 1
13967 _ACEOF
13971 done
13973 if test "$ac_cv_header_png_h" = "yes"
13974 then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13976 $as_echo_n "checking for -lpng... " >&6; }
13977 if ${ac_cv_lib_soname_png+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 ac_check_soname_save_LIBS=$LIBS
13981 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 /* Override any GCC internal prototype to avoid an error.
13986 Use char because int might match the return type of a GCC
13987 builtin and then its argument prototype would still apply. */
13988 #ifdef __cplusplus
13989 extern "C"
13990 #endif
13991 char png_create_read_struct ();
13993 main ()
13995 return png_create_read_struct ();
13997 return 0;
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"; then :
14001 case "$LIBEXT" in
14002 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14003 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'` ;;
14004 *) 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'`
14005 if ${ac_cv_lib_soname_png:+false} :; then :
14006 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14007 fi ;;
14008 esac
14010 rm -f core conftest.err conftest.$ac_objext \
14011 conftest$ac_exeext conftest.$ac_ext
14012 LIBS=$ac_check_soname_save_LIBS
14014 if ${ac_cv_lib_soname_png:+false} :; then :
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14016 $as_echo "not found" >&6; }
14017 PNG_CFLAGS=""
14018 else
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14020 $as_echo "$ac_cv_lib_soname_png" >&6; }
14022 cat >>confdefs.h <<_ACEOF
14023 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14024 _ACEOF
14028 else
14029 PNG_CFLAGS=""
14031 CPPFLAGS=$ac_save_CPPFLAGS
14032 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14033 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14036 if test "x$ac_cv_lib_soname_png" = "x"; then :
14037 case "x$with_png" in
14038 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14039 xno) ;;
14040 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14041 This is an error since --with-png was requested." "$LINENO" 5 ;;
14042 esac
14046 if test "x$with_tiff" != "xno"
14047 then
14048 if ${TIFF_CFLAGS:+false} :; then :
14049 if ${PKG_CONFIG+:} false; then :
14050 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14054 if ${TIFF_LIBS:+false} :; then :
14055 if ${PKG_CONFIG+:} false; then :
14056 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14061 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14063 ac_save_CPPFLAGS=$CPPFLAGS
14064 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14065 for ac_header in tiffio.h
14066 do :
14067 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14068 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14069 cat >>confdefs.h <<_ACEOF
14070 #define HAVE_TIFFIO_H 1
14071 _ACEOF
14075 done
14077 if test "$ac_cv_header_tiffio_h" = "yes"
14078 then
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14080 $as_echo_n "checking for -ltiff... " >&6; }
14081 if ${ac_cv_lib_soname_tiff+:} false; then :
14082 $as_echo_n "(cached) " >&6
14083 else
14084 ac_check_soname_save_LIBS=$LIBS
14085 LIBS="-ltiff $TIFF_LIBS $LIBS"
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14089 /* Override any GCC internal prototype to avoid an error.
14090 Use char because int might match the return type of a GCC
14091 builtin and then its argument prototype would still apply. */
14092 #ifdef __cplusplus
14093 extern "C"
14094 #endif
14095 char TIFFClientOpen ();
14097 main ()
14099 return TIFFClientOpen ();
14101 return 0;
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"; then :
14105 case "$LIBEXT" in
14106 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14107 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'` ;;
14108 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14109 if ${ac_cv_lib_soname_tiff:+false} :; then :
14110 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14111 fi ;;
14112 esac
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LIBS=$ac_check_soname_save_LIBS
14118 if ${ac_cv_lib_soname_tiff:+false} :; then :
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14120 $as_echo "not found" >&6; }
14122 else
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14124 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14126 cat >>confdefs.h <<_ACEOF
14127 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14128 _ACEOF
14133 CPPFLAGS=$ac_save_CPPFLAGS
14134 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14135 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14138 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14139 case "x$with_tiff" in
14140 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14141 xno) ;;
14142 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14143 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14144 esac
14148 if test "x$with_mpg123" != "xno"
14149 then
14150 if ${MPG123_CFLAGS:+false} :; then :
14151 if ${PKG_CONFIG+:} false; then :
14152 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14156 if ${MPG123_LIBS:+false} :; then :
14157 if ${PKG_CONFIG+:} false; then :
14158 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14162 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14163 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14164 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14165 ac_save_CPPFLAGS=$CPPFLAGS
14166 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14167 for ac_header in mpg123.h
14168 do :
14169 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14170 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14171 cat >>confdefs.h <<_ACEOF
14172 #define HAVE_MPG123_H 1
14173 _ACEOF
14177 done
14179 if test "$ac_cv_header_mpg123_h" = "yes"
14180 then
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14182 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14183 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 ac_check_lib_save_LIBS=$LIBS
14187 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14191 /* Override any GCC internal prototype to avoid an error.
14192 Use char because int might match the return type of a GCC
14193 builtin and then its argument prototype would still apply. */
14194 #ifdef __cplusplus
14195 extern "C"
14196 #endif
14197 char mpg123_feed ();
14199 main ()
14201 return mpg123_feed ();
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"; then :
14207 ac_cv_lib_mpg123_mpg123_feed=yes
14208 else
14209 ac_cv_lib_mpg123_mpg123_feed=no
14211 rm -f core conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14213 LIBS=$ac_check_lib_save_LIBS
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14216 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14217 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14219 else
14220 MPG123_LIBS=""
14223 else
14224 MPG123_CFLAGS=""
14225 MPG123_LIBS=""
14227 CPPFLAGS=$ac_save_CPPFLAGS
14228 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14229 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14232 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14233 case "x$with_mpg123" in
14234 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14235 xno) ;;
14236 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14237 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14238 esac
14239 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14242 if test "$ac_cv_header_AL_al_h" = "yes"
14243 then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14245 $as_echo_n "checking for -lopenal... " >&6; }
14246 if ${ac_cv_lib_soname_openal+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 ac_check_soname_save_LIBS=$LIBS
14250 LIBS="-lopenal $LIBS"
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14257 #ifdef __cplusplus
14258 extern "C"
14259 #endif
14260 char alGetSource3i ();
14262 main ()
14264 return alGetSource3i ();
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 case "$LIBEXT" in
14271 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14272 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'` ;;
14273 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14274 if ${ac_cv_lib_soname_openal:+false} :; then :
14275 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14276 fi ;;
14277 esac
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14281 LIBS=$ac_check_soname_save_LIBS
14283 if ${ac_cv_lib_soname_openal:+false} :; then :
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14285 $as_echo "not found" >&6; }
14287 else
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14289 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14291 cat >>confdefs.h <<_ACEOF
14292 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14293 _ACEOF
14295 OPENAL_LIBS="-lopenal"
14297 ac_cv_lib_openal=yes
14299 cat >>confdefs.h <<_ACEOF
14300 #define HAVE_OPENAL 1
14301 _ACEOF
14305 if test "x$ac_cv_lib_openal" != xyes; then :
14306 case "x$with_openal" in
14307 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14308 xno) ;;
14309 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14310 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14311 esac
14312 enable_openal32=${enable_openal32:-no}
14315 if test "x$ac_cv_lib_openal" = xyes
14316 then
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14318 $as_echo_n "checking for openal-soft... " >&6; }
14319 if ${ac_cv_have_openalsoft+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14324 #include <AL/al.h>
14325 #include <AL/alc.h>
14326 #include <AL/alext.h>
14327 LPALCRENDERSAMPLESSOFT x;
14329 main ()
14333 return 0;
14335 _ACEOF
14336 if ac_fn_c_try_compile "$LINENO"; then :
14337 ac_cv_have_openalsoft=yes
14338 else
14339 ac_cv_have_openalsoft=no
14341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14344 $as_echo "$ac_cv_have_openalsoft" >&6; }
14346 if test "x$ac_cv_have_openalsoft" != xyes
14347 then
14348 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14349 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14350 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14351 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14352 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14353 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14354 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14355 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14356 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14357 enable_xapofx1_1=${enable_xapofx1_1:-no}
14358 enable_xapofx1_2=${enable_xapofx1_2:-no}
14359 enable_xapofx1_3=${enable_xapofx1_3:-no}
14360 enable_xapofx1_4=${enable_xapofx1_4:-no}
14361 enable_xapofx1_5=${enable_xapofx1_5:-no}
14362 enable_xaudio2_0=${enable_xaudio2_0:-no}
14363 enable_xaudio2_1=${enable_xaudio2_1:-no}
14364 enable_xaudio2_2=${enable_xaudio2_2:-no}
14365 enable_xaudio2_3=${enable_xaudio2_3:-no}
14366 enable_xaudio2_4=${enable_xaudio2_4:-no}
14367 enable_xaudio2_5=${enable_xaudio2_5:-no}
14368 enable_xaudio2_6=${enable_xaudio2_6:-no}
14369 enable_xaudio2_7=${enable_xaudio2_7:-no}
14370 enable_xaudio2_8=${enable_xaudio2_8:-no}
14371 enable_xaudio2_9=${enable_xaudio2_9:-no}
14374 if test "$ac_cv_header_kstat_h" = "yes"
14375 then
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14377 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14378 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14379 $as_echo_n "(cached) " >&6
14380 else
14381 ac_check_lib_save_LIBS=$LIBS
14382 LIBS="-lkstat $LIBS"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14386 /* Override any GCC internal prototype to avoid an error.
14387 Use char because int might match the return type of a GCC
14388 builtin and then its argument prototype would still apply. */
14389 #ifdef __cplusplus
14390 extern "C"
14391 #endif
14392 char kstat_open ();
14394 main ()
14396 return kstat_open ();
14398 return 0;
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"; then :
14402 ac_cv_lib_kstat_kstat_open=yes
14403 else
14404 ac_cv_lib_kstat_kstat_open=no
14406 rm -f core conftest.err conftest.$ac_objext \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_check_lib_save_LIBS
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14411 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14412 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14414 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14416 KSTAT_LIBS="-lkstat"
14422 if test "$ac_cv_header_libprocstat_h" = "yes"
14423 then
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14425 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14426 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14427 $as_echo_n "(cached) " >&6
14428 else
14429 ac_check_lib_save_LIBS=$LIBS
14430 LIBS="-lprocstat $LIBS"
14431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14434 /* Override any GCC internal prototype to avoid an error.
14435 Use char because int might match the return type of a GCC
14436 builtin and then its argument prototype would still apply. */
14437 #ifdef __cplusplus
14438 extern "C"
14439 #endif
14440 char procstat_open_sysctl ();
14442 main ()
14444 return procstat_open_sysctl ();
14446 return 0;
14448 _ACEOF
14449 if ac_fn_c_try_link "$LINENO"; then :
14450 ac_cv_lib_procstat_procstat_open_sysctl=yes
14451 else
14452 ac_cv_lib_procstat_procstat_open_sysctl=no
14454 rm -f core conftest.err conftest.$ac_objext \
14455 conftest$ac_exeext conftest.$ac_ext
14456 LIBS=$ac_check_lib_save_LIBS
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14459 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14460 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14462 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14464 PROCSTAT_LIBS="-lprocstat"
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14471 $as_echo_n "checking for -lodbc... " >&6; }
14472 if ${ac_cv_lib_soname_odbc+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 ac_check_soname_save_LIBS=$LIBS
14476 LIBS="-lodbc $LIBS"
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14480 /* Override any GCC internal prototype to avoid an error.
14481 Use char because int might match the return type of a GCC
14482 builtin and then its argument prototype would still apply. */
14483 #ifdef __cplusplus
14484 extern "C"
14485 #endif
14486 char SQLConnect ();
14488 main ()
14490 return SQLConnect ();
14492 return 0;
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 case "$LIBEXT" in
14497 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14498 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'` ;;
14499 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14500 if ${ac_cv_lib_soname_odbc:+false} :; then :
14501 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14502 fi ;;
14503 esac
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_soname_save_LIBS
14509 if ${ac_cv_lib_soname_odbc:+false} :; then :
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14511 $as_echo "not found" >&6; }
14512 cat >>confdefs.h <<_ACEOF
14513 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14514 _ACEOF
14516 else
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14518 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14520 cat >>confdefs.h <<_ACEOF
14521 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14522 _ACEOF
14527 if test "x$with_netapi" != "xno"
14528 then
14529 if ${NETAPI_CFLAGS:+false} :; then :
14530 if ${PKG_CONFIG+:} false; then :
14531 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14535 if ${NETAPI_LIBS:+false} :; then :
14536 if ${PKG_CONFIG+:} false; then :
14537 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14542 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14543 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14544 ac_save_CPPFLAGS=$CPPFLAGS
14545 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14547 $as_echo_n "checking for -lnetapi... " >&6; }
14548 if ${ac_cv_lib_soname_netapi+:} false; then :
14549 $as_echo_n "(cached) " >&6
14550 else
14551 ac_check_soname_save_LIBS=$LIBS
14552 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14556 /* Override any GCC internal prototype to avoid an error.
14557 Use char because int might match the return type of a GCC
14558 builtin and then its argument prototype would still apply. */
14559 #ifdef __cplusplus
14560 extern "C"
14561 #endif
14562 char libnetapi_init ();
14564 main ()
14566 return libnetapi_init ();
14568 return 0;
14570 _ACEOF
14571 if ac_fn_c_try_link "$LINENO"; then :
14572 case "$LIBEXT" in
14573 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14574 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'` ;;
14575 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14576 if ${ac_cv_lib_soname_netapi:+false} :; then :
14577 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14578 fi ;;
14579 esac
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14583 LIBS=$ac_check_soname_save_LIBS
14585 if ${ac_cv_lib_soname_netapi:+false} :; then :
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14587 $as_echo "not found" >&6; }
14588 cat >>confdefs.h <<_ACEOF
14589 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14590 _ACEOF
14592 else
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14594 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14596 cat >>confdefs.h <<_ACEOF
14597 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14598 _ACEOF
14602 CPPFLAGS=$ac_save_CPPFLAGS
14603 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14604 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14608 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14609 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14610 then
14611 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14614 if test "x$with_vulkan" != "xno"
14615 then
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14617 $as_echo_n "checking for -lvulkan... " >&6; }
14618 if ${ac_cv_lib_soname_vulkan+:} false; then :
14619 $as_echo_n "(cached) " >&6
14620 else
14621 ac_check_soname_save_LIBS=$LIBS
14622 LIBS="-lvulkan $LIBS"
14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14626 /* Override any GCC internal prototype to avoid an error.
14627 Use char because int might match the return type of a GCC
14628 builtin and then its argument prototype would still apply. */
14629 #ifdef __cplusplus
14630 extern "C"
14631 #endif
14632 char vkGetInstanceProcAddr ();
14634 main ()
14636 return vkGetInstanceProcAddr ();
14638 return 0;
14640 _ACEOF
14641 if ac_fn_c_try_link "$LINENO"; then :
14642 case "$LIBEXT" in
14643 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14644 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'` ;;
14645 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14646 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14647 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14648 fi ;;
14649 esac
14651 rm -f core conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext conftest.$ac_ext
14653 LIBS=$ac_check_soname_save_LIBS
14655 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14657 $as_echo "not found" >&6; }
14659 else
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14661 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14663 cat >>confdefs.h <<_ACEOF
14664 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14665 _ACEOF
14670 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14671 case "x$with_vulkan" in
14672 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14673 xno) ;;
14674 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14675 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14676 esac
14681 EXTRACFLAGS=""
14683 if test "x${GCC}" = "xyes"
14684 then
14685 EXTRACFLAGS="-Wall -pipe"
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14688 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14689 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14690 $as_echo_n "(cached) " >&6
14691 else
14692 if test "$cross_compiling" = yes; then :
14693 ac_cv_c_gcc_strength_bug="no"
14694 else
14695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14696 /* end confdefs.h. */
14697 int L[4] = {0,1,2,3};
14699 main ()
14701 static int Array[3];
14702 unsigned int B = 3;
14703 int i;
14704 for(i=0; i<B; i++) Array[i] = i - 3;
14705 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14706 L[i] = 4;
14707 return (Array[1] != -2 || L[2] != 3)
14709 return 0;
14711 _ACEOF
14712 if ac_fn_c_try_run "$LINENO"; then :
14713 ac_cv_c_gcc_strength_bug="no"
14714 else
14715 ac_cv_c_gcc_strength_bug="yes"
14717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14718 conftest.$ac_objext conftest.beam conftest.$ac_ext
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14723 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14724 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14725 then
14726 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14730 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14731 if ${ac_cv_cflags__fno_builtin+:} false; then :
14732 $as_echo_n "(cached) " >&6
14733 else
14734 ac_wine_try_cflags_saved=$CFLAGS
14735 CFLAGS="$CFLAGS -fno-builtin"
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14738 int main(int argc, char **argv) { return 0; }
14739 _ACEOF
14740 if ac_fn_c_try_link "$LINENO"; then :
14741 ac_cv_cflags__fno_builtin=yes
14742 else
14743 ac_cv_cflags__fno_builtin=no
14745 rm -f core conftest.err conftest.$ac_objext \
14746 conftest$ac_exeext conftest.$ac_ext
14747 CFLAGS=$ac_wine_try_cflags_saved
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14750 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14751 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14752 BUILTINFLAG="-fno-builtin"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14756 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14757 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 ac_wine_try_cflags_saved=$CFLAGS
14761 CFLAGS="$CFLAGS -fno-strict-aliasing"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 int main(int argc, char **argv) { return 0; }
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_cflags__fno_strict_aliasing=yes
14768 else
14769 ac_cv_cflags__fno_strict_aliasing=no
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 CFLAGS=$ac_wine_try_cflags_saved
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14776 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14777 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14778 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14781 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14782 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_wine_try_cflags_saved=$CFLAGS
14786 CFLAGS="$CFLAGS -fexcess-precision=standard"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14790 _ACEOF
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_cflags__fexcess_precision_standard=yes
14793 else
14794 ac_cv_cflags__fexcess_precision_standard=no
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14798 CFLAGS=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14801 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14802 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14803 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14806 saved_CFLAGS=$CFLAGS
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14808 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14809 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_wine_try_cflags_saved=$CFLAGS
14813 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14816 int main(int argc, char **argv) { return 0; }
14817 _ACEOF
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_cflags__Werror_unknown_warning_option=yes
14820 else
14821 ac_cv_cflags__Werror_unknown_warning_option=no
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 CFLAGS=$ac_wine_try_cflags_saved
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14828 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14829 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14830 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14833 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14834 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14835 $as_echo_n "(cached) " >&6
14836 else
14837 ac_wine_try_cflags_saved=$CFLAGS
14838 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14841 int main(int argc, char **argv) { return 0; }
14842 _ACEOF
14843 if ac_fn_c_try_link "$LINENO"; then :
14844 ac_cv_cflags__Wdeclaration_after_statement=yes
14845 else
14846 ac_cv_cflags__Wdeclaration_after_statement=no
14848 rm -f core conftest.err conftest.$ac_objext \
14849 conftest$ac_exeext conftest.$ac_ext
14850 CFLAGS=$ac_wine_try_cflags_saved
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14853 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14854 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14855 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14858 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14859 if ${ac_cv_cflags__Wempty_body+:} false; then :
14860 $as_echo_n "(cached) " >&6
14861 else
14862 ac_wine_try_cflags_saved=$CFLAGS
14863 CFLAGS="$CFLAGS -Wempty-body"
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14866 int main(int argc, char **argv) { return 0; }
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_cflags__Wempty_body=yes
14870 else
14871 ac_cv_cflags__Wempty_body=no
14873 rm -f core conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14875 CFLAGS=$ac_wine_try_cflags_saved
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14878 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14879 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14880 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14883 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14884 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14885 $as_echo_n "(cached) " >&6
14886 else
14887 ac_wine_try_cflags_saved=$CFLAGS
14888 CFLAGS="$CFLAGS -Wignored-qualifiers"
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 int main(int argc, char **argv) { return 0; }
14892 _ACEOF
14893 if ac_fn_c_try_link "$LINENO"; then :
14894 ac_cv_cflags__Wignored_qualifiers=yes
14895 else
14896 ac_cv_cflags__Wignored_qualifiers=no
14898 rm -f core conftest.err conftest.$ac_objext \
14899 conftest$ac_exeext conftest.$ac_ext
14900 CFLAGS=$ac_wine_try_cflags_saved
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14903 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14904 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14905 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14908 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14909 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 ac_wine_try_cflags_saved=$CFLAGS
14913 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 int main(int argc, char **argv) { return 0; }
14917 _ACEOF
14918 if ac_fn_c_try_link "$LINENO"; then :
14919 ac_cv_cflags__Wpacked_not_aligned=yes
14920 else
14921 ac_cv_cflags__Wpacked_not_aligned=no
14923 rm -f core conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext conftest.$ac_ext
14925 CFLAGS=$ac_wine_try_cflags_saved
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14928 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14929 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14930 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14933 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14934 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14935 $as_echo_n "(cached) " >&6
14936 else
14937 ac_wine_try_cflags_saved=$CFLAGS
14938 CFLAGS="$CFLAGS -Wpragma-pack"
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14941 int main(int argc, char **argv) { return 0; }
14942 _ACEOF
14943 if ac_fn_c_try_link "$LINENO"; then :
14944 ac_cv_cflags__Wpragma_pack=yes
14945 else
14946 ac_cv_cflags__Wpragma_pack=no
14948 rm -f core conftest.err conftest.$ac_objext \
14949 conftest$ac_exeext conftest.$ac_ext
14950 CFLAGS=$ac_wine_try_cflags_saved
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14953 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14954 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14955 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14958 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14959 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14960 $as_echo_n "(cached) " >&6
14961 else
14962 ac_wine_try_cflags_saved=$CFLAGS
14963 CFLAGS="$CFLAGS -Wshift-overflow=2"
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14966 int main(int argc, char **argv) { return 0; }
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"; then :
14969 ac_cv_cflags__Wshift_overflow_2=yes
14970 else
14971 ac_cv_cflags__Wshift_overflow_2=no
14973 rm -f core conftest.err conftest.$ac_objext \
14974 conftest$ac_exeext conftest.$ac_ext
14975 CFLAGS=$ac_wine_try_cflags_saved
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14978 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14979 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14980 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14983 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14984 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14985 $as_echo_n "(cached) " >&6
14986 else
14987 ac_wine_try_cflags_saved=$CFLAGS
14988 CFLAGS="$CFLAGS -Wstrict-prototypes"
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 int main(int argc, char **argv) { return 0; }
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_cflags__Wstrict_prototypes=yes
14995 else
14996 ac_cv_cflags__Wstrict_prototypes=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000 CFLAGS=$ac_wine_try_cflags_saved
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15003 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15004 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15005 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15008 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15009 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15010 $as_echo_n "(cached) " >&6
15011 else
15012 ac_wine_try_cflags_saved=$CFLAGS
15013 CFLAGS="$CFLAGS -Wtype-limits"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15016 int main(int argc, char **argv) { return 0; }
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 ac_cv_cflags__Wtype_limits=yes
15020 else
15021 ac_cv_cflags__Wtype_limits=no
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15025 CFLAGS=$ac_wine_try_cflags_saved
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15028 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15029 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15030 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15033 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15034 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 ac_wine_try_cflags_saved=$CFLAGS
15038 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15041 int main(int argc, char **argv) { return 0; }
15042 _ACEOF
15043 if ac_fn_c_try_link "$LINENO"; then :
15044 ac_cv_cflags__Wunused_but_set_parameter=yes
15045 else
15046 ac_cv_cflags__Wunused_but_set_parameter=no
15048 rm -f core conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext conftest.$ac_ext
15050 CFLAGS=$ac_wine_try_cflags_saved
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15053 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15054 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15055 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15058 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15059 if ${ac_cv_cflags__Wvla+:} false; then :
15060 $as_echo_n "(cached) " >&6
15061 else
15062 ac_wine_try_cflags_saved=$CFLAGS
15063 CFLAGS="$CFLAGS -Wvla"
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15066 int main(int argc, char **argv) { return 0; }
15067 _ACEOF
15068 if ac_fn_c_try_link "$LINENO"; then :
15069 ac_cv_cflags__Wvla=yes
15070 else
15071 ac_cv_cflags__Wvla=no
15073 rm -f core conftest.err conftest.$ac_objext \
15074 conftest$ac_exeext conftest.$ac_ext
15075 CFLAGS=$ac_wine_try_cflags_saved
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15078 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15079 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15080 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15083 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15084 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15085 $as_echo_n "(cached) " >&6
15086 else
15087 ac_wine_try_cflags_saved=$CFLAGS
15088 CFLAGS="$CFLAGS -Wwrite-strings"
15089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15091 int main(int argc, char **argv) { return 0; }
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"; then :
15094 ac_cv_cflags__Wwrite_strings=yes
15095 else
15096 ac_cv_cflags__Wwrite_strings=no
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15100 CFLAGS=$ac_wine_try_cflags_saved
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15103 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15104 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15105 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15109 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15110 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15111 $as_echo_n "(cached) " >&6
15112 else
15113 ac_wine_try_cflags_saved=$CFLAGS
15114 CFLAGS="$CFLAGS -Wpointer-arith"
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15117 int main(int argc, char **argv) { return 0; }
15118 _ACEOF
15119 if ac_fn_c_try_link "$LINENO"; then :
15120 ac_cv_cflags__Wpointer_arith=yes
15121 else
15122 ac_cv_cflags__Wpointer_arith=no
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15126 CFLAGS=$ac_wine_try_cflags_saved
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15129 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15130 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15131 saved_string_h_CFLAGS=$CFLAGS
15132 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15134 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15135 if ${ac_cv_c_string_h_warnings+:} false; then :
15136 $as_echo_n "(cached) " >&6
15137 else
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15140 #include <string.h>
15142 main ()
15146 return 0;
15148 _ACEOF
15149 if ac_fn_c_try_compile "$LINENO"; then :
15150 ac_cv_c_string_h_warnings=no
15151 else
15152 ac_cv_c_string_h_warnings=yes
15154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15157 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15158 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15159 CFLAGS=$saved_string_h_CFLAGS
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15163 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15164 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15165 $as_echo_n "(cached) " >&6
15166 else
15167 ac_wine_try_cflags_saved=$CFLAGS
15168 CFLAGS="$CFLAGS -Wlogical-op"
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15171 int main(int argc, char **argv) { return 0; }
15172 _ACEOF
15173 if ac_fn_c_try_link "$LINENO"; then :
15174 ac_cv_cflags__Wlogical_op=yes
15175 else
15176 ac_cv_cflags__Wlogical_op=no
15178 rm -f core conftest.err conftest.$ac_objext \
15179 conftest$ac_exeext conftest.$ac_ext
15180 CFLAGS=$ac_wine_try_cflags_saved
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15183 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15184 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15185 saved_string_h_CFLAGS=$CFLAGS
15186 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15188 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15189 if ${ac_cv_c_logicalop_noisy+:} false; then :
15190 $as_echo_n "(cached) " >&6
15191 else
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15194 #include <string.h>
15195 char*f(const char *h,char n) {return strchr(h,n);}
15197 main ()
15201 return 0;
15203 _ACEOF
15204 if ac_fn_c_try_compile "$LINENO"; then :
15205 ac_cv_c_logicalop_noisy=no
15206 else
15207 ac_cv_c_logicalop_noisy=yes
15209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15212 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15213 CFLAGS=$saved_string_h_CFLAGS
15214 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15217 CFLAGS=$saved_CFLAGS
15219 for ac_flag in $CFLAGS; do
15220 case $ac_flag in
15221 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15222 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15223 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15226 ac_wine_try_cflags_saved=$CFLAGS
15227 CFLAGS="$CFLAGS -gdwarf-2"
15228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15229 /* end confdefs.h. */
15230 int main(int argc, char **argv) { return 0; }
15231 _ACEOF
15232 if ac_fn_c_try_link "$LINENO"; then :
15233 ac_cv_cflags__gdwarf_2=yes
15234 else
15235 ac_cv_cflags__gdwarf_2=no
15237 rm -f core conftest.err conftest.$ac_objext \
15238 conftest$ac_exeext conftest.$ac_ext
15239 CFLAGS=$ac_wine_try_cflags_saved
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15242 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15243 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15244 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15247 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15248 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15249 $as_echo_n "(cached) " >&6
15250 else
15251 ac_wine_try_cflags_saved=$CFLAGS
15252 CFLAGS="$CFLAGS -gstrict-dwarf"
15253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15254 /* end confdefs.h. */
15255 int main(int argc, char **argv) { return 0; }
15256 _ACEOF
15257 if ac_fn_c_try_link "$LINENO"; then :
15258 ac_cv_cflags__gstrict_dwarf=yes
15259 else
15260 ac_cv_cflags__gstrict_dwarf=no
15262 rm -f core conftest.err conftest.$ac_objext \
15263 conftest$ac_exeext conftest.$ac_ext
15264 CFLAGS=$ac_wine_try_cflags_saved
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15267 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15268 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15269 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15270 fi ;;
15271 esac
15272 done
15274 case $host_cpu in
15275 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15276 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15277 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15278 $as_echo_n "(cached) " >&6
15279 else
15280 ac_wine_try_cflags_saved=$CFLAGS
15281 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 int main(int argc, char **argv) { return 0; }
15285 _ACEOF
15286 if ac_fn_c_try_link "$LINENO"; then :
15287 ac_cv_cflags__fno_omit_frame_pointer=yes
15288 else
15289 ac_cv_cflags__fno_omit_frame_pointer=no
15291 rm -f core conftest.err conftest.$ac_objext \
15292 conftest$ac_exeext conftest.$ac_ext
15293 CFLAGS=$ac_wine_try_cflags_saved
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15296 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15297 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15298 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15299 fi ;;
15300 esac
15302 case $host in
15303 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15304 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15305 if ${ac_cv_cflags__Wno_format+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_wine_try_cflags_saved=$CFLAGS
15309 CFLAGS="$CFLAGS -Wno-format"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15312 int main(int argc, char **argv) { return 0; }
15313 _ACEOF
15314 if ac_fn_c_try_link "$LINENO"; then :
15315 ac_cv_cflags__Wno_format=yes
15316 else
15317 ac_cv_cflags__Wno_format=no
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15321 CFLAGS=$ac_wine_try_cflags_saved
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15324 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15325 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15326 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15327 fi ;;
15328 esac
15330 if test "x$enable_maintainer_mode" = "xyes"
15331 then
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15333 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15334 if ${ac_cv_cflags__Werror+:} false; then :
15335 $as_echo_n "(cached) " >&6
15336 else
15337 ac_wine_try_cflags_saved=$CFLAGS
15338 CFLAGS="$CFLAGS -Werror"
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15341 int main(int argc, char **argv) { return 0; }
15342 _ACEOF
15343 if ac_fn_c_try_link "$LINENO"; then :
15344 ac_cv_cflags__Werror=yes
15345 else
15346 ac_cv_cflags__Werror=no
15348 rm -f core conftest.err conftest.$ac_objext \
15349 conftest$ac_exeext conftest.$ac_ext
15350 CFLAGS=$ac_wine_try_cflags_saved
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15353 $as_echo "$ac_cv_cflags__Werror" >&6; }
15354 if test "x$ac_cv_cflags__Werror" = xyes; then :
15355 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15359 saved_CFLAGS="$CFLAGS"
15360 CFLAGS="$CFLAGS -Werror"
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15362 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15363 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15364 $as_echo_n "(cached) " >&6
15365 else
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15368 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15370 main ()
15374 return 0;
15376 _ACEOF
15377 if ac_fn_c_try_compile "$LINENO"; then :
15378 ac_cv_have_ms_hook_prologue="yes"
15379 else
15380 ac_cv_have_ms_hook_prologue="no"
15382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15385 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15386 CFLAGS="$saved_CFLAGS"
15387 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15388 then
15390 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15392 else
15393 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15400 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15401 if ${ac_cv_c_fortify_enabled+:} false; then :
15402 $as_echo_n "(cached) " >&6
15403 else
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15406 #include <string.h>
15408 main ()
15410 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15411 #error Fortify enabled
15412 #endif
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_compile "$LINENO"; then :
15418 ac_cv_c_fortify_enabled=no
15419 else
15420 ac_cv_c_fortify_enabled=yes
15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15425 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15426 if test "$ac_cv_c_fortify_enabled" = yes
15427 then
15428 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15433 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15434 if ${ac_cv_c_extern_prefix+:} false; then :
15435 $as_echo_n "(cached) " >&6
15436 else
15437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15439 extern int ac_test;
15441 main ()
15443 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15445 return 0;
15447 _ACEOF
15448 if ac_fn_c_try_link "$LINENO"; then :
15449 ac_cv_c_extern_prefix="yes"
15450 else
15451 ac_cv_c_extern_prefix="no"
15453 rm -f core conftest.err conftest.$ac_objext \
15454 conftest$ac_exeext conftest.$ac_ext
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15457 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15459 case $host_cpu in
15460 *i[3456789]86*)
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15462 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15463 if ${ac_cv_c_stdcall_suffix+:} false; then :
15464 $as_echo_n "(cached) " >&6
15465 else
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15468 #ifndef _MSC_VER
15469 #define __stdcall __attribute__((__stdcall__))
15470 #endif
15471 int __stdcall ac_test(int i) { return i; }
15473 main ()
15475 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15477 return 0;
15479 _ACEOF
15480 if ac_fn_c_try_link "$LINENO"; then :
15481 ac_cv_c_stdcall_suffix="yes"
15482 else
15483 ac_cv_c_stdcall_suffix="no"
15485 rm -f core conftest.err conftest.$ac_objext \
15486 conftest$ac_exeext conftest.$ac_ext
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15489 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15490 *) ac_cv_c_stdcall_suffix="no" ;;
15491 esac
15494 if test "$ac_cv_c_extern_prefix" = "yes"
15495 then
15496 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15498 asm_name_prefix="_"
15499 else
15500 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15502 asm_name_prefix=""
15506 if test "$ac_cv_c_stdcall_suffix" = "yes"
15507 then
15508 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15510 else
15511 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15517 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15518 if ${ac_cv_asm_func_def+:} false; then :
15519 $as_echo_n "(cached) " >&6
15520 else
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15525 main ()
15527 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15529 return 0;
15531 _ACEOF
15532 if ac_fn_c_try_link "$LINENO"; then :
15533 ac_cv_asm_func_def=".def"
15534 else
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15539 main ()
15541 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15543 return 0;
15545 _ACEOF
15546 if ac_fn_c_try_link "$LINENO"; then :
15547 ac_cv_asm_func_def=".type @function"
15548 else
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15553 main ()
15555 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15557 return 0;
15559 _ACEOF
15560 if ac_fn_c_try_link "$LINENO"; then :
15561 ac_cv_asm_func_def=".type 2"
15562 else
15563 ac_cv_asm_func_def="unknown"
15565 rm -f core conftest.err conftest.$ac_objext \
15566 conftest$ac_exeext conftest.$ac_ext
15568 rm -f core conftest.err conftest.$ac_objext \
15569 conftest$ac_exeext conftest.$ac_ext
15571 rm -f core conftest.err conftest.$ac_objext \
15572 conftest$ac_exeext conftest.$ac_ext
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15575 $as_echo "$ac_cv_asm_func_def" >&6; }
15578 case "$ac_cv_asm_func_def" in
15579 ".def")
15580 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15582 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15583 ".type @function")
15584 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15586 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15587 ".type 2")
15588 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15590 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15592 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15594 asm_func_header="" ;;
15595 esac
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15598 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15599 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15600 $as_echo_n "(cached) " >&6
15601 else
15602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15603 /* end confdefs.h. */
15604 asm(".text\n\t.long 0");
15606 main ()
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_compile "$LINENO"; then :
15614 ac_cv_c_asm_outside_funcs="yes"
15615 else
15616 ac_cv_c_asm_outside_funcs="no"
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15621 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15624 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15625 if ${ac_cv_c_dot_previous+:} false; then :
15626 $as_echo_n "(cached) " >&6
15627 else
15628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15632 main ()
15634 asm(".text\nac_test:\t.long 0\n\t.previous");
15636 return 0;
15638 _ACEOF
15639 if ac_fn_c_try_link "$LINENO"; then :
15640 ac_cv_c_dot_previous="yes"
15641 else
15642 ac_cv_c_dot_previous="no"
15644 rm -f core conftest.err conftest.$ac_objext \
15645 conftest$ac_exeext conftest.$ac_ext
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15648 $as_echo "$ac_cv_c_dot_previous" >&6; }
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15651 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15652 if ${ac_cv_c_cfi_support+:} false; then :
15653 $as_echo_n "(cached) " >&6
15654 else
15655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15657 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15659 main ()
15663 return 0;
15665 _ACEOF
15666 if ac_fn_c_try_compile "$LINENO"; then :
15667 ac_cv_c_cfi_support="yes"
15668 else
15669 ac_cv_c_cfi_support="no"
15671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15674 $as_echo "$ac_cv_c_cfi_support" >&6; }
15676 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15677 asm_func_trailer=""
15678 if test "$ac_cv_c_dot_previous" = "yes"
15679 then
15680 asm_func_trailer="\\n\\t.previous"
15682 if test "$ac_cv_c_cfi_support" = "yes"
15683 then
15684 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15685 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15687 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15689 UNWINDFLAGS=-fasynchronous-unwind-tables
15691 else
15692 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15694 if test "x$enable_win64" = "xyes"
15695 then
15696 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15700 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15703 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15704 then
15705 cat >>confdefs.h <<_ACEOF
15706 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15707 _ACEOF
15709 else
15710 cat >>confdefs.h <<_ACEOF
15711 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15712 _ACEOF
15716 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15719 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15723 case $build_os in
15724 cygwin*|mingw32*) TOOLSEXT=".exe"
15726 esac
15728 case $host_os in
15729 linux*)
15730 case $host_cpu in
15731 *i[3456789]86*|x86_64*|*aarch64*)
15732 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15733 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15735 esac
15737 esac
15740 ac_save_CFLAGS="$CFLAGS"
15741 CFLAGS="$CFLAGS $BUILTINFLAG"
15742 for ac_func in \
15743 __res_get_state \
15744 __res_getservers \
15745 _finite \
15746 _isnan \
15747 _pclose \
15748 _popen \
15749 _snprintf \
15750 _spawnvp \
15751 _strdup \
15752 _stricmp \
15753 _strnicmp \
15754 _strtoi64 \
15755 _strtoui64 \
15756 _vsnprintf \
15757 asctime_r \
15758 chsize \
15759 dlopen \
15760 epoll_create \
15761 ffs \
15762 finitef \
15763 fnmatch \
15764 fork \
15765 fpclass \
15766 fstatfs \
15767 fstatvfs \
15768 ftruncate \
15769 futimens \
15770 futimes \
15771 futimesat \
15772 getattrlist \
15773 getauxval \
15774 getifaddrs \
15775 getopt_long_only \
15776 getpwuid \
15777 gettimeofday \
15778 getuid \
15779 isnanf \
15780 kqueue \
15781 lstat \
15782 memmove \
15783 mmap \
15784 pclose \
15785 pipe2 \
15786 poll \
15787 popen \
15788 port_create \
15789 prctl \
15790 pread \
15791 proc_pidinfo \
15792 pwrite \
15793 readdir \
15794 readlink \
15795 sched_yield \
15796 select \
15797 setproctitle \
15798 setprogname \
15799 setrlimit \
15800 settimeofday \
15801 sigaltstack \
15802 sigprocmask \
15803 snprintf \
15804 statfs \
15805 statvfs \
15806 strcasecmp \
15807 strdup \
15808 strerror \
15809 strncasecmp \
15810 strnlen \
15811 strtold \
15812 strtoll \
15813 strtoull \
15814 symlink \
15815 sysinfo \
15816 tcdrain \
15817 thr_kill2 \
15818 timegm \
15819 usleep \
15820 vsnprintf
15822 do :
15823 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15824 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15825 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15826 cat >>confdefs.h <<_ACEOF
15827 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15828 _ACEOF
15831 done
15833 CFLAGS="$ac_save_CFLAGS"
15835 if test "$ac_cv_func_dlopen" = no
15836 then
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15838 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15839 if ${ac_cv_lib_dl_dlopen+:} false; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15842 ac_check_lib_save_LIBS=$LIBS
15843 LIBS="-ldl $LIBS"
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15847 /* Override any GCC internal prototype to avoid an error.
15848 Use char because int might match the return type of a GCC
15849 builtin and then its argument prototype would still apply. */
15850 #ifdef __cplusplus
15851 extern "C"
15852 #endif
15853 char dlopen ();
15855 main ()
15857 return dlopen ();
15859 return 0;
15861 _ACEOF
15862 if ac_fn_c_try_link "$LINENO"; then :
15863 ac_cv_lib_dl_dlopen=yes
15864 else
15865 ac_cv_lib_dl_dlopen=no
15867 rm -f core conftest.err conftest.$ac_objext \
15868 conftest$ac_exeext conftest.$ac_ext
15869 LIBS=$ac_check_lib_save_LIBS
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15872 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15873 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15874 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15875 DL_LIBS="-ldl"
15880 ac_wine_check_funcs_save_LIBS="$LIBS"
15881 LIBS="$LIBS $DL_LIBS"
15882 for ac_func in dladdr
15883 do :
15884 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15885 if test "x$ac_cv_func_dladdr" = xyes; then :
15886 cat >>confdefs.h <<_ACEOF
15887 #define HAVE_DLADDR 1
15888 _ACEOF
15891 done
15893 LIBS="$ac_wine_check_funcs_save_LIBS"
15895 if test "$ac_cv_func_poll" = no
15896 then
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15898 $as_echo_n "checking for poll in -lpoll... " >&6; }
15899 if ${ac_cv_lib_poll_poll+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 ac_check_lib_save_LIBS=$LIBS
15903 LIBS="-lpoll $LIBS"
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 /* Override any GCC internal prototype to avoid an error.
15908 Use char because int might match the return type of a GCC
15909 builtin and then its argument prototype would still apply. */
15910 #ifdef __cplusplus
15911 extern "C"
15912 #endif
15913 char poll ();
15915 main ()
15917 return poll ();
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_link "$LINENO"; then :
15923 ac_cv_lib_poll_poll=yes
15924 else
15925 ac_cv_lib_poll_poll=no
15927 rm -f core conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15929 LIBS=$ac_check_lib_save_LIBS
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15932 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15933 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15934 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15935 POLL_LIBS="-lpoll"
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15942 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15943 if ${ac_cv_search_gethostbyname+:} false; then :
15944 $as_echo_n "(cached) " >&6
15945 else
15946 ac_func_search_save_LIBS=$LIBS
15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15950 /* Override any GCC internal prototype to avoid an error.
15951 Use char because int might match the return type of a GCC
15952 builtin and then its argument prototype would still apply. */
15953 #ifdef __cplusplus
15954 extern "C"
15955 #endif
15956 char gethostbyname ();
15958 main ()
15960 return gethostbyname ();
15962 return 0;
15964 _ACEOF
15965 for ac_lib in '' nsl; do
15966 if test -z "$ac_lib"; then
15967 ac_res="none required"
15968 else
15969 ac_res=-l$ac_lib
15970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15972 if ac_fn_c_try_link "$LINENO"; then :
15973 ac_cv_search_gethostbyname=$ac_res
15975 rm -f core conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext
15977 if ${ac_cv_search_gethostbyname+:} false; then :
15978 break
15980 done
15981 if ${ac_cv_search_gethostbyname+:} false; then :
15983 else
15984 ac_cv_search_gethostbyname=no
15986 rm conftest.$ac_ext
15987 LIBS=$ac_func_search_save_LIBS
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15990 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15991 ac_res=$ac_cv_search_gethostbyname
15992 if test "$ac_res" != no; then :
15993 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15999 $as_echo_n "checking for library containing connect... " >&6; }
16000 if ${ac_cv_search_connect+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 ac_func_search_save_LIBS=$LIBS
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16010 #ifdef __cplusplus
16011 extern "C"
16012 #endif
16013 char connect ();
16015 main ()
16017 return connect ();
16019 return 0;
16021 _ACEOF
16022 for ac_lib in '' socket; do
16023 if test -z "$ac_lib"; then
16024 ac_res="none required"
16025 else
16026 ac_res=-l$ac_lib
16027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16029 if ac_fn_c_try_link "$LINENO"; then :
16030 ac_cv_search_connect=$ac_res
16032 rm -f core conftest.err conftest.$ac_objext \
16033 conftest$ac_exeext
16034 if ${ac_cv_search_connect+:} false; then :
16035 break
16037 done
16038 if ${ac_cv_search_connect+:} false; then :
16040 else
16041 ac_cv_search_connect=no
16043 rm conftest.$ac_ext
16044 LIBS=$ac_func_search_save_LIBS
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16047 $as_echo "$ac_cv_search_connect" >&6; }
16048 ac_res=$ac_cv_search_connect
16049 if test "$ac_res" != no; then :
16050 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16056 $as_echo_n "checking for library containing inet_aton... " >&6; }
16057 if ${ac_cv_search_inet_aton+:} false; then :
16058 $as_echo_n "(cached) " >&6
16059 else
16060 ac_func_search_save_LIBS=$LIBS
16061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16067 #ifdef __cplusplus
16068 extern "C"
16069 #endif
16070 char inet_aton ();
16072 main ()
16074 return inet_aton ();
16076 return 0;
16078 _ACEOF
16079 for ac_lib in '' resolv; do
16080 if test -z "$ac_lib"; then
16081 ac_res="none required"
16082 else
16083 ac_res=-l$ac_lib
16084 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16086 if ac_fn_c_try_link "$LINENO"; then :
16087 ac_cv_search_inet_aton=$ac_res
16089 rm -f core conftest.err conftest.$ac_objext \
16090 conftest$ac_exeext
16091 if ${ac_cv_search_inet_aton+:} false; then :
16092 break
16094 done
16095 if ${ac_cv_search_inet_aton+:} false; then :
16097 else
16098 ac_cv_search_inet_aton=no
16100 rm conftest.$ac_ext
16101 LIBS=$ac_func_search_save_LIBS
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16104 $as_echo "$ac_cv_search_inet_aton" >&6; }
16105 ac_res=$ac_cv_search_inet_aton
16106 if test "$ac_res" != no; then :
16107 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16112 for ac_func in \
16113 getaddrinfo \
16114 getnameinfo \
16115 getnetbyname \
16116 getprotobyname \
16117 getprotobynumber \
16118 getservbyport \
16119 inet_addr \
16120 inet_network \
16121 inet_ntop \
16122 inet_pton \
16123 sendmsg \
16124 socketpair \
16126 do :
16127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16132 _ACEOF
16135 done
16138 ac_save_LIBS=$LIBS
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16140 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16141 if ${ac_cv_search_clock_gettime+:} false; then :
16142 $as_echo_n "(cached) " >&6
16143 else
16144 ac_func_search_save_LIBS=$LIBS
16145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16148 /* Override any GCC internal prototype to avoid an error.
16149 Use char because int might match the return type of a GCC
16150 builtin and then its argument prototype would still apply. */
16151 #ifdef __cplusplus
16152 extern "C"
16153 #endif
16154 char clock_gettime ();
16156 main ()
16158 return clock_gettime ();
16160 return 0;
16162 _ACEOF
16163 for ac_lib in '' rt; do
16164 if test -z "$ac_lib"; then
16165 ac_res="none required"
16166 else
16167 ac_res=-l$ac_lib
16168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16170 if ac_fn_c_try_link "$LINENO"; then :
16171 ac_cv_search_clock_gettime=$ac_res
16173 rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext
16175 if ${ac_cv_search_clock_gettime+:} false; then :
16176 break
16178 done
16179 if ${ac_cv_search_clock_gettime+:} false; then :
16181 else
16182 ac_cv_search_clock_gettime=no
16184 rm conftest.$ac_ext
16185 LIBS=$ac_func_search_save_LIBS
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16188 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16189 ac_res=$ac_cv_search_clock_gettime
16190 if test "$ac_res" != no; then :
16191 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16193 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16195 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16199 LIBS=$ac_save_LIBS
16201 if test "x$with_ldap" != "xno"
16202 then
16203 if ${LDAP_CFLAGS:+false} :; then :
16204 if ${PKG_CONFIG+:} false; then :
16205 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16209 if ${LDAP_LIBS:+false} :; then :
16210 if ${PKG_CONFIG+:} false; then :
16211 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16215 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16216 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16217 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16218 ac_save_CPPFLAGS=$CPPFLAGS
16219 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16220 for ac_header in ldap.h lber.h
16221 do :
16222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16223 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16224 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16227 _ACEOF
16231 done
16233 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16234 then
16235 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16237 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16239 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16240 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16241 $as_echo_n "(cached) " >&6
16242 else
16243 ac_check_lib_save_LIBS=$LIBS
16244 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 /* Override any GCC internal prototype to avoid an error.
16249 Use char because int might match the return type of a GCC
16250 builtin and then its argument prototype would still apply. */
16251 #ifdef __cplusplus
16252 extern "C"
16253 #endif
16254 char ldap_initialize ();
16256 main ()
16258 return ldap_initialize ();
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"; then :
16264 ac_cv_lib_ldap_r_ldap_initialize=yes
16265 else
16266 ac_cv_lib_ldap_r_ldap_initialize=no
16268 rm -f core conftest.err conftest.$ac_objext \
16269 conftest$ac_exeext conftest.$ac_ext
16270 LIBS=$ac_check_lib_save_LIBS
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16273 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16274 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16276 $as_echo_n "checking for ber_init in -llber... " >&6; }
16277 if ${ac_cv_lib_lber_ber_init+:} false; then :
16278 $as_echo_n "(cached) " >&6
16279 else
16280 ac_check_lib_save_LIBS=$LIBS
16281 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16283 /* end confdefs.h. */
16285 /* Override any GCC internal prototype to avoid an error.
16286 Use char because int might match the return type of a GCC
16287 builtin and then its argument prototype would still apply. */
16288 #ifdef __cplusplus
16289 extern "C"
16290 #endif
16291 char ber_init ();
16293 main ()
16295 return ber_init ();
16297 return 0;
16299 _ACEOF
16300 if ac_fn_c_try_link "$LINENO"; then :
16301 ac_cv_lib_lber_ber_init=yes
16302 else
16303 ac_cv_lib_lber_ber_init=no
16305 rm -f core conftest.err conftest.$ac_objext \
16306 conftest$ac_exeext conftest.$ac_ext
16307 LIBS=$ac_check_lib_save_LIBS
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16310 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16311 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16313 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16315 else
16316 LDAP_LIBS=""
16319 else
16320 LDAP_LIBS=""
16323 else
16324 LDAP_LIBS=""
16327 ac_wine_check_funcs_save_LIBS="$LIBS"
16328 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16329 for ac_func in \
16330 ldap_count_references \
16331 ldap_first_reference \
16332 ldap_next_reference \
16333 ldap_parse_reference \
16334 ldap_parse_sort_control \
16335 ldap_parse_sortresponse_control \
16336 ldap_parse_vlv_control \
16337 ldap_parse_vlvresponse_control
16338 do :
16339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16341 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16342 cat >>confdefs.h <<_ACEOF
16343 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16344 _ACEOF
16347 done
16349 LIBS="$ac_wine_check_funcs_save_LIBS"
16350 else
16351 LDAP_LIBS=""
16353 CPPFLAGS=$ac_save_CPPFLAGS
16354 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16355 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16358 if test "x$LDAP_LIBS" = "x"; then :
16359 case "x$with_ldap" in
16360 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16361 xno) ;;
16362 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16363 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16364 esac
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16369 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16370 if ${wine_cv_one_arg_mkdir+:} false; then :
16371 $as_echo_n "(cached) " >&6
16372 else
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16375 #include <sys/stat.h>
16377 main ()
16379 mkdir("foo");
16381 return 0;
16383 _ACEOF
16384 if ac_fn_c_try_compile "$LINENO"; then :
16385 wine_cv_one_arg_mkdir=yes
16386 else
16387 wine_cv_one_arg_mkdir=no
16389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16392 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16393 if test "$wine_cv_one_arg_mkdir" = "yes"
16394 then
16396 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16401 $as_echo_n "checking for sched_setaffinity... " >&6; }
16402 if ${wine_cv_have_sched_setaffinity+:} false; then :
16403 $as_echo_n "(cached) " >&6
16404 else
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #define _GNU_SOURCE
16408 #include <sched.h>
16410 main ()
16412 sched_setaffinity(0, 0, 0);
16414 return 0;
16416 _ACEOF
16417 if ac_fn_c_try_link "$LINENO"; then :
16418 wine_cv_have_sched_setaffinity=yes
16419 else
16420 wine_cv_have_sched_setaffinity=no
16422 rm -f core conftest.err conftest.$ac_objext \
16423 conftest$ac_exeext conftest.$ac_ext
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16426 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16427 if test "$wine_cv_have_sched_setaffinity" = "yes"
16428 then
16430 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16435 $as_echo_n "checking for fallocate... " >&6; }
16436 if ${wine_cv_have_fallocate+:} false; then :
16437 $as_echo_n "(cached) " >&6
16438 else
16439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 /* end confdefs.h. */
16441 #define _GNU_SOURCE
16442 #include <fcntl.h>
16444 main ()
16446 fallocate(-1, 0, 0, 0);
16448 return 0;
16450 _ACEOF
16451 if ac_fn_c_try_link "$LINENO"; then :
16452 wine_cv_have_fallocate=yes
16453 else
16454 wine_cv_have_fallocate=no
16456 rm -f core conftest.err conftest.$ac_objext \
16457 conftest$ac_exeext conftest.$ac_ext
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16460 $as_echo "$wine_cv_have_fallocate" >&6; }
16461 if test "$wine_cv_have_fallocate" = "yes"
16462 then
16464 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16470 $as_echo_n "checking for inline... " >&6; }
16471 if ${ac_cv_c_inline+:} false; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 ac_cv_c_inline=no
16475 for ac_kw in inline __inline__ __inline; do
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16478 #ifndef __cplusplus
16479 typedef int foo_t;
16480 static $ac_kw foo_t static_foo () {return 0; }
16481 $ac_kw foo_t foo () {return 0; }
16482 #endif
16484 _ACEOF
16485 if ac_fn_c_try_compile "$LINENO"; then :
16486 ac_cv_c_inline=$ac_kw
16488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16489 test "$ac_cv_c_inline" != no && break
16490 done
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16494 $as_echo "$ac_cv_c_inline" >&6; }
16496 case $ac_cv_c_inline in
16497 inline | yes) ;;
16499 case $ac_cv_c_inline in
16500 no) ac_val=;;
16501 *) ac_val=$ac_cv_c_inline;;
16502 esac
16503 cat >>confdefs.h <<_ACEOF
16504 #ifndef __cplusplus
16505 #define inline $ac_val
16506 #endif
16507 _ACEOF
16509 esac
16511 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16512 if test "x$ac_cv_type_mode_t" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_MODE_T 1
16516 _ACEOF
16520 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16521 if test "x$ac_cv_type_off_t" = xyes; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define HAVE_OFF_T 1
16525 _ACEOF
16529 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16530 if test "x$ac_cv_type_pid_t" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_PID_T 1
16534 _ACEOF
16538 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16539 if test "x$ac_cv_type_size_t" = xyes; then :
16541 cat >>confdefs.h <<_ACEOF
16542 #define HAVE_SIZE_T 1
16543 _ACEOF
16547 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16548 if test "x$ac_cv_type_ssize_t" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_SSIZE_T 1
16552 _ACEOF
16556 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16557 if test "x$ac_cv_type_long_long" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_LONG_LONG 1
16561 _ACEOF
16565 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16566 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_FSBLKCNT_T 1
16570 _ACEOF
16574 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16575 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_FSFILCNT_T 1
16579 _ACEOF
16584 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16585 #include <signal.h>
16587 if test "x$ac_cv_type_sigset_t" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_SIGSET_T 1
16591 _ACEOF
16596 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16598 if test "x$ac_cv_type_request_sense" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_REQUEST_SENSE 1
16602 _ACEOF
16608 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16609 #ifdef HAVE_SYS_SOCKET_H
16610 #include <sys/socket.h>
16611 #endif
16612 #ifdef HAVE_SYS_SOCKETVAR_H
16613 #include <sys/socketvar.h>
16614 #endif
16615 #ifdef HAVE_NET_ROUTE_H
16616 #include <net/route.h>
16617 #endif
16618 #ifdef HAVE_NETINET_IN_H
16619 #include <netinet/in.h>
16620 #endif
16621 #ifdef HAVE_NETINET_IN_SYSTM_H
16622 #include <netinet/in_systm.h>
16623 #endif
16624 #ifdef HAVE_NETINET_IP_H
16625 #include <netinet/ip.h>
16626 #endif
16627 #ifdef HAVE_NETINET_IN_PCB_H
16628 #include <netinet/in_pcb.h>
16629 #endif
16631 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_XINPGEN 1
16635 _ACEOF
16641 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16642 #include <link.h>
16643 #endif
16644 #ifdef HAVE_SYS_LINK_H
16645 #include <sys/link.h>
16646 #endif
16648 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16650 cat >>confdefs.h <<_ACEOF
16651 #define HAVE_STRUCT_R_DEBUG 1
16652 _ACEOF
16656 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16657 #include <link.h>
16658 #endif
16659 #ifdef HAVE_SYS_LINK_H
16660 #include <sys/link.h>
16661 #endif
16663 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define HAVE_STRUCT_LINK_MAP 1
16667 _ACEOF
16673 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16674 #include <linux/input.h>
16675 #endif
16677 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16679 cat >>confdefs.h <<_ACEOF
16680 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16681 _ACEOF
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16688 $as_echo_n "checking for if_nameindex... " >&6; }
16689 if ${wine_cv_have_if_nameindex+:} false; then :
16690 $as_echo_n "(cached) " >&6
16691 else
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694 #ifdef HAVE_SYS_TYPES_H
16695 #include <sys/types.h>
16696 #endif
16697 #ifdef HAVE_SYS_SOCKET_H
16698 #include <sys/socket.h>
16699 #endif
16700 #ifdef HAVE_NET_IF_H
16701 # include <net/if.h>
16702 #endif
16704 main ()
16706 struct if_nameindex *p = if_nameindex(); return p->if_index;
16708 return 0;
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712 wine_cv_have_if_nameindex=yes
16713 else
16714 wine_cv_have_if_nameindex=no
16716 rm -f core conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16720 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16721 if test "$wine_cv_have_if_nameindex" = "yes"
16722 then
16724 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16729 $as_echo_n "checking for sigaddset... " >&6; }
16730 if ${wine_cv_have_sigaddset+:} false; then :
16731 $as_echo_n "(cached) " >&6
16732 else
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16735 #include <signal.h>
16737 main ()
16739 sigset_t set; sigaddset(&set,SIGTERM);
16741 return 0;
16743 _ACEOF
16744 if ac_fn_c_try_link "$LINENO"; then :
16745 wine_cv_have_sigaddset=yes
16746 else
16747 wine_cv_have_sigaddset=no
16749 rm -f core conftest.err conftest.$ac_objext \
16750 conftest$ac_exeext conftest.$ac_ext
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16753 $as_echo "$wine_cv_have_sigaddset" >&6; }
16754 if test "$wine_cv_have_sigaddset" = "yes"
16755 then
16757 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16763 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16764 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16765 $as_echo_n "(cached) " >&6
16766 else
16767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16769 #include <netdb.h>
16771 main ()
16774 char *name=0;
16775 struct hostent he;
16776 struct hostent *result;
16777 char *buf=0;
16778 int bufsize=0;
16779 int errnr;
16780 char *addr=0;
16781 int addrlen=0;
16782 int addrtype=0;
16783 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16784 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16787 return 0;
16789 _ACEOF
16790 if ac_fn_c_try_link "$LINENO"; then :
16791 wine_cv_linux_gethostbyname_r_6=yes
16792 else
16793 wine_cv_linux_gethostbyname_r_6=no
16796 rm -f core conftest.err conftest.$ac_objext \
16797 conftest$ac_exeext conftest.$ac_ext
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16801 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16802 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16803 then
16805 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16809 if test "$ac_cv_header_linux_joystick_h" = "yes"
16810 then
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16812 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16813 if ${wine_cv_linux_joystick_22_api+:} false; then :
16814 $as_echo_n "(cached) " >&6
16815 else
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16819 #include <sys/ioctl.h>
16820 #include <sys/types.h>
16821 #include <linux/joystick.h>
16823 struct js_event blub;
16824 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16825 #error "no 2.2 header"
16826 #endif
16829 main ()
16831 /*empty*/
16833 return 0;
16835 _ACEOF
16836 if ac_fn_c_try_compile "$LINENO"; then :
16837 wine_cv_linux_joystick_22_api=yes
16838 else
16839 wine_cv_linux_joystick_22_api=no
16841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16845 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16846 if test "$wine_cv_linux_joystick_22_api" = "yes"
16847 then
16849 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16855 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16856 #ifdef HAVE_SYS_PARAM_H
16857 # include <sys/param.h>
16858 #endif
16859 #ifdef HAVE_SYS_MOUNT_H
16860 # include <sys/mount.h>
16861 #endif
16862 #ifdef HAVE_SYS_VFS_H
16863 # include <sys/vfs.h>
16864 #endif
16865 #ifdef HAVE_SYS_STATFS_H
16866 # include <sys/statfs.h>
16867 #endif
16869 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16871 cat >>confdefs.h <<_ACEOF
16872 #define HAVE_STRUCT_STATFS_F_BFREE 1
16873 _ACEOF
16877 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16878 #ifdef HAVE_SYS_PARAM_H
16879 # include <sys/param.h>
16880 #endif
16881 #ifdef HAVE_SYS_MOUNT_H
16882 # include <sys/mount.h>
16883 #endif
16884 #ifdef HAVE_SYS_VFS_H
16885 # include <sys/vfs.h>
16886 #endif
16887 #ifdef HAVE_SYS_STATFS_H
16888 # include <sys/statfs.h>
16889 #endif
16891 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16893 cat >>confdefs.h <<_ACEOF
16894 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16895 _ACEOF
16899 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16900 #ifdef HAVE_SYS_PARAM_H
16901 # include <sys/param.h>
16902 #endif
16903 #ifdef HAVE_SYS_MOUNT_H
16904 # include <sys/mount.h>
16905 #endif
16906 #ifdef HAVE_SYS_VFS_H
16907 # include <sys/vfs.h>
16908 #endif
16909 #ifdef HAVE_SYS_STATFS_H
16910 # include <sys/statfs.h>
16911 #endif
16913 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16915 cat >>confdefs.h <<_ACEOF
16916 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16917 _ACEOF
16921 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16922 #ifdef HAVE_SYS_PARAM_H
16923 # include <sys/param.h>
16924 #endif
16925 #ifdef HAVE_SYS_MOUNT_H
16926 # include <sys/mount.h>
16927 #endif
16928 #ifdef HAVE_SYS_VFS_H
16929 # include <sys/vfs.h>
16930 #endif
16931 #ifdef HAVE_SYS_STATFS_H
16932 # include <sys/statfs.h>
16933 #endif
16935 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16937 cat >>confdefs.h <<_ACEOF
16938 #define HAVE_STRUCT_STATFS_F_FFREE 1
16939 _ACEOF
16943 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16944 #ifdef HAVE_SYS_PARAM_H
16945 # include <sys/param.h>
16946 #endif
16947 #ifdef HAVE_SYS_MOUNT_H
16948 # include <sys/mount.h>
16949 #endif
16950 #ifdef HAVE_SYS_VFS_H
16951 # include <sys/vfs.h>
16952 #endif
16953 #ifdef HAVE_SYS_STATFS_H
16954 # include <sys/statfs.h>
16955 #endif
16957 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16961 _ACEOF
16965 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16966 #ifdef HAVE_SYS_PARAM_H
16967 # include <sys/param.h>
16968 #endif
16969 #ifdef HAVE_SYS_MOUNT_H
16970 # include <sys/mount.h>
16971 #endif
16972 #ifdef HAVE_SYS_VFS_H
16973 # include <sys/vfs.h>
16974 #endif
16975 #ifdef HAVE_SYS_STATFS_H
16976 # include <sys/statfs.h>
16977 #endif
16979 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16981 cat >>confdefs.h <<_ACEOF
16982 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16983 _ACEOF
16989 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16990 #include <sys/statvfs.h>
16991 #endif
16993 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16995 cat >>confdefs.h <<_ACEOF
16996 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16997 _ACEOF
17003 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17004 #include <dirent.h>
17005 #endif
17007 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17009 cat >>confdefs.h <<_ACEOF
17010 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17011 _ACEOF
17017 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17018 #ifdef HAVE_SYS_SOCKET_H
17019 # include <sys/socket.h>
17020 #endif
17021 #ifdef HAVE_SYS_UN_H
17022 # include <sys/un.h>
17023 #endif
17025 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17027 cat >>confdefs.h <<_ACEOF
17028 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17029 _ACEOF
17033 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17034 #ifdef HAVE_SYS_SOCKET_H
17035 # include <sys/socket.h>
17036 #endif
17037 #ifdef HAVE_SYS_UN_H
17038 # include <sys/un.h>
17039 #endif
17041 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17043 cat >>confdefs.h <<_ACEOF
17044 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17045 _ACEOF
17049 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17050 #ifdef HAVE_SYS_SOCKET_H
17051 # include <sys/socket.h>
17052 #endif
17053 #ifdef HAVE_SYS_UN_H
17054 # include <sys/un.h>
17055 #endif
17057 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17059 cat >>confdefs.h <<_ACEOF
17060 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17061 _ACEOF
17067 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17068 #ifdef HAVE_SCSI_SG_H
17069 #include <scsi/sg.h>
17070 #endif
17072 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17074 cat >>confdefs.h <<_ACEOF
17075 #define HAVE_SCSIREQ_T_CMD 1
17076 _ACEOF
17080 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>
17081 #ifdef HAVE_SCSI_SG_H
17082 #include <scsi/sg.h>
17083 #endif
17085 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17087 cat >>confdefs.h <<_ACEOF
17088 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17089 _ACEOF
17095 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17097 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_SIGINFO_T_SI_FD 1
17101 _ACEOF
17107 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17108 #ifdef HAVE_SYS_MTIO_H
17109 #include <sys/mtio.h>
17110 #endif
17112 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17114 cat >>confdefs.h <<_ACEOF
17115 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17116 _ACEOF
17120 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17121 #ifdef HAVE_SYS_MTIO_H
17122 #include <sys/mtio.h>
17123 #endif
17125 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17127 cat >>confdefs.h <<_ACEOF
17128 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17129 _ACEOF
17133 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17134 #ifdef HAVE_SYS_MTIO_H
17135 #include <sys/mtio.h>
17136 #endif
17138 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17140 cat >>confdefs.h <<_ACEOF
17141 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17142 _ACEOF
17148 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17149 #include <getopt.h>
17150 #endif
17152 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17154 cat >>confdefs.h <<_ACEOF
17155 #define HAVE_STRUCT_OPTION_NAME 1
17156 _ACEOF
17162 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17163 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17167 _ACEOF
17171 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17172 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17174 cat >>confdefs.h <<_ACEOF
17175 #define HAVE_STRUCT_STAT_ST_MTIM 1
17176 _ACEOF
17180 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17181 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17183 cat >>confdefs.h <<_ACEOF
17184 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17185 _ACEOF
17189 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17190 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17192 cat >>confdefs.h <<_ACEOF
17193 #define HAVE_STRUCT_STAT_ST_CTIM 1
17194 _ACEOF
17198 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17199 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17201 cat >>confdefs.h <<_ACEOF
17202 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17203 _ACEOF
17207 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17208 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17210 cat >>confdefs.h <<_ACEOF
17211 #define HAVE_STRUCT_STAT_ST_ATIM 1
17212 _ACEOF
17216 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17217 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17221 _ACEOF
17225 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17226 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17228 cat >>confdefs.h <<_ACEOF
17229 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17230 _ACEOF
17234 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17235 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17237 cat >>confdefs.h <<_ACEOF
17238 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17239 _ACEOF
17243 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17244 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17246 cat >>confdefs.h <<_ACEOF
17247 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17248 _ACEOF
17252 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17253 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17257 _ACEOF
17261 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17262 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17264 cat >>confdefs.h <<_ACEOF
17265 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17266 _ACEOF
17272 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
17273 #include <sys/types.h>
17274 #endif
17275 #ifdef HAVE_NETINET_IN_H
17276 #include <netinet/in.h>
17277 #endif
17279 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17281 cat >>confdefs.h <<_ACEOF
17282 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17283 _ACEOF
17289 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17290 #include <sys/types.h>
17291 #endif
17292 #ifdef HAVE_NETINET_IN_H
17293 #include <netinet/in.h>
17294 #endif
17295 #ifdef HAVE_RESOLV_H
17296 #include <resolv.h>
17297 #endif
17299 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17301 cat >>confdefs.h <<_ACEOF
17302 #define HAVE_STRUCT___RES_STATE 1
17303 _ACEOF
17309 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
17310 #include <resolv.h>
17311 #endif
17313 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17315 cat >>confdefs.h <<_ACEOF
17316 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17317 _ACEOF
17323 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17324 #include <sys/types.h>
17325 #endif
17326 #ifdef HAVE_NETINET_IN_H
17327 # include <netinet/in.h>
17328 #endif
17329 #ifdef HAVE_ARPA_NAMESER_H
17330 # include <arpa/nameser.h>
17331 #endif
17333 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17335 cat >>confdefs.h <<_ACEOF
17336 #define HAVE_NS_MSG__MSG_PTR 1
17337 _ACEOF
17343 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17344 #include <sys/types.h>
17345 #endif
17346 #ifdef HAVE_NETINET_IN_H
17347 #include <netinet/in.h>
17348 #endif
17349 #ifdef HAVE_NETINET_IP_H
17350 #include <netinet/ip.h>
17351 #endif
17352 #ifdef HAVE_NETINET_IP_ICMP_H
17353 #include <netinet/ip_icmp.h>
17354 #endif
17355 #ifdef HAVE_NETINET_ICMP_VAR_H
17356 #include <netinet/icmp_var.h>
17357 #endif
17359 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17361 cat >>confdefs.h <<_ACEOF
17362 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17363 _ACEOF
17369 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17370 #include <sys/types.h>
17371 #endif
17372 #ifdef HAVE_ALIAS_H
17373 #include <alias.h>
17374 #endif
17375 #ifdef HAVE_SYS_SOCKET_H
17376 #include <sys/socket.h>
17377 #endif
17378 #ifdef HAVE_SYS_SOCKETVAR_H
17379 #include <sys/socketvar.h>
17380 #endif
17381 #ifdef HAVE_SYS_TIMEOUT_H
17382 #include <sys/timeout.h>
17383 #endif
17384 #ifdef HAVE_NETINET_IN_H
17385 #include <netinet/in.h>
17386 #endif
17387 #ifdef HAVE_NETINET_IN_SYSTM_H
17388 #include <netinet/in_systm.h>
17389 #endif
17390 #ifdef HAVE_NETINET_IP_H
17391 #include <netinet/ip.h>
17392 #endif
17393 #ifdef HAVE_NETINET_IP_VAR_H
17394 #include <netinet/ip_var.h>
17395 #endif
17396 #ifdef HAVE_NETINET_IP_ICMP_H
17397 #include <netinet/ip_icmp.h>
17398 #endif
17399 #ifdef HAVE_NETINET_ICMP_VAR_H
17400 #include <netinet/icmp_var.h>
17401 #endif
17403 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17405 cat >>confdefs.h <<_ACEOF
17406 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17407 _ACEOF
17413 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17414 #include <sys/types.h>
17415 #endif
17416 #ifdef HAVE_SYS_SOCKETVAR_H
17417 #include <sys/socketvar.h>
17418 #endif
17419 #ifdef HAVE_NETINET_IN_H
17420 #include <netinet/in.h>
17421 #endif
17422 #ifdef HAVE_NETINET_IP_VAR_H
17423 #include <netinet/ip_var.h>
17424 #endif
17426 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17428 cat >>confdefs.h <<_ACEOF
17429 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17430 _ACEOF
17436 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
17437 #include <netinet/ip_var.h>
17438 #endif
17440 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17442 cat >>confdefs.h <<_ACEOF
17443 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17444 _ACEOF
17450 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17451 #include <sys/types.h>
17452 #endif
17453 #ifdef HAVE_SYS_SOCKETVAR_H
17454 #include <sys/socketvar.h>
17455 #endif
17456 #ifdef HAVE_NETINET_IN_H
17457 #include <netinet/in.h>
17458 #endif
17459 #ifdef HAVE_NETINET_TCP_H
17460 #include <netinet/tcp.h>
17461 #endif
17462 #ifdef HAVE_NETINET_TCP_VAR_H
17463 #include <netinet/tcp_var.h>
17464 #endif
17466 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17468 cat >>confdefs.h <<_ACEOF
17469 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17470 _ACEOF
17476 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
17477 #include <netinet/tcp_var.h>
17478 #endif
17480 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17482 cat >>confdefs.h <<_ACEOF
17483 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17484 _ACEOF
17490 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17491 #include <sys/types.h>
17492 #endif
17493 #ifdef HAVE_NETINET_IN_H
17494 #include <netinet/in.h>
17495 #endif
17496 #ifdef HAVE_NETINET_IP_VAR_H
17497 #include <netinet/ip_var.h>
17498 #endif
17499 #ifdef HAVE_NETINET_UDP_H
17500 #include <netinet/udp.h>
17501 #endif
17502 #ifdef HAVE_NETINET_UDP_VAR_H
17503 #include <netinet/udp_var.h>
17504 #endif
17506 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17508 cat >>confdefs.h <<_ACEOF
17509 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17510 _ACEOF
17516 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17517 #include <sys/types.h>
17518 #endif
17519 #ifdef HAVE_NET_IF_H
17520 # include <net/if.h>
17521 #endif
17523 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17525 cat >>confdefs.h <<_ACEOF
17526 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17527 _ACEOF
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17534 $as_echo_n "checking for timezone variable... " >&6; }
17535 if ${ac_cv_have_timezone+:} false; then :
17536 $as_echo_n "(cached) " >&6
17537 else
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17540 #include <time.h>
17542 main ()
17544 timezone = 1
17546 return 0;
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_have_timezone="yes"
17551 else
17552 ac_cv_have_timezone="no"
17554 rm -f core conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17558 $as_echo "$ac_cv_have_timezone" >&6; }
17559 if test "$ac_cv_have_timezone" = "yes"
17560 then
17562 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17566 $as_echo_n "checking for daylight variable... " >&6; }
17567 if ${ac_cv_have_daylight+:} false; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 #include <time.h>
17574 main ()
17576 daylight = 1
17578 return 0;
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 ac_cv_have_daylight="yes"
17583 else
17584 ac_cv_have_daylight="no"
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17590 $as_echo "$ac_cv_have_daylight" >&6; }
17591 if test "$ac_cv_have_daylight" = "yes"
17592 then
17594 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17598 ac_save_LIBS="$LIBS"
17599 LIBS="$LIBS -lm"
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17601 $as_echo_n "checking for isfinite... " >&6; }
17602 if ${ac_cv_have_isfinite+:} false; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 #define _GNU_SOURCE
17608 #include <math.h>
17610 main ()
17612 float f = 0.0; return isfinite(f)
17614 return 0;
17616 _ACEOF
17617 if ac_fn_c_try_link "$LINENO"; then :
17618 ac_cv_have_isfinite="yes"
17619 else
17620 ac_cv_have_isfinite="no"
17622 rm -f core conftest.err conftest.$ac_objext \
17623 conftest$ac_exeext conftest.$ac_ext
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17626 $as_echo "$ac_cv_have_isfinite" >&6; }
17627 if test "$ac_cv_have_isfinite" = "yes"
17628 then
17630 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17635 $as_echo_n "checking for isinf... " >&6; }
17636 if ${ac_cv_have_isinf+:} false; then :
17637 $as_echo_n "(cached) " >&6
17638 else
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <math.h>
17643 main ()
17645 float f = 0.0; return isinf(f)
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_link "$LINENO"; then :
17651 ac_cv_have_isinf="yes"
17652 else
17653 ac_cv_have_isinf="no"
17655 rm -f core conftest.err conftest.$ac_objext \
17656 conftest$ac_exeext conftest.$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17659 $as_echo "$ac_cv_have_isinf" >&6; }
17660 if test "$ac_cv_have_isinf" = "yes"
17661 then
17663 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17668 $as_echo_n "checking for isnan... " >&6; }
17669 if ${ac_cv_have_isnan+:} false; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #include <math.h>
17676 main ()
17678 float f = 0.0; return isnan(f)
17680 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_link "$LINENO"; then :
17684 ac_cv_have_isnan="yes"
17685 else
17686 ac_cv_have_isnan="no"
17688 rm -f core conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17692 $as_echo "$ac_cv_have_isnan" >&6; }
17693 if test "$ac_cv_have_isnan" = "yes"
17694 then
17696 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17700 for ac_func in \
17701 acosh \
17702 acoshf \
17703 asinh \
17704 asinhf \
17705 atanh \
17706 atanhf \
17707 cbrt \
17708 cbrtf \
17709 erf \
17710 erfc \
17711 erfcf \
17712 erff \
17713 exp2 \
17714 exp2f \
17715 expm1 \
17716 expm1f \
17717 lgamma \
17718 lgammaf \
17719 llrint \
17720 llrintf \
17721 llround \
17722 llroundf \
17723 log1p \
17724 log1pf \
17725 log2 \
17726 log2f \
17727 lrint \
17728 lrintf \
17729 lround \
17730 lroundf \
17731 nearbyint \
17732 nearbyintf \
17733 powl \
17734 remainder \
17735 remainderf \
17736 rint \
17737 rintf \
17738 round \
17739 roundf \
17740 trunc \
17741 truncf
17743 do :
17744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17746 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17747 cat >>confdefs.h <<_ACEOF
17748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17749 _ACEOF
17752 done
17754 LIBS="$ac_save_LIBS"
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17757 $as_echo_n "checking for __builtin_clz... " >&6; }
17758 if ${ac_cv_have___builtin_clz+:} false; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17765 main ()
17767 return __builtin_clz(1)
17769 return 0;
17771 _ACEOF
17772 if ac_fn_c_try_link "$LINENO"; then :
17773 ac_cv_have___builtin_clz="yes"
17774 else
17775 ac_cv_have___builtin_clz="no"
17777 rm -f core conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17781 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17782 if test "$ac_cv_have___builtin_clz" = "yes"
17783 then
17785 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17790 $as_echo_n "checking for __builtin_popcount... " >&6; }
17791 if ${ac_cv_have___builtin_popcount+:} false; then :
17792 $as_echo_n "(cached) " >&6
17793 else
17794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17798 main ()
17800 return __builtin_popcount(1)
17802 return 0;
17804 _ACEOF
17805 if ac_fn_c_try_link "$LINENO"; then :
17806 ac_cv_have___builtin_popcount="yes"
17807 else
17808 ac_cv_have___builtin_popcount="no"
17810 rm -f core conftest.err conftest.$ac_objext \
17811 conftest$ac_exeext conftest.$ac_ext
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17814 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17815 if test "$ac_cv_have___builtin_popcount" = "yes"
17816 then
17818 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17823 $as_echo_n "checking for __clear_cache... " >&6; }
17824 if ${ac_cv_have___clear_cache+:} false; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17831 main ()
17833 __clear_cache((void*)0, (void*)0); return 0;
17835 return 0;
17837 _ACEOF
17838 if ac_fn_c_try_link "$LINENO"; then :
17839 ac_cv_have___clear_cache="yes"
17840 else
17841 ac_cv_have___clear_cache="no"
17843 rm -f core conftest.err conftest.$ac_objext \
17844 conftest$ac_exeext conftest.$ac_ext
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17847 $as_echo "$ac_cv_have___clear_cache" >&6; }
17848 if test "$ac_cv_have___clear_cache" = "yes"
17849 then
17851 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17856 case $host_cpu in
17857 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17858 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17859 if ${ac_cv_cpp_def___i386__+:} false; then :
17860 $as_echo_n "(cached) " >&6
17861 else
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17864 #ifndef __i386__
17866 #endif
17867 _ACEOF
17868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17869 $EGREP "yes" >/dev/null 2>&1; then :
17870 ac_cv_cpp_def___i386__=yes
17871 else
17872 ac_cv_cpp_def___i386__=no
17874 rm -f conftest*
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17878 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17879 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17880 CFLAGS="$CFLAGS -D__i386__"
17881 LINTFLAGS="$LINTFLAGS -D__i386__"
17882 fi ;;
17883 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17884 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17885 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17886 $as_echo_n "(cached) " >&6
17887 else
17888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17890 #ifndef __x86_64__
17892 #endif
17893 _ACEOF
17894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17895 $EGREP "yes" >/dev/null 2>&1; then :
17896 ac_cv_cpp_def___x86_64__=yes
17897 else
17898 ac_cv_cpp_def___x86_64__=no
17900 rm -f conftest*
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17904 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17905 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17906 CFLAGS="$CFLAGS -D__x86_64__"
17907 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17908 fi ;;
17909 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17910 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17911 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17912 $as_echo_n "(cached) " >&6
17913 else
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17916 #ifndef __sparc64__
17918 #endif
17919 _ACEOF
17920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17921 $EGREP "yes" >/dev/null 2>&1; then :
17922 ac_cv_cpp_def___sparc64__=yes
17923 else
17924 ac_cv_cpp_def___sparc64__=no
17926 rm -f conftest*
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17930 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17931 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17932 CFLAGS="$CFLAGS -D__sparc64__"
17933 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17934 fi ;;
17935 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17936 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17937 if ${ac_cv_cpp_def___sparc__+:} false; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17942 #ifndef __sparc__
17944 #endif
17945 _ACEOF
17946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17947 $EGREP "yes" >/dev/null 2>&1; then :
17948 ac_cv_cpp_def___sparc__=yes
17949 else
17950 ac_cv_cpp_def___sparc__=no
17952 rm -f conftest*
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17956 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17957 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17958 CFLAGS="$CFLAGS -D__sparc__"
17959 LINTFLAGS="$LINTFLAGS -D__sparc__"
17960 fi ;;
17961 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17962 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17963 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17964 $as_echo_n "(cached) " >&6
17965 else
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17968 #ifndef __powerpc64__
17970 #endif
17971 _ACEOF
17972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17973 $EGREP "yes" >/dev/null 2>&1; then :
17974 ac_cv_cpp_def___powerpc64__=yes
17975 else
17976 ac_cv_cpp_def___powerpc64__=no
17978 rm -f conftest*
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17982 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17983 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17984 CFLAGS="$CFLAGS -D__powerpc64__"
17985 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17986 fi ;;
17987 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17988 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17989 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17994 #ifndef __powerpc__
17996 #endif
17997 _ACEOF
17998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17999 $EGREP "yes" >/dev/null 2>&1; then :
18000 ac_cv_cpp_def___powerpc__=yes
18001 else
18002 ac_cv_cpp_def___powerpc__=no
18004 rm -f conftest*
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18008 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18009 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18010 CFLAGS="$CFLAGS -D__powerpc__"
18011 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18012 fi ;;
18013 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18014 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18015 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 #ifndef __aarch64__
18022 #endif
18023 _ACEOF
18024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18025 $EGREP "yes" >/dev/null 2>&1; then :
18026 ac_cv_cpp_def___aarch64__=yes
18027 else
18028 ac_cv_cpp_def___aarch64__=no
18030 rm -f conftest*
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18034 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18035 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18036 CFLAGS="$CFLAGS -D__aarch64__"
18037 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18038 fi ;;
18039 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18040 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18041 if ${ac_cv_cpp_def___arm__+:} false; then :
18042 $as_echo_n "(cached) " >&6
18043 else
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18046 #ifndef __arm__
18048 #endif
18049 _ACEOF
18050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18051 $EGREP "yes" >/dev/null 2>&1; then :
18052 ac_cv_cpp_def___arm__=yes
18053 else
18054 ac_cv_cpp_def___arm__=no
18056 rm -f conftest*
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18060 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18061 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18062 CFLAGS="$CFLAGS -D__arm__"
18063 LINTFLAGS="$LINTFLAGS -D__arm__"
18064 fi ;;
18065 esac
18067 case $host_vendor in
18068 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18069 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18070 if ${ac_cv_cpp_def___sun__+:} false; then :
18071 $as_echo_n "(cached) " >&6
18072 else
18073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18074 /* end confdefs.h. */
18075 #ifndef __sun__
18077 #endif
18078 _ACEOF
18079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18080 $EGREP "yes" >/dev/null 2>&1; then :
18081 ac_cv_cpp_def___sun__=yes
18082 else
18083 ac_cv_cpp_def___sun__=no
18085 rm -f conftest*
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18089 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18090 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18091 CFLAGS="$CFLAGS -D__sun__"
18092 LINTFLAGS="$LINTFLAGS -D__sun__"
18093 fi ;;
18094 esac
18100 ac_config_commands="$ac_config_commands include/stamp-h"
18102 $as_echo_n "creating Makefile rules..." >&6
18104 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18105 SOCKET_LIBS = $SOCKET_LIBS
18106 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18107 IOKIT_LIBS = $IOKIT_LIBS
18108 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18109 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18110 CORESERVICES_LIBS = $CORESERVICES_LIBS
18111 APPKIT_LIBS = $APPKIT_LIBS
18112 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18113 SECURITY_LIBS = $SECURITY_LIBS
18114 COREAUDIO_LIBS = $COREAUDIO_LIBS
18115 OPENAL_LIBS = $OPENAL_LIBS
18116 OPENCL_LIBS = $OPENCL_LIBS
18117 QUICKTIME_LIBS = $QUICKTIME_LIBS
18118 CARBON_LIBS = $CARBON_LIBS
18119 PTHREAD_LIBS = $PTHREAD_LIBS
18120 X_CFLAGS = $X_CFLAGS
18121 X_PRE_LIBS = $X_PRE_LIBS
18122 X_LIBS = $X_LIBS
18123 X_EXTRA_LIBS = $X_EXTRA_LIBS
18124 PCAP_LIBS = $PCAP_LIBS
18125 XML2_CFLAGS = $XML2_CFLAGS
18126 XML2_LIBS = $XML2_LIBS
18127 XSLT_CFLAGS = $XSLT_CFLAGS
18128 XSLT_LIBS = $XSLT_LIBS
18129 DBUS_CFLAGS = $DBUS_CFLAGS
18130 DBUS_LIBS = $DBUS_LIBS
18131 HAL_CFLAGS = $HAL_CFLAGS
18132 HAL_LIBS = $HAL_LIBS
18133 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18134 GNUTLS_LIBS = $GNUTLS_LIBS
18135 SANE_CFLAGS = $SANE_CFLAGS
18136 SANE_LIBS = $SANE_LIBS
18137 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18138 GPHOTO2_LIBS = $GPHOTO2_LIBS
18139 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18140 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18141 RESOLV_LIBS = $RESOLV_LIBS
18142 LCMS2_CFLAGS = $LCMS2_CFLAGS
18143 LCMS2_LIBS = $LCMS2_LIBS
18144 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18145 FREETYPE_LIBS = $FREETYPE_LIBS
18146 Z_LIBS = $Z_LIBS
18147 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18148 PULSE_CFLAGS = $PULSE_CFLAGS
18149 PULSE_LIBS = $PULSE_LIBS
18150 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18151 GSTREAMER_LIBS = $GSTREAMER_LIBS
18152 ALSA_LIBS = $ALSA_LIBS
18153 OSS4_CFLAGS = $OSS4_CFLAGS
18154 UDEV_CFLAGS = $UDEV_CFLAGS
18155 UDEV_LIBS = $UDEV_LIBS
18156 SDL2_CFLAGS = $SDL2_CFLAGS
18157 SDL2_LIBS = $SDL2_LIBS
18158 CAPI20_CFLAGS = $CAPI20_CFLAGS
18159 CAPI20_LIBS = $CAPI20_LIBS
18160 CUPS_CFLAGS = $CUPS_CFLAGS
18161 CUPS_LIBS = $CUPS_LIBS
18162 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18163 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18164 KRB5_CFLAGS = $KRB5_CFLAGS
18165 KRB5_LIBS = $KRB5_LIBS
18166 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18167 GSSAPI_LIBS = $GSSAPI_LIBS
18168 JPEG_CFLAGS = $JPEG_CFLAGS
18169 JPEG_LIBS = $JPEG_LIBS
18170 PNG_CFLAGS = $PNG_CFLAGS
18171 PNG_LIBS = $PNG_LIBS
18172 TIFF_CFLAGS = $TIFF_CFLAGS
18173 TIFF_LIBS = $TIFF_LIBS
18174 MPG123_CFLAGS = $MPG123_CFLAGS
18175 MPG123_LIBS = $MPG123_LIBS
18176 KSTAT_LIBS = $KSTAT_LIBS
18177 PROCSTAT_LIBS = $PROCSTAT_LIBS
18178 NETAPI_CFLAGS = $NETAPI_CFLAGS
18179 NETAPI_LIBS = $NETAPI_LIBS
18180 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18181 DL_LIBS = $DL_LIBS
18182 POLL_LIBS = $POLL_LIBS
18183 RT_LIBS = $RT_LIBS
18184 LDAP_CFLAGS = $LDAP_CFLAGS
18185 LDAP_LIBS = $LDAP_LIBS
18190 wine_fn_append_rule "
18191 # Rules automatically generated by configure
18193 .INIT: Makefile
18194 .MAKEFILEDEPS:
18195 all: Makefile
18196 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18197 @./config.status Make.tmp Makefile
18198 depend: \$(MAKEDEP) dummy
18199 \$(MAKEDEP)"
18201 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18202 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18204 if test "x$enable_fonts" != xno; then
18205 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18206 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18207 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18208 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18209 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18210 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18212 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18213 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18214 ac_config_links="$ac_config_links wine:tools/winewrapper"
18215 wine_fn_config_symlink wine
18216 if test "x$enable_win64" != xno; then
18217 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18218 wine_fn_config_symlink wine64
18221 wine_fn_config_dll acledit enable_acledit
18222 wine_fn_config_dll aclui enable_aclui
18223 wine_fn_config_dll activeds enable_activeds
18224 wine_fn_config_dll actxprxy enable_actxprxy
18225 wine_fn_config_lib adsiid
18226 wine_fn_config_dll adsldp enable_adsldp
18227 wine_fn_config_test dlls/adsldp/tests adsldp_test
18228 wine_fn_config_dll adsldpc enable_adsldpc
18229 wine_fn_config_dll advapi32 enable_advapi32
18230 wine_fn_config_test dlls/advapi32/tests advapi32_test
18231 wine_fn_config_dll advpack enable_advpack
18232 wine_fn_config_test dlls/advpack/tests advpack_test
18233 wine_fn_config_dll amstream enable_amstream
18234 wine_fn_config_test dlls/amstream/tests amstream_test
18235 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18236 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18237 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18238 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18239 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18240 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18241 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18242 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18243 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18244 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18245 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18246 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18247 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18248 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18249 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18250 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18251 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18252 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18253 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18254 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18256 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18257 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18258 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18259 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18260 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18261 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18262 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18263 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18264 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18265 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18266 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18267 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18268 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18269 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18270 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18271 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18272 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18273 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18274 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18275 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18276 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18277 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18278 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18279 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18280 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18281 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18282 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18283 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18284 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18285 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18286 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18287 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18288 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18289 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18290 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18291 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18292 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18293 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18294 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18295 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18296 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18297 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18298 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18299 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18300 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18301 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18302 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18303 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18304 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18305 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18306 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18307 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18308 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18309 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18310 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18311 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18312 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18313 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18314 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18315 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18316 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18317 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18318 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18319 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18320 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18321 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18322 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18323 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18324 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18325 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18326 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18327 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18328 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18329 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18331 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18334 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18335 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18336 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18337 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18338 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18339 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18340 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18341 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18342 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18343 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18345 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18346 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18347 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18348 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18349 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18350 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18351 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18352 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18353 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18354 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18355 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18356 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18357 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18358 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18359 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18360 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18361 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18362 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18363 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18364 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18365 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18366 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18367 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18368 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18369 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18370 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18371 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18372 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18373 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18374 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18375 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18376 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18377 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18378 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18379 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18380 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18381 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18382 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18383 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18384 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18385 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18386 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18387 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18388 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18389 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18390 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18391 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18392 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18393 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18394 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18395 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18396 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18397 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18398 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18399 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18400 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18401 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18402 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18403 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18404 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18405 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18406 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18407 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18408 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18409 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18410 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18411 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18412 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18413 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18414 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18415 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18416 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18417 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18418 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18419 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18420 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18421 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18422 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18423 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18424 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18425 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18426 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18427 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18428 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18429 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18430 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18431 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18432 wine_fn_config_dll apphelp enable_apphelp
18433 wine_fn_config_test dlls/apphelp/tests apphelp_test
18434 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
18435 wine_fn_config_dll atl enable_atl
18436 wine_fn_config_test dlls/atl/tests atl_test
18437 wine_fn_config_dll atl100 enable_atl100
18438 wine_fn_config_test dlls/atl100/tests atl100_test
18439 wine_fn_config_dll atl110 enable_atl110
18440 wine_fn_config_dll atl80 enable_atl80
18441 wine_fn_config_test dlls/atl80/tests atl80_test
18442 wine_fn_config_dll atl90 enable_atl90
18443 wine_fn_config_dll authz enable_authz
18444 wine_fn_config_dll avicap32 enable_avicap32
18445 wine_fn_config_dll avifil32 enable_avifil32
18446 wine_fn_config_test dlls/avifil32/tests avifil32_test
18447 wine_fn_config_dll avifile.dll16 enable_win16
18448 wine_fn_config_dll avrt enable_avrt
18449 wine_fn_config_dll bcrypt enable_bcrypt
18450 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18451 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18452 wine_fn_config_dll browseui enable_browseui
18453 wine_fn_config_test dlls/browseui/tests browseui_test
18454 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18455 wine_fn_config_dll cabinet enable_cabinet
18456 wine_fn_config_test dlls/cabinet/tests cabinet_test
18457 wine_fn_config_dll capi2032 enable_capi2032
18458 wine_fn_config_dll cards enable_cards
18459 wine_fn_config_dll cdosys enable_cdosys
18460 wine_fn_config_dll cfgmgr32 enable_cfgmgr32
18461 wine_fn_config_dll clusapi enable_clusapi
18462 wine_fn_config_dll combase enable_combase
18463 wine_fn_config_test dlls/combase/tests combase_test
18464 wine_fn_config_dll comcat enable_comcat
18465 wine_fn_config_test dlls/comcat/tests comcat_test
18466 wine_fn_config_dll comctl32 enable_comctl32
18467 wine_fn_config_test dlls/comctl32/tests comctl32_test
18468 wine_fn_config_dll comdlg32 enable_comdlg32
18469 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18470 wine_fn_config_dll comm.drv16 enable_win16
18471 wine_fn_config_dll commdlg.dll16 enable_win16
18472 wine_fn_config_dll compobj.dll16 enable_win16
18473 wine_fn_config_dll compstui enable_compstui
18474 wine_fn_config_dll comsvcs enable_comsvcs
18475 wine_fn_config_dll concrt140 enable_concrt140
18476 wine_fn_config_dll connect enable_connect
18477 wine_fn_config_dll credui enable_credui
18478 wine_fn_config_test dlls/credui/tests credui_test
18479 wine_fn_config_dll crtdll enable_crtdll
18480 wine_fn_config_dll crypt32 enable_crypt32
18481 wine_fn_config_test dlls/crypt32/tests crypt32_test
18482 wine_fn_config_dll cryptdlg enable_cryptdlg
18483 wine_fn_config_dll cryptdll enable_cryptdll
18484 wine_fn_config_dll cryptext enable_cryptext
18485 wine_fn_config_dll cryptnet enable_cryptnet
18486 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18487 wine_fn_config_dll cryptui enable_cryptui
18488 wine_fn_config_test dlls/cryptui/tests cryptui_test
18489 wine_fn_config_dll ctapi32 enable_ctapi32
18490 wine_fn_config_dll ctl3d.dll16 enable_win16
18491 wine_fn_config_dll ctl3d32 enable_ctl3d32
18492 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18493 wine_fn_config_dll d2d1 enable_d2d1
18494 wine_fn_config_test dlls/d2d1/tests d2d1_test
18495 wine_fn_config_dll d3d10 enable_d3d10
18496 wine_fn_config_test dlls/d3d10/tests d3d10_test
18497 wine_fn_config_dll d3d10_1 enable_d3d10_1
18498 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18499 wine_fn_config_dll d3d10core enable_d3d10core
18500 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18501 wine_fn_config_dll d3d11 enable_d3d11
18502 wine_fn_config_test dlls/d3d11/tests d3d11_test
18503 wine_fn_config_dll d3d12 enable_d3d12
18504 wine_fn_config_test dlls/d3d12/tests d3d12_test
18505 wine_fn_config_dll d3d8 enable_d3d8
18506 wine_fn_config_test dlls/d3d8/tests d3d8_test
18507 wine_fn_config_dll d3d9 enable_d3d9
18508 wine_fn_config_test dlls/d3d9/tests d3d9_test
18509 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18510 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18511 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18512 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18513 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18514 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18515 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18516 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18517 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18518 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18519 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43
18520 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18521 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18522 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18523 wine_fn_config_dll d3dim enable_d3dim
18524 wine_fn_config_dll d3drm enable_d3drm
18525 wine_fn_config_test dlls/d3drm/tests d3drm_test
18526 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18527 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18528 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18529 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18530 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18531 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18532 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18533 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18534 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18535 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18536 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
18537 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18538 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18539 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
18540 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18541 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18542 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18543 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18544 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18545 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18546 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18547 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18548 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18549 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18550 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18551 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18552 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18553 wine_fn_config_dll d3dx9_36 enable_d3dx9_36
18554 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18555 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18556 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18557 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18558 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18559 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18560 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18561 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18562 wine_fn_config_dll d3dxof enable_d3dxof
18563 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18564 wine_fn_config_dll davclnt enable_davclnt
18565 wine_fn_config_dll dbgeng enable_dbgeng
18566 wine_fn_config_dll dbghelp enable_dbghelp
18567 wine_fn_config_dll dciman32 enable_dciman32
18568 wine_fn_config_dll ddeml.dll16 enable_win16
18569 wine_fn_config_dll ddraw enable_ddraw
18570 wine_fn_config_test dlls/ddraw/tests ddraw_test
18571 wine_fn_config_dll ddrawex enable_ddrawex
18572 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18573 wine_fn_config_dll devenum enable_devenum
18574 wine_fn_config_test dlls/devenum/tests devenum_test
18575 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18576 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx
18577 wine_fn_config_dll difxapi enable_difxapi
18578 wine_fn_config_dll dinput enable_dinput
18579 wine_fn_config_test dlls/dinput/tests dinput_test
18580 wine_fn_config_dll dinput8 enable_dinput8
18581 wine_fn_config_test dlls/dinput8/tests dinput8_test
18582 wine_fn_config_dll dispdib.dll16 enable_win16
18583 wine_fn_config_dll dispex enable_dispex
18584 wine_fn_config_test dlls/dispex/tests dispex_test
18585 wine_fn_config_dll display.drv16 enable_win16
18586 wine_fn_config_dll dmband enable_dmband
18587 wine_fn_config_test dlls/dmband/tests dmband_test
18588 wine_fn_config_dll dmcompos enable_dmcompos
18589 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18590 wine_fn_config_dll dmime enable_dmime
18591 wine_fn_config_test dlls/dmime/tests dmime_test
18592 wine_fn_config_dll dmloader enable_dmloader
18593 wine_fn_config_test dlls/dmloader/tests dmloader_test
18594 wine_fn_config_dll dmscript enable_dmscript
18595 wine_fn_config_test dlls/dmscript/tests dmscript_test
18596 wine_fn_config_dll dmstyle enable_dmstyle
18597 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18598 wine_fn_config_dll dmsynth enable_dmsynth
18599 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18600 wine_fn_config_dll dmusic enable_dmusic
18601 wine_fn_config_test dlls/dmusic/tests dmusic_test
18602 wine_fn_config_dll dmusic32 enable_dmusic32
18603 wine_fn_config_dll dnsapi enable_dnsapi
18604 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18605 wine_fn_config_dll dplay enable_dplay
18606 wine_fn_config_dll dplayx enable_dplayx
18607 wine_fn_config_test dlls/dplayx/tests dplayx_test
18608 wine_fn_config_dll dpnaddr enable_dpnaddr
18609 wine_fn_config_dll dpnet enable_dpnet
18610 wine_fn_config_test dlls/dpnet/tests dpnet_test
18611 wine_fn_config_dll dpnhpast enable_dpnhpast
18612 wine_fn_config_dll dpnlobby enable_dpnlobby
18613 wine_fn_config_dll dpvoice enable_dpvoice
18614 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18615 wine_fn_config_dll dpwsockx enable_dpwsockx
18616 wine_fn_config_dll drmclien enable_drmclien
18617 wine_fn_config_dll dsound enable_dsound
18618 wine_fn_config_test dlls/dsound/tests dsound_test
18619 wine_fn_config_dll dsquery enable_dsquery
18620 wine_fn_config_dll dssenh enable_dssenh
18621 wine_fn_config_test dlls/dssenh/tests dssenh_test
18622 wine_fn_config_dll dswave enable_dswave
18623 wine_fn_config_test dlls/dswave/tests dswave_test
18624 wine_fn_config_dll dwmapi enable_dwmapi
18625 wine_fn_config_dll dwrite enable_dwrite
18626 wine_fn_config_test dlls/dwrite/tests dwrite_test
18627 wine_fn_config_dll dx8vb enable_dx8vb
18628 wine_fn_config_dll dxdiagn enable_dxdiagn
18629 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18630 wine_fn_config_lib dxerr8
18631 wine_fn_config_lib dxerr9
18632 wine_fn_config_dll dxgi enable_dxgi
18633 wine_fn_config_test dlls/dxgi/tests dxgi_test
18634 wine_fn_config_lib dxguid
18635 wine_fn_config_dll dxva2 enable_dxva2
18636 wine_fn_config_dll esent enable_esent
18637 wine_fn_config_dll evr enable_evr
18638 wine_fn_config_test dlls/evr/tests evr_test
18639 wine_fn_config_dll explorerframe enable_explorerframe
18640 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18641 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18642 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18643 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18644 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18645 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18646 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18647 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18648 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18649 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18650 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18651 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18652 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18653 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18654 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18655 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18656 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18657 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18658 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18659 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18660 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18661 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18662 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18663 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18664 wine_fn_config_dll faultrep enable_faultrep
18665 wine_fn_config_test dlls/faultrep/tests faultrep_test
18666 wine_fn_config_dll fltlib enable_fltlib
18667 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18668 wine_fn_config_dll fntcache enable_fntcache
18669 wine_fn_config_dll fontsub enable_fontsub
18670 wine_fn_config_dll fusion enable_fusion
18671 wine_fn_config_test dlls/fusion/tests fusion_test
18672 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18673 wine_fn_config_dll gameux enable_gameux
18674 wine_fn_config_test dlls/gameux/tests gameux_test
18675 wine_fn_config_dll gdi.exe16 enable_win16
18676 wine_fn_config_dll gdi32 enable_gdi32
18677 wine_fn_config_test dlls/gdi32/tests gdi32_test
18678 wine_fn_config_dll gdiplus enable_gdiplus
18679 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18680 wine_fn_config_dll glu32 enable_glu32
18681 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
18682 wine_fn_config_dll gpkcsp enable_gpkcsp
18683 wine_fn_config_dll hal enable_hal
18684 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
18685 wine_fn_config_dll hid enable_hid
18686 wine_fn_config_test dlls/hid/tests hid_test
18687 wine_fn_config_dll hidclass.sys enable_hidclass_sys
18688 wine_fn_config_dll hlink enable_hlink
18689 wine_fn_config_test dlls/hlink/tests hlink_test
18690 wine_fn_config_dll hnetcfg enable_hnetcfg
18691 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18692 wine_fn_config_dll httpapi enable_httpapi
18693 wine_fn_config_test dlls/httpapi/tests httpapi_test
18694 wine_fn_config_dll iccvid enable_iccvid
18695 wine_fn_config_dll icmp enable_icmp
18696 wine_fn_config_dll ieframe enable_ieframe
18697 wine_fn_config_test dlls/ieframe/tests ieframe_test
18698 wine_fn_config_dll ieproxy enable_ieproxy
18699 wine_fn_config_dll ifsmgr.vxd enable_win16
18700 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18701 wine_fn_config_dll imagehlp enable_imagehlp
18702 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18703 wine_fn_config_dll imm.dll16 enable_win16
18704 wine_fn_config_dll imm32 enable_imm32
18705 wine_fn_config_test dlls/imm32/tests imm32_test
18706 wine_fn_config_dll inetcomm enable_inetcomm
18707 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18708 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
18709 wine_fn_config_dll inetmib1 enable_inetmib1
18710 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18711 wine_fn_config_dll infosoft enable_infosoft
18712 wine_fn_config_test dlls/infosoft/tests infosoft_test
18713 wine_fn_config_dll initpki enable_initpki
18714 wine_fn_config_dll inkobj enable_inkobj
18715 wine_fn_config_dll inseng enable_inseng
18716 wine_fn_config_dll iphlpapi enable_iphlpapi
18717 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18718 wine_fn_config_dll iprop enable_iprop
18719 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18720 wine_fn_config_dll itircl enable_itircl
18721 wine_fn_config_dll itss enable_itss
18722 wine_fn_config_test dlls/itss/tests itss_test
18723 wine_fn_config_dll joy.cpl enable_joy_cpl
18724 wine_fn_config_dll jscript enable_jscript
18725 wine_fn_config_test dlls/jscript/tests jscript_test
18726 wine_fn_config_dll jsproxy enable_jsproxy
18727 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18728 wine_fn_config_dll kerberos enable_kerberos
18729 wine_fn_config_dll kernel32 enable_kernel32
18730 wine_fn_config_test dlls/kernel32/tests kernel32_test
18731 wine_fn_config_dll kernelbase enable_kernelbase
18732 wine_fn_config_dll keyboard.drv16 enable_win16
18733 wine_fn_config_dll krnl386.exe16 enable_win16
18734 wine_fn_config_dll ksuser enable_ksuser
18735 wine_fn_config_dll ktmw32 enable_ktmw32
18736 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18737 wine_fn_config_dll loadperf enable_loadperf
18738 wine_fn_config_dll localspl enable_localspl
18739 wine_fn_config_test dlls/localspl/tests localspl_test
18740 wine_fn_config_dll localui enable_localui
18741 wine_fn_config_test dlls/localui/tests localui_test
18742 wine_fn_config_dll lz32 enable_lz32
18743 wine_fn_config_test dlls/lz32/tests lz32_test
18744 wine_fn_config_dll lzexpand.dll16 enable_win16
18745 wine_fn_config_dll mapi32 enable_mapi32
18746 wine_fn_config_test dlls/mapi32/tests mapi32_test
18747 wine_fn_config_dll mapistub enable_mapistub
18748 wine_fn_config_dll mciavi32 enable_mciavi32
18749 wine_fn_config_dll mcicda enable_mcicda
18750 wine_fn_config_dll mciqtz32 enable_mciqtz32
18751 wine_fn_config_dll mciseq enable_mciseq
18752 wine_fn_config_dll mciwave enable_mciwave
18753 wine_fn_config_dll mf enable_mf
18754 wine_fn_config_test dlls/mf/tests mf_test
18755 wine_fn_config_dll mf3216 enable_mf3216
18756 wine_fn_config_dll mfplat enable_mfplat
18757 wine_fn_config_test dlls/mfplat/tests mfplat_test
18758 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18759 wine_fn_config_lib mfuuid
18760 wine_fn_config_dll mgmtapi enable_mgmtapi
18761 wine_fn_config_dll midimap enable_midimap
18762 wine_fn_config_dll mlang enable_mlang
18763 wine_fn_config_test dlls/mlang/tests mlang_test
18764 wine_fn_config_dll mmcndmgr enable_mmcndmgr
18765 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18766 wine_fn_config_dll mmdevapi enable_mmdevapi
18767 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18768 wine_fn_config_dll mmdevldr.vxd enable_win16
18769 wine_fn_config_dll mmsystem.dll16 enable_win16
18770 wine_fn_config_dll monodebg.vxd enable_win16
18771 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18772 wine_fn_config_dll mouse.drv16 enable_win16
18773 wine_fn_config_dll mpr enable_mpr
18774 wine_fn_config_test dlls/mpr/tests mpr_test
18775 wine_fn_config_dll mprapi enable_mprapi
18776 wine_fn_config_dll msacm.dll16 enable_win16
18777 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18778 wine_fn_config_dll msacm32 enable_msacm32
18779 wine_fn_config_test dlls/msacm32/tests msacm32_test
18780 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18781 wine_fn_config_dll msasn1 enable_msasn1
18782 wine_fn_config_dll mscat32 enable_mscat32
18783 wine_fn_config_dll mscms enable_mscms
18784 wine_fn_config_test dlls/mscms/tests mscms_test
18785 wine_fn_config_dll mscoree enable_mscoree
18786 wine_fn_config_test dlls/mscoree/tests mscoree_test
18787 wine_fn_config_dll msctf enable_msctf
18788 wine_fn_config_test dlls/msctf/tests msctf_test
18789 wine_fn_config_dll msctfp enable_msctfp
18790 wine_fn_config_dll msdaps enable_msdaps
18791 wine_fn_config_dll msdelta enable_msdelta
18792 wine_fn_config_dll msdmo enable_msdmo
18793 wine_fn_config_test dlls/msdmo/tests msdmo_test
18794 wine_fn_config_dll msdrm enable_msdrm
18795 wine_fn_config_dll msftedit enable_msftedit
18796 wine_fn_config_dll msg711.acm enable_msg711_acm
18797 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18798 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
18799 wine_fn_config_dll mshtml enable_mshtml
18800 wine_fn_config_test dlls/mshtml/tests mshtml_test
18801 wine_fn_config_dll msi enable_msi
18802 wine_fn_config_test dlls/msi/tests msi_test
18803 wine_fn_config_dll msident enable_msident
18804 wine_fn_config_dll msimg32 enable_msimg32
18805 wine_fn_config_dll msimsg enable_msimsg
18806 wine_fn_config_dll msimtf enable_msimtf
18807 wine_fn_config_dll msisip enable_msisip
18808 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18809 wine_fn_config_dll msls31 enable_msls31
18810 wine_fn_config_dll msnet32 enable_msnet32
18811 wine_fn_config_dll mspatcha enable_mspatcha
18812 wine_fn_config_dll msports enable_msports
18813 wine_fn_config_dll msrle32 enable_msrle32
18814 wine_fn_config_test dlls/msrle32/tests msrle32_test
18815 wine_fn_config_dll msscript.ocx enable_msscript_ocx
18816 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test
18817 wine_fn_config_dll mssign32 enable_mssign32
18818 wine_fn_config_dll mssip32 enable_mssip32
18819 wine_fn_config_dll mstask enable_mstask
18820 wine_fn_config_test dlls/mstask/tests mstask_test
18821 wine_fn_config_dll msvcirt enable_msvcirt
18822 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18823 wine_fn_config_dll msvcm80 enable_msvcm80
18824 wine_fn_config_dll msvcm90 enable_msvcm90
18825 wine_fn_config_dll msvcp100 enable_msvcp100
18826 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18827 wine_fn_config_dll msvcp110 enable_msvcp110
18828 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18829 wine_fn_config_dll msvcp120 enable_msvcp120
18830 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18831 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18832 wine_fn_config_dll msvcp140 enable_msvcp140
18833 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18834 wine_fn_config_dll msvcp60 enable_msvcp60
18835 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18836 wine_fn_config_dll msvcp70 enable_msvcp70
18837 wine_fn_config_dll msvcp71 enable_msvcp71
18838 wine_fn_config_dll msvcp80 enable_msvcp80
18839 wine_fn_config_dll msvcp90 enable_msvcp90
18840 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18841 wine_fn_config_dll msvcr100 enable_msvcr100
18842 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18843 wine_fn_config_dll msvcr110 enable_msvcr110
18844 wine_fn_config_dll msvcr120 enable_msvcr120
18845 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18846 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18847 wine_fn_config_dll msvcr70 enable_msvcr70
18848 wine_fn_config_dll msvcr71 enable_msvcr71
18849 wine_fn_config_dll msvcr80 enable_msvcr80
18850 wine_fn_config_dll msvcr90 enable_msvcr90
18851 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18852 wine_fn_config_dll msvcrt enable_msvcrt
18853 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18854 wine_fn_config_dll msvcrt20 enable_msvcrt20
18855 wine_fn_config_dll msvcrt40 enable_msvcrt40
18856 wine_fn_config_dll msvcrtd enable_msvcrtd
18857 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18858 wine_fn_config_dll msvfw32 enable_msvfw32
18859 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18860 wine_fn_config_dll msvidc32 enable_msvidc32
18861 wine_fn_config_dll msvideo.dll16 enable_win16
18862 wine_fn_config_dll mswsock enable_mswsock
18863 wine_fn_config_dll msxml enable_msxml
18864 wine_fn_config_dll msxml2 enable_msxml2
18865 wine_fn_config_dll msxml3 enable_msxml3
18866 wine_fn_config_test dlls/msxml3/tests msxml3_test
18867 wine_fn_config_dll msxml4 enable_msxml4
18868 wine_fn_config_dll msxml6 enable_msxml6
18869 wine_fn_config_dll mtxdm enable_mtxdm
18870 wine_fn_config_dll ncrypt enable_ncrypt
18871 wine_fn_config_dll nddeapi enable_nddeapi
18872 wine_fn_config_dll ndis.sys enable_ndis_sys
18873 wine_fn_config_dll netapi32 enable_netapi32
18874 wine_fn_config_test dlls/netapi32/tests netapi32_test
18875 wine_fn_config_dll netcfgx enable_netcfgx
18876 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18877 wine_fn_config_dll netprofm enable_netprofm
18878 wine_fn_config_test dlls/netprofm/tests netprofm_test
18879 wine_fn_config_dll newdev enable_newdev
18880 wine_fn_config_dll normaliz enable_normaliz
18881 wine_fn_config_dll npmshtml enable_npmshtml
18882 wine_fn_config_dll npptools enable_npptools
18883 wine_fn_config_dll ntdll enable_ntdll
18884 wine_fn_config_test dlls/ntdll/tests ntdll_test
18885 wine_fn_config_dll ntdsapi enable_ntdsapi
18886 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18887 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe
18888 wine_fn_config_dll ntprint enable_ntprint
18889 wine_fn_config_test dlls/ntprint/tests ntprint_test
18890 wine_fn_config_dll objsel enable_objsel
18891 wine_fn_config_dll odbc32 enable_odbc32
18892 wine_fn_config_dll odbccp32 enable_odbccp32
18893 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18894 wine_fn_config_dll odbccu32 enable_odbccu32
18895 wine_fn_config_dll ole2.dll16 enable_win16
18896 wine_fn_config_dll ole2conv.dll16 enable_win16
18897 wine_fn_config_dll ole2disp.dll16 enable_win16
18898 wine_fn_config_dll ole2nls.dll16 enable_win16
18899 wine_fn_config_dll ole2prox.dll16 enable_win16
18900 wine_fn_config_dll ole2thk.dll16 enable_win16
18901 wine_fn_config_dll ole32 enable_ole32
18902 wine_fn_config_test dlls/ole32/tests ole32_test
18903 wine_fn_config_dll oleacc enable_oleacc
18904 wine_fn_config_test dlls/oleacc/tests oleacc_test
18905 wine_fn_config_dll oleaut32 enable_oleaut32
18906 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
18907 wine_fn_config_dll olecli.dll16 enable_win16
18908 wine_fn_config_dll olecli32 enable_olecli32
18909 wine_fn_config_dll oledb32 enable_oledb32
18910 wine_fn_config_test dlls/oledb32/tests oledb32_test
18911 wine_fn_config_dll oledlg enable_oledlg
18912 wine_fn_config_test dlls/oledlg/tests oledlg_test
18913 wine_fn_config_dll olepro32 enable_olepro32
18914 wine_fn_config_dll olesvr.dll16 enable_win16
18915 wine_fn_config_dll olesvr32 enable_olesvr32
18916 wine_fn_config_dll olethk32 enable_olethk32
18917 wine_fn_config_dll openal32 enable_openal32
18918 wine_fn_config_dll opencl enable_opencl
18919 wine_fn_config_dll opengl32 enable_opengl32
18920 wine_fn_config_test dlls/opengl32/tests opengl32_test
18921 wine_fn_config_dll packager enable_packager
18922 wine_fn_config_test dlls/packager/tests packager_test
18923 wine_fn_config_dll pdh enable_pdh
18924 wine_fn_config_test dlls/pdh/tests pdh_test
18925 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18926 wine_fn_config_dll pidgen enable_pidgen
18927 wine_fn_config_dll powrprof enable_powrprof
18928 wine_fn_config_dll printui enable_printui
18929 wine_fn_config_dll prntvpt enable_prntvpt
18930 wine_fn_config_dll propsys enable_propsys
18931 wine_fn_config_test dlls/propsys/tests propsys_test
18932 wine_fn_config_dll psapi enable_psapi
18933 wine_fn_config_test dlls/psapi/tests psapi_test
18934 wine_fn_config_dll pstorec enable_pstorec
18935 wine_fn_config_test dlls/pstorec/tests pstorec_test
18936 wine_fn_config_dll qcap enable_qcap
18937 wine_fn_config_test dlls/qcap/tests qcap_test
18938 wine_fn_config_dll qedit enable_qedit
18939 wine_fn_config_test dlls/qedit/tests qedit_test
18940 wine_fn_config_dll qmgr enable_qmgr
18941 wine_fn_config_test dlls/qmgr/tests qmgr_test
18942 wine_fn_config_dll qmgrprxy enable_qmgrprxy
18943 wine_fn_config_dll quartz enable_quartz
18944 wine_fn_config_test dlls/quartz/tests quartz_test
18945 wine_fn_config_dll query enable_query
18946 wine_fn_config_dll rasapi16.dll16 enable_win16
18947 wine_fn_config_dll rasapi32 enable_rasapi32
18948 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18949 wine_fn_config_dll rasdlg enable_rasdlg
18950 wine_fn_config_dll regapi enable_regapi
18951 wine_fn_config_dll resutils enable_resutils
18952 wine_fn_config_dll riched20 enable_riched20
18953 wine_fn_config_test dlls/riched20/tests riched20_test
18954 wine_fn_config_dll riched32 enable_riched32
18955 wine_fn_config_test dlls/riched32/tests riched32_test
18956 wine_fn_config_dll rpcrt4 enable_rpcrt4
18957 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
18958 wine_fn_config_dll rsabase enable_rsabase
18959 wine_fn_config_dll rsaenh enable_rsaenh
18960 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18961 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18962 wine_fn_config_dll rtutils enable_rtutils
18963 wine_fn_config_dll samlib enable_samlib
18964 wine_fn_config_dll sane.ds enable_sane_ds
18965 wine_fn_config_dll sapi enable_sapi
18966 wine_fn_config_test dlls/sapi/tests sapi_test
18967 wine_fn_config_dll scarddlg enable_scarddlg
18968 wine_fn_config_dll sccbase enable_sccbase
18969 wine_fn_config_dll schannel enable_schannel
18970 wine_fn_config_test dlls/schannel/tests schannel_test
18971 wine_fn_config_dll schedsvc enable_schedsvc
18972 wine_fn_config_test dlls/schedsvc/tests schedsvc_test
18973 wine_fn_config_dll scrobj enable_scrobj
18974 wine_fn_config_dll scrrun enable_scrrun
18975 wine_fn_config_test dlls/scrrun/tests scrrun_test
18976 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18977 wine_fn_config_dll secur32 enable_secur32
18978 wine_fn_config_test dlls/secur32/tests secur32_test
18979 wine_fn_config_dll security enable_security
18980 wine_fn_config_dll sensapi enable_sensapi
18981 wine_fn_config_dll serialui enable_serialui
18982 wine_fn_config_test dlls/serialui/tests serialui_test
18983 wine_fn_config_dll setupapi enable_setupapi
18984 wine_fn_config_test dlls/setupapi/tests setupapi_test
18985 wine_fn_config_dll setupx.dll16 enable_win16
18986 wine_fn_config_dll sfc enable_sfc
18987 wine_fn_config_dll sfc_os enable_sfc_os
18988 wine_fn_config_dll shcore enable_shcore
18989 wine_fn_config_dll shdoclc enable_shdoclc
18990 wine_fn_config_dll shdocvw enable_shdocvw
18991 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18992 wine_fn_config_dll shell.dll16 enable_win16
18993 wine_fn_config_dll shell32 enable_shell32
18994 wine_fn_config_test dlls/shell32/tests shell32_test
18995 wine_fn_config_dll shfolder enable_shfolder
18996 wine_fn_config_dll shlwapi enable_shlwapi
18997 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18998 wine_fn_config_dll slbcsp enable_slbcsp
18999 wine_fn_config_dll slc enable_slc
19000 wine_fn_config_test dlls/slc/tests slc_test
19001 wine_fn_config_dll snmpapi enable_snmpapi
19002 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19003 wine_fn_config_dll softpub enable_softpub
19004 wine_fn_config_dll sound.drv16 enable_win16
19005 wine_fn_config_dll spoolss enable_spoolss
19006 wine_fn_config_test dlls/spoolss/tests spoolss_test
19007 wine_fn_config_dll sspicli enable_sspicli
19008 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
19009 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
19010 wine_fn_config_dll sti enable_sti
19011 wine_fn_config_test dlls/sti/tests sti_test
19012 wine_fn_config_dll storage.dll16 enable_win16
19013 wine_fn_config_dll stress.dll16 enable_win16
19014 wine_fn_config_lib strmbase
19015 wine_fn_config_lib strmiids
19016 wine_fn_config_dll svrapi enable_svrapi
19017 wine_fn_config_dll sxs enable_sxs
19018 wine_fn_config_test dlls/sxs/tests sxs_test
19019 wine_fn_config_dll system.drv16 enable_win16
19020 wine_fn_config_dll t2embed enable_t2embed
19021 wine_fn_config_test dlls/t2embed/tests t2embed_test
19022 wine_fn_config_dll tapi32 enable_tapi32
19023 wine_fn_config_dll taskschd enable_taskschd
19024 wine_fn_config_test dlls/taskschd/tests taskschd_test
19025 wine_fn_config_dll tdh enable_tdh
19026 wine_fn_config_dll tdi.sys enable_tdi_sys
19027 wine_fn_config_dll toolhelp.dll16 enable_win16
19028 wine_fn_config_dll traffic enable_traffic
19029 wine_fn_config_dll twain.dll16 enable_win16
19030 wine_fn_config_dll twain_32 enable_twain_32
19031 wine_fn_config_test dlls/twain_32/tests twain_32_test
19032 wine_fn_config_dll typelib.dll16 enable_win16
19033 wine_fn_config_dll ucrtbase enable_ucrtbase
19034 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19035 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19036 wine_fn_config_dll uiribbon enable_uiribbon
19037 wine_fn_config_dll unicows enable_unicows
19038 wine_fn_config_dll updspapi enable_updspapi
19039 wine_fn_config_dll url enable_url
19040 wine_fn_config_dll urlmon enable_urlmon
19041 wine_fn_config_test dlls/urlmon/tests urlmon_test
19042 wine_fn_config_dll usbd.sys enable_usbd_sys
19043 wine_fn_config_dll user.exe16 enable_win16
19044 wine_fn_config_dll user32 enable_user32
19045 wine_fn_config_test dlls/user32/tests user32_test
19046 wine_fn_config_dll userenv enable_userenv
19047 wine_fn_config_test dlls/userenv/tests userenv_test
19048 wine_fn_config_dll usp10 enable_usp10
19049 wine_fn_config_test dlls/usp10/tests usp10_test
19050 wine_fn_config_lib uuid
19051 wine_fn_config_dll uxtheme enable_uxtheme
19052 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19053 wine_fn_config_dll vbscript enable_vbscript
19054 wine_fn_config_test dlls/vbscript/tests vbscript_test
19055 wine_fn_config_dll vcomp enable_vcomp
19056 wine_fn_config_test dlls/vcomp/tests vcomp_test
19057 wine_fn_config_dll vcomp100 enable_vcomp100
19058 wine_fn_config_dll vcomp110 enable_vcomp110
19059 wine_fn_config_dll vcomp120 enable_vcomp120
19060 wine_fn_config_dll vcomp140 enable_vcomp140
19061 wine_fn_config_dll vcomp90 enable_vcomp90
19062 wine_fn_config_dll vcruntime140 enable_vcruntime140
19063 wine_fn_config_dll vdhcp.vxd enable_win16
19064 wine_fn_config_dll vdmdbg enable_vdmdbg
19065 wine_fn_config_dll ver.dll16 enable_win16
19066 wine_fn_config_dll version enable_version
19067 wine_fn_config_test dlls/version/tests version_test
19068 wine_fn_config_dll virtdisk enable_virtdisk
19069 wine_fn_config_dll vmm.vxd enable_win16
19070 wine_fn_config_dll vnbt.vxd enable_win16
19071 wine_fn_config_dll vnetbios.vxd enable_win16
19072 wine_fn_config_dll vssapi enable_vssapi
19073 wine_fn_config_dll vtdapi.vxd enable_win16
19074 wine_fn_config_dll vwin32.vxd enable_win16
19075 wine_fn_config_dll w32skrnl enable_win16
19076 wine_fn_config_dll w32sys.dll16 enable_win16
19077 wine_fn_config_dll wbemdisp enable_wbemdisp
19078 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19079 wine_fn_config_dll wbemprox enable_wbemprox
19080 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19081 wine_fn_config_dll wdscore enable_wdscore
19082 wine_fn_config_dll webservices enable_webservices
19083 wine_fn_config_test dlls/webservices/tests webservices_test
19084 wine_fn_config_dll wer enable_wer
19085 wine_fn_config_test dlls/wer/tests wer_test
19086 wine_fn_config_dll wevtapi enable_wevtapi
19087 wine_fn_config_dll wiaservc enable_wiaservc
19088 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19089 wine_fn_config_dll wimgapi enable_wimgapi
19090 wine_fn_config_dll win32s16.dll16 enable_win16
19091 wine_fn_config_dll win87em.dll16 enable_win16
19092 wine_fn_config_dll winaspi.dll16 enable_win16
19093 wine_fn_config_dll windebug.dll16 enable_win16
19094 wine_fn_config_dll windowscodecs enable_windowscodecs
19095 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19096 wine_fn_config_dll windowscodecsext enable_windowscodecsext
19097 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19098 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19099 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv
19100 wine_fn_config_dll winebus.sys enable_winebus_sys
19101 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19102 wine_fn_config_lib winecrt0
19103 wine_fn_config_dll wined3d enable_wined3d
19104 wine_fn_config_dll winegstreamer enable_winegstreamer
19105 wine_fn_config_dll winehid.sys enable_winehid_sys
19106 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19107 wine_fn_config_dll winemac.drv enable_winemac_drv
19108 wine_fn_config_dll winemapi enable_winemapi
19109 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19110 wine_fn_config_dll wineps.drv enable_wineps_drv
19111 wine_fn_config_dll wineps16.drv16 enable_win16
19112 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19113 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19114 wine_fn_config_dll winevulkan enable_winevulkan
19115 wine_fn_config_dll winex11.drv enable_winex11_drv
19116 wine_fn_config_dll wing.dll16 enable_win16
19117 wine_fn_config_dll wing32 enable_wing32
19118 wine_fn_config_dll winhttp enable_winhttp
19119 wine_fn_config_test dlls/winhttp/tests winhttp_test
19120 wine_fn_config_dll wininet enable_wininet
19121 wine_fn_config_test dlls/wininet/tests wininet_test
19122 wine_fn_config_dll winmm enable_winmm
19123 wine_fn_config_test dlls/winmm/tests winmm_test
19124 wine_fn_config_dll winnls.dll16 enable_win16
19125 wine_fn_config_dll winnls32 enable_winnls32
19126 wine_fn_config_dll winscard enable_winscard
19127 wine_fn_config_dll winsock.dll16 enable_win16
19128 wine_fn_config_dll winspool.drv enable_winspool_drv
19129 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19130 wine_fn_config_dll winsta enable_winsta
19131 wine_fn_config_dll wintab.dll16 enable_win16
19132 wine_fn_config_dll wintab32 enable_wintab32
19133 wine_fn_config_test dlls/wintab32/tests wintab32_test
19134 wine_fn_config_dll wintrust enable_wintrust
19135 wine_fn_config_test dlls/wintrust/tests wintrust_test
19136 wine_fn_config_dll winusb enable_winusb
19137 wine_fn_config_dll wlanapi enable_wlanapi
19138 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19139 wine_fn_config_dll wldap32 enable_wldap32
19140 wine_fn_config_test dlls/wldap32/tests wldap32_test
19141 wine_fn_config_dll wmasf enable_wmasf
19142 wine_fn_config_dll wmi enable_wmi
19143 wine_fn_config_dll wmiutils enable_wmiutils
19144 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19145 wine_fn_config_dll wmp enable_wmp
19146 wine_fn_config_test dlls/wmp/tests wmp_test
19147 wine_fn_config_dll wmphoto enable_wmphoto
19148 wine_fn_config_dll wmvcore enable_wmvcore
19149 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19150 wine_fn_config_dll wnaspi32 enable_wnaspi32
19151 wine_fn_config_dll wow32 enable_win16
19152 wine_fn_config_dll wpc enable_wpc
19153 wine_fn_config_test dlls/wpc/tests wpc_test
19154 wine_fn_config_dll wpcap enable_wpcap
19155 wine_fn_config_dll ws2_32 enable_ws2_32
19156 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19157 wine_fn_config_dll wsdapi enable_wsdapi
19158 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19159 wine_fn_config_dll wshom.ocx enable_wshom_ocx
19160 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
19161 wine_fn_config_dll wsnmp32 enable_wsnmp32
19162 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19163 wine_fn_config_dll wsock32 enable_wsock32
19164 wine_fn_config_dll wtsapi32 enable_wtsapi32
19165 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19166 wine_fn_config_dll wuapi enable_wuapi
19167 wine_fn_config_dll wuaueng enable_wuaueng
19168 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19169 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19170 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19171 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19172 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19173 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19174 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19175 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19176 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19177 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19178 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19179 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19180 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19181 wine_fn_config_dll xaudio2_0 enable_xaudio2_0
19182 wine_fn_config_dll xaudio2_1 enable_xaudio2_1
19183 wine_fn_config_dll xaudio2_2 enable_xaudio2_2
19184 wine_fn_config_dll xaudio2_3 enable_xaudio2_3
19185 wine_fn_config_dll xaudio2_4 enable_xaudio2_4
19186 wine_fn_config_dll xaudio2_5 enable_xaudio2_5
19187 wine_fn_config_dll xaudio2_6 enable_xaudio2_6
19188 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
19189 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19190 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
19191 wine_fn_config_dll xaudio2_9 enable_xaudio2_9
19192 wine_fn_config_dll xinput1_1 enable_xinput1_1
19193 wine_fn_config_dll xinput1_2 enable_xinput1_2
19194 wine_fn_config_dll xinput1_3 enable_xinput1_3
19195 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19196 wine_fn_config_dll xinput1_4 enable_xinput1_4
19197 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19198 wine_fn_config_dll xmllite enable_xmllite
19199 wine_fn_config_test dlls/xmllite/tests xmllite_test
19200 wine_fn_config_dll xolehlp enable_xolehlp
19201 wine_fn_config_dll xpsprint enable_xpsprint
19202 wine_fn_config_dll xpssvcs enable_xpssvcs
19203 wine_fn_config_makefile fonts enable_fonts
19204 wine_fn_config_makefile include enable_include
19205 wine_fn_config_makefile libs/port enable_libs_port
19206 wine_fn_config_makefile libs/wine enable_libs_wine
19207 wine_fn_config_makefile libs/wpp enable_libs_wpp
19208 wine_fn_config_makefile loader enable_loader
19209 wine_fn_config_makefile po enable_po
19210 wine_fn_config_program arp enable_arp
19211 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
19212 wine_fn_config_program attrib enable_attrib
19213 wine_fn_config_program cabarc enable_cabarc
19214 wine_fn_config_program cacls enable_cacls
19215 wine_fn_config_program clock enable_clock
19216 wine_fn_config_program cmd enable_cmd
19217 wine_fn_config_test programs/cmd/tests cmd.exe_test
19218 wine_fn_config_program conhost enable_conhost
19219 wine_fn_config_program control enable_control
19220 wine_fn_config_program cscript enable_cscript
19221 wine_fn_config_program dpnsvr enable_dpnsvr
19222 wine_fn_config_program dxdiag enable_dxdiag
19223 wine_fn_config_program eject enable_eject
19224 wine_fn_config_program expand enable_expand
19225 wine_fn_config_program explorer enable_explorer
19226 wine_fn_config_program extrac32 enable_extrac32
19227 wine_fn_config_program findstr enable_findstr
19228 wine_fn_config_program fsutil enable_fsutil
19229 wine_fn_config_program hh enable_hh
19230 wine_fn_config_program hostname enable_hostname
19231 wine_fn_config_program icacls enable_icacls
19232 wine_fn_config_program icinfo enable_icinfo
19233 wine_fn_config_program iexplore enable_iexplore
19234 wine_fn_config_program ipconfig enable_ipconfig
19235 wine_fn_config_program lodctr enable_lodctr
19236 wine_fn_config_program mofcomp enable_mofcomp
19237 wine_fn_config_program mshta enable_mshta
19238 wine_fn_config_program msiexec enable_msiexec
19239 wine_fn_config_program msinfo32 enable_msinfo32
19240 wine_fn_config_program net enable_net
19241 wine_fn_config_program netsh enable_netsh
19242 wine_fn_config_program netstat enable_netstat
19243 wine_fn_config_program ngen enable_ngen
19244 wine_fn_config_program notepad enable_notepad
19245 wine_fn_config_program oleview enable_oleview
19246 wine_fn_config_program ping enable_ping
19247 wine_fn_config_program plugplay enable_plugplay
19248 wine_fn_config_program powershell enable_powershell
19249 wine_fn_config_program presentationfontcache enable_presentationfontcache
19250 wine_fn_config_program progman enable_progman
19251 wine_fn_config_program reg enable_reg
19252 wine_fn_config_test programs/reg/tests reg.exe_test
19253 wine_fn_config_program regasm enable_regasm
19254 wine_fn_config_program regedit enable_regedit
19255 wine_fn_config_test programs/regedit/tests regedit.exe_test
19256 wine_fn_config_program regsvcs enable_regsvcs
19257 wine_fn_config_program regsvr32 enable_regsvr32
19258 wine_fn_config_program rpcss enable_rpcss
19259 wine_fn_config_program rundll.exe16 enable_win16
19260 wine_fn_config_program rundll32 enable_rundll32
19261 wine_fn_config_program sc enable_sc
19262 wine_fn_config_program schtasks enable_schtasks
19263 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19264 wine_fn_config_program sdbinst enable_sdbinst
19265 wine_fn_config_program secedit enable_secedit
19266 wine_fn_config_program servicemodelreg enable_servicemodelreg
19267 wine_fn_config_program services enable_services
19268 wine_fn_config_test programs/services/tests services.exe_test
19269 wine_fn_config_program shutdown enable_shutdown
19270 wine_fn_config_program spoolsv enable_spoolsv
19271 wine_fn_config_program start enable_start
19272 wine_fn_config_program subst enable_subst
19273 wine_fn_config_program svchost enable_svchost
19274 wine_fn_config_program systeminfo enable_systeminfo
19275 wine_fn_config_program taskkill enable_taskkill
19276 wine_fn_config_program tasklist enable_tasklist
19277 wine_fn_config_program taskmgr enable_taskmgr
19278 wine_fn_config_program termsv enable_termsv
19279 wine_fn_config_program uninstaller enable_uninstaller
19280 wine_fn_config_program unlodctr enable_unlodctr
19281 wine_fn_config_program view enable_view
19282 wine_fn_config_program wevtutil enable_wevtutil
19283 wine_fn_config_program wineboot enable_wineboot
19284 wine_fn_config_program winebrowser enable_winebrowser
19285 wine_fn_config_program winecfg enable_winecfg
19286 wine_fn_config_program wineconsole enable_wineconsole
19287 wine_fn_config_program winedbg enable_winedbg
19288 wine_fn_config_program winedevice enable_winedevice
19289 wine_fn_config_program winefile enable_winefile
19290 wine_fn_config_program winemenubuilder enable_winemenubuilder
19291 wine_fn_config_program winemine enable_winemine
19292 wine_fn_config_program winemsibuilder enable_winemsibuilder
19293 wine_fn_config_program winepath enable_winepath
19294 wine_fn_config_program winetest enable_winetest
19295 wine_fn_config_program winevdm enable_win16
19296 wine_fn_config_program winhelp.exe16 enable_win16
19297 wine_fn_config_program winhlp32 enable_winhlp32
19298 wine_fn_config_program winoldap.mod16 enable_win16
19299 wine_fn_config_program winver enable_winver
19300 wine_fn_config_program wmic enable_wmic
19301 wine_fn_config_program wmplayer enable_wmplayer
19302 wine_fn_config_program wordpad enable_wordpad
19303 wine_fn_config_program write enable_write
19304 wine_fn_config_program wscript enable_wscript
19305 wine_fn_config_test programs/wscript/tests wscript.exe_test
19306 wine_fn_config_program wusa enable_wusa
19307 wine_fn_config_program xcopy enable_xcopy
19308 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19309 wine_fn_config_makefile server enable_server
19310 wine_fn_config_tool tools
19311 wine_fn_config_tool tools/sfnt2fon
19312 wine_fn_config_tool tools/widl
19313 wine_fn_config_tool tools/winebuild
19314 wine_fn_config_tool tools/winedump
19315 wine_fn_config_tool tools/winegcc
19316 wine_fn_config_tool tools/winemaker
19317 wine_fn_config_tool tools/wmc
19318 wine_fn_config_tool tools/wrc
19321 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19322 wine_fn_append_file CONFIGURE_TARGETS "tags"
19323 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19324 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19325 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19326 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19327 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19328 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19330 if test "x$enable_tools" != xno
19331 then
19332 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19333 ac_config_commands="$ac_config_commands tools/makedep"
19337 ac_config_commands="$ac_config_commands Makefile"
19340 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19344 if test "x$enable_maintainer_mode" = xyes
19345 then
19346 wine_fn_append_rule "configure: configure.ac aclocal.m4
19347 autoconf --warnings=all
19348 include/config.h.in: include/stamp-h.in
19349 include/stamp-h.in: configure.ac aclocal.m4
19350 autoheader --warnings=all
19351 @echo timestamp > \$@"
19354 if test "x$enable_tools" != xno
19355 then
19356 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19357 @./config.status tools/makedep
19358 Makefile: tools/makedep$ac_exeext"
19359 else
19360 wine_fn_append_rule "\$(MAKEDEP):
19361 @echo \"You need to run make in $TOOLSDIR first\" && false"
19364 if test -n "$with_wine64"
19365 then
19366 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19367 fonts server:
19368 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19369 $with_wine64/loader/wine:
19370 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19371 $with_wine64/loader/wine-preloader:
19372 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19373 clean::
19374 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19375 else
19376 WINELOADER_INSTALL="wine.inf l_intl.nls"
19378 case $host_os in
19379 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19380 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19381 esac
19384 $as_echo " done" >&6
19385 cat >confcache <<\_ACEOF
19386 # This file is a shell script that caches the results of configure
19387 # tests run on this system so they can be shared between configure
19388 # scripts and configure runs, see configure's option --config-cache.
19389 # It is not useful on other systems. If it contains results you don't
19390 # want to keep, you may remove or edit it.
19392 # config.status only pays attention to the cache file if you give it
19393 # the --recheck option to rerun configure.
19395 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19396 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19397 # following values.
19399 _ACEOF
19401 # The following way of writing the cache mishandles newlines in values,
19402 # but we know of no workaround that is simple, portable, and efficient.
19403 # So, we kill variables containing newlines.
19404 # Ultrix sh set writes to stderr and can't be redirected directly,
19405 # and sets the high bit in the cache file unless we assign to the vars.
19407 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19408 eval ac_val=\$$ac_var
19409 case $ac_val in #(
19410 *${as_nl}*)
19411 case $ac_var in #(
19412 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19413 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19414 esac
19415 case $ac_var in #(
19416 _ | IFS | as_nl) ;; #(
19417 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19418 *) { eval $ac_var=; unset $ac_var;} ;;
19419 esac ;;
19420 esac
19421 done
19423 (set) 2>&1 |
19424 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19425 *${as_nl}ac_space=\ *)
19426 # `set' does not quote correctly, so add quotes: double-quote
19427 # substitution turns \\\\ into \\, and sed turns \\ into \.
19428 sed -n \
19429 "s/'/'\\\\''/g;
19430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19431 ;; #(
19433 # `set' quotes correctly as required by POSIX, so do not add quotes.
19434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19436 esac |
19437 sort
19439 sed '
19440 /^ac_cv_env_/b end
19441 t clear
19442 :clear
19443 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19444 t end
19445 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19446 :end' >>confcache
19447 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19448 if test -w "$cache_file"; then
19449 if test "x$cache_file" != "x/dev/null"; then
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19451 $as_echo "$as_me: updating cache $cache_file" >&6;}
19452 if test ! -f "$cache_file" || test -h "$cache_file"; then
19453 cat confcache >"$cache_file"
19454 else
19455 case $cache_file in #(
19456 */* | ?:*)
19457 mv -f confcache "$cache_file"$$ &&
19458 mv -f "$cache_file"$$ "$cache_file" ;; #(
19460 mv -f confcache "$cache_file" ;;
19461 esac
19464 else
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19466 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19469 rm -f confcache
19471 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19472 # Let make expand exec_prefix.
19473 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19475 DEFS=-DHAVE_CONFIG_H
19477 ac_libobjs=
19478 ac_ltlibobjs=
19480 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19481 # 1. Remove the extension, and $U if already installed.
19482 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19483 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19484 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19485 # will be set to the directory where LIBOBJS objects are built.
19486 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19487 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19488 done
19489 LIBOBJS=$ac_libobjs
19491 LTLIBOBJS=$ac_ltlibobjs
19495 : "${CONFIG_STATUS=./config.status}"
19496 ac_write_fail=0
19497 ac_clean_files_save=$ac_clean_files
19498 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19500 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19501 as_write_fail=0
19502 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19503 #! $SHELL
19504 # Generated by $as_me.
19505 # Run this file to recreate the current configuration.
19506 # Compiler output produced by configure, useful for debugging
19507 # configure, is in config.log if it exists.
19509 debug=false
19510 ac_cs_recheck=false
19511 ac_cs_silent=false
19513 SHELL=\${CONFIG_SHELL-$SHELL}
19514 export SHELL
19515 _ASEOF
19516 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19517 ## -------------------- ##
19518 ## M4sh Initialization. ##
19519 ## -------------------- ##
19521 # Be more Bourne compatible
19522 DUALCASE=1; export DUALCASE # for MKS sh
19523 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19524 emulate sh
19525 NULLCMD=:
19526 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19527 # is contrary to our usage. Disable this feature.
19528 alias -g '${1+"$@"}'='"$@"'
19529 setopt NO_GLOB_SUBST
19530 else
19531 case `(set -o) 2>/dev/null` in #(
19532 *posix*) :
19533 set -o posix ;; #(
19534 *) :
19536 esac
19540 as_nl='
19542 export as_nl
19543 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19544 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19545 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19546 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19547 # Prefer a ksh shell builtin over an external printf program on Solaris,
19548 # but without wasting forks for bash or zsh.
19549 if test -z "$BASH_VERSION$ZSH_VERSION" \
19550 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19551 as_echo='print -r --'
19552 as_echo_n='print -rn --'
19553 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19554 as_echo='printf %s\n'
19555 as_echo_n='printf %s'
19556 else
19557 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19558 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19559 as_echo_n='/usr/ucb/echo -n'
19560 else
19561 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19562 as_echo_n_body='eval
19563 arg=$1;
19564 case $arg in #(
19565 *"$as_nl"*)
19566 expr "X$arg" : "X\\(.*\\)$as_nl";
19567 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19568 esac;
19569 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19571 export as_echo_n_body
19572 as_echo_n='sh -c $as_echo_n_body as_echo'
19574 export as_echo_body
19575 as_echo='sh -c $as_echo_body as_echo'
19578 # The user is always right.
19579 if test "${PATH_SEPARATOR+set}" != set; then
19580 PATH_SEPARATOR=:
19581 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19582 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19583 PATH_SEPARATOR=';'
19588 # IFS
19589 # We need space, tab and new line, in precisely that order. Quoting is
19590 # there to prevent editors from complaining about space-tab.
19591 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19592 # splitting by setting IFS to empty value.)
19593 IFS=" "" $as_nl"
19595 # Find who we are. Look in the path if we contain no directory separator.
19596 as_myself=
19597 case $0 in #((
19598 *[\\/]* ) as_myself=$0 ;;
19599 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19600 for as_dir in $PATH
19602 IFS=$as_save_IFS
19603 test -z "$as_dir" && as_dir=.
19604 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19605 done
19606 IFS=$as_save_IFS
19609 esac
19610 # We did not find ourselves, most probably we were run as `sh COMMAND'
19611 # in which case we are not to be found in the path.
19612 if test "x$as_myself" = x; then
19613 as_myself=$0
19615 if test ! -f "$as_myself"; then
19616 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19617 exit 1
19620 # Unset variables that we do not need and which cause bugs (e.g. in
19621 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19622 # suppresses any "Segmentation fault" message there. '((' could
19623 # trigger a bug in pdksh 5.2.14.
19624 for as_var in BASH_ENV ENV MAIL MAILPATH
19625 do eval test x\${$as_var+set} = xset \
19626 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19627 done
19628 PS1='$ '
19629 PS2='> '
19630 PS4='+ '
19632 # NLS nuisances.
19633 LC_ALL=C
19634 export LC_ALL
19635 LANGUAGE=C
19636 export LANGUAGE
19638 # CDPATH.
19639 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19642 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19643 # ----------------------------------------
19644 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19645 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19646 # script with STATUS, using 1 if that was 0.
19647 as_fn_error ()
19649 as_status=$1; test $as_status -eq 0 && as_status=1
19650 if test "$4"; then
19651 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19652 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19654 $as_echo "$as_me: error: $2" >&2
19655 as_fn_exit $as_status
19656 } # as_fn_error
19659 # as_fn_set_status STATUS
19660 # -----------------------
19661 # Set $? to STATUS, without forking.
19662 as_fn_set_status ()
19664 return $1
19665 } # as_fn_set_status
19667 # as_fn_exit STATUS
19668 # -----------------
19669 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19670 as_fn_exit ()
19672 set +e
19673 as_fn_set_status $1
19674 exit $1
19675 } # as_fn_exit
19677 # as_fn_unset VAR
19678 # ---------------
19679 # Portably unset VAR.
19680 as_fn_unset ()
19682 { eval $1=; unset $1;}
19684 as_unset=as_fn_unset
19685 # as_fn_append VAR VALUE
19686 # ----------------------
19687 # Append the text in VALUE to the end of the definition contained in VAR. Take
19688 # advantage of any shell optimizations that allow amortized linear growth over
19689 # repeated appends, instead of the typical quadratic growth present in naive
19690 # implementations.
19691 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19692 eval 'as_fn_append ()
19694 eval $1+=\$2
19696 else
19697 as_fn_append ()
19699 eval $1=\$$1\$2
19701 fi # as_fn_append
19703 # as_fn_arith ARG...
19704 # ------------------
19705 # Perform arithmetic evaluation on the ARGs, and store the result in the
19706 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19707 # must be portable across $(()) and expr.
19708 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19709 eval 'as_fn_arith ()
19711 as_val=$(( $* ))
19713 else
19714 as_fn_arith ()
19716 as_val=`expr "$@" || test $? -eq 1`
19718 fi # as_fn_arith
19721 if expr a : '\(a\)' >/dev/null 2>&1 &&
19722 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19723 as_expr=expr
19724 else
19725 as_expr=false
19728 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19729 as_basename=basename
19730 else
19731 as_basename=false
19734 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19735 as_dirname=dirname
19736 else
19737 as_dirname=false
19740 as_me=`$as_basename -- "$0" ||
19741 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19742 X"$0" : 'X\(//\)$' \| \
19743 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19744 $as_echo X/"$0" |
19745 sed '/^.*\/\([^/][^/]*\)\/*$/{
19746 s//\1/
19749 /^X\/\(\/\/\)$/{
19750 s//\1/
19753 /^X\/\(\/\).*/{
19754 s//\1/
19757 s/.*/./; q'`
19759 # Avoid depending upon Character Ranges.
19760 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19761 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19762 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19763 as_cr_digits='0123456789'
19764 as_cr_alnum=$as_cr_Letters$as_cr_digits
19766 ECHO_C= ECHO_N= ECHO_T=
19767 case `echo -n x` in #(((((
19768 -n*)
19769 case `echo 'xy\c'` in
19770 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19771 xy) ECHO_C='\c';;
19772 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19773 ECHO_T=' ';;
19774 esac;;
19776 ECHO_N='-n';;
19777 esac
19779 rm -f conf$$ conf$$.exe conf$$.file
19780 if test -d conf$$.dir; then
19781 rm -f conf$$.dir/conf$$.file
19782 else
19783 rm -f conf$$.dir
19784 mkdir conf$$.dir 2>/dev/null
19786 if (echo >conf$$.file) 2>/dev/null; then
19787 if ln -s conf$$.file conf$$ 2>/dev/null; then
19788 as_ln_s='ln -s'
19789 # ... but there are two gotchas:
19790 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19791 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19792 # In both cases, we have to default to `cp -pR'.
19793 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19794 as_ln_s='cp -pR'
19795 elif ln conf$$.file conf$$ 2>/dev/null; then
19796 as_ln_s=ln
19797 else
19798 as_ln_s='cp -pR'
19800 else
19801 as_ln_s='cp -pR'
19803 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19804 rmdir conf$$.dir 2>/dev/null
19807 # as_fn_mkdir_p
19808 # -------------
19809 # Create "$as_dir" as a directory, including parents if necessary.
19810 as_fn_mkdir_p ()
19813 case $as_dir in #(
19814 -*) as_dir=./$as_dir;;
19815 esac
19816 test -d "$as_dir" || eval $as_mkdir_p || {
19817 as_dirs=
19818 while :; do
19819 case $as_dir in #(
19820 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19821 *) as_qdir=$as_dir;;
19822 esac
19823 as_dirs="'$as_qdir' $as_dirs"
19824 as_dir=`$as_dirname -- "$as_dir" ||
19825 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19826 X"$as_dir" : 'X\(//\)[^/]' \| \
19827 X"$as_dir" : 'X\(//\)$' \| \
19828 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19829 $as_echo X"$as_dir" |
19830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19831 s//\1/
19834 /^X\(\/\/\)[^/].*/{
19835 s//\1/
19838 /^X\(\/\/\)$/{
19839 s//\1/
19842 /^X\(\/\).*/{
19843 s//\1/
19846 s/.*/./; q'`
19847 test -d "$as_dir" && break
19848 done
19849 test -z "$as_dirs" || eval "mkdir $as_dirs"
19850 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19853 } # as_fn_mkdir_p
19854 if mkdir -p . 2>/dev/null; then
19855 as_mkdir_p='mkdir -p "$as_dir"'
19856 else
19857 test -d ./-p && rmdir ./-p
19858 as_mkdir_p=false
19862 # as_fn_executable_p FILE
19863 # -----------------------
19864 # Test if FILE is an executable regular file.
19865 as_fn_executable_p ()
19867 test -f "$1" && test -x "$1"
19868 } # as_fn_executable_p
19869 as_test_x='test -x'
19870 as_executable_p=as_fn_executable_p
19872 # Sed expression to map a string onto a valid CPP name.
19873 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19875 # Sed expression to map a string onto a valid variable name.
19876 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19879 exec 6>&1
19880 ## ----------------------------------- ##
19881 ## Main body of $CONFIG_STATUS script. ##
19882 ## ----------------------------------- ##
19883 _ASEOF
19884 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19887 # Save the log message, to keep $0 and so on meaningful, and to
19888 # report actual input values of CONFIG_FILES etc. instead of their
19889 # values after options handling.
19890 ac_log="
19891 This file was extended by Wine $as_me 3.2, which was
19892 generated by GNU Autoconf 2.69. Invocation command line was
19894 CONFIG_FILES = $CONFIG_FILES
19895 CONFIG_HEADERS = $CONFIG_HEADERS
19896 CONFIG_LINKS = $CONFIG_LINKS
19897 CONFIG_COMMANDS = $CONFIG_COMMANDS
19898 $ $0 $@
19900 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19903 _ACEOF
19905 case $ac_config_files in *"
19906 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19907 esac
19909 case $ac_config_headers in *"
19910 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19911 esac
19914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19915 # Files that config.status was made for.
19916 config_files="$ac_config_files"
19917 config_headers="$ac_config_headers"
19918 config_links="$ac_config_links"
19919 config_commands="$ac_config_commands"
19921 _ACEOF
19923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19924 ac_cs_usage="\
19925 \`$as_me' instantiates files and other configuration actions
19926 from templates according to the current configuration. Unless the files
19927 and actions are specified as TAGs, all are instantiated by default.
19929 Usage: $0 [OPTION]... [TAG]...
19931 -h, --help print this help, then exit
19932 -V, --version print version number and configuration settings, then exit
19933 --config print configuration, then exit
19934 -q, --quiet, --silent
19935 do not print progress messages
19936 -d, --debug don't remove temporary files
19937 --recheck update $as_me by reconfiguring in the same conditions
19938 --file=FILE[:TEMPLATE]
19939 instantiate the configuration file FILE
19940 --header=FILE[:TEMPLATE]
19941 instantiate the configuration header FILE
19943 Configuration files:
19944 $config_files
19946 Configuration headers:
19947 $config_headers
19949 Configuration links:
19950 $config_links
19952 Configuration commands:
19953 $config_commands
19955 Report bugs to <wine-devel@winehq.org>.
19956 Wine home page: <https://www.winehq.org>."
19958 _ACEOF
19959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19960 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19961 ac_cs_version="\\
19962 Wine config.status 3.2
19963 configured by $0, generated by GNU Autoconf 2.69,
19964 with options \\"\$ac_cs_config\\"
19966 Copyright (C) 2012 Free Software Foundation, Inc.
19967 This config.status script is free software; the Free Software Foundation
19968 gives unlimited permission to copy, distribute and modify it."
19970 ac_pwd='$ac_pwd'
19971 srcdir='$srcdir'
19972 test -n "\$AWK" || AWK=awk
19973 _ACEOF
19975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19976 # The default lists apply if the user does not specify any file.
19977 ac_need_defaults=:
19978 while test $# != 0
19980 case $1 in
19981 --*=?*)
19982 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19983 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19984 ac_shift=:
19986 --*=)
19987 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19988 ac_optarg=
19989 ac_shift=:
19992 ac_option=$1
19993 ac_optarg=$2
19994 ac_shift=shift
19996 esac
19998 case $ac_option in
19999 # Handling of the options.
20000 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20001 ac_cs_recheck=: ;;
20002 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20003 $as_echo "$ac_cs_version"; exit ;;
20004 --config | --confi | --conf | --con | --co | --c )
20005 $as_echo "$ac_cs_config"; exit ;;
20006 --debug | --debu | --deb | --de | --d | -d )
20007 debug=: ;;
20008 --file | --fil | --fi | --f )
20009 $ac_shift
20010 case $ac_optarg in
20011 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20012 '') as_fn_error $? "missing file argument" ;;
20013 esac
20014 as_fn_append CONFIG_FILES " '$ac_optarg'"
20015 ac_need_defaults=false;;
20016 --header | --heade | --head | --hea )
20017 $ac_shift
20018 case $ac_optarg in
20019 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20020 esac
20021 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20022 ac_need_defaults=false;;
20023 --he | --h)
20024 # Conflict between --help and --header
20025 as_fn_error $? "ambiguous option: \`$1'
20026 Try \`$0 --help' for more information.";;
20027 --help | --hel | -h )
20028 $as_echo "$ac_cs_usage"; exit ;;
20029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20030 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20031 ac_cs_silent=: ;;
20033 # This is an error.
20034 -*) as_fn_error $? "unrecognized option: \`$1'
20035 Try \`$0 --help' for more information." ;;
20037 *) as_fn_append ac_config_targets " $1"
20038 ac_need_defaults=false ;;
20040 esac
20041 shift
20042 done
20044 ac_configure_extra_args=
20046 if $ac_cs_silent; then
20047 exec 6>/dev/null
20048 ac_configure_extra_args="$ac_configure_extra_args --silent"
20051 _ACEOF
20052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20053 if \$ac_cs_recheck; then
20054 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20055 shift
20056 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20057 CONFIG_SHELL='$SHELL'
20058 export CONFIG_SHELL
20059 exec "\$@"
20062 _ACEOF
20063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20064 exec 5>>config.log
20066 echo
20067 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20068 ## Running $as_me. ##
20069 _ASBOX
20070 $as_echo "$ac_log"
20071 } >&5
20073 _ACEOF
20074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20076 # INIT-COMMANDS
20078 wine_fn_output_makedep ()
20080 as_dir=tools; as_fn_mkdir_p
20081 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20083 wine_fn_output_makefile ()
20085 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20086 `cat $wine_rules_file`
20087 _WINE_EOF
20088 as_fn_error $? "could not create Makefile" "$LINENO" 5
20091 _ACEOF
20093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20095 # Handling of arguments.
20096 for ac_config_target in $ac_config_targets
20098 case $ac_config_target in
20099 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20100 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20101 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20102 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20103 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20104 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20105 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20106 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20107 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20108 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20109 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20110 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20111 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20113 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20114 esac
20115 done
20118 # If the user did not use the arguments to specify the items to instantiate,
20119 # then the envvar interface is used. Set only those that are not.
20120 # We use the long form for the default assignment because of an extremely
20121 # bizarre bug on SunOS 4.1.3.
20122 if $ac_need_defaults; then
20123 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20124 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20125 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20126 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20129 # Have a temporary directory for convenience. Make it in the build tree
20130 # simply because there is no reason against having it here, and in addition,
20131 # creating and moving files from /tmp can sometimes cause problems.
20132 # Hook for its removal unless debugging.
20133 # Note that there is a small window in which the directory will not be cleaned:
20134 # after its creation but before its name has been assigned to `$tmp'.
20135 $debug ||
20137 tmp= ac_tmp=
20138 trap 'exit_status=$?
20139 : "${ac_tmp:=$tmp}"
20140 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20142 trap 'as_fn_exit 1' 1 2 13 15
20144 # Create a (secure) tmp directory for tmp files.
20147 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20148 test -d "$tmp"
20149 } ||
20151 tmp=./conf$$-$RANDOM
20152 (umask 077 && mkdir "$tmp")
20153 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20154 ac_tmp=$tmp
20156 # Set up the scripts for CONFIG_FILES section.
20157 # No need to generate them if there are no CONFIG_FILES.
20158 # This happens for instance with `./config.status config.h'.
20159 if test -n "$CONFIG_FILES"; then
20162 ac_cr=`echo X | tr X '\015'`
20163 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20164 # But we know of no other shell where ac_cr would be empty at this
20165 # point, so we can use a bashism as a fallback.
20166 if test "x$ac_cr" = x; then
20167 eval ac_cr=\$\'\\r\'
20169 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20170 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20171 ac_cs_awk_cr='\\r'
20172 else
20173 ac_cs_awk_cr=$ac_cr
20176 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20177 _ACEOF
20181 echo "cat >conf$$subs.awk <<_ACEOF" &&
20182 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20183 echo "_ACEOF"
20184 } >conf$$subs.sh ||
20185 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20186 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20187 ac_delim='%!_!# '
20188 for ac_last_try in false false false false false :; do
20189 . ./conf$$subs.sh ||
20190 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20192 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20193 if test $ac_delim_n = $ac_delim_num; then
20194 break
20195 elif $ac_last_try; then
20196 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20197 else
20198 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20200 done
20201 rm -f conf$$subs.sh
20203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20204 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20205 _ACEOF
20206 sed -n '
20208 s/^/S["/; s/!.*/"]=/
20211 s/^[^!]*!//
20212 :repl
20213 t repl
20214 s/'"$ac_delim"'$//
20215 t delim
20218 s/\(.\{148\}\)..*/\1/
20219 t more1
20220 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20223 b repl
20224 :more1
20225 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20228 s/.\{148\}//
20229 t nl
20230 :delim
20232 s/\(.\{148\}\)..*/\1/
20233 t more2
20234 s/["\\]/\\&/g; s/^/"/; s/$/"/
20237 :more2
20238 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20241 s/.\{148\}//
20242 t delim
20243 ' <conf$$subs.awk | sed '
20244 /^[^""]/{
20246 s/\n//
20248 ' >>$CONFIG_STATUS || ac_write_fail=1
20249 rm -f conf$$subs.awk
20250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20251 _ACAWK
20252 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20253 for (key in S) S_is_set[key] = 1
20254 FS = "\a"
20258 line = $ 0
20259 nfields = split(line, field, "@")
20260 substed = 0
20261 len = length(field[1])
20262 for (i = 2; i < nfields; i++) {
20263 key = field[i]
20264 keylen = length(key)
20265 if (S_is_set[key]) {
20266 value = S[key]
20267 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20268 len += length(value) + length(field[++i])
20269 substed = 1
20270 } else
20271 len += 1 + keylen
20274 print line
20277 _ACAWK
20278 _ACEOF
20279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20280 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20281 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20282 else
20284 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20285 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20286 _ACEOF
20288 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20289 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20290 # trailing colons and then remove the whole line if VPATH becomes empty
20291 # (actually we leave an empty line to preserve line numbers).
20292 if test "x$srcdir" = x.; then
20293 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20295 s///
20296 s/^/:/
20297 s/[ ]*$/:/
20298 s/:\$(srcdir):/:/g
20299 s/:\${srcdir}:/:/g
20300 s/:@srcdir@:/:/g
20301 s/^:*//
20302 s/:*$//
20304 s/\(=[ ]*\).*/\1/
20306 s/\n//
20307 s/^[^=]*=[ ]*$//
20311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20312 fi # test -n "$CONFIG_FILES"
20314 # Set up the scripts for CONFIG_HEADERS section.
20315 # No need to generate them if there are no CONFIG_HEADERS.
20316 # This happens for instance with `./config.status Makefile'.
20317 if test -n "$CONFIG_HEADERS"; then
20318 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20319 BEGIN {
20320 _ACEOF
20322 # Transform confdefs.h into an awk script `defines.awk', embedded as
20323 # here-document in config.status, that substitutes the proper values into
20324 # config.h.in to produce config.h.
20326 # Create a delimiter string that does not exist in confdefs.h, to ease
20327 # handling of long lines.
20328 ac_delim='%!_!# '
20329 for ac_last_try in false false :; do
20330 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20331 if test -z "$ac_tt"; then
20332 break
20333 elif $ac_last_try; then
20334 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20335 else
20336 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20338 done
20340 # For the awk script, D is an array of macro values keyed by name,
20341 # likewise P contains macro parameters if any. Preserve backslash
20342 # newline sequences.
20344 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20345 sed -n '
20346 s/.\{148\}/&'"$ac_delim"'/g
20347 t rset
20348 :rset
20349 s/^[ ]*#[ ]*define[ ][ ]*/ /
20350 t def
20352 :def
20353 s/\\$//
20354 t bsnl
20355 s/["\\]/\\&/g
20356 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20357 D["\1"]=" \3"/p
20358 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20360 :bsnl
20361 s/["\\]/\\&/g
20362 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20363 D["\1"]=" \3\\\\\\n"\\/p
20364 t cont
20365 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20366 t cont
20368 :cont
20370 s/.\{148\}/&'"$ac_delim"'/g
20371 t clear
20372 :clear
20373 s/\\$//
20374 t bsnlc
20375 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20377 :bsnlc
20378 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20379 b cont
20380 ' <confdefs.h | sed '
20381 s/'"$ac_delim"'/"\\\
20382 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20385 for (key in D) D_is_set[key] = 1
20386 FS = "\a"
20388 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20389 line = \$ 0
20390 split(line, arg, " ")
20391 if (arg[1] == "#") {
20392 defundef = arg[2]
20393 mac1 = arg[3]
20394 } else {
20395 defundef = substr(arg[1], 2)
20396 mac1 = arg[2]
20398 split(mac1, mac2, "(") #)
20399 macro = mac2[1]
20400 prefix = substr(line, 1, index(line, defundef) - 1)
20401 if (D_is_set[macro]) {
20402 # Preserve the white space surrounding the "#".
20403 print prefix "define", macro P[macro] D[macro]
20404 next
20405 } else {
20406 # Replace #undef with comments. This is necessary, for example,
20407 # in the case of _POSIX_SOURCE, which is predefined and required
20408 # on some systems where configure will not decide to define it.
20409 if (defundef == "undef") {
20410 print "/*", prefix defundef, macro, "*/"
20411 next
20415 { print }
20416 _ACAWK
20417 _ACEOF
20418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20419 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20420 fi # test -n "$CONFIG_HEADERS"
20423 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20424 shift
20425 for ac_tag
20427 case $ac_tag in
20428 :[FHLC]) ac_mode=$ac_tag; continue;;
20429 esac
20430 case $ac_mode$ac_tag in
20431 :[FHL]*:*);;
20432 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20433 :[FH]-) ac_tag=-:-;;
20434 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20435 esac
20436 ac_save_IFS=$IFS
20437 IFS=:
20438 set x $ac_tag
20439 IFS=$ac_save_IFS
20440 shift
20441 ac_file=$1
20442 shift
20444 case $ac_mode in
20445 :L) ac_source=$1;;
20446 :[FH])
20447 ac_file_inputs=
20448 for ac_f
20450 case $ac_f in
20451 -) ac_f="$ac_tmp/stdin";;
20452 *) # Look for the file first in the build tree, then in the source tree
20453 # (if the path is not absolute). The absolute path cannot be DOS-style,
20454 # because $ac_f cannot contain `:'.
20455 test -f "$ac_f" ||
20456 case $ac_f in
20457 [\\/$]*) false;;
20458 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20459 esac ||
20460 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20461 esac
20462 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20463 as_fn_append ac_file_inputs " '$ac_f'"
20464 done
20466 # Let's still pretend it is `configure' which instantiates (i.e., don't
20467 # use $as_me), people would be surprised to read:
20468 # /* config.h. Generated by config.status. */
20469 configure_input='Generated from '`
20470 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20471 `' by configure.'
20472 if test x"$ac_file" != x-; then
20473 configure_input="$ac_file. $configure_input"
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20475 $as_echo "$as_me: creating $ac_file" >&6;}
20477 # Neutralize special characters interpreted by sed in replacement strings.
20478 case $configure_input in #(
20479 *\&* | *\|* | *\\* )
20480 ac_sed_conf_input=`$as_echo "$configure_input" |
20481 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20482 *) ac_sed_conf_input=$configure_input;;
20483 esac
20485 case $ac_tag in
20486 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20487 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20488 esac
20490 esac
20492 ac_dir=`$as_dirname -- "$ac_file" ||
20493 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20494 X"$ac_file" : 'X\(//\)[^/]' \| \
20495 X"$ac_file" : 'X\(//\)$' \| \
20496 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20497 $as_echo X"$ac_file" |
20498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20499 s//\1/
20502 /^X\(\/\/\)[^/].*/{
20503 s//\1/
20506 /^X\(\/\/\)$/{
20507 s//\1/
20510 /^X\(\/\).*/{
20511 s//\1/
20514 s/.*/./; q'`
20515 as_dir="$ac_dir"; as_fn_mkdir_p
20516 ac_builddir=.
20518 case "$ac_dir" in
20519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20521 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20522 # A ".." for each directory in $ac_dir_suffix.
20523 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20524 case $ac_top_builddir_sub in
20525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20527 esac ;;
20528 esac
20529 ac_abs_top_builddir=$ac_pwd
20530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20531 # for backward compatibility:
20532 ac_top_builddir=$ac_top_build_prefix
20534 case $srcdir in
20535 .) # We are building in place.
20536 ac_srcdir=.
20537 ac_top_srcdir=$ac_top_builddir_sub
20538 ac_abs_top_srcdir=$ac_pwd ;;
20539 [\\/]* | ?:[\\/]* ) # Absolute name.
20540 ac_srcdir=$srcdir$ac_dir_suffix;
20541 ac_top_srcdir=$srcdir
20542 ac_abs_top_srcdir=$srcdir ;;
20543 *) # Relative name.
20544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20545 ac_top_srcdir=$ac_top_build_prefix$srcdir
20546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20547 esac
20548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20551 case $ac_mode in
20554 # CONFIG_FILE
20557 _ACEOF
20559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20560 # If the template does not know about datarootdir, expand it.
20561 # FIXME: This hack should be removed a few years after 2.60.
20562 ac_datarootdir_hack=; ac_datarootdir_seen=
20563 ac_sed_dataroot='
20564 /datarootdir/ {
20568 /@datadir@/p
20569 /@docdir@/p
20570 /@infodir@/p
20571 /@localedir@/p
20572 /@mandir@/p'
20573 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20574 *datarootdir*) ac_datarootdir_seen=yes;;
20575 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20577 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20578 _ACEOF
20579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20580 ac_datarootdir_hack='
20581 s&@datadir@&$datadir&g
20582 s&@docdir@&$docdir&g
20583 s&@infodir@&$infodir&g
20584 s&@localedir@&$localedir&g
20585 s&@mandir@&$mandir&g
20586 s&\\\${datarootdir}&$datarootdir&g' ;;
20587 esac
20588 _ACEOF
20590 # Neutralize VPATH when `$srcdir' = `.'.
20591 # Shell code in configure.ac might set extrasub.
20592 # FIXME: do we really want to maintain this feature?
20593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20594 ac_sed_extra="$ac_vpsub
20595 $extrasub
20596 _ACEOF
20597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20599 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20600 s|@configure_input@|$ac_sed_conf_input|;t t
20601 s&@top_builddir@&$ac_top_builddir_sub&;t t
20602 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20603 s&@srcdir@&$ac_srcdir&;t t
20604 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20605 s&@top_srcdir@&$ac_top_srcdir&;t t
20606 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20607 s&@builddir@&$ac_builddir&;t t
20608 s&@abs_builddir@&$ac_abs_builddir&;t t
20609 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20610 $ac_datarootdir_hack
20612 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20613 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20615 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20616 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20617 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20618 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20620 which seems to be undefined. Please make sure it is defined" >&5
20621 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20622 which seems to be undefined. Please make sure it is defined" >&2;}
20624 rm -f "$ac_tmp/stdin"
20625 case $ac_file in
20626 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20627 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20628 esac \
20629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20633 # CONFIG_HEADER
20635 if test x"$ac_file" != x-; then
20637 $as_echo "/* $configure_input */" \
20638 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20639 } >"$ac_tmp/config.h" \
20640 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20641 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20643 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20644 else
20645 rm -f "$ac_file"
20646 mv "$ac_tmp/config.h" "$ac_file" \
20647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20649 else
20650 $as_echo "/* $configure_input */" \
20651 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20652 || as_fn_error $? "could not create -" "$LINENO" 5
20657 # CONFIG_LINK
20660 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20662 else
20663 # Prefer the file from the source tree if names are identical.
20664 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20665 ac_source=$srcdir/$ac_source
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20669 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20671 if test ! -r "$ac_source"; then
20672 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20674 rm -f "$ac_file"
20676 # Try a relative symlink, then a hard link, then a copy.
20677 case $ac_source in
20678 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20679 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20680 esac
20681 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20682 ln "$ac_source" "$ac_file" 2>/dev/null ||
20683 cp -p "$ac_source" "$ac_file" ||
20684 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20687 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20688 $as_echo "$as_me: executing $ac_file commands" >&6;}
20690 esac
20693 case $ac_file$ac_mode in
20694 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20695 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20696 "Makefile":C) wine_fn_output_makefile Makefile ;;
20698 esac
20699 done # for ac_tag
20702 as_fn_exit 0
20703 _ACEOF
20704 ac_clean_files=$ac_clean_files_save
20706 test $ac_write_fail = 0 ||
20707 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20710 # configure is writing to config.log, and then calls config.status.
20711 # config.status does its own redirection, appending to config.log.
20712 # Unfortunately, on DOS this fails, as config.log is still kept open
20713 # by configure, so config.status won't be able to write to it; its
20714 # output is simply discarded. So we exec the FD to /dev/null,
20715 # effectively closing config.log, so it can be properly (re)opened and
20716 # appended to by config.status. When coming back to configure, we
20717 # need to make the FD available again.
20718 if test "$no_create" != yes; then
20719 ac_cs_success=:
20720 ac_config_status_args=
20721 test "$silent" = yes &&
20722 ac_config_status_args="$ac_config_status_args --quiet"
20723 exec 5>/dev/null
20724 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20725 exec 5>>config.log
20726 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20727 # would make configure fail if this is the last instruction.
20728 $ac_cs_success || as_fn_exit 1
20730 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20732 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20736 if test "$no_create" = "yes"
20737 then
20738 exit 0
20741 ac_save_IFS="$IFS"
20742 if test "x$wine_notices" != x; then
20743 echo >&6
20744 IFS="|"
20745 for msg in $wine_notices; do
20746 IFS="$ac_save_IFS"
20747 if ${msg:+false} :; then :
20749 else
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20751 $as_echo "$as_me: $msg" >&6;}
20753 done
20755 IFS="|"
20756 for msg in $wine_warnings; do
20757 IFS="$ac_save_IFS"
20758 if ${msg:+false} :; then :
20760 else
20761 echo >&2
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20763 $as_echo "$as_me: WARNING: $msg" >&2;}
20765 done
20766 IFS="$ac_save_IFS"
20768 $as_echo "
20769 $as_me: Finished. Do '${ac_make}' to compile Wine.
20770 " >&6