d3d11: Set resource access based on usage and CPU access flags.
[wine.git] / configure
blob0da7195856ba7bc9a07ade037e851fca6ddde8d4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.1.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.1'
584 PACKAGE_STRING='Wine 3.1'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 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 UDEV_LIBS
662 UDEV_CFLAGS
663 OSS4_CFLAGS
664 ALSA_LIBS
665 GSTREAMER_LIBS
666 GSTREAMER_CFLAGS
667 PULSE_LIBS
668 PULSE_CFLAGS
669 GETTEXTPO_LIBS
670 Z_LIBS
671 FREETYPE_LIBS
672 FREETYPE_CFLAGS
673 LCMS2_LIBS
674 LCMS2_CFLAGS
675 RESOLV_LIBS
676 GPHOTO2_PORT_LIBS
677 GPHOTO2_PORT_CFLAGS
678 GPHOTO2_LIBS
679 GPHOTO2_CFLAGS
680 SANE_LIBS
681 SANE_CFLAGS
682 GNUTLS_LIBS
683 GNUTLS_CFLAGS
684 HAL_LIBS
685 HAL_CFLAGS
686 DBUS_LIBS
687 DBUS_CFLAGS
688 XSLT_LIBS
689 XSLT_CFLAGS
690 XML2_LIBS
691 XML2_CFLAGS
692 PCAP_LIBS
693 X_EXTRA_LIBS
694 X_LIBS
695 X_PRE_LIBS
696 X_CFLAGS
697 XMKMF
698 PTHREAD_LIBS
699 CROSSCFLAGS
700 CROSSCC
701 CROSSTARGET
702 PRELINK
703 WINELOADER_DEPENDS
704 CARBON_LIBS
705 QUICKTIME_LIBS
706 OPENCL_LIBS
707 OPENAL_LIBS
708 COREAUDIO_LIBS
709 SECURITY_LIBS
710 DISKARBITRATION_LIBS
711 APPKIT_LIBS
712 CORESERVICES_LIBS
713 APPLICATIONSERVICES_LIBS
714 FORCEFEEDBACK_LIBS
715 IOKIT_LIBS
716 COREFOUNDATION_LIBS
717 LIBWINE_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_INSTALL_DEV
720 LIBWINE_INSTALL_LIB
721 LIBWINE_IMPORTLIB
722 LIBWINE_SHAREDLIB
723 SOCKET_LIBS
724 DLLTOOL
725 WINELOADER_PROGRAMS
726 ALL_TEST_RESOURCES
727 CONFIGURE_TARGETS
728 DISABLED_SUBDIRS
729 SUBDIRS
730 READELF
731 OTOOL
733 WINELOADER_LDFLAGS
734 LDEXECFLAGS
735 LDRPATH_LOCAL
736 LDRPATH_INSTALL
737 DLLFLAGS
738 dlldir
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 TARGETFLAGS
761 CPPBIN
762 ac_ct_CXX
763 CXXFLAGS
765 OBJEXT
766 EXEEXT
767 ac_ct_CC
768 CPPFLAGS
769 LDFLAGS
770 CFLAGS
772 SET_MAKE
773 host_os
774 host_vendor
775 host_cpu
776 host
777 build_os
778 build_vendor
779 build_cpu
780 build
781 target_alias
782 host_alias
783 build_alias
784 LIBS
785 ECHO_T
786 ECHO_N
787 ECHO_C
788 DEFS
789 mandir
790 localedir
791 libdir
792 psdir
793 pdfdir
794 dvidir
795 htmldir
796 infodir
797 docdir
798 oldincludedir
799 includedir
800 runstatedir
801 localstatedir
802 sharedstatedir
803 sysconfdir
804 datadir
805 datarootdir
806 libexecdir
807 sbindir
808 bindir
809 program_transform_name
810 prefix
811 exec_prefix
812 PACKAGE_URL
813 PACKAGE_BUGREPORT
814 PACKAGE_STRING
815 PACKAGE_VERSION
816 PACKAGE_TARNAME
817 PACKAGE_NAME
818 PATH_SEPARATOR
819 SHELL'
820 ac_subst_files=''
821 ac_user_opts='
822 enable_option_checking
823 enable_win16
824 enable_win64
825 enable_tests
826 enable_maintainer_mode
827 with_alsa
828 with_capi
829 with_cms
830 with_coreaudio
831 with_cups
832 with_curses
833 with_dbus
834 with_float_abi
835 with_fontconfig
836 with_freetype
837 with_gettext
838 with_gettextpo
839 with_gphoto
840 with_glu
841 with_gnutls
842 with_gsm
843 with_gssapi
844 with_gstreamer
845 with_hal
846 with_jpeg
847 with_krb5
848 with_ldap
849 with_mpg123
850 with_netapi
851 with_openal
852 with_opencl
853 with_opengl
854 with_osmesa
855 with_oss
856 with_pcap
857 with_png
858 with_pthread
859 with_pulse
860 with_sane
861 with_tiff
862 with_udev
863 with_v4l
864 with_xcomposite
865 with_xcursor
866 with_xfixes
867 with_xinerama
868 with_xinput
869 with_xinput2
870 with_xml
871 with_xrandr
872 with_xrender
873 with_xshape
874 with_xshm
875 with_xslt
876 with_xxf86vm
877 with_zlib
878 with_wine_tools
879 with_wine64
880 enable_largefile
881 with_x
882 enable_acledit
883 enable_aclui
884 enable_activeds
885 enable_actxprxy
886 enable_adsldp
887 enable_adsldpc
888 enable_advapi32
889 enable_advpack
890 enable_amstream
891 enable_api_ms_win_appmodel_identity_l1_1_0
892 enable_api_ms_win_appmodel_runtime_l1_1_1
893 enable_api_ms_win_appmodel_runtime_l1_1_2
894 enable_api_ms_win_core_apiquery_l1_1_0
895 enable_api_ms_win_core_appcompat_l1_1_1
896 enable_api_ms_win_core_appinit_l1_1_0
897 enable_api_ms_win_core_atoms_l1_1_0
898 enable_api_ms_win_core_bem_l1_1_0
899 enable_api_ms_win_core_com_l1_1_0
900 enable_api_ms_win_core_com_l1_1_1
901 enable_api_ms_win_core_com_private_l1_1_0
902 enable_api_ms_win_core_console_l1_1_0
903 enable_api_ms_win_core_console_l2_1_0
904 enable_api_ms_win_core_crt_l1_1_0
905 enable_api_ms_win_core_crt_l2_1_0
906 enable_api_ms_win_core_datetime_l1_1_0
907 enable_api_ms_win_core_datetime_l1_1_1
908 enable_api_ms_win_core_debug_l1_1_0
909 enable_api_ms_win_core_debug_l1_1_1
910 enable_api_ms_win_core_delayload_l1_1_0
911 enable_api_ms_win_core_delayload_l1_1_1
912 enable_api_ms_win_core_errorhandling_l1_1_0
913 enable_api_ms_win_core_errorhandling_l1_1_1
914 enable_api_ms_win_core_errorhandling_l1_1_2
915 enable_api_ms_win_core_errorhandling_l1_1_3
916 enable_api_ms_win_core_fibers_l1_1_0
917 enable_api_ms_win_core_fibers_l1_1_1
918 enable_api_ms_win_core_file_l1_1_0
919 enable_api_ms_win_core_file_l1_2_0
920 enable_api_ms_win_core_file_l1_2_1
921 enable_api_ms_win_core_file_l1_2_2
922 enable_api_ms_win_core_file_l2_1_0
923 enable_api_ms_win_core_file_l2_1_1
924 enable_api_ms_win_core_file_l2_1_2
925 enable_api_ms_win_core_handle_l1_1_0
926 enable_api_ms_win_core_heap_l1_1_0
927 enable_api_ms_win_core_heap_l1_2_0
928 enable_api_ms_win_core_heap_l2_1_0
929 enable_api_ms_win_core_heap_obsolete_l1_1_0
930 enable_api_ms_win_core_interlocked_l1_1_0
931 enable_api_ms_win_core_interlocked_l1_2_0
932 enable_api_ms_win_core_io_l1_1_0
933 enable_api_ms_win_core_io_l1_1_1
934 enable_api_ms_win_core_job_l1_1_0
935 enable_api_ms_win_core_job_l2_1_0
936 enable_api_ms_win_core_kernel32_legacy_l1_1_0
937 enable_api_ms_win_core_kernel32_legacy_l1_1_1
938 enable_api_ms_win_core_kernel32_private_l1_1_1
939 enable_api_ms_win_core_libraryloader_l1_1_0
940 enable_api_ms_win_core_libraryloader_l1_1_1
941 enable_api_ms_win_core_libraryloader_l1_2_0
942 enable_api_ms_win_core_libraryloader_l1_2_1
943 enable_api_ms_win_core_libraryloader_l1_2_2
944 enable_api_ms_win_core_localization_l1_1_0
945 enable_api_ms_win_core_localization_l1_2_0
946 enable_api_ms_win_core_localization_l1_2_1
947 enable_api_ms_win_core_localization_l2_1_0
948 enable_api_ms_win_core_localization_obsolete_l1_1_0
949 enable_api_ms_win_core_localization_obsolete_l1_2_0
950 enable_api_ms_win_core_localization_obsolete_l1_3_0
951 enable_api_ms_win_core_localization_private_l1_1_0
952 enable_api_ms_win_core_localregistry_l1_1_0
953 enable_api_ms_win_core_memory_l1_1_0
954 enable_api_ms_win_core_memory_l1_1_1
955 enable_api_ms_win_core_memory_l1_1_2
956 enable_api_ms_win_core_misc_l1_1_0
957 enable_api_ms_win_core_namedpipe_l1_1_0
958 enable_api_ms_win_core_namedpipe_l1_2_0
959 enable_api_ms_win_core_namespace_l1_1_0
960 enable_api_ms_win_core_normalization_l1_1_0
961 enable_api_ms_win_core_path_l1_1_0
962 enable_api_ms_win_core_privateprofile_l1_1_1
963 enable_api_ms_win_core_processenvironment_l1_1_0
964 enable_api_ms_win_core_processenvironment_l1_2_0
965 enable_api_ms_win_core_processthreads_l1_1_0
966 enable_api_ms_win_core_processthreads_l1_1_1
967 enable_api_ms_win_core_processthreads_l1_1_2
968 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
969 enable_api_ms_win_core_profile_l1_1_0
970 enable_api_ms_win_core_psapi_ansi_l1_1_0
971 enable_api_ms_win_core_psapi_l1_1_0
972 enable_api_ms_win_core_psapi_obsolete_l1_1_0
973 enable_api_ms_win_core_quirks_l1_1_0
974 enable_api_ms_win_core_realtime_l1_1_0
975 enable_api_ms_win_core_registry_l1_1_0
976 enable_api_ms_win_core_registry_l2_1_0
977 enable_api_ms_win_core_registryuserspecific_l1_1_0
978 enable_api_ms_win_core_rtlsupport_l1_1_0
979 enable_api_ms_win_core_rtlsupport_l1_2_0
980 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
981 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
982 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
983 enable_api_ms_win_core_shutdown_l1_1_0
984 enable_api_ms_win_core_sidebyside_l1_1_0
985 enable_api_ms_win_core_string_l1_1_0
986 enable_api_ms_win_core_string_l2_1_0
987 enable_api_ms_win_core_string_obsolete_l1_1_0
988 enable_api_ms_win_core_stringansi_l1_1_0
989 enable_api_ms_win_core_synch_ansi_l1_1_0
990 enable_api_ms_win_core_synch_l1_1_0
991 enable_api_ms_win_core_synch_l1_2_0
992 enable_api_ms_win_core_synch_l1_2_1
993 enable_api_ms_win_core_sysinfo_l1_1_0
994 enable_api_ms_win_core_sysinfo_l1_2_0
995 enable_api_ms_win_core_sysinfo_l1_2_1
996 enable_api_ms_win_core_threadpool_l1_1_0
997 enable_api_ms_win_core_threadpool_l1_2_0
998 enable_api_ms_win_core_threadpool_legacy_l1_1_0
999 enable_api_ms_win_core_threadpool_private_l1_1_0
1000 enable_api_ms_win_core_timezone_l1_1_0
1001 enable_api_ms_win_core_toolhelp_l1_1_0
1002 enable_api_ms_win_core_url_l1_1_0
1003 enable_api_ms_win_core_util_l1_1_0
1004 enable_api_ms_win_core_version_l1_1_0
1005 enable_api_ms_win_core_version_l1_1_1
1006 enable_api_ms_win_core_version_private_l1_1_0
1007 enable_api_ms_win_core_versionansi_l1_1_0
1008 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1009 enable_api_ms_win_core_winrt_error_l1_1_0
1010 enable_api_ms_win_core_winrt_error_l1_1_1
1011 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1012 enable_api_ms_win_core_winrt_l1_1_0
1013 enable_api_ms_win_core_winrt_registration_l1_1_0
1014 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1015 enable_api_ms_win_core_winrt_string_l1_1_0
1016 enable_api_ms_win_core_wow64_l1_1_0
1017 enable_api_ms_win_core_wow64_l1_1_1
1018 enable_api_ms_win_core_xstate_l1_1_0
1019 enable_api_ms_win_core_xstate_l2_1_0
1020 enable_api_ms_win_crt_conio_l1_1_0
1021 enable_api_ms_win_crt_convert_l1_1_0
1022 enable_api_ms_win_crt_environment_l1_1_0
1023 enable_api_ms_win_crt_filesystem_l1_1_0
1024 enable_api_ms_win_crt_heap_l1_1_0
1025 enable_api_ms_win_crt_locale_l1_1_0
1026 enable_api_ms_win_crt_math_l1_1_0
1027 enable_api_ms_win_crt_multibyte_l1_1_0
1028 enable_api_ms_win_crt_private_l1_1_0
1029 enable_api_ms_win_crt_process_l1_1_0
1030 enable_api_ms_win_crt_runtime_l1_1_0
1031 enable_api_ms_win_crt_stdio_l1_1_0
1032 enable_api_ms_win_crt_string_l1_1_0
1033 enable_api_ms_win_crt_time_l1_1_0
1034 enable_api_ms_win_crt_utility_l1_1_0
1035 enable_api_ms_win_devices_config_l1_1_1
1036 enable_api_ms_win_devices_query_l1_1_1
1037 enable_api_ms_win_downlevel_advapi32_l1_1_0
1038 enable_api_ms_win_downlevel_advapi32_l2_1_0
1039 enable_api_ms_win_downlevel_normaliz_l1_1_0
1040 enable_api_ms_win_downlevel_ole32_l1_1_0
1041 enable_api_ms_win_downlevel_shell32_l1_1_0
1042 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1043 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1044 enable_api_ms_win_downlevel_user32_l1_1_0
1045 enable_api_ms_win_downlevel_version_l1_1_0
1046 enable_api_ms_win_dx_d3dkmt_l1_1_0
1047 enable_api_ms_win_eventing_classicprovider_l1_1_0
1048 enable_api_ms_win_eventing_consumer_l1_1_0
1049 enable_api_ms_win_eventing_controller_l1_1_0
1050 enable_api_ms_win_eventing_legacy_l1_1_0
1051 enable_api_ms_win_eventing_provider_l1_1_0
1052 enable_api_ms_win_eventlog_legacy_l1_1_0
1053 enable_api_ms_win_mm_joystick_l1_1_0
1054 enable_api_ms_win_mm_misc_l1_1_1
1055 enable_api_ms_win_mm_mme_l1_1_0
1056 enable_api_ms_win_mm_time_l1_1_0
1057 enable_api_ms_win_ntuser_dc_access_l1_1_0
1058 enable_api_ms_win_ntuser_rectangle_l1_1_0
1059 enable_api_ms_win_perf_legacy_l1_1_0
1060 enable_api_ms_win_power_base_l1_1_0
1061 enable_api_ms_win_power_setting_l1_1_0
1062 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1063 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1064 enable_api_ms_win_security_audit_l1_1_1
1065 enable_api_ms_win_security_base_l1_1_0
1066 enable_api_ms_win_security_base_l1_2_0
1067 enable_api_ms_win_security_base_private_l1_1_1
1068 enable_api_ms_win_security_credentials_l1_1_0
1069 enable_api_ms_win_security_grouppolicy_l1_1_0
1070 enable_api_ms_win_security_lsalookup_l1_1_0
1071 enable_api_ms_win_security_lsalookup_l1_1_1
1072 enable_api_ms_win_security_lsalookup_l2_1_0
1073 enable_api_ms_win_security_lsalookup_l2_1_1
1074 enable_api_ms_win_security_lsapolicy_l1_1_0
1075 enable_api_ms_win_security_provider_l1_1_0
1076 enable_api_ms_win_security_sddl_l1_1_0
1077 enable_api_ms_win_security_systemfunctions_l1_1_0
1078 enable_api_ms_win_service_core_l1_1_0
1079 enable_api_ms_win_service_core_l1_1_1
1080 enable_api_ms_win_service_management_l1_1_0
1081 enable_api_ms_win_service_management_l2_1_0
1082 enable_api_ms_win_service_private_l1_1_1
1083 enable_api_ms_win_service_winsvc_l1_1_0
1084 enable_api_ms_win_service_winsvc_l1_2_0
1085 enable_api_ms_win_shcore_scaling_l1_1_1
1086 enable_api_ms_win_shell_shellcom_l1_1_0
1087 enable_api_ms_win_shell_shellfolders_l1_1_0
1088 enable_apphelp
1089 enable_appwiz_cpl
1090 enable_atl
1091 enable_atl100
1092 enable_atl110
1093 enable_atl80
1094 enable_atl90
1095 enable_authz
1096 enable_avicap32
1097 enable_avifil32
1098 enable_avrt
1099 enable_bcrypt
1100 enable_bluetoothapis
1101 enable_browseui
1102 enable_bthprops_cpl
1103 enable_cabinet
1104 enable_capi2032
1105 enable_cards
1106 enable_cdosys
1107 enable_cfgmgr32
1108 enable_clusapi
1109 enable_combase
1110 enable_comcat
1111 enable_comctl32
1112 enable_comdlg32
1113 enable_compstui
1114 enable_comsvcs
1115 enable_concrt140
1116 enable_connect
1117 enable_credui
1118 enable_crtdll
1119 enable_crypt32
1120 enable_cryptdlg
1121 enable_cryptdll
1122 enable_cryptext
1123 enable_cryptnet
1124 enable_cryptui
1125 enable_ctapi32
1126 enable_ctl3d32
1127 enable_d2d1
1128 enable_d3d10
1129 enable_d3d10_1
1130 enable_d3d10core
1131 enable_d3d11
1132 enable_d3d12
1133 enable_d3d8
1134 enable_d3d9
1135 enable_d3dcompiler_33
1136 enable_d3dcompiler_34
1137 enable_d3dcompiler_35
1138 enable_d3dcompiler_36
1139 enable_d3dcompiler_37
1140 enable_d3dcompiler_38
1141 enable_d3dcompiler_39
1142 enable_d3dcompiler_40
1143 enable_d3dcompiler_41
1144 enable_d3dcompiler_42
1145 enable_d3dcompiler_43
1146 enable_d3dcompiler_46
1147 enable_d3dcompiler_47
1148 enable_d3dim
1149 enable_d3drm
1150 enable_d3dx10_33
1151 enable_d3dx10_34
1152 enable_d3dx10_35
1153 enable_d3dx10_36
1154 enable_d3dx10_37
1155 enable_d3dx10_38
1156 enable_d3dx10_39
1157 enable_d3dx10_40
1158 enable_d3dx10_41
1159 enable_d3dx10_42
1160 enable_d3dx10_43
1161 enable_d3dx11_42
1162 enable_d3dx11_43
1163 enable_d3dx9_24
1164 enable_d3dx9_25
1165 enable_d3dx9_26
1166 enable_d3dx9_27
1167 enable_d3dx9_28
1168 enable_d3dx9_29
1169 enable_d3dx9_30
1170 enable_d3dx9_31
1171 enable_d3dx9_32
1172 enable_d3dx9_33
1173 enable_d3dx9_34
1174 enable_d3dx9_35
1175 enable_d3dx9_36
1176 enable_d3dx9_37
1177 enable_d3dx9_38
1178 enable_d3dx9_39
1179 enable_d3dx9_40
1180 enable_d3dx9_41
1181 enable_d3dx9_42
1182 enable_d3dx9_43
1183 enable_d3dxof
1184 enable_davclnt
1185 enable_dbgeng
1186 enable_dbghelp
1187 enable_dciman32
1188 enable_ddraw
1189 enable_ddrawex
1190 enable_devenum
1191 enable_dhcpcsvc
1192 enable_dhtmled_ocx
1193 enable_difxapi
1194 enable_dinput
1195 enable_dinput8
1196 enable_dispex
1197 enable_dmband
1198 enable_dmcompos
1199 enable_dmime
1200 enable_dmloader
1201 enable_dmscript
1202 enable_dmstyle
1203 enable_dmsynth
1204 enable_dmusic
1205 enable_dmusic32
1206 enable_dnsapi
1207 enable_dplay
1208 enable_dplayx
1209 enable_dpnaddr
1210 enable_dpnet
1211 enable_dpnhpast
1212 enable_dpnlobby
1213 enable_dpvoice
1214 enable_dpwsockx
1215 enable_drmclien
1216 enable_dsound
1217 enable_dsquery
1218 enable_dssenh
1219 enable_dswave
1220 enable_dwmapi
1221 enable_dwrite
1222 enable_dx8vb
1223 enable_dxdiagn
1224 enable_dxgi
1225 enable_dxva2
1226 enable_esent
1227 enable_evr
1228 enable_explorerframe
1229 enable_ext_ms_win_authz_context_l1_1_0
1230 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1231 enable_ext_ms_win_gdi_dc_create_l1_1_1
1232 enable_ext_ms_win_gdi_dc_l1_2_0
1233 enable_ext_ms_win_gdi_devcaps_l1_1_0
1234 enable_ext_ms_win_gdi_draw_l1_1_1
1235 enable_ext_ms_win_gdi_render_l1_1_0
1236 enable_ext_ms_win_kernel32_package_current_l1_1_0
1237 enable_ext_ms_win_kernel32_package_l1_1_1
1238 enable_ext_ms_win_ntuser_message_l1_1_1
1239 enable_ext_ms_win_ntuser_private_l1_1_1
1240 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1241 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1242 enable_ext_ms_win_ntuser_window_l1_1_1
1243 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1244 enable_ext_ms_win_ras_rasapi32_l1_1_0
1245 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1246 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1247 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1248 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1249 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1250 enable_ext_ms_win_security_credui_l1_1_0
1251 enable_ext_ms_win_security_cryptui_l1_1_0
1252 enable_faultrep
1253 enable_fltlib
1254 enable_fltmgr_sys
1255 enable_fntcache
1256 enable_fontsub
1257 enable_fusion
1258 enable_fwpuclnt
1259 enable_gameux
1260 enable_gdi32
1261 enable_gdiplus
1262 enable_glu32
1263 enable_gphoto2_ds
1264 enable_gpkcsp
1265 enable_hal
1266 enable_hhctrl_ocx
1267 enable_hid
1268 enable_hidclass_sys
1269 enable_hlink
1270 enable_hnetcfg
1271 enable_httpapi
1272 enable_iccvid
1273 enable_icmp
1274 enable_ieframe
1275 enable_ieproxy
1276 enable_imaadp32_acm
1277 enable_imagehlp
1278 enable_imm32
1279 enable_inetcomm
1280 enable_inetcpl_cpl
1281 enable_inetmib1
1282 enable_infosoft
1283 enable_initpki
1284 enable_inkobj
1285 enable_inseng
1286 enable_iphlpapi
1287 enable_iprop
1288 enable_irprops_cpl
1289 enable_itircl
1290 enable_itss
1291 enable_joy_cpl
1292 enable_jscript
1293 enable_jsproxy
1294 enable_kerberos
1295 enable_kernel32
1296 enable_kernelbase
1297 enable_ksuser
1298 enable_ktmw32
1299 enable_l3codeca_acm
1300 enable_loadperf
1301 enable_localspl
1302 enable_localui
1303 enable_lz32
1304 enable_mapi32
1305 enable_mapistub
1306 enable_mciavi32
1307 enable_mcicda
1308 enable_mciqtz32
1309 enable_mciseq
1310 enable_mciwave
1311 enable_mf
1312 enable_mf3216
1313 enable_mfplat
1314 enable_mfreadwrite
1315 enable_mgmtapi
1316 enable_midimap
1317 enable_mlang
1318 enable_mmcndmgr
1319 enable_mmdevapi
1320 enable_mountmgr_sys
1321 enable_mpr
1322 enable_mprapi
1323 enable_msacm32_drv
1324 enable_msacm32
1325 enable_msadp32_acm
1326 enable_msasn1
1327 enable_mscat32
1328 enable_mscms
1329 enable_mscoree
1330 enable_msctf
1331 enable_msctfp
1332 enable_msdaps
1333 enable_msdelta
1334 enable_msdmo
1335 enable_msdrm
1336 enable_msftedit
1337 enable_msg711_acm
1338 enable_msgsm32_acm
1339 enable_mshtml_tlb
1340 enable_mshtml
1341 enable_msi
1342 enable_msident
1343 enable_msimg32
1344 enable_msimsg
1345 enable_msimtf
1346 enable_msisip
1347 enable_msisys_ocx
1348 enable_msls31
1349 enable_msnet32
1350 enable_mspatcha
1351 enable_msports
1352 enable_msrle32
1353 enable_msscript_ocx
1354 enable_mssign32
1355 enable_mssip32
1356 enable_mstask
1357 enable_msvcirt
1358 enable_msvcm80
1359 enable_msvcm90
1360 enable_msvcp100
1361 enable_msvcp110
1362 enable_msvcp120
1363 enable_msvcp120_app
1364 enable_msvcp140
1365 enable_msvcp60
1366 enable_msvcp70
1367 enable_msvcp71
1368 enable_msvcp80
1369 enable_msvcp90
1370 enable_msvcr100
1371 enable_msvcr110
1372 enable_msvcr120
1373 enable_msvcr120_app
1374 enable_msvcr70
1375 enable_msvcr71
1376 enable_msvcr80
1377 enable_msvcr90
1378 enable_msvcrt
1379 enable_msvcrt20
1380 enable_msvcrt40
1381 enable_msvcrtd
1382 enable_msvfw32
1383 enable_msvidc32
1384 enable_mswsock
1385 enable_msxml
1386 enable_msxml2
1387 enable_msxml3
1388 enable_msxml4
1389 enable_msxml6
1390 enable_mtxdm
1391 enable_ncrypt
1392 enable_nddeapi
1393 enable_ndis_sys
1394 enable_netapi32
1395 enable_netcfgx
1396 enable_netprofm
1397 enable_newdev
1398 enable_normaliz
1399 enable_npmshtml
1400 enable_npptools
1401 enable_ntdll
1402 enable_ntdsapi
1403 enable_ntoskrnl_exe
1404 enable_ntprint
1405 enable_objsel
1406 enable_odbc32
1407 enable_odbccp32
1408 enable_odbccu32
1409 enable_ole32
1410 enable_oleacc
1411 enable_oleaut32
1412 enable_olecli32
1413 enable_oledb32
1414 enable_oledlg
1415 enable_olepro32
1416 enable_olesvr32
1417 enable_olethk32
1418 enable_openal32
1419 enable_opencl
1420 enable_opengl32
1421 enable_packager
1422 enable_pdh
1423 enable_photometadatahandler
1424 enable_pidgen
1425 enable_powrprof
1426 enable_printui
1427 enable_prntvpt
1428 enable_propsys
1429 enable_psapi
1430 enable_pstorec
1431 enable_qcap
1432 enable_qedit
1433 enable_qmgr
1434 enable_qmgrprxy
1435 enable_quartz
1436 enable_query
1437 enable_rasapi32
1438 enable_rasdlg
1439 enable_regapi
1440 enable_resutils
1441 enable_riched20
1442 enable_riched32
1443 enable_rpcrt4
1444 enable_rsabase
1445 enable_rsaenh
1446 enable_rstrtmgr
1447 enable_rtutils
1448 enable_samlib
1449 enable_sane_ds
1450 enable_sapi
1451 enable_scarddlg
1452 enable_sccbase
1453 enable_schannel
1454 enable_schedsvc
1455 enable_scrobj
1456 enable_scrrun
1457 enable_scsiport_sys
1458 enable_secur32
1459 enable_security
1460 enable_sensapi
1461 enable_serialui
1462 enable_setupapi
1463 enable_sfc
1464 enable_sfc_os
1465 enable_shcore
1466 enable_shdoclc
1467 enable_shdocvw
1468 enable_shell32
1469 enable_shfolder
1470 enable_shlwapi
1471 enable_slbcsp
1472 enable_slc
1473 enable_snmpapi
1474 enable_softpub
1475 enable_spoolss
1476 enable_sspicli
1477 enable_stdole2_tlb
1478 enable_stdole32_tlb
1479 enable_sti
1480 enable_svrapi
1481 enable_sxs
1482 enable_t2embed
1483 enable_tapi32
1484 enable_taskschd
1485 enable_tdh
1486 enable_tdi_sys
1487 enable_traffic
1488 enable_twain_32
1489 enable_ucrtbase
1490 enable_uiautomationcore
1491 enable_uiribbon
1492 enable_unicows
1493 enable_updspapi
1494 enable_url
1495 enable_urlmon
1496 enable_usbd_sys
1497 enable_user32
1498 enable_userenv
1499 enable_usp10
1500 enable_uxtheme
1501 enable_vbscript
1502 enable_vcomp
1503 enable_vcomp100
1504 enable_vcomp110
1505 enable_vcomp120
1506 enable_vcomp140
1507 enable_vcomp90
1508 enable_vcruntime140
1509 enable_vdmdbg
1510 enable_version
1511 enable_virtdisk
1512 enable_vssapi
1513 enable_wbemdisp
1514 enable_wbemprox
1515 enable_wdscore
1516 enable_webservices
1517 enable_wer
1518 enable_wevtapi
1519 enable_wiaservc
1520 enable_wimgapi
1521 enable_windowscodecs
1522 enable_windowscodecsext
1523 enable_winealsa_drv
1524 enable_wineandroid_drv
1525 enable_winebus_sys
1526 enable_winecoreaudio_drv
1527 enable_wined3d
1528 enable_winegstreamer
1529 enable_winehid_sys
1530 enable_winejoystick_drv
1531 enable_winemac_drv
1532 enable_winemapi
1533 enable_wineoss_drv
1534 enable_wineps_drv
1535 enable_winepulse_drv
1536 enable_wineqtdecoder
1537 enable_winex11_drv
1538 enable_wing32
1539 enable_winhttp
1540 enable_wininet
1541 enable_winmm
1542 enable_winnls32
1543 enable_winscard
1544 enable_winspool_drv
1545 enable_winsta
1546 enable_wintab32
1547 enable_wintrust
1548 enable_winusb
1549 enable_wlanapi
1550 enable_wldap32
1551 enable_wmasf
1552 enable_wmi
1553 enable_wmiutils
1554 enable_wmp
1555 enable_wmphoto
1556 enable_wmvcore
1557 enable_wnaspi32
1558 enable_wpc
1559 enable_wpcap
1560 enable_ws2_32
1561 enable_wsdapi
1562 enable_wshom_ocx
1563 enable_wsnmp32
1564 enable_wsock32
1565 enable_wtsapi32
1566 enable_wuapi
1567 enable_wuaueng
1568 enable_x3daudio1_0
1569 enable_x3daudio1_1
1570 enable_x3daudio1_2
1571 enable_x3daudio1_3
1572 enable_x3daudio1_4
1573 enable_x3daudio1_5
1574 enable_x3daudio1_6
1575 enable_x3daudio1_7
1576 enable_xapofx1_1
1577 enable_xapofx1_2
1578 enable_xapofx1_3
1579 enable_xapofx1_4
1580 enable_xapofx1_5
1581 enable_xaudio2_0
1582 enable_xaudio2_1
1583 enable_xaudio2_2
1584 enable_xaudio2_3
1585 enable_xaudio2_4
1586 enable_xaudio2_5
1587 enable_xaudio2_6
1588 enable_xaudio2_7
1589 enable_xaudio2_8
1590 enable_xaudio2_9
1591 enable_xinput1_1
1592 enable_xinput1_2
1593 enable_xinput1_3
1594 enable_xinput1_4
1595 enable_xinput9_1_0
1596 enable_xmllite
1597 enable_xolehlp
1598 enable_xpsprint
1599 enable_xpssvcs
1600 enable_fonts
1601 enable_include
1602 enable_libs_port
1603 enable_libs_wine
1604 enable_libs_wpp
1605 enable_loader
1606 enable_po
1607 enable_arp
1608 enable_aspnet_regiis
1609 enable_attrib
1610 enable_cabarc
1611 enable_cacls
1612 enable_clock
1613 enable_cmd
1614 enable_conhost
1615 enable_control
1616 enable_cscript
1617 enable_dpnsvr
1618 enable_dxdiag
1619 enable_eject
1620 enable_expand
1621 enable_explorer
1622 enable_extrac32
1623 enable_findstr
1624 enable_fsutil
1625 enable_hh
1626 enable_hostname
1627 enable_icacls
1628 enable_icinfo
1629 enable_iexplore
1630 enable_ipconfig
1631 enable_lodctr
1632 enable_mofcomp
1633 enable_mshta
1634 enable_msiexec
1635 enable_msinfo32
1636 enable_net
1637 enable_netsh
1638 enable_netstat
1639 enable_ngen
1640 enable_notepad
1641 enable_oleview
1642 enable_ping
1643 enable_plugplay
1644 enable_powershell
1645 enable_presentationfontcache
1646 enable_progman
1647 enable_reg
1648 enable_regasm
1649 enable_regedit
1650 enable_regsvcs
1651 enable_regsvr32
1652 enable_rpcss
1653 enable_rundll32
1654 enable_sc
1655 enable_schtasks
1656 enable_sdbinst
1657 enable_secedit
1658 enable_servicemodelreg
1659 enable_services
1660 enable_shutdown
1661 enable_spoolsv
1662 enable_start
1663 enable_subst
1664 enable_svchost
1665 enable_systeminfo
1666 enable_taskkill
1667 enable_tasklist
1668 enable_taskmgr
1669 enable_termsv
1670 enable_uninstaller
1671 enable_unlodctr
1672 enable_view
1673 enable_wevtutil
1674 enable_wineboot
1675 enable_winebrowser
1676 enable_winecfg
1677 enable_wineconsole
1678 enable_winedbg
1679 enable_winedevice
1680 enable_winefile
1681 enable_winemenubuilder
1682 enable_winemine
1683 enable_winemsibuilder
1684 enable_winepath
1685 enable_winetest
1686 enable_winhlp32
1687 enable_winver
1688 enable_wmic
1689 enable_wmplayer
1690 enable_wordpad
1691 enable_write
1692 enable_wscript
1693 enable_wusa
1694 enable_xcopy
1695 enable_server
1696 enable_tools
1698 ac_precious_vars='build_alias
1699 host_alias
1700 target_alias
1702 CFLAGS
1703 LDFLAGS
1704 LIBS
1705 CPPFLAGS
1707 CXXFLAGS
1710 XMKMF
1711 XML2_CFLAGS
1712 XML2_LIBS
1713 XSLT_CFLAGS
1714 XSLT_LIBS
1715 DBUS_CFLAGS
1716 DBUS_LIBS
1717 HAL_CFLAGS
1718 HAL_LIBS
1719 GNUTLS_CFLAGS
1720 GNUTLS_LIBS
1721 SANE_CFLAGS
1722 SANE_LIBS
1723 GPHOTO2_CFLAGS
1724 GPHOTO2_LIBS
1725 GPHOTO2_PORT_CFLAGS
1726 GPHOTO2_PORT_LIBS
1727 LCMS2_CFLAGS
1728 LCMS2_LIBS
1729 FREETYPE_CFLAGS
1730 FREETYPE_LIBS
1731 PULSE_CFLAGS
1732 PULSE_LIBS
1733 GSTREAMER_CFLAGS
1734 GSTREAMER_LIBS
1735 UDEV_CFLAGS
1736 UDEV_LIBS
1737 CAPI20_CFLAGS
1738 CAPI20_LIBS
1739 CUPS_CFLAGS
1740 CUPS_LIBS
1741 FONTCONFIG_CFLAGS
1742 FONTCONFIG_LIBS
1743 KRB5_CFLAGS
1744 KRB5_LIBS
1745 GSSAPI_CFLAGS
1746 GSSAPI_LIBS
1747 JPEG_CFLAGS
1748 JPEG_LIBS
1749 PNG_CFLAGS
1750 PNG_LIBS
1751 TIFF_CFLAGS
1752 TIFF_LIBS
1753 MPG123_CFLAGS
1754 MPG123_LIBS
1755 NETAPI_CFLAGS
1756 NETAPI_LIBS
1757 LDAP_CFLAGS
1758 LDAP_LIBS'
1761 # Initialize some variables set by options.
1762 ac_init_help=
1763 ac_init_version=false
1764 ac_unrecognized_opts=
1765 ac_unrecognized_sep=
1766 # The variables have the same names as the options, with
1767 # dashes changed to underlines.
1768 cache_file=/dev/null
1769 exec_prefix=NONE
1770 no_create=
1771 no_recursion=
1772 prefix=NONE
1773 program_prefix=NONE
1774 program_suffix=NONE
1775 program_transform_name=s,x,x,
1776 silent=
1777 site=
1778 srcdir=
1779 verbose=
1780 x_includes=NONE
1781 x_libraries=NONE
1783 # Installation directory options.
1784 # These are left unexpanded so users can "make install exec_prefix=/foo"
1785 # and all the variables that are supposed to be based on exec_prefix
1786 # by default will actually change.
1787 # Use braces instead of parens because sh, perl, etc. also accept them.
1788 # (The list follows the same order as the GNU Coding Standards.)
1789 bindir='${exec_prefix}/bin'
1790 sbindir='${exec_prefix}/sbin'
1791 libexecdir='${exec_prefix}/libexec'
1792 datarootdir='${prefix}/share'
1793 datadir='${datarootdir}'
1794 sysconfdir='${prefix}/etc'
1795 sharedstatedir='${prefix}/com'
1796 localstatedir='${prefix}/var'
1797 runstatedir='${localstatedir}/run'
1798 includedir='${prefix}/include'
1799 oldincludedir='/usr/include'
1800 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1801 infodir='${datarootdir}/info'
1802 htmldir='${docdir}'
1803 dvidir='${docdir}'
1804 pdfdir='${docdir}'
1805 psdir='${docdir}'
1806 libdir='${exec_prefix}/lib'
1807 localedir='${datarootdir}/locale'
1808 mandir='${datarootdir}/man'
1810 ac_prev=
1811 ac_dashdash=
1812 for ac_option
1814 # If the previous option needs an argument, assign it.
1815 if test -n "$ac_prev"; then
1816 eval $ac_prev=\$ac_option
1817 ac_prev=
1818 continue
1821 case $ac_option in
1822 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1823 *=) ac_optarg= ;;
1824 *) ac_optarg=yes ;;
1825 esac
1827 # Accept the important Cygnus configure options, so we can diagnose typos.
1829 case $ac_dashdash$ac_option in
1831 ac_dashdash=yes ;;
1833 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1834 ac_prev=bindir ;;
1835 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1836 bindir=$ac_optarg ;;
1838 -build | --build | --buil | --bui | --bu)
1839 ac_prev=build_alias ;;
1840 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1841 build_alias=$ac_optarg ;;
1843 -cache-file | --cache-file | --cache-fil | --cache-fi \
1844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1845 ac_prev=cache_file ;;
1846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1848 cache_file=$ac_optarg ;;
1850 --config-cache | -C)
1851 cache_file=config.cache ;;
1853 -datadir | --datadir | --datadi | --datad)
1854 ac_prev=datadir ;;
1855 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1856 datadir=$ac_optarg ;;
1858 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1859 | --dataroo | --dataro | --datar)
1860 ac_prev=datarootdir ;;
1861 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1862 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1863 datarootdir=$ac_optarg ;;
1865 -disable-* | --disable-*)
1866 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1867 # Reject names that are not valid shell variable names.
1868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1869 as_fn_error $? "invalid feature name: $ac_useropt"
1870 ac_useropt_orig=$ac_useropt
1871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1872 case $ac_user_opts in
1874 "enable_$ac_useropt"
1875 "*) ;;
1876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1877 ac_unrecognized_sep=', ';;
1878 esac
1879 eval enable_$ac_useropt=no ;;
1881 -docdir | --docdir | --docdi | --doc | --do)
1882 ac_prev=docdir ;;
1883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1884 docdir=$ac_optarg ;;
1886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1887 ac_prev=dvidir ;;
1888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1889 dvidir=$ac_optarg ;;
1891 -enable-* | --enable-*)
1892 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1893 # Reject names that are not valid shell variable names.
1894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1895 as_fn_error $? "invalid feature name: $ac_useropt"
1896 ac_useropt_orig=$ac_useropt
1897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1898 case $ac_user_opts in
1900 "enable_$ac_useropt"
1901 "*) ;;
1902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1903 ac_unrecognized_sep=', ';;
1904 esac
1905 eval enable_$ac_useropt=\$ac_optarg ;;
1907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1909 | --exec | --exe | --ex)
1910 ac_prev=exec_prefix ;;
1911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1913 | --exec=* | --exe=* | --ex=*)
1914 exec_prefix=$ac_optarg ;;
1916 -gas | --gas | --ga | --g)
1917 # Obsolete; use --with-gas.
1918 with_gas=yes ;;
1920 -help | --help | --hel | --he | -h)
1921 ac_init_help=long ;;
1922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1923 ac_init_help=recursive ;;
1924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1925 ac_init_help=short ;;
1927 -host | --host | --hos | --ho)
1928 ac_prev=host_alias ;;
1929 -host=* | --host=* | --hos=* | --ho=*)
1930 host_alias=$ac_optarg ;;
1932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1933 ac_prev=htmldir ;;
1934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1935 | --ht=*)
1936 htmldir=$ac_optarg ;;
1938 -includedir | --includedir | --includedi | --included | --include \
1939 | --includ | --inclu | --incl | --inc)
1940 ac_prev=includedir ;;
1941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1942 | --includ=* | --inclu=* | --incl=* | --inc=*)
1943 includedir=$ac_optarg ;;
1945 -infodir | --infodir | --infodi | --infod | --info | --inf)
1946 ac_prev=infodir ;;
1947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1948 infodir=$ac_optarg ;;
1950 -libdir | --libdir | --libdi | --libd)
1951 ac_prev=libdir ;;
1952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1953 libdir=$ac_optarg ;;
1955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1956 | --libexe | --libex | --libe)
1957 ac_prev=libexecdir ;;
1958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1959 | --libexe=* | --libex=* | --libe=*)
1960 libexecdir=$ac_optarg ;;
1962 -localedir | --localedir | --localedi | --localed | --locale)
1963 ac_prev=localedir ;;
1964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1965 localedir=$ac_optarg ;;
1967 -localstatedir | --localstatedir | --localstatedi | --localstated \
1968 | --localstate | --localstat | --localsta | --localst | --locals)
1969 ac_prev=localstatedir ;;
1970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1972 localstatedir=$ac_optarg ;;
1974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1975 ac_prev=mandir ;;
1976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1977 mandir=$ac_optarg ;;
1979 -nfp | --nfp | --nf)
1980 # Obsolete; use --without-fp.
1981 with_fp=no ;;
1983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1984 | --no-cr | --no-c | -n)
1985 no_create=yes ;;
1987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1989 no_recursion=yes ;;
1991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1993 | --oldin | --oldi | --old | --ol | --o)
1994 ac_prev=oldincludedir ;;
1995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1998 oldincludedir=$ac_optarg ;;
2000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2001 ac_prev=prefix ;;
2002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2003 prefix=$ac_optarg ;;
2005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2006 | --program-pre | --program-pr | --program-p)
2007 ac_prev=program_prefix ;;
2008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2010 program_prefix=$ac_optarg ;;
2012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2013 | --program-suf | --program-su | --program-s)
2014 ac_prev=program_suffix ;;
2015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2017 program_suffix=$ac_optarg ;;
2019 -program-transform-name | --program-transform-name \
2020 | --program-transform-nam | --program-transform-na \
2021 | --program-transform-n | --program-transform- \
2022 | --program-transform | --program-transfor \
2023 | --program-transfo | --program-transf \
2024 | --program-trans | --program-tran \
2025 | --progr-tra | --program-tr | --program-t)
2026 ac_prev=program_transform_name ;;
2027 -program-transform-name=* | --program-transform-name=* \
2028 | --program-transform-nam=* | --program-transform-na=* \
2029 | --program-transform-n=* | --program-transform-=* \
2030 | --program-transform=* | --program-transfor=* \
2031 | --program-transfo=* | --program-transf=* \
2032 | --program-trans=* | --program-tran=* \
2033 | --progr-tra=* | --program-tr=* | --program-t=*)
2034 program_transform_name=$ac_optarg ;;
2036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2037 ac_prev=pdfdir ;;
2038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2039 pdfdir=$ac_optarg ;;
2041 -psdir | --psdir | --psdi | --psd | --ps)
2042 ac_prev=psdir ;;
2043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2044 psdir=$ac_optarg ;;
2046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2047 | -silent | --silent | --silen | --sile | --sil)
2048 silent=yes ;;
2050 -runstatedir | --runstatedir | --runstatedi | --runstated \
2051 | --runstate | --runstat | --runsta | --runst | --runs \
2052 | --run | --ru | --r)
2053 ac_prev=runstatedir ;;
2054 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2055 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2056 | --run=* | --ru=* | --r=*)
2057 runstatedir=$ac_optarg ;;
2059 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2060 ac_prev=sbindir ;;
2061 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2062 | --sbi=* | --sb=*)
2063 sbindir=$ac_optarg ;;
2065 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2066 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2067 | --sharedst | --shareds | --shared | --share | --shar \
2068 | --sha | --sh)
2069 ac_prev=sharedstatedir ;;
2070 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2071 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2072 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2073 | --sha=* | --sh=*)
2074 sharedstatedir=$ac_optarg ;;
2076 -site | --site | --sit)
2077 ac_prev=site ;;
2078 -site=* | --site=* | --sit=*)
2079 site=$ac_optarg ;;
2081 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2082 ac_prev=srcdir ;;
2083 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2084 srcdir=$ac_optarg ;;
2086 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2087 | --syscon | --sysco | --sysc | --sys | --sy)
2088 ac_prev=sysconfdir ;;
2089 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2090 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2091 sysconfdir=$ac_optarg ;;
2093 -target | --target | --targe | --targ | --tar | --ta | --t)
2094 ac_prev=target_alias ;;
2095 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2096 target_alias=$ac_optarg ;;
2098 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2099 verbose=yes ;;
2101 -version | --version | --versio | --versi | --vers | -V)
2102 ac_init_version=: ;;
2104 -with-* | --with-*)
2105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2106 # Reject names that are not valid shell variable names.
2107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2108 as_fn_error $? "invalid package name: $ac_useropt"
2109 ac_useropt_orig=$ac_useropt
2110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2111 case $ac_user_opts in
2113 "with_$ac_useropt"
2114 "*) ;;
2115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2116 ac_unrecognized_sep=', ';;
2117 esac
2118 eval with_$ac_useropt=\$ac_optarg ;;
2120 -without-* | --without-*)
2121 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2122 # Reject names that are not valid shell variable names.
2123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2124 as_fn_error $? "invalid package name: $ac_useropt"
2125 ac_useropt_orig=$ac_useropt
2126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2127 case $ac_user_opts in
2129 "with_$ac_useropt"
2130 "*) ;;
2131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2132 ac_unrecognized_sep=', ';;
2133 esac
2134 eval with_$ac_useropt=no ;;
2136 --x)
2137 # Obsolete; use --with-x.
2138 with_x=yes ;;
2140 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2141 | --x-incl | --x-inc | --x-in | --x-i)
2142 ac_prev=x_includes ;;
2143 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2144 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2145 x_includes=$ac_optarg ;;
2147 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2148 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2149 ac_prev=x_libraries ;;
2150 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2151 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2152 x_libraries=$ac_optarg ;;
2154 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2155 Try \`$0 --help' for more information"
2158 *=*)
2159 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2160 # Reject names that are not valid shell variable names.
2161 case $ac_envvar in #(
2162 '' | [0-9]* | *[!_$as_cr_alnum]* )
2163 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2164 esac
2165 eval $ac_envvar=\$ac_optarg
2166 export $ac_envvar ;;
2169 # FIXME: should be removed in autoconf 3.0.
2170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2176 esac
2177 done
2179 if test -n "$ac_prev"; then
2180 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2181 as_fn_error $? "missing argument to $ac_option"
2184 if test -n "$ac_unrecognized_opts"; then
2185 case $enable_option_checking in
2186 no) ;;
2187 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2189 esac
2192 # Check all directory arguments for consistency.
2193 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2194 datadir sysconfdir sharedstatedir localstatedir includedir \
2195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2196 libdir localedir mandir runstatedir
2198 eval ac_val=\$$ac_var
2199 # Remove trailing slashes.
2200 case $ac_val in
2201 */ )
2202 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2203 eval $ac_var=\$ac_val;;
2204 esac
2205 # Be sure to have absolute directory names.
2206 case $ac_val in
2207 [\\/$]* | ?:[\\/]* ) continue;;
2208 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2209 esac
2210 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2211 done
2213 # There might be people who depend on the old broken behavior: `$host'
2214 # used to hold the argument of --host etc.
2215 # FIXME: To remove some day.
2216 build=$build_alias
2217 host=$host_alias
2218 target=$target_alias
2220 # FIXME: To remove some day.
2221 if test "x$host_alias" != x; then
2222 if test "x$build_alias" = x; then
2223 cross_compiling=maybe
2224 elif test "x$build_alias" != "x$host_alias"; then
2225 cross_compiling=yes
2229 ac_tool_prefix=
2230 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2232 test "$silent" = yes && exec 6>/dev/null
2235 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2236 ac_ls_di=`ls -di .` &&
2237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2238 as_fn_error $? "working directory cannot be determined"
2239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2240 as_fn_error $? "pwd does not report name of working directory"
2243 # Find the source files, if location was not specified.
2244 if test -z "$srcdir"; then
2245 ac_srcdir_defaulted=yes
2246 # Try the directory containing this script, then the parent directory.
2247 ac_confdir=`$as_dirname -- "$as_myself" ||
2248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2249 X"$as_myself" : 'X\(//\)[^/]' \| \
2250 X"$as_myself" : 'X\(//\)$' \| \
2251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2252 $as_echo X"$as_myself" |
2253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2254 s//\1/
2257 /^X\(\/\/\)[^/].*/{
2258 s//\1/
2261 /^X\(\/\/\)$/{
2262 s//\1/
2265 /^X\(\/\).*/{
2266 s//\1/
2269 s/.*/./; q'`
2270 srcdir=$ac_confdir
2271 if test ! -r "$srcdir/$ac_unique_file"; then
2272 srcdir=..
2274 else
2275 ac_srcdir_defaulted=no
2277 if test ! -r "$srcdir/$ac_unique_file"; then
2278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2279 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2282 ac_abs_confdir=`(
2283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2284 pwd)`
2285 # When building in place, set srcdir=.
2286 if test "$ac_abs_confdir" = "$ac_pwd"; then
2287 srcdir=.
2289 # Remove unnecessary trailing slashes from srcdir.
2290 # Double slashes in file names in object file debugging info
2291 # mess up M-x gdb in Emacs.
2292 case $srcdir in
2293 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2294 esac
2295 for ac_var in $ac_precious_vars; do
2296 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2297 eval ac_env_${ac_var}_value=\$${ac_var}
2298 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2299 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2300 done
2303 # Report the --help message.
2305 if test "$ac_init_help" = "long"; then
2306 # Omit some internal or obsolete options to make the list less imposing.
2307 # This message is too long to be a string in the A/UX 3.1 sh.
2308 cat <<_ACEOF
2309 \`configure' configures Wine 3.1 to adapt to many kinds of systems.
2311 Usage: $0 [OPTION]... [VAR=VALUE]...
2313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2314 VAR=VALUE. See below for descriptions of some of the useful variables.
2316 Defaults for the options are specified in brackets.
2318 Configuration:
2319 -h, --help display this help and exit
2320 --help=short display options specific to this package
2321 --help=recursive display the short help of all the included packages
2322 -V, --version display version information and exit
2323 -q, --quiet, --silent do not print \`checking ...' messages
2324 --cache-file=FILE cache test results in FILE [disabled]
2325 -C, --config-cache alias for \`--cache-file=config.cache'
2326 -n, --no-create do not create output files
2327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2329 Installation directories:
2330 --prefix=PREFIX install architecture-independent files in PREFIX
2331 [$ac_default_prefix]
2332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2333 [PREFIX]
2335 By default, \`make install' will install all the files in
2336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2338 for instance \`--prefix=\$HOME'.
2340 For better control, use the options below.
2342 Fine tuning of the installation directories:
2343 --bindir=DIR user executables [EPREFIX/bin]
2344 --sbindir=DIR system admin executables [EPREFIX/sbin]
2345 --libexecdir=DIR program executables [EPREFIX/libexec]
2346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2349 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2350 --libdir=DIR object code libraries [EPREFIX/lib]
2351 --includedir=DIR C header files [PREFIX/include]
2352 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2353 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2354 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2355 --infodir=DIR info documentation [DATAROOTDIR/info]
2356 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2357 --mandir=DIR man documentation [DATAROOTDIR/man]
2358 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2359 --htmldir=DIR html documentation [DOCDIR]
2360 --dvidir=DIR dvi documentation [DOCDIR]
2361 --pdfdir=DIR pdf documentation [DOCDIR]
2362 --psdir=DIR ps documentation [DOCDIR]
2363 _ACEOF
2365 cat <<\_ACEOF
2367 X features:
2368 --x-includes=DIR X include files are in DIR
2369 --x-libraries=DIR X library files are in DIR
2371 System types:
2372 --build=BUILD configure for building on BUILD [guessed]
2373 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2374 _ACEOF
2377 if test -n "$ac_init_help"; then
2378 case $ac_init_help in
2379 short | recursive ) echo "Configuration of Wine 3.1:";;
2380 esac
2381 cat <<\_ACEOF
2383 Optional Features:
2384 --disable-option-checking ignore unrecognized --enable/--with options
2385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2387 --disable-win16 do not include Win16 support
2388 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2389 binaries)
2390 --disable-tests do not build the regression tests
2391 --enable-maintainer-mode
2392 enable maintainer-specific build rules
2393 --disable-largefile omit support for large files
2395 Optional Packages:
2396 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2397 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2398 --without-alsa do not use the Alsa sound support
2399 --without-capi do not use CAPI (ISDN support)
2400 --without-cms do not use CMS (color management support)
2401 --without-coreaudio do not use the CoreAudio sound support
2402 --without-cups do not use CUPS
2403 --without-curses do not use (n)curses
2404 --without-dbus do not use DBus (dynamic device support)
2405 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2406 --without-fontconfig do not use fontconfig
2407 --without-freetype do not use the FreeType library
2408 --without-gettext do not use gettext
2409 --with-gettextpo use the GetTextPO library to rebuild po files
2410 --without-gphoto do not use gphoto (Digital Camera support)
2411 --without-glu do not use the GLU library
2412 --without-gnutls do not use GnuTLS (schannel support)
2413 --without-gsm do not use libgsm (GSM 06.10 codec support)
2414 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2415 --without-gstreamer do not use GStreamer (codecs support)
2416 --without-hal do not use HAL (dynamic device support)
2417 --without-jpeg do not use JPEG
2418 --without-krb5 do not use krb5 (Kerberos)
2419 --without-ldap do not use LDAP
2420 --without-mpg123 do not use the mpg123 library
2421 --without-netapi do not use the Samba NetAPI library
2422 --without-openal do not use OpenAL
2423 --without-opencl do not use OpenCL
2424 --without-opengl do not use OpenGL
2425 --without-osmesa do not use the OSMesa library
2426 --without-oss do not use the OSS sound support
2427 --without-pcap do not use the Packet Capture library
2428 --without-png do not use PNG
2429 --without-pthread do not use the pthread library
2430 --without-pulse do not use PulseAudio sound support
2431 --without-sane do not use SANE (scanner support)
2432 --without-tiff do not use TIFF
2433 --without-udev do not use udev (plug and play support)
2434 --without-v4l do not use v4l1 (v4l support)
2435 --without-xcomposite do not use the Xcomposite extension
2436 --without-xcursor do not use the Xcursor extension
2437 --without-xfixes do not use Xfixes for clipboard change notifications
2438 --without-xinerama do not use Xinerama (multi-monitor support)
2439 --without-xinput do not use the Xinput extension
2440 --without-xinput2 do not use the Xinput 2 extension
2441 --without-xml do not use XML
2442 --without-xrandr do not use Xrandr (resolution changes)
2443 --without-xrender do not use the Xrender extension
2444 --without-xshape do not use the Xshape extension
2445 --without-xshm do not use XShm (shared memory extension)
2446 --without-xslt do not use XSLT
2447 --without-xxf86vm do not use XFree video mode extension
2448 --without-zlib do not use Zlib (data compression)
2449 --with-wine-tools=DIR use Wine tools from directory DIR
2450 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2451 --with-x use the X Window System
2453 Some influential environment variables:
2454 CC C compiler command
2455 CFLAGS C compiler flags
2456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2457 nonstandard directory <lib dir>
2458 LIBS libraries to pass to the linker, e.g. -l<library>
2459 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2460 you have headers in a nonstandard directory <include dir>
2461 CXX C++ compiler command
2462 CXXFLAGS C++ compiler flags
2463 CPP C preprocessor
2464 XMKMF Path to xmkmf, Makefile generator for X Window System
2465 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2466 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2467 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2468 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2469 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2470 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2471 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2472 HAL_LIBS Linker flags for hal, overriding pkg-config
2473 GNUTLS_CFLAGS
2474 C compiler flags for gnutls, overriding pkg-config
2475 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2476 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2477 SANE_LIBS Linker flags for libsane, overriding pkg-config
2478 GPHOTO2_CFLAGS
2479 C compiler flags for libgphoto2, overriding pkg-config
2480 GPHOTO2_LIBS
2481 Linker flags for libgphoto2, overriding pkg-config
2482 GPHOTO2_PORT_CFLAGS
2483 C compiler flags for libgphoto2_port, overriding pkg-config
2484 GPHOTO2_PORT_LIBS
2485 Linker flags for libgphoto2_port, overriding pkg-config
2486 LCMS2_CFLAGS
2487 C compiler flags for lcms2, overriding pkg-config
2488 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2489 FREETYPE_CFLAGS
2490 C compiler flags for freetype2, overriding pkg-config
2491 FREETYPE_LIBS
2492 Linker flags for freetype2, overriding pkg-config
2493 PULSE_CFLAGS
2494 C compiler flags for libpulse, overriding pkg-config
2495 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2496 GSTREAMER_CFLAGS
2497 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2498 gstreamer-audio-1.0, overriding pkg-config
2499 GSTREAMER_LIBS
2500 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2501 gstreamer-audio-1.0, overriding pkg-config
2502 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2503 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2504 CAPI20_CFLAGS
2505 C compiler flags for capi20, overriding pkg-config
2506 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2507 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2508 CUPS_LIBS Linker flags for cups, overriding pkg-config
2509 FONTCONFIG_CFLAGS
2510 C compiler flags for fontconfig, overriding pkg-config
2511 FONTCONFIG_LIBS
2512 Linker flags for fontconfig, overriding pkg-config
2513 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2514 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2515 GSSAPI_CFLAGS
2516 C compiler flags for krb5-gssapi, overriding pkg-config
2517 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2518 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2519 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2520 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2521 PNG_LIBS Linker flags for libpng, overriding pkg-config
2522 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2523 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2524 MPG123_CFLAGS
2525 C compiler flags for libmpg123, overriding pkg-config
2526 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2527 NETAPI_CFLAGS
2528 C compiler flags for netapi, overriding pkg-config
2529 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2530 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2531 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2533 Use these variables to override the choices made by `configure' or to help
2534 it to find libraries and programs with nonstandard names/locations.
2536 Report bugs to <wine-devel@winehq.org>.
2537 Wine home page: <https://www.winehq.org>.
2538 _ACEOF
2539 ac_status=$?
2542 if test "$ac_init_help" = "recursive"; then
2543 # If there are subdirs, report their specific --help.
2544 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2545 test -d "$ac_dir" ||
2546 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2547 continue
2548 ac_builddir=.
2550 case "$ac_dir" in
2551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2553 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2554 # A ".." for each directory in $ac_dir_suffix.
2555 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2556 case $ac_top_builddir_sub in
2557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2559 esac ;;
2560 esac
2561 ac_abs_top_builddir=$ac_pwd
2562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2563 # for backward compatibility:
2564 ac_top_builddir=$ac_top_build_prefix
2566 case $srcdir in
2567 .) # We are building in place.
2568 ac_srcdir=.
2569 ac_top_srcdir=$ac_top_builddir_sub
2570 ac_abs_top_srcdir=$ac_pwd ;;
2571 [\\/]* | ?:[\\/]* ) # Absolute name.
2572 ac_srcdir=$srcdir$ac_dir_suffix;
2573 ac_top_srcdir=$srcdir
2574 ac_abs_top_srcdir=$srcdir ;;
2575 *) # Relative name.
2576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2577 ac_top_srcdir=$ac_top_build_prefix$srcdir
2578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2579 esac
2580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2582 cd "$ac_dir" || { ac_status=$?; continue; }
2583 # Check for guested configure.
2584 if test -f "$ac_srcdir/configure.gnu"; then
2585 echo &&
2586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2587 elif test -f "$ac_srcdir/configure"; then
2588 echo &&
2589 $SHELL "$ac_srcdir/configure" --help=recursive
2590 else
2591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2592 fi || ac_status=$?
2593 cd "$ac_pwd" || { ac_status=$?; break; }
2594 done
2597 test -n "$ac_init_help" && exit $ac_status
2598 if $ac_init_version; then
2599 cat <<\_ACEOF
2600 Wine configure 3.1
2601 generated by GNU Autoconf 2.69
2603 Copyright (C) 2012 Free Software Foundation, Inc.
2604 This configure script is free software; the Free Software Foundation
2605 gives unlimited permission to copy, distribute and modify it.
2606 _ACEOF
2607 exit
2610 ## ------------------------ ##
2611 ## Autoconf initialization. ##
2612 ## ------------------------ ##
2614 # ac_fn_c_try_compile LINENO
2615 # --------------------------
2616 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2617 ac_fn_c_try_compile ()
2619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620 rm -f conftest.$ac_objext
2621 if { { ac_try="$ac_compile"
2622 case "(($ac_try" in
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2625 esac
2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_compile") 2>conftest.err
2629 ac_status=$?
2630 if test -s conftest.err; then
2631 grep -v '^ *+' conftest.err >conftest.er1
2632 cat conftest.er1 >&5
2633 mv -f conftest.er1 conftest.err
2635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636 test $ac_status = 0; } && {
2637 test -z "$ac_c_werror_flag" ||
2638 test ! -s conftest.err
2639 } && test -s conftest.$ac_objext; then :
2640 ac_retval=0
2641 else
2642 $as_echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2645 ac_retval=1
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648 as_fn_set_status $ac_retval
2650 } # ac_fn_c_try_compile
2652 # ac_fn_cxx_try_compile LINENO
2653 # ----------------------------
2654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2655 ac_fn_cxx_try_compile ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 rm -f conftest.$ac_objext
2659 if { { ac_try="$ac_compile"
2660 case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_compile") 2>conftest.err
2667 ac_status=$?
2668 if test -s conftest.err; then
2669 grep -v '^ *+' conftest.err >conftest.er1
2670 cat conftest.er1 >&5
2671 mv -f conftest.er1 conftest.err
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } && {
2675 test -z "$ac_cxx_werror_flag" ||
2676 test ! -s conftest.err
2677 } && test -s conftest.$ac_objext; then :
2678 ac_retval=0
2679 else
2680 $as_echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2683 ac_retval=1
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2686 as_fn_set_status $ac_retval
2688 } # ac_fn_cxx_try_compile
2690 # ac_fn_c_try_link LINENO
2691 # -----------------------
2692 # Try to link conftest.$ac_ext, and return whether this succeeded.
2693 ac_fn_c_try_link ()
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 rm -f conftest.$ac_objext conftest$ac_exeext
2697 if { { ac_try="$ac_link"
2698 case "(($ac_try" in
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2701 esac
2702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2703 $as_echo "$ac_try_echo"; } >&5
2704 (eval "$ac_link") 2>conftest.err
2705 ac_status=$?
2706 if test -s conftest.err; then
2707 grep -v '^ *+' conftest.err >conftest.er1
2708 cat conftest.er1 >&5
2709 mv -f conftest.er1 conftest.err
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 test $ac_status = 0; } && {
2713 test -z "$ac_c_werror_flag" ||
2714 test ! -s conftest.err
2715 } && test -s conftest$ac_exeext && {
2716 test "$cross_compiling" = yes ||
2717 test -x conftest$ac_exeext
2718 }; then :
2719 ac_retval=0
2720 else
2721 $as_echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2724 ac_retval=1
2726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2727 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2728 # interfere with the next link command; also delete a directory that is
2729 # left behind by Apple's compiler. We do this before executing the actions.
2730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2732 as_fn_set_status $ac_retval
2734 } # ac_fn_c_try_link
2736 # ac_fn_c_try_cpp LINENO
2737 # ----------------------
2738 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2739 ac_fn_c_try_cpp ()
2741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2742 if { { ac_try="$ac_cpp conftest.$ac_ext"
2743 case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748 $as_echo "$ac_try_echo"; } >&5
2749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2750 ac_status=$?
2751 if test -s conftest.err; then
2752 grep -v '^ *+' conftest.err >conftest.er1
2753 cat conftest.er1 >&5
2754 mv -f conftest.er1 conftest.err
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; } > conftest.i && {
2758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2759 test ! -s conftest.err
2760 }; then :
2761 ac_retval=0
2762 else
2763 $as_echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 ac_retval=1
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 as_fn_set_status $ac_retval
2771 } # ac_fn_c_try_cpp
2773 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2774 # -------------------------------------------------------
2775 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2776 # the include files in INCLUDES and setting the cache variable VAR
2777 # accordingly.
2778 ac_fn_c_check_header_mongrel ()
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 if eval \${$3+:} false; then :
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2783 $as_echo_n "checking for $2... " >&6; }
2784 if eval \${$3+:} false; then :
2785 $as_echo_n "(cached) " >&6
2787 eval ac_res=\$$3
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2790 else
2791 # Is the header compilable?
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2793 $as_echo_n "checking $2 usability... " >&6; }
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2797 #include <$2>
2798 _ACEOF
2799 if ac_fn_c_try_compile "$LINENO"; then :
2800 ac_header_compiler=yes
2801 else
2802 ac_header_compiler=no
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2806 $as_echo "$ac_header_compiler" >&6; }
2808 # Is the header present?
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2810 $as_echo_n "checking $2 presence... " >&6; }
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2813 #include <$2>
2814 _ACEOF
2815 if ac_fn_c_try_cpp "$LINENO"; then :
2816 ac_header_preproc=yes
2817 else
2818 ac_header_preproc=no
2820 rm -f conftest.err conftest.i conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2822 $as_echo "$ac_header_preproc" >&6; }
2824 # So? What about this header?
2825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2826 yes:no: )
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2828 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2832 no:yes:* )
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2834 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2836 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2838 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2840 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2842 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2843 ( $as_echo "## ------------------------------------ ##
2844 ## Report this to wine-devel@winehq.org ##
2845 ## ------------------------------------ ##"
2846 ) | sed "s/^/$as_me: WARNING: /" >&2
2848 esac
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2850 $as_echo_n "checking for $2... " >&6; }
2851 if eval \${$3+:} false; then :
2852 $as_echo_n "(cached) " >&6
2853 else
2854 eval "$3=\$ac_header_compiler"
2856 eval ac_res=\$$3
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 $as_echo "$ac_res" >&6; }
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 } # ac_fn_c_check_header_mongrel
2864 # ac_fn_c_try_run LINENO
2865 # ----------------------
2866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2867 # that executables *can* be run.
2868 ac_fn_c_try_run ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 if { { ac_try="$ac_link"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_link") 2>&5
2879 ac_status=$?
2880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2882 { { case "(($ac_try" in
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2885 esac
2886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 $as_echo "$ac_try_echo"; } >&5
2888 (eval "$ac_try") 2>&5
2889 ac_status=$?
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; }; }; then :
2892 ac_retval=0
2893 else
2894 $as_echo "$as_me: program exited with status $ac_status" >&5
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2898 ac_retval=$ac_status
2900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_c_try_run
2906 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2907 # -------------------------------------------------------
2908 # Tests whether HEADER exists and can be compiled using the include files in
2909 # INCLUDES, setting the cache variable VAR accordingly.
2910 ac_fn_c_check_header_compile ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2914 $as_echo_n "checking for $2... " >&6; }
2915 if eval \${$3+:} false; then :
2916 $as_echo_n "(cached) " >&6
2917 else
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2921 #include <$2>
2922 _ACEOF
2923 if ac_fn_c_try_compile "$LINENO"; then :
2924 eval "$3=yes"
2925 else
2926 eval "$3=no"
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 eval ac_res=\$$3
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2932 $as_echo "$ac_res" >&6; }
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 } # ac_fn_c_check_header_compile
2937 # ac_fn_c_check_func LINENO FUNC VAR
2938 # ----------------------------------
2939 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2940 ac_fn_c_check_func ()
2942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2944 $as_echo_n "checking for $2... " >&6; }
2945 if eval \${$3+:} false; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2950 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2952 #define $2 innocuous_$2
2954 /* System header to define __stub macros and hopefully few prototypes,
2955 which can conflict with char $2 (); below.
2956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2957 <limits.h> exists even on freestanding compilers. */
2959 #ifdef __STDC__
2960 # include <limits.h>
2961 #else
2962 # include <assert.h>
2963 #endif
2965 #undef $2
2967 /* Override any GCC internal prototype to avoid an error.
2968 Use char because int might match the return type of a GCC
2969 builtin and then its argument prototype would still apply. */
2970 #ifdef __cplusplus
2971 extern "C"
2972 #endif
2973 char $2 ();
2974 /* The GNU C library defines this for functions which it implements
2975 to always fail with ENOSYS. Some functions are actually named
2976 something starting with __ and the normal name is an alias. */
2977 #if defined __stub_$2 || defined __stub___$2
2978 choke me
2979 #endif
2982 main ()
2984 return $2 ();
2986 return 0;
2988 _ACEOF
2989 if ac_fn_c_try_link "$LINENO"; then :
2990 eval "$3=yes"
2991 else
2992 eval "$3=no"
2994 rm -f core conftest.err conftest.$ac_objext \
2995 conftest$ac_exeext conftest.$ac_ext
2997 eval ac_res=\$$3
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2999 $as_echo "$ac_res" >&6; }
3000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 } # ac_fn_c_check_func
3004 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3005 # ----------------------------------------------------
3006 # Tries to find if the field MEMBER exists in type AGGR, after including
3007 # INCLUDES, setting cache variable VAR accordingly.
3008 ac_fn_c_check_member ()
3010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3012 $as_echo_n "checking for $2.$3... " >&6; }
3013 if eval \${$4+:} false; then :
3014 $as_echo_n "(cached) " >&6
3015 else
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3020 main ()
3022 static $2 ac_aggr;
3023 if (ac_aggr.$3)
3024 return 0;
3026 return 0;
3028 _ACEOF
3029 if ac_fn_c_try_compile "$LINENO"; then :
3030 eval "$4=yes"
3031 else
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3036 main ()
3038 static $2 ac_aggr;
3039 if (sizeof ac_aggr.$3)
3040 return 0;
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"; then :
3046 eval "$4=yes"
3047 else
3048 eval "$4=no"
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 eval ac_res=\$$4
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3056 $as_echo "$ac_res" >&6; }
3057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3059 } # ac_fn_c_check_member
3061 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3062 # -------------------------------------------
3063 # Tests whether TYPE exists after having included INCLUDES, setting cache
3064 # variable VAR accordingly.
3065 ac_fn_c_check_type ()
3067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3069 $as_echo_n "checking for $2... " >&6; }
3070 if eval \${$3+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 eval "$3=no"
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3078 main ()
3080 if (sizeof ($2))
3081 return 0;
3083 return 0;
3085 _ACEOF
3086 if ac_fn_c_try_compile "$LINENO"; then :
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3091 main ()
3093 if (sizeof (($2)))
3094 return 0;
3096 return 0;
3098 _ACEOF
3099 if ac_fn_c_try_compile "$LINENO"; then :
3101 else
3102 eval "$3=yes"
3104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 eval ac_res=\$$3
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 } # ac_fn_c_check_type
3114 cat >config.log <<_ACEOF
3115 This file contains any messages produced by compilers while
3116 running configure, to aid debugging if configure makes a mistake.
3118 It was created by Wine $as_me 3.1, which was
3119 generated by GNU Autoconf 2.69. Invocation command line was
3121 $ $0 $@
3123 _ACEOF
3124 exec 5>>config.log
3126 cat <<_ASUNAME
3127 ## --------- ##
3128 ## Platform. ##
3129 ## --------- ##
3131 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3132 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3133 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3134 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3135 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3137 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3138 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3140 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3141 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3142 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3143 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3144 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3145 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3146 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3148 _ASUNAME
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 for as_dir in $PATH
3153 IFS=$as_save_IFS
3154 test -z "$as_dir" && as_dir=.
3155 $as_echo "PATH: $as_dir"
3156 done
3157 IFS=$as_save_IFS
3159 } >&5
3161 cat >&5 <<_ACEOF
3164 ## ----------- ##
3165 ## Core tests. ##
3166 ## ----------- ##
3168 _ACEOF
3171 # Keep a trace of the command line.
3172 # Strip out --no-create and --no-recursion so they do not pile up.
3173 # Strip out --silent because we don't want to record it for future runs.
3174 # Also quote any args containing shell meta-characters.
3175 # Make two passes to allow for proper duplicate-argument suppression.
3176 ac_configure_args=
3177 ac_configure_args0=
3178 ac_configure_args1=
3179 ac_must_keep_next=false
3180 for ac_pass in 1 2
3182 for ac_arg
3184 case $ac_arg in
3185 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3187 | -silent | --silent | --silen | --sile | --sil)
3188 continue ;;
3189 *\'*)
3190 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3191 esac
3192 case $ac_pass in
3193 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3195 as_fn_append ac_configure_args1 " '$ac_arg'"
3196 if test $ac_must_keep_next = true; then
3197 ac_must_keep_next=false # Got value, back to normal.
3198 else
3199 case $ac_arg in
3200 *=* | --config-cache | -C | -disable-* | --disable-* \
3201 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3202 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3203 | -with-* | --with-* | -without-* | --without-* | --x)
3204 case "$ac_configure_args0 " in
3205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3206 esac
3208 -* ) ac_must_keep_next=true ;;
3209 esac
3211 as_fn_append ac_configure_args " '$ac_arg'"
3213 esac
3214 done
3215 done
3216 { ac_configure_args0=; unset ac_configure_args0;}
3217 { ac_configure_args1=; unset ac_configure_args1;}
3219 # When interrupted or exit'd, cleanup temporary files, and complete
3220 # config.log. We remove comments because anyway the quotes in there
3221 # would cause problems or look ugly.
3222 # WARNING: Use '\'' to represent an apostrophe within the trap.
3223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3224 trap 'exit_status=$?
3225 # Save into config.log some information that might help in debugging.
3227 echo
3229 $as_echo "## ---------------- ##
3230 ## Cache variables. ##
3231 ## ---------------- ##"
3232 echo
3233 # The following way of writing the cache mishandles newlines in values,
3235 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3236 eval ac_val=\$$ac_var
3237 case $ac_val in #(
3238 *${as_nl}*)
3239 case $ac_var in #(
3240 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3241 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3242 esac
3243 case $ac_var in #(
3244 _ | IFS | as_nl) ;; #(
3245 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3246 *) { eval $ac_var=; unset $ac_var;} ;;
3247 esac ;;
3248 esac
3249 done
3250 (set) 2>&1 |
3251 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3252 *${as_nl}ac_space=\ *)
3253 sed -n \
3254 "s/'\''/'\''\\\\'\'''\''/g;
3255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3256 ;; #(
3258 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3260 esac |
3261 sort
3263 echo
3265 $as_echo "## ----------------- ##
3266 ## Output variables. ##
3267 ## ----------------- ##"
3268 echo
3269 for ac_var in $ac_subst_vars
3271 eval ac_val=\$$ac_var
3272 case $ac_val in
3273 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3274 esac
3275 $as_echo "$ac_var='\''$ac_val'\''"
3276 done | sort
3277 echo
3279 if test -n "$ac_subst_files"; then
3280 $as_echo "## ------------------- ##
3281 ## File substitutions. ##
3282 ## ------------------- ##"
3283 echo
3284 for ac_var in $ac_subst_files
3286 eval ac_val=\$$ac_var
3287 case $ac_val in
3288 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3289 esac
3290 $as_echo "$ac_var='\''$ac_val'\''"
3291 done | sort
3292 echo
3295 if test -s confdefs.h; then
3296 $as_echo "## ----------- ##
3297 ## confdefs.h. ##
3298 ## ----------- ##"
3299 echo
3300 cat confdefs.h
3301 echo
3303 test "$ac_signal" != 0 &&
3304 $as_echo "$as_me: caught signal $ac_signal"
3305 $as_echo "$as_me: exit $exit_status"
3306 } >&5
3307 rm -f core *.core core.conftest.* &&
3308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3309 exit $exit_status
3311 for ac_signal in 1 2 13 15; do
3312 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3313 done
3314 ac_signal=0
3316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3317 rm -f -r conftest* confdefs.h
3319 $as_echo "/* confdefs.h */" > confdefs.h
3321 # Predefined preprocessor variables.
3323 cat >>confdefs.h <<_ACEOF
3324 #define PACKAGE_NAME "$PACKAGE_NAME"
3325 _ACEOF
3327 cat >>confdefs.h <<_ACEOF
3328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3329 _ACEOF
3331 cat >>confdefs.h <<_ACEOF
3332 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3333 _ACEOF
3335 cat >>confdefs.h <<_ACEOF
3336 #define PACKAGE_STRING "$PACKAGE_STRING"
3337 _ACEOF
3339 cat >>confdefs.h <<_ACEOF
3340 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3341 _ACEOF
3343 cat >>confdefs.h <<_ACEOF
3344 #define PACKAGE_URL "$PACKAGE_URL"
3345 _ACEOF
3348 # Let the site file select an alternate cache file if it wants to.
3349 # Prefer an explicitly selected file to automatically selected ones.
3350 ac_site_file1=NONE
3351 ac_site_file2=NONE
3352 if test -n "$CONFIG_SITE"; then
3353 # We do not want a PATH search for config.site.
3354 case $CONFIG_SITE in #((
3355 -*) ac_site_file1=./$CONFIG_SITE;;
3356 */*) ac_site_file1=$CONFIG_SITE;;
3357 *) ac_site_file1=./$CONFIG_SITE;;
3358 esac
3359 elif test "x$prefix" != xNONE; then
3360 ac_site_file1=$prefix/share/config.site
3361 ac_site_file2=$prefix/etc/config.site
3362 else
3363 ac_site_file1=$ac_default_prefix/share/config.site
3364 ac_site_file2=$ac_default_prefix/etc/config.site
3366 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3368 test "x$ac_site_file" = xNONE && continue
3369 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3371 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3372 sed 's/^/| /' "$ac_site_file" >&5
3373 . "$ac_site_file" \
3374 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 as_fn_error $? "failed to load site script $ac_site_file
3377 See \`config.log' for more details" "$LINENO" 5; }
3379 done
3381 if test -r "$cache_file"; then
3382 # Some versions of bash will fail to source /dev/null (special files
3383 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3384 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3386 $as_echo "$as_me: loading cache $cache_file" >&6;}
3387 case $cache_file in
3388 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3389 *) . "./$cache_file";;
3390 esac
3392 else
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3394 $as_echo "$as_me: creating cache $cache_file" >&6;}
3395 >$cache_file
3398 # Check that the precious variables saved in the cache have kept the same
3399 # value.
3400 ac_cache_corrupted=false
3401 for ac_var in $ac_precious_vars; do
3402 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3403 eval ac_new_set=\$ac_env_${ac_var}_set
3404 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3405 eval ac_new_val=\$ac_env_${ac_var}_value
3406 case $ac_old_set,$ac_new_set in
3407 set,)
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3409 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3410 ac_cache_corrupted=: ;;
3411 ,set)
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3413 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3414 ac_cache_corrupted=: ;;
3415 ,);;
3417 if test "x$ac_old_val" != "x$ac_new_val"; then
3418 # differences in whitespace do not lead to failure.
3419 ac_old_val_w=`echo x $ac_old_val`
3420 ac_new_val_w=`echo x $ac_new_val`
3421 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3423 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3424 ac_cache_corrupted=:
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3427 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3428 eval $ac_var=\$ac_old_val
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3431 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3433 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3434 fi;;
3435 esac
3436 # Pass precious variables to config.status.
3437 if test "$ac_new_set" = set; then
3438 case $ac_new_val in
3439 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3440 *) ac_arg=$ac_var=$ac_new_val ;;
3441 esac
3442 case " $ac_configure_args " in
3443 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3444 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3445 esac
3447 done
3448 if $ac_cache_corrupted; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3452 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3453 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3455 ## -------------------- ##
3456 ## Main body of script. ##
3457 ## -------------------- ##
3459 ac_ext=c
3460 ac_cpp='$CPP $CPPFLAGS'
3461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 ac_config_headers="$ac_config_headers include/config.h"
3469 ac_aux_dir=
3470 for ac_dir in tools "$srcdir"/tools; do
3471 if test -f "$ac_dir/install-sh"; then
3472 ac_aux_dir=$ac_dir
3473 ac_install_sh="$ac_aux_dir/install-sh -c"
3474 break
3475 elif test -f "$ac_dir/install.sh"; then
3476 ac_aux_dir=$ac_dir
3477 ac_install_sh="$ac_aux_dir/install.sh -c"
3478 break
3479 elif test -f "$ac_dir/shtool"; then
3480 ac_aux_dir=$ac_dir
3481 ac_install_sh="$ac_aux_dir/shtool install -c"
3482 break
3484 done
3485 if test -z "$ac_aux_dir"; then
3486 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3489 # These three variables are undocumented and unsupported,
3490 # and are intended to be withdrawn in a future Autoconf release.
3491 # They can cause serious problems if a builder's source tree is in a directory
3492 # whose full name contains unusual characters.
3493 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3494 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3495 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3499 libwine_version="1.0"
3503 # Check whether --enable-win16 was given.
3504 if test "${enable_win16+set}" = set; then :
3505 enableval=$enable_win16;
3508 # Check whether --enable-win64 was given.
3509 if test "${enable_win64+set}" = set; then :
3510 enableval=$enable_win64;
3513 # Check whether --enable-tests was given.
3514 if test "${enable_tests+set}" = set; then :
3515 enableval=$enable_tests;
3518 # Check whether --enable-maintainer-mode was given.
3519 if test "${enable_maintainer_mode+set}" = set; then :
3520 enableval=$enable_maintainer_mode;
3525 # Check whether --with-alsa was given.
3526 if test "${with_alsa+set}" = set; then :
3527 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3531 # Check whether --with-capi was given.
3532 if test "${with_capi+set}" = set; then :
3533 withval=$with_capi;
3537 # Check whether --with-cms was given.
3538 if test "${with_cms+set}" = set; then :
3539 withval=$with_cms;
3543 # Check whether --with-coreaudio was given.
3544 if test "${with_coreaudio+set}" = set; then :
3545 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3549 # Check whether --with-cups was given.
3550 if test "${with_cups+set}" = set; then :
3551 withval=$with_cups;
3555 # Check whether --with-curses was given.
3556 if test "${with_curses+set}" = set; then :
3557 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3561 # Check whether --with-dbus was given.
3562 if test "${with_dbus+set}" = set; then :
3563 withval=$with_dbus;
3567 # Check whether --with-float-abi was given.
3568 if test "${with_float_abi+set}" = set; then :
3569 withval=$with_float_abi;
3573 # Check whether --with-fontconfig was given.
3574 if test "${with_fontconfig+set}" = set; then :
3575 withval=$with_fontconfig;
3579 # Check whether --with-freetype was given.
3580 if test "${with_freetype+set}" = set; then :
3581 withval=$with_freetype;
3585 # Check whether --with-gettext was given.
3586 if test "${with_gettext+set}" = set; then :
3587 withval=$with_gettext;
3591 # Check whether --with-gettextpo was given.
3592 if test "${with_gettextpo+set}" = set; then :
3593 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3597 # Check whether --with-gphoto was given.
3598 if test "${with_gphoto+set}" = set; then :
3599 withval=$with_gphoto;
3603 # Check whether --with-glu was given.
3604 if test "${with_glu+set}" = set; then :
3605 withval=$with_glu;
3609 # Check whether --with-gnutls was given.
3610 if test "${with_gnutls+set}" = set; then :
3611 withval=$with_gnutls;
3615 # Check whether --with-gsm was given.
3616 if test "${with_gsm+set}" = set; then :
3617 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3621 # Check whether --with-gssapi was given.
3622 if test "${with_gssapi+set}" = set; then :
3623 withval=$with_gssapi;
3627 # Check whether --with-gstreamer was given.
3628 if test "${with_gstreamer+set}" = set; then :
3629 withval=$with_gstreamer;
3633 # Check whether --with-hal was given.
3634 if test "${with_hal+set}" = set; then :
3635 withval=$with_hal;
3639 # Check whether --with-jpeg was given.
3640 if test "${with_jpeg+set}" = set; then :
3641 withval=$with_jpeg;
3645 # Check whether --with-krb5 was given.
3646 if test "${with_krb5+set}" = set; then :
3647 withval=$with_krb5;
3651 # Check whether --with-ldap was given.
3652 if test "${with_ldap+set}" = set; then :
3653 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3657 # Check whether --with-mpg123 was given.
3658 if test "${with_mpg123+set}" = set; then :
3659 withval=$with_mpg123;
3663 # Check whether --with-netapi was given.
3664 if test "${with_netapi+set}" = set; then :
3665 withval=$with_netapi;
3669 # Check whether --with-openal was given.
3670 if test "${with_openal+set}" = set; then :
3671 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3675 # Check whether --with-opencl was given.
3676 if test "${with_opencl+set}" = set; then :
3677 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3681 # Check whether --with-opengl was given.
3682 if test "${with_opengl+set}" = set; then :
3683 withval=$with_opengl;
3687 # Check whether --with-osmesa was given.
3688 if test "${with_osmesa+set}" = set; then :
3689 withval=$with_osmesa;
3693 # Check whether --with-oss was given.
3694 if test "${with_oss+set}" = set; then :
3695 withval=$with_oss;
3699 # Check whether --with-pcap was given.
3700 if test "${with_pcap+set}" = set; then :
3701 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3705 # Check whether --with-png was given.
3706 if test "${with_png+set}" = set; then :
3707 withval=$with_png;
3711 # Check whether --with-pthread was given.
3712 if test "${with_pthread+set}" = set; then :
3713 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3717 # Check whether --with-pulse was given.
3718 if test "${with_pulse+set}" = set; then :
3719 withval=$with_pulse;
3723 # Check whether --with-sane was given.
3724 if test "${with_sane+set}" = set; then :
3725 withval=$with_sane;
3729 # Check whether --with-tiff was given.
3730 if test "${with_tiff+set}" = set; then :
3731 withval=$with_tiff;
3735 # Check whether --with-udev was given.
3736 if test "${with_udev+set}" = set; then :
3737 withval=$with_udev;
3741 # Check whether --with-v4l was given.
3742 if test "${with_v4l+set}" = set; then :
3743 withval=$with_v4l;
3747 # Check whether --with-xcomposite was given.
3748 if test "${with_xcomposite+set}" = set; then :
3749 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3753 # Check whether --with-xcursor was given.
3754 if test "${with_xcursor+set}" = set; then :
3755 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3759 # Check whether --with-xfixes was given.
3760 if test "${with_xfixes+set}" = set; then :
3761 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3765 # Check whether --with-xinerama was given.
3766 if test "${with_xinerama+set}" = set; then :
3767 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3771 # Check whether --with-xinput was given.
3772 if test "${with_xinput+set}" = set; then :
3773 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3777 # Check whether --with-xinput2 was given.
3778 if test "${with_xinput2+set}" = set; then :
3779 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3783 # Check whether --with-xml was given.
3784 if test "${with_xml+set}" = set; then :
3785 withval=$with_xml;
3789 # Check whether --with-xrandr was given.
3790 if test "${with_xrandr+set}" = set; then :
3791 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3795 # Check whether --with-xrender was given.
3796 if test "${with_xrender+set}" = set; then :
3797 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3801 # Check whether --with-xshape was given.
3802 if test "${with_xshape+set}" = set; then :
3803 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3807 # Check whether --with-xshm was given.
3808 if test "${with_xshm+set}" = set; then :
3809 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3813 # Check whether --with-xslt was given.
3814 if test "${with_xslt+set}" = set; then :
3815 withval=$with_xslt;
3819 # Check whether --with-xxf86vm was given.
3820 if test "${with_xxf86vm+set}" = set; then :
3821 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
3825 # Check whether --with-zlib was given.
3826 if test "${with_zlib+set}" = set; then :
3827 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3832 # Check whether --with-wine-tools was given.
3833 if test "${with_wine_tools+set}" = set; then :
3834 withval=$with_wine_tools;
3838 # Check whether --with-wine64 was given.
3839 if test "${with_wine64+set}" = set; then :
3840 withval=$with_wine64;
3844 # Make sure we can run config.sub.
3845 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3846 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3849 $as_echo_n "checking build system type... " >&6; }
3850 if ${ac_cv_build+:} false; then :
3851 $as_echo_n "(cached) " >&6
3852 else
3853 ac_build_alias=$build_alias
3854 test "x$ac_build_alias" = x &&
3855 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3856 test "x$ac_build_alias" = x &&
3857 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3858 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3859 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3863 $as_echo "$ac_cv_build" >&6; }
3864 case $ac_cv_build in
3865 *-*-*) ;;
3866 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3867 esac
3868 build=$ac_cv_build
3869 ac_save_IFS=$IFS; IFS='-'
3870 set x $ac_cv_build
3871 shift
3872 build_cpu=$1
3873 build_vendor=$2
3874 shift; shift
3875 # Remember, the first character of IFS is used to create $*,
3876 # except with old shells:
3877 build_os=$*
3878 IFS=$ac_save_IFS
3879 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3883 $as_echo_n "checking host system type... " >&6; }
3884 if ${ac_cv_host+:} false; then :
3885 $as_echo_n "(cached) " >&6
3886 else
3887 if test "x$host_alias" = x; then
3888 ac_cv_host=$ac_cv_build
3889 else
3890 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3891 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3896 $as_echo "$ac_cv_host" >&6; }
3897 case $ac_cv_host in
3898 *-*-*) ;;
3899 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3900 esac
3901 host=$ac_cv_host
3902 ac_save_IFS=$IFS; IFS='-'
3903 set x $ac_cv_host
3904 shift
3905 host_cpu=$1
3906 host_vendor=$2
3907 shift; shift
3908 # Remember, the first character of IFS is used to create $*,
3909 # except with old shells:
3910 host_os=$*
3911 IFS=$ac_save_IFS
3912 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3916 case "$srcdir" in
3917 .) ;;
3918 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3919 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3920 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3921 fi ;;
3922 esac
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3926 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3927 set x ${MAKE-make}
3928 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3929 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3930 $as_echo_n "(cached) " >&6
3931 else
3932 cat >conftest.make <<\_ACEOF
3933 SHELL = /bin/sh
3934 all:
3935 @echo '@@@%%%=$(MAKE)=@@@%%%'
3936 _ACEOF
3937 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3938 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3939 *@@@%%%=?*=@@@%%%*)
3940 eval ac_cv_prog_make_${ac_make}_set=yes;;
3942 eval ac_cv_prog_make_${ac_make}_set=no;;
3943 esac
3944 rm -f conftest.make
3946 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3948 $as_echo "yes" >&6; }
3949 SET_MAKE=
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3953 SET_MAKE="MAKE=${MAKE-make}"
3956 ac_ext=c
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3963 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_CC+:} false; then :
3967 $as_echo_n "(cached) " >&6
3968 else
3969 if test -n "$CC"; then
3970 ac_cv_prog_CC="$CC" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3975 IFS=$as_save_IFS
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 break 2
3983 done
3984 done
3985 IFS=$as_save_IFS
3989 CC=$ac_cv_prog_CC
3990 if test -n "$CC"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3992 $as_echo "$CC" >&6; }
3993 else
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4000 if test -z "$ac_cv_prog_CC"; then
4001 ac_ct_CC=$CC
4002 # Extract the first word of "gcc", so it can be a program name with args.
4003 set dummy gcc; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 if test -n "$ac_ct_CC"; then
4010 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4011 else
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH
4015 IFS=$as_save_IFS
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_ac_ct_CC="gcc"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 break 2
4023 done
4024 done
4025 IFS=$as_save_IFS
4029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4030 if test -n "$ac_ct_CC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4032 $as_echo "$ac_ct_CC" >&6; }
4033 else
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4038 if test "x$ac_ct_CC" = x; then
4039 CC=""
4040 else
4041 case $cross_compiling:$ac_tool_warned in
4042 yes:)
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4045 ac_tool_warned=yes ;;
4046 esac
4047 CC=$ac_ct_CC
4049 else
4050 CC="$ac_cv_prog_CC"
4053 if test -z "$CC"; then
4054 if test -n "$ac_tool_prefix"; then
4055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4056 set dummy ${ac_tool_prefix}cc; ac_word=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if ${ac_cv_prog_CC+:} false; then :
4060 $as_echo_n "(cached) " >&6
4061 else
4062 if test -n "$CC"; then
4063 ac_cv_prog_CC="$CC" # Let the user override the test.
4064 else
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4066 for as_dir in $PATH
4068 IFS=$as_save_IFS
4069 test -z "$as_dir" && as_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4072 ac_cv_prog_CC="${ac_tool_prefix}cc"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074 break 2
4076 done
4077 done
4078 IFS=$as_save_IFS
4082 CC=$ac_cv_prog_CC
4083 if test -n "$CC"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4085 $as_echo "$CC" >&6; }
4086 else
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4094 if test -z "$CC"; then
4095 # Extract the first word of "cc", so it can be a program name with args.
4096 set dummy cc; ac_word=$2
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 $as_echo_n "checking for $ac_word... " >&6; }
4099 if ${ac_cv_prog_CC+:} false; then :
4100 $as_echo_n "(cached) " >&6
4101 else
4102 if test -n "$CC"; then
4103 ac_cv_prog_CC="$CC" # Let the user override the test.
4104 else
4105 ac_prog_rejected=no
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH
4109 IFS=$as_save_IFS
4110 test -z "$as_dir" && as_dir=.
4111 for ac_exec_ext in '' $ac_executable_extensions; do
4112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4113 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4114 ac_prog_rejected=yes
4115 continue
4117 ac_cv_prog_CC="cc"
4118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 break 2
4121 done
4122 done
4123 IFS=$as_save_IFS
4125 if test $ac_prog_rejected = yes; then
4126 # We found a bogon in the path, so make sure we never use it.
4127 set dummy $ac_cv_prog_CC
4128 shift
4129 if test $# != 0; then
4130 # We chose a different compiler from the bogus one.
4131 # However, it has the same basename, so the bogon will be chosen
4132 # first if we set CC to just the basename; use the full file name.
4133 shift
4134 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4139 CC=$ac_cv_prog_CC
4140 if test -n "$CC"; then
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4142 $as_echo "$CC" >&6; }
4143 else
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4150 if test -z "$CC"; then
4151 if test -n "$ac_tool_prefix"; then
4152 for ac_prog in cl.exe
4154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_CC+:} false; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 if test -n "$CC"; then
4162 ac_cv_prog_CC="$CC" # Let the user override the test.
4163 else
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 for as_dir in $PATH
4167 IFS=$as_save_IFS
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 break 2
4175 done
4176 done
4177 IFS=$as_save_IFS
4181 CC=$ac_cv_prog_CC
4182 if test -n "$CC"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4184 $as_echo "$CC" >&6; }
4185 else
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4191 test -n "$CC" && break
4192 done
4194 if test -z "$CC"; then
4195 ac_ct_CC=$CC
4196 for ac_prog in cl.exe
4198 # Extract the first word of "$ac_prog", so it can be a program name with args.
4199 set dummy $ac_prog; ac_word=$2
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201 $as_echo_n "checking for $ac_word... " >&6; }
4202 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4203 $as_echo_n "(cached) " >&6
4204 else
4205 if test -n "$ac_ct_CC"; then
4206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4207 else
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH
4211 IFS=$as_save_IFS
4212 test -z "$as_dir" && as_dir=.
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_prog_ac_ct_CC="$ac_prog"
4216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 break 2
4219 done
4220 done
4221 IFS=$as_save_IFS
4225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4226 if test -n "$ac_ct_CC"; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4228 $as_echo "$ac_ct_CC" >&6; }
4229 else
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4235 test -n "$ac_ct_CC" && break
4236 done
4238 if test "x$ac_ct_CC" = x; then
4239 CC=""
4240 else
4241 case $cross_compiling:$ac_tool_warned in
4242 yes:)
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4245 ac_tool_warned=yes ;;
4246 esac
4247 CC=$ac_ct_CC
4254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4256 as_fn_error $? "no acceptable C compiler found in \$PATH
4257 See \`config.log' for more details" "$LINENO" 5; }
4259 # Provide some information about the compiler.
4260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4261 set X $ac_compile
4262 ac_compiler=$2
4263 for ac_option in --version -v -V -qversion; do
4264 { { ac_try="$ac_compiler $ac_option >&5"
4265 case "(($ac_try" in
4266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4267 *) ac_try_echo=$ac_try;;
4268 esac
4269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4270 $as_echo "$ac_try_echo"; } >&5
4271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4272 ac_status=$?
4273 if test -s conftest.err; then
4274 sed '10a\
4275 ... rest of stderr output deleted ...
4276 10q' conftest.err >conftest.er1
4277 cat conftest.er1 >&5
4279 rm -f conftest.er1 conftest.err
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }
4282 done
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4288 main ()
4292 return 0;
4294 _ACEOF
4295 ac_clean_files_save=$ac_clean_files
4296 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4297 # Try to create an executable without -o first, disregard a.out.
4298 # It will help us diagnose broken compilers, and finding out an intuition
4299 # of exeext.
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4301 $as_echo_n "checking whether the C compiler works... " >&6; }
4302 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4304 # The possible output files:
4305 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4307 ac_rmfiles=
4308 for ac_file in $ac_files
4310 case $ac_file in
4311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4313 esac
4314 done
4315 rm -f $ac_rmfiles
4317 if { { ac_try="$ac_link_default"
4318 case "(($ac_try" in
4319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4321 esac
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_link_default") 2>&5
4325 ac_status=$?
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4331 # so that the user can short-circuit this test for compilers unknown to
4332 # Autoconf.
4333 for ac_file in $ac_files ''
4335 test -f "$ac_file" || continue
4336 case $ac_file in
4337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4339 [ab].out )
4340 # We found the default executable, but exeext='' is most
4341 # certainly right.
4342 break;;
4343 *.* )
4344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4345 then :; else
4346 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4348 # We set ac_cv_exeext here because the later test for it is not
4349 # safe: cross compilers may not add the suffix if given an `-o'
4350 # argument, so we may need to know it at that point already.
4351 # Even if this section looks crufty: it has the advantage of
4352 # actually working.
4353 break;;
4355 break;;
4356 esac
4357 done
4358 test "$ac_cv_exeext" = no && ac_cv_exeext=
4360 else
4361 ac_file=''
4363 if test -z "$ac_file"; then :
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4366 $as_echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.$ac_ext >&5
4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error 77 "C compiler cannot create executables
4372 See \`config.log' for more details" "$LINENO" 5; }
4373 else
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4375 $as_echo "yes" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4378 $as_echo_n "checking for C compiler default output file name... " >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4380 $as_echo "$ac_file" >&6; }
4381 ac_exeext=$ac_cv_exeext
4383 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4384 ac_clean_files=$ac_clean_files_save
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4386 $as_echo_n "checking for suffix of executables... " >&6; }
4387 if { { ac_try="$ac_link"
4388 case "(($ac_try" in
4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4391 esac
4392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4393 $as_echo "$ac_try_echo"; } >&5
4394 (eval "$ac_link") 2>&5
4395 ac_status=$?
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }; then :
4398 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4399 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4400 # work properly (i.e., refer to `conftest.exe'), while it won't with
4401 # `rm'.
4402 for ac_file in conftest.exe conftest conftest.*; do
4403 test -f "$ac_file" || continue
4404 case $ac_file in
4405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4406 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4407 break;;
4408 * ) break;;
4409 esac
4410 done
4411 else
4412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4414 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4415 See \`config.log' for more details" "$LINENO" 5; }
4417 rm -f conftest conftest$ac_cv_exeext
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4419 $as_echo "$ac_cv_exeext" >&6; }
4421 rm -f conftest.$ac_ext
4422 EXEEXT=$ac_cv_exeext
4423 ac_exeext=$EXEEXT
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4426 #include <stdio.h>
4428 main ()
4430 FILE *f = fopen ("conftest.out", "w");
4431 return ferror (f) || fclose (f) != 0;
4434 return 0;
4436 _ACEOF
4437 ac_clean_files="$ac_clean_files conftest.out"
4438 # Check that the compiler produces executables we can run. If not, either
4439 # the compiler is broken, or we cross compile.
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4441 $as_echo_n "checking whether we are cross compiling... " >&6; }
4442 if test "$cross_compiling" != yes; then
4443 { { ac_try="$ac_link"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_link") 2>&5
4451 ac_status=$?
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }
4454 if { ac_try='./conftest$ac_cv_exeext'
4455 { { case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_try") 2>&5
4462 ac_status=$?
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }; }; then
4465 cross_compiling=no
4466 else
4467 if test "$cross_compiling" = maybe; then
4468 cross_compiling=yes
4469 else
4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472 as_fn_error $? "cannot run C compiled programs.
4473 If you meant to cross compile, use \`--host'.
4474 See \`config.log' for more details" "$LINENO" 5; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4479 $as_echo "$cross_compiling" >&6; }
4481 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4482 ac_clean_files=$ac_clean_files_save
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4484 $as_echo_n "checking for suffix of object files... " >&6; }
4485 if ${ac_cv_objext+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 rm -f conftest.o conftest.obj
4500 if { { ac_try="$ac_compile"
4501 case "(($ac_try" in
4502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4503 *) ac_try_echo=$ac_try;;
4504 esac
4505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4506 $as_echo "$ac_try_echo"; } >&5
4507 (eval "$ac_compile") 2>&5
4508 ac_status=$?
4509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4510 test $ac_status = 0; }; then :
4511 for ac_file in conftest.o conftest.obj conftest.*; do
4512 test -f "$ac_file" || continue;
4513 case $ac_file in
4514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4515 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4516 break;;
4517 esac
4518 done
4519 else
4520 $as_echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.$ac_ext >&5
4523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4525 as_fn_error $? "cannot compute suffix of object files: cannot compile
4526 See \`config.log' for more details" "$LINENO" 5; }
4528 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4531 $as_echo "$ac_cv_objext" >&6; }
4532 OBJEXT=$ac_cv_objext
4533 ac_objext=$OBJEXT
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4535 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4536 if ${ac_cv_c_compiler_gnu+:} false; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4545 #ifndef __GNUC__
4546 choke me
4547 #endif
4550 return 0;
4552 _ACEOF
4553 if ac_fn_c_try_compile "$LINENO"; then :
4554 ac_compiler_gnu=yes
4555 else
4556 ac_compiler_gnu=no
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4563 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4564 if test $ac_compiler_gnu = yes; then
4565 GCC=yes
4566 else
4567 GCC=
4569 ac_test_CFLAGS=${CFLAGS+set}
4570 ac_save_CFLAGS=$CFLAGS
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4572 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4573 if ${ac_cv_prog_cc_g+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 ac_save_c_werror_flag=$ac_c_werror_flag
4577 ac_c_werror_flag=yes
4578 ac_cv_prog_cc_g=no
4579 CFLAGS="-g"
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4584 main ()
4588 return 0;
4590 _ACEOF
4591 if ac_fn_c_try_compile "$LINENO"; then :
4592 ac_cv_prog_cc_g=yes
4593 else
4594 CFLAGS=""
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4603 return 0;
4605 _ACEOF
4606 if ac_fn_c_try_compile "$LINENO"; then :
4608 else
4609 ac_c_werror_flag=$ac_save_c_werror_flag
4610 CFLAGS="-g"
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4615 main ()
4619 return 0;
4621 _ACEOF
4622 if ac_fn_c_try_compile "$LINENO"; then :
4623 ac_cv_prog_cc_g=yes
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 ac_c_werror_flag=$ac_save_c_werror_flag
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4633 $as_echo "$ac_cv_prog_cc_g" >&6; }
4634 if test "$ac_test_CFLAGS" = set; then
4635 CFLAGS=$ac_save_CFLAGS
4636 elif test $ac_cv_prog_cc_g = yes; then
4637 if test "$GCC" = yes; then
4638 CFLAGS="-g -O2"
4639 else
4640 CFLAGS="-g"
4642 else
4643 if test "$GCC" = yes; then
4644 CFLAGS="-O2"
4645 else
4646 CFLAGS=
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4650 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4651 if ${ac_cv_prog_cc_c89+:} false; then :
4652 $as_echo_n "(cached) " >&6
4653 else
4654 ac_cv_prog_cc_c89=no
4655 ac_save_CC=$CC
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4658 #include <stdarg.h>
4659 #include <stdio.h>
4660 struct stat;
4661 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4662 struct buf { int x; };
4663 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4664 static char *e (p, i)
4665 char **p;
4666 int i;
4668 return p[i];
4670 static char *f (char * (*g) (char **, int), char **p, ...)
4672 char *s;
4673 va_list v;
4674 va_start (v,p);
4675 s = g (p, va_arg (v,int));
4676 va_end (v);
4677 return s;
4680 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4681 function prototypes and stuff, but not '\xHH' hex character constants.
4682 These don't provoke an error unfortunately, instead are silently treated
4683 as 'x'. The following induces an error, until -std is added to get
4684 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4685 array size at least. It's necessary to write '\x00'==0 to get something
4686 that's true only with -std. */
4687 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4689 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4690 inside strings and character constants. */
4691 #define FOO(x) 'x'
4692 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4694 int test (int i, double x);
4695 struct s1 {int (*f) (int a);};
4696 struct s2 {int (*f) (double a);};
4697 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4698 int argc;
4699 char **argv;
4701 main ()
4703 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4705 return 0;
4707 _ACEOF
4708 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4709 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4711 CC="$ac_save_CC $ac_arg"
4712 if ac_fn_c_try_compile "$LINENO"; then :
4713 ac_cv_prog_cc_c89=$ac_arg
4715 rm -f core conftest.err conftest.$ac_objext
4716 test "x$ac_cv_prog_cc_c89" != "xno" && break
4717 done
4718 rm -f conftest.$ac_ext
4719 CC=$ac_save_CC
4722 # AC_CACHE_VAL
4723 case "x$ac_cv_prog_cc_c89" in
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4726 $as_echo "none needed" >&6; } ;;
4727 xno)
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4729 $as_echo "unsupported" >&6; } ;;
4731 CC="$CC $ac_cv_prog_cc_c89"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4733 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4734 esac
4735 if test "x$ac_cv_prog_cc_c89" != xno; then :
4739 ac_ext=c
4740 ac_cpp='$CPP $CPPFLAGS'
4741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745 ac_ext=cpp
4746 ac_cpp='$CXXCPP $CPPFLAGS'
4747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4750 if test -z "$CXX"; then
4751 if test -n "$CCC"; then
4752 CXX=$CCC
4753 else
4754 if test -n "$ac_tool_prefix"; then
4755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4758 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_prog_CXX+:} false; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 if test -n "$CXX"; then
4765 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4766 else
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH
4770 IFS=$as_save_IFS
4771 test -z "$as_dir" && as_dir=.
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4776 break 2
4778 done
4779 done
4780 IFS=$as_save_IFS
4784 CXX=$ac_cv_prog_CXX
4785 if test -n "$CXX"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4787 $as_echo "$CXX" >&6; }
4788 else
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4794 test -n "$CXX" && break
4795 done
4797 if test -z "$CXX"; then
4798 ac_ct_CXX=$CXX
4799 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4801 # Extract the first word of "$ac_prog", so it can be a program name with args.
4802 set dummy $ac_prog; ac_word=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4806 $as_echo_n "(cached) " >&6
4807 else
4808 if test -n "$ac_ct_CXX"; then
4809 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4810 else
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 for as_dir in $PATH
4814 IFS=$as_save_IFS
4815 test -z "$as_dir" && as_dir=.
4816 for ac_exec_ext in '' $ac_executable_extensions; do
4817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4818 ac_cv_prog_ac_ct_CXX="$ac_prog"
4819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 break 2
4822 done
4823 done
4824 IFS=$as_save_IFS
4828 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4829 if test -n "$ac_ct_CXX"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4831 $as_echo "$ac_ct_CXX" >&6; }
4832 else
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4838 test -n "$ac_ct_CXX" && break
4839 done
4841 if test "x$ac_ct_CXX" = x; then
4842 CXX="g++"
4843 else
4844 case $cross_compiling:$ac_tool_warned in
4845 yes:)
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4848 ac_tool_warned=yes ;;
4849 esac
4850 CXX=$ac_ct_CXX
4856 # Provide some information about the compiler.
4857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4858 set X $ac_compile
4859 ac_compiler=$2
4860 for ac_option in --version -v -V -qversion; do
4861 { { ac_try="$ac_compiler $ac_option >&5"
4862 case "(($ac_try" in
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4865 esac
4866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4867 $as_echo "$ac_try_echo"; } >&5
4868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4869 ac_status=$?
4870 if test -s conftest.err; then
4871 sed '10a\
4872 ... rest of stderr output deleted ...
4873 10q' conftest.err >conftest.er1
4874 cat conftest.er1 >&5
4876 rm -f conftest.er1 conftest.err
4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4878 test $ac_status = 0; }
4879 done
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4882 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4883 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4890 main ()
4892 #ifndef __GNUC__
4893 choke me
4894 #endif
4897 return 0;
4899 _ACEOF
4900 if ac_fn_cxx_try_compile "$LINENO"; then :
4901 ac_compiler_gnu=yes
4902 else
4903 ac_compiler_gnu=no
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4910 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4911 if test $ac_compiler_gnu = yes; then
4912 GXX=yes
4913 else
4914 GXX=
4916 ac_test_CXXFLAGS=${CXXFLAGS+set}
4917 ac_save_CXXFLAGS=$CXXFLAGS
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4919 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4920 if ${ac_cv_prog_cxx_g+:} false; then :
4921 $as_echo_n "(cached) " >&6
4922 else
4923 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4924 ac_cxx_werror_flag=yes
4925 ac_cv_prog_cxx_g=no
4926 CXXFLAGS="-g"
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4935 return 0;
4937 _ACEOF
4938 if ac_fn_cxx_try_compile "$LINENO"; then :
4939 ac_cv_prog_cxx_g=yes
4940 else
4941 CXXFLAGS=""
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4946 main ()
4950 return 0;
4952 _ACEOF
4953 if ac_fn_cxx_try_compile "$LINENO"; then :
4955 else
4956 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4957 CXXFLAGS="-g"
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4962 main ()
4966 return 0;
4968 _ACEOF
4969 if ac_fn_cxx_try_compile "$LINENO"; then :
4970 ac_cv_prog_cxx_g=yes
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4980 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4981 if test "$ac_test_CXXFLAGS" = set; then
4982 CXXFLAGS=$ac_save_CXXFLAGS
4983 elif test $ac_cv_prog_cxx_g = yes; then
4984 if test "$GXX" = yes; then
4985 CXXFLAGS="-g -O2"
4986 else
4987 CXXFLAGS="-g"
4989 else
4990 if test "$GXX" = yes; then
4991 CXXFLAGS="-O2"
4992 else
4993 CXXFLAGS=
4996 ac_ext=c
4997 ac_cpp='$CPP $CPPFLAGS'
4998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5002 if test -n "$ac_tool_prefix"; then
5003 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5004 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_CPPBIN+:} false; then :
5008 $as_echo_n "(cached) " >&6
5009 else
5010 if test -n "$CPPBIN"; then
5011 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5012 else
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 for as_dir in $PATH
5016 IFS=$as_save_IFS
5017 test -z "$as_dir" && as_dir=.
5018 for ac_exec_ext in '' $ac_executable_extensions; do
5019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 break 2
5024 done
5025 done
5026 IFS=$as_save_IFS
5030 CPPBIN=$ac_cv_prog_CPPBIN
5031 if test -n "$CPPBIN"; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5033 $as_echo "$CPPBIN" >&6; }
5034 else
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5041 if test -z "$ac_cv_prog_CPPBIN"; then
5042 ac_ct_CPPBIN=$CPPBIN
5043 # Extract the first word of "cpp", so it can be a program name with args.
5044 set dummy cpp; ac_word=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5048 $as_echo_n "(cached) " >&6
5049 else
5050 if test -n "$ac_ct_CPPBIN"; then
5051 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5052 else
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 for as_dir in $PATH
5056 IFS=$as_save_IFS
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_ac_ct_CPPBIN="cpp"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 break 2
5064 done
5065 done
5066 IFS=$as_save_IFS
5070 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5071 if test -n "$ac_ct_CPPBIN"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5073 $as_echo "$ac_ct_CPPBIN" >&6; }
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5079 if test "x$ac_ct_CPPBIN" = x; then
5080 CPPBIN="cpp"
5081 else
5082 case $cross_compiling:$ac_tool_warned in
5083 yes:)
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned=yes ;;
5087 esac
5088 CPPBIN=$ac_ct_CPPBIN
5090 else
5091 CPPBIN="$ac_cv_prog_CPPBIN"
5095 cat >>confdefs.h <<_ACEOF
5096 #define EXEEXT "$ac_exeext"
5097 _ACEOF
5099 if test -n "$ac_tool_prefix"; then
5100 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5101 set dummy ${ac_tool_prefix}ld; ac_word=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if ${ac_cv_prog_LD+:} false; then :
5105 $as_echo_n "(cached) " >&6
5106 else
5107 if test -n "$LD"; then
5108 ac_cv_prog_LD="$LD" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5113 IFS=$as_save_IFS
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_LD="${ac_tool_prefix}ld"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 break 2
5121 done
5122 done
5123 IFS=$as_save_IFS
5127 LD=$ac_cv_prog_LD
5128 if test -n "$LD"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5130 $as_echo "$LD" >&6; }
5131 else
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5138 if test -z "$ac_cv_prog_LD"; then
5139 ac_ct_LD=$LD
5140 # Extract the first word of "ld", so it can be a program name with args.
5141 set dummy ld; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$ac_ct_LD"; then
5148 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_ac_ct_LD="ld"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5168 if test -n "$ac_ct_LD"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5170 $as_echo "$ac_ct_LD" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5176 if test "x$ac_ct_LD" = x; then
5177 LD=""
5178 else
5179 case $cross_compiling:$ac_tool_warned in
5180 yes:)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned=yes ;;
5184 esac
5185 LD=$ac_ct_LD
5187 else
5188 LD="$ac_cv_prog_LD"
5192 case $host in
5193 *-darwin*)
5194 with_fontconfig=${with_fontconfig:-no}
5196 *-mingw32*|*-cygwin*)
5197 enable_win16=${enable_win16:-no}
5198 CFLAGS="$CFLAGS -D_WIN32"
5200 esac
5202 case $host in
5203 x86_64*|amd64*)
5204 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5205 then
5206 CC="$CC -m32"
5207 CXX="$CXX -m32"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5209 $as_echo_n "checking whether $CC works... " >&6; }
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5215 main ()
5219 return 0;
5221 _ACEOF
5222 if ac_fn_c_try_link "$LINENO"; then :
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5224 $as_echo "yes" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5228 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5230 rm -f core conftest.err conftest.$ac_objext \
5231 conftest$ac_exeext conftest.$ac_ext
5232 host_cpu="i386"
5233 notice_platform="32-bit "
5234 TARGETFLAGS="-m32"
5236 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5237 export PKG_CONFIG_PATH
5238 enable_win16=${enable_win16:-yes}
5239 else
5240 if test "x${GCC}" = "xyes"
5241 then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5243 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5246 #include <stdarg.h>
5248 main ()
5250 void func(__builtin_ms_va_list *args);
5252 return 0;
5254 _ACEOF
5255 if ac_fn_c_try_compile "$LINENO"; then :
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5257 $as_echo "yes" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5261 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5265 CC="$CC -m64"
5266 CXX="$CXX -m64"
5267 host_cpu="x86_64"
5268 notice_platform="64-bit "
5269 TARGETFLAGS="-m64"
5273 arm*)
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5275 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5278 int ac_test(int i) { return i; }
5280 main ()
5282 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5284 return 0;
5286 _ACEOF
5287 if ac_fn_c_try_link "$LINENO"; then :
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5289 $as_echo "yes" >&6; }
5290 else
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5293 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5295 rm -f core conftest.err conftest.$ac_objext \
5296 conftest$ac_exeext conftest.$ac_ext
5297 case $with_float_abi in
5298 soft|softfp|hard)
5299 float_abi=$with_float_abi ;;
5301 case $host_os in
5302 *eabihf)
5303 float_abi=hard ;;
5305 float_abi=softfp
5306 saved_CFLAGS=$CFLAGS
5307 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5309 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5316 asm("vmrs r2,fpscr");
5318 return 0;
5320 _ACEOF
5321 if ac_fn_c_try_link "$LINENO"; then :
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5323 $as_echo "yes" >&6; }
5324 else
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5327 float_abi=soft
5328 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5330 rm -f core conftest.err conftest.$ac_objext \
5331 conftest$ac_exeext conftest.$ac_ext
5332 CFLAGS=$saved_CFLAGS
5333 esac
5335 esac
5336 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5337 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5340 i[3456789]86*)
5341 enable_win16=${enable_win16:-yes}
5343 esac
5345 enable_win16=${enable_win16:-no}
5346 enable_win64=${enable_win64:-no}
5348 enable_winetest=${enable_winetest:-$enable_tests}
5350 if test -n "$with_wine64"
5351 then
5352 if test "x$enable_win64" = "xyes"
5353 then
5354 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5355 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5357 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5358 You should create a separate build directory and run configure from there." "$LINENO" 5
5359 enable_fonts=${enable_fonts:-no}
5360 enable_server=${enable_server:-no}
5361 elif test "x$enable_win64" = "xyes"
5362 then
5363 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5367 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5368 if ${wine_cv_toolsdir+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 wine_cv_toolsdir="$with_wine_tools"
5372 if test -z "$with_wine_tools"; then
5373 if test "$cross_compiling" = "yes"; then
5374 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5375 elif test -n "$with_wine64"; then
5376 wine_cv_toolsdir="$with_wine64"
5379 if test -z "$wine_cv_toolsdir"; then
5380 wine_makedep=tools/makedep
5381 wine_cv_toolsdir="\$(top_builddir)"
5382 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5383 wine_makedep=$wine_cv_toolsdir/tools/makedep
5384 case "$wine_cv_toolsdir" in
5385 /*) ;;
5386 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5387 esac
5388 enable_tools=${enable_tools:-no}
5389 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5390 else
5391 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5395 $as_echo "$wine_cv_toolsdir" >&6; }
5396 TOOLSDIR=$wine_cv_toolsdir
5398 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5399 then
5400 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5404 for ac_prog in flex
5406 # Extract the first word of "$ac_prog", so it can be a program name with args.
5407 set dummy $ac_prog; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_FLEX+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 if test -n "$FLEX"; then
5414 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5415 else
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in $PATH
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_FLEX="$ac_prog"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5427 done
5428 done
5429 IFS=$as_save_IFS
5433 FLEX=$ac_cv_prog_FLEX
5434 if test -n "$FLEX"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5436 $as_echo "$FLEX" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 test -n "$FLEX" && break
5444 done
5445 test -n "$FLEX" || FLEX="none"
5447 if test "$FLEX" = "none"
5448 then
5449 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5452 $as_echo_n "checking whether flex is recent enough... " >&6; }
5453 cat >conftest.l <<EOF
5454 %top{
5455 #include "prediluvian.h"
5459 if $FLEX -t conftest.l >/dev/null 2>&5
5460 then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 $as_echo "yes" >&6; }
5463 else
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5466 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5469 for ac_prog in bison
5471 # Extract the first word of "$ac_prog", so it can be a program name with args.
5472 set dummy $ac_prog; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_BISON+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if test -n "$BISON"; then
5479 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5480 else
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH
5484 IFS=$as_save_IFS
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_BISON="$ac_prog"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 break 2
5492 done
5493 done
5494 IFS=$as_save_IFS
5498 BISON=$ac_cv_prog_BISON
5499 if test -n "$BISON"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5501 $as_echo "$BISON" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5508 test -n "$BISON" && break
5509 done
5510 test -n "$BISON" || BISON="none"
5512 if test "$BISON" = "none"
5513 then
5514 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5517 if test -n "$ac_tool_prefix"; then
5518 for ac_prog in ar gar
5520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_AR+:} false; then :
5525 $as_echo_n "(cached) " >&6
5526 else
5527 if test -n "$AR"; then
5528 ac_cv_prog_AR="$AR" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5541 done
5542 done
5543 IFS=$as_save_IFS
5547 AR=$ac_cv_prog_AR
5548 if test -n "$AR"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5550 $as_echo "$AR" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5557 test -n "$AR" && break
5558 done
5560 if test -z "$AR"; then
5561 ac_ct_AR=$AR
5562 for ac_prog in ar gar
5564 # Extract the first word of "$ac_prog", so it can be a program name with args.
5565 set dummy $ac_prog; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 if test -n "$ac_ct_AR"; then
5572 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5577 IFS=$as_save_IFS
5578 test -z "$as_dir" && as_dir=.
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_ac_ct_AR="$ac_prog"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 break 2
5585 done
5586 done
5587 IFS=$as_save_IFS
5591 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5592 if test -n "$ac_ct_AR"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5594 $as_echo "$ac_ct_AR" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5601 test -n "$ac_ct_AR" && break
5602 done
5604 if test "x$ac_ct_AR" = x; then
5605 AR="ar"
5606 else
5607 case $cross_compiling:$ac_tool_warned in
5608 yes:)
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5611 ac_tool_warned=yes ;;
5612 esac
5613 AR=$ac_ct_AR
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5619 set dummy ${ac_tool_prefix}strip; ac_word=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if ${ac_cv_prog_STRIP+:} false; then :
5623 $as_echo_n "(cached) " >&6
5624 else
5625 if test -n "$STRIP"; then
5626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5627 else
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 break 2
5639 done
5640 done
5641 IFS=$as_save_IFS
5645 STRIP=$ac_cv_prog_STRIP
5646 if test -n "$STRIP"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5648 $as_echo "$STRIP" >&6; }
5649 else
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }
5656 if test -z "$ac_cv_prog_STRIP"; then
5657 ac_ct_STRIP=$STRIP
5658 # Extract the first word of "strip", so it can be a program name with args.
5659 set dummy strip; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5663 $as_echo_n "(cached) " >&6
5664 else
5665 if test -n "$ac_ct_STRIP"; then
5666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5667 else
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 for as_dir in $PATH
5671 IFS=$as_save_IFS
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_STRIP="strip"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5686 if test -n "$ac_ct_STRIP"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5688 $as_echo "$ac_ct_STRIP" >&6; }
5689 else
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5694 if test "x$ac_ct_STRIP" = x; then
5695 STRIP="strip"
5696 else
5697 case $cross_compiling:$ac_tool_warned in
5698 yes:)
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned=yes ;;
5702 esac
5703 STRIP=$ac_ct_STRIP
5705 else
5706 STRIP="$ac_cv_prog_STRIP"
5709 ARFLAGS=rc
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5713 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if ${ac_cv_prog_RANLIB+:} false; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if test -n "$RANLIB"; then
5720 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 break 2
5733 done
5734 done
5735 IFS=$as_save_IFS
5739 RANLIB=$ac_cv_prog_RANLIB
5740 if test -n "$RANLIB"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5742 $as_echo "$RANLIB" >&6; }
5743 else
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5750 if test -z "$ac_cv_prog_RANLIB"; then
5751 ac_ct_RANLIB=$RANLIB
5752 # Extract the first word of "ranlib", so it can be a program name with args.
5753 set dummy ranlib; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$ac_ct_RANLIB"; then
5760 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_ac_ct_RANLIB="ranlib"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5773 done
5774 done
5775 IFS=$as_save_IFS
5779 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5780 if test -n "$ac_ct_RANLIB"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5782 $as_echo "$ac_ct_RANLIB" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5788 if test "x$ac_ct_RANLIB" = x; then
5789 RANLIB=":"
5790 else
5791 case $cross_compiling:$ac_tool_warned in
5792 yes:)
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5795 ac_tool_warned=yes ;;
5796 esac
5797 RANLIB=$ac_ct_RANLIB
5799 else
5800 RANLIB="$ac_cv_prog_RANLIB"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5804 $as_echo_n "checking whether ln -s works... " >&6; }
5805 LN_S=$as_ln_s
5806 if test "$LN_S" = "ln -s"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5808 $as_echo "yes" >&6; }
5809 else
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5811 $as_echo "no, using $LN_S" >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5815 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5816 if ${ac_cv_path_GREP+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -z "$GREP"; then
5820 ac_path_GREP_found=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_prog in grep ggrep; do
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5830 as_fn_executable_p "$ac_path_GREP" || continue
5831 # Check for GNU ac_path_GREP and select it if it is found.
5832 # Check for GNU $ac_path_GREP
5833 case `"$ac_path_GREP" --version 2>&1` in
5834 *GNU*)
5835 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5837 ac_count=0
5838 $as_echo_n 0123456789 >"conftest.in"
5839 while :
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 $as_echo 'GREP' >> "conftest.nl"
5845 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5847 as_fn_arith $ac_count + 1 && ac_count=$as_val
5848 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_GREP="$ac_path_GREP"
5851 ac_path_GREP_max=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5855 done
5856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5857 esac
5859 $ac_path_GREP_found && break 3
5860 done
5861 done
5862 done
5863 IFS=$as_save_IFS
5864 if test -z "$ac_cv_path_GREP"; then
5865 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5867 else
5868 ac_cv_path_GREP=$GREP
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5873 $as_echo "$ac_cv_path_GREP" >&6; }
5874 GREP="$ac_cv_path_GREP"
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5878 $as_echo_n "checking for egrep... " >&6; }
5879 if ${ac_cv_path_EGREP+:} false; then :
5880 $as_echo_n "(cached) " >&6
5881 else
5882 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5883 then ac_cv_path_EGREP="$GREP -E"
5884 else
5885 if test -z "$EGREP"; then
5886 ac_path_EGREP_found=false
5887 # Loop through the user's path and test for each of PROGNAME-LIST
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5891 IFS=$as_save_IFS
5892 test -z "$as_dir" && as_dir=.
5893 for ac_prog in egrep; do
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5896 as_fn_executable_p "$ac_path_EGREP" || continue
5897 # Check for GNU ac_path_EGREP and select it if it is found.
5898 # Check for GNU $ac_path_EGREP
5899 case `"$ac_path_EGREP" --version 2>&1` in
5900 *GNU*)
5901 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5903 ac_count=0
5904 $as_echo_n 0123456789 >"conftest.in"
5905 while :
5907 cat "conftest.in" "conftest.in" >"conftest.tmp"
5908 mv "conftest.tmp" "conftest.in"
5909 cp "conftest.in" "conftest.nl"
5910 $as_echo 'EGREP' >> "conftest.nl"
5911 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5912 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5913 as_fn_arith $ac_count + 1 && ac_count=$as_val
5914 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5915 # Best one so far, save it but keep looking for a better one
5916 ac_cv_path_EGREP="$ac_path_EGREP"
5917 ac_path_EGREP_max=$ac_count
5919 # 10*(2^10) chars as input seems more than enough
5920 test $ac_count -gt 10 && break
5921 done
5922 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5923 esac
5925 $ac_path_EGREP_found && break 3
5926 done
5927 done
5928 done
5929 IFS=$as_save_IFS
5930 if test -z "$ac_cv_path_EGREP"; then
5931 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5933 else
5934 ac_cv_path_EGREP=$EGREP
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5940 $as_echo "$ac_cv_path_EGREP" >&6; }
5941 EGREP="$ac_cv_path_EGREP"
5944 # Extract the first word of "ldconfig", so it can be a program name with args.
5945 set dummy ldconfig; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_path_LDCONFIG+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
5951 case $LDCONFIG in
5952 [\\/]* | ?:[\\/]*)
5953 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 for as_dir in /sbin /usr/sbin $PATH
5959 IFS=$as_save_IFS
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 break 2
5967 done
5968 done
5969 IFS=$as_save_IFS
5971 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5973 esac
5975 LDCONFIG=$ac_cv_path_LDCONFIG
5976 if test -n "$LDCONFIG"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5978 $as_echo "$LDCONFIG" >&6; }
5979 else
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 for ac_prog in msgfmt
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy $ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_MSGFMT+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 if test -n "$MSGFMT"; then
5995 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5996 else
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in $PATH
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_MSGFMT="$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6008 done
6009 done
6010 IFS=$as_save_IFS
6014 MSGFMT=$ac_cv_prog_MSGFMT
6015 if test -n "$MSGFMT"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6017 $as_echo "$MSGFMT" >&6; }
6018 else
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$MSGFMT" && break
6025 done
6026 test -n "$MSGFMT" || MSGFMT="false"
6028 if ${ac_tool_prefix+:} false; then :
6029 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6030 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 if test -n "$PKG_CONFIG"; then
6037 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6038 else
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in $PATH
6042 IFS=$as_save_IFS
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 break 2
6050 done
6051 done
6052 IFS=$as_save_IFS
6056 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6057 if test -n "$PKG_CONFIG"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6059 $as_echo "$PKG_CONFIG" >&6; }
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6067 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6068 if test "x$cross_compiling" = xyes; then :
6070 else
6071 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6072 # Extract the first word of "pkg-config", so it can be a program name with args.
6073 set dummy pkg-config; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$PKG_CONFIG"; then
6080 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_PKG_CONFIG="pkg-config"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6100 if test -n "$PKG_CONFIG"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6102 $as_echo "$PKG_CONFIG" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6110 else
6111 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6114 if test "x$enable_maintainer_mode" != "xyes"
6115 then
6116 FONTFORGE=""
6117 RSVG=""
6118 CONVERT=""
6119 ICOTOOL=""
6120 else
6121 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6122 for ac_prog in fontforge
6124 # Extract the first word of "$ac_prog", so it can be a program name with args.
6125 set dummy $ac_prog; ac_word=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if ${ac_cv_prog_FONTFORGE+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 if test -n "$FONTFORGE"; then
6132 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6133 else
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH
6137 IFS=$as_save_IFS
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6141 ac_cv_prog_FONTFORGE="$ac_prog"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 break 2
6145 done
6146 done
6147 IFS=$as_save_IFS
6151 FONTFORGE=$ac_cv_prog_FONTFORGE
6152 if test -n "$FONTFORGE"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6154 $as_echo "$FONTFORGE" >&6; }
6155 else
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6161 test -n "$FONTFORGE" && break
6162 done
6163 test -n "$FONTFORGE" || FONTFORGE="false"
6165 for ac_prog in rsvg-convert rsvg
6167 # Extract the first word of "$ac_prog", so it can be a program name with args.
6168 set dummy $ac_prog; ac_word=$2
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6170 $as_echo_n "checking for $ac_word... " >&6; }
6171 if ${ac_cv_prog_RSVG+:} false; then :
6172 $as_echo_n "(cached) " >&6
6173 else
6174 if test -n "$RSVG"; then
6175 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6176 else
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 for as_dir in $PATH
6180 IFS=$as_save_IFS
6181 test -z "$as_dir" && as_dir=.
6182 for ac_exec_ext in '' $ac_executable_extensions; do
6183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6184 ac_cv_prog_RSVG="$ac_prog"
6185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6186 break 2
6188 done
6189 done
6190 IFS=$as_save_IFS
6194 RSVG=$ac_cv_prog_RSVG
6195 if test -n "$RSVG"; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6197 $as_echo "$RSVG" >&6; }
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 $as_echo "no" >&6; }
6204 test -n "$RSVG" && break
6205 done
6206 test -n "$RSVG" || RSVG="false"
6208 for ac_prog in convert
6210 # Extract the first word of "$ac_prog", so it can be a program name with args.
6211 set dummy $ac_prog; ac_word=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if ${ac_cv_prog_CONVERT+:} false; then :
6215 $as_echo_n "(cached) " >&6
6216 else
6217 if test -n "$CONVERT"; then
6218 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_CONVERT="$ac_prog"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6231 done
6232 done
6233 IFS=$as_save_IFS
6237 CONVERT=$ac_cv_prog_CONVERT
6238 if test -n "$CONVERT"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6240 $as_echo "$CONVERT" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6247 test -n "$CONVERT" && break
6248 done
6249 test -n "$CONVERT" || CONVERT="false"
6251 for ac_prog in icotool
6253 # Extract the first word of "$ac_prog", so it can be a program name with args.
6254 set dummy $ac_prog; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if ${ac_cv_prog_ICOTOOL+:} false; then :
6258 $as_echo_n "(cached) " >&6
6259 else
6260 if test -n "$ICOTOOL"; then
6261 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6262 else
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 for as_dir in $PATH
6266 IFS=$as_save_IFS
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270 ac_cv_prog_ICOTOOL="$ac_prog"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 break 2
6274 done
6275 done
6276 IFS=$as_save_IFS
6280 ICOTOOL=$ac_cv_prog_ICOTOOL
6281 if test -n "$ICOTOOL"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6283 $as_echo "$ICOTOOL" >&6; }
6284 else
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6290 test -n "$ICOTOOL" && break
6291 done
6292 test -n "$ICOTOOL" || ICOTOOL="false"
6294 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6295 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6297 if test "$CONVERT" = false
6298 then
6299 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6302 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6303 convert_version=`convert --version | head -n1`
6304 if test "x$convert_version" != "x"
6305 then
6306 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6307 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6308 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6309 then
6310 CONVERT=false
6313 if test "$CONVERT" = false
6314 then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6316 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6317 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6318 else
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6320 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6324 if test "$ICOTOOL" = false
6325 then
6326 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6327 else
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6329 $as_echo_n "checking for recent enough icotool... " >&6; }
6330 icotool_version=`icotool --version | head -n1`
6331 if test "x$icotool_version" != "x"
6332 then
6333 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6334 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6335 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6336 then
6337 ICOTOOL=false
6338 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6341 if test "$ICOTOOL" = false
6342 then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6344 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6345 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6346 else
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6348 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6352 with_gettext=yes
6353 with_gettextpo=yes
6354 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6357 test "x$with_gettext" != xno || MSGFMT=false
6358 if test "$MSGFMT" != "false"
6359 then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6361 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6362 cat >conftest.po <<EOF
6363 # comment
6364 msgctxt "ctxt"
6365 msgid "id"
6366 msgstr "str"
6368 if $MSGFMT -o /dev/null conftest.po 2>&5
6369 then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6371 $as_echo "yes" >&6; }
6372 else
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374 $as_echo "no" >&6; }
6375 MSGFMT=false
6378 if test "$MSGFMT" = false; then :
6379 case "x$with_gettext" in
6380 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6381 xno) ;;
6382 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6383 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6384 esac
6385 enable_po=${enable_po:-no}
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6390 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6391 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6392 $as_echo_n "(cached) " >&6
6393 else
6394 ac_check_lib_save_LIBS=$LIBS
6395 LIBS="-li386 $LIBS"
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6399 /* Override any GCC internal prototype to avoid an error.
6400 Use char because int might match the return type of a GCC
6401 builtin and then its argument prototype would still apply. */
6402 #ifdef __cplusplus
6403 extern "C"
6404 #endif
6405 char i386_set_ldt ();
6407 main ()
6409 return i386_set_ldt ();
6411 return 0;
6413 _ACEOF
6414 if ac_fn_c_try_link "$LINENO"; then :
6415 ac_cv_lib_i386_i386_set_ldt=yes
6416 else
6417 ac_cv_lib_i386_i386_set_ldt=no
6419 rm -f core conftest.err conftest.$ac_objext \
6420 conftest$ac_exeext conftest.$ac_ext
6421 LIBS=$ac_check_lib_save_LIBS
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6424 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6425 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6426 cat >>confdefs.h <<_ACEOF
6427 #define HAVE_LIBI386 1
6428 _ACEOF
6430 LIBS="-li386 $LIBS"
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6435 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6436 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 ac_check_lib_save_LIBS=$LIBS
6440 LIBS="-lossaudio $LIBS"
6441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6444 /* Override any GCC internal prototype to avoid an error.
6445 Use char because int might match the return type of a GCC
6446 builtin and then its argument prototype would still apply. */
6447 #ifdef __cplusplus
6448 extern "C"
6449 #endif
6450 char _oss_ioctl ();
6452 main ()
6454 return _oss_ioctl ();
6456 return 0;
6458 _ACEOF
6459 if ac_fn_c_try_link "$LINENO"; then :
6460 ac_cv_lib_ossaudio__oss_ioctl=yes
6461 else
6462 ac_cv_lib_ossaudio__oss_ioctl=no
6464 rm -f core conftest.err conftest.$ac_objext \
6465 conftest$ac_exeext conftest.$ac_ext
6466 LIBS=$ac_check_lib_save_LIBS
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6469 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6470 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6471 cat >>confdefs.h <<_ACEOF
6472 #define HAVE_LIBOSSAUDIO 1
6473 _ACEOF
6475 LIBS="-lossaudio $LIBS"
6480 OPENGL_LIBS=""
6484 # Check whether --enable-largefile was given.
6485 if test "${enable_largefile+set}" = set; then :
6486 enableval=$enable_largefile;
6489 if test "$enable_largefile" != no; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6492 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6493 if ${ac_cv_sys_largefile_CC+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496 ac_cv_sys_largefile_CC=no
6497 if test "$GCC" != yes; then
6498 ac_save_CC=$CC
6499 while :; do
6500 # IRIX 6.2 and later do not support large files by default,
6501 # so use the C compiler's -n32 option if that helps.
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6504 #include <sys/types.h>
6505 /* Check that off_t can represent 2**63 - 1 correctly.
6506 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6507 since some C++ compilers masquerading as C compilers
6508 incorrectly reject 9223372036854775807. */
6509 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6510 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6511 && LARGE_OFF_T % 2147483647 == 1)
6512 ? 1 : -1];
6514 main ()
6518 return 0;
6520 _ACEOF
6521 if ac_fn_c_try_compile "$LINENO"; then :
6522 break
6524 rm -f core conftest.err conftest.$ac_objext
6525 CC="$CC -n32"
6526 if ac_fn_c_try_compile "$LINENO"; then :
6527 ac_cv_sys_largefile_CC=' -n32'; break
6529 rm -f core conftest.err conftest.$ac_objext
6530 break
6531 done
6532 CC=$ac_save_CC
6533 rm -f conftest.$ac_ext
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6537 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6538 if test "$ac_cv_sys_largefile_CC" != no; then
6539 CC=$CC$ac_cv_sys_largefile_CC
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6543 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6544 if ${ac_cv_sys_file_offset_bits+:} false; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 while :; do
6548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6550 #include <sys/types.h>
6551 /* Check that off_t can represent 2**63 - 1 correctly.
6552 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6553 since some C++ compilers masquerading as C compilers
6554 incorrectly reject 9223372036854775807. */
6555 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6556 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6557 && LARGE_OFF_T % 2147483647 == 1)
6558 ? 1 : -1];
6560 main ()
6564 return 0;
6566 _ACEOF
6567 if ac_fn_c_try_compile "$LINENO"; then :
6568 ac_cv_sys_file_offset_bits=no; break
6570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #define _FILE_OFFSET_BITS 64
6574 #include <sys/types.h>
6575 /* Check that off_t can represent 2**63 - 1 correctly.
6576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6577 since some C++ compilers masquerading as C compilers
6578 incorrectly reject 9223372036854775807. */
6579 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6581 && LARGE_OFF_T % 2147483647 == 1)
6582 ? 1 : -1];
6584 main ()
6588 return 0;
6590 _ACEOF
6591 if ac_fn_c_try_compile "$LINENO"; then :
6592 ac_cv_sys_file_offset_bits=64; break
6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6595 ac_cv_sys_file_offset_bits=unknown
6596 break
6597 done
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6600 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6601 case $ac_cv_sys_file_offset_bits in #(
6602 no | unknown) ;;
6604 cat >>confdefs.h <<_ACEOF
6605 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6606 _ACEOF
6608 esac
6609 rm -rf conftest*
6610 if test $ac_cv_sys_file_offset_bits = unknown; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6612 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6613 if ${ac_cv_sys_large_files+:} false; then :
6614 $as_echo_n "(cached) " >&6
6615 else
6616 while :; do
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 /* Check that off_t can represent 2**63 - 1 correctly.
6621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6622 since some C++ compilers masquerading as C compilers
6623 incorrectly reject 9223372036854775807. */
6624 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6626 && LARGE_OFF_T % 2147483647 == 1)
6627 ? 1 : -1];
6629 main ()
6633 return 0;
6635 _ACEOF
6636 if ac_fn_c_try_compile "$LINENO"; then :
6637 ac_cv_sys_large_files=no; break
6639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #define _LARGE_FILES 1
6643 #include <sys/types.h>
6644 /* Check that off_t can represent 2**63 - 1 correctly.
6645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6646 since some C++ compilers masquerading as C compilers
6647 incorrectly reject 9223372036854775807. */
6648 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6650 && LARGE_OFF_T % 2147483647 == 1)
6651 ? 1 : -1];
6653 main ()
6657 return 0;
6659 _ACEOF
6660 if ac_fn_c_try_compile "$LINENO"; then :
6661 ac_cv_sys_large_files=1; break
6663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6664 ac_cv_sys_large_files=unknown
6665 break
6666 done
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6669 $as_echo "$ac_cv_sys_large_files" >&6; }
6670 case $ac_cv_sys_large_files in #(
6671 no | unknown) ;;
6673 cat >>confdefs.h <<_ACEOF
6674 #define _LARGE_FILES $ac_cv_sys_large_files
6675 _ACEOF
6677 esac
6678 rm -rf conftest*
6685 ac_ext=c
6686 ac_cpp='$CPP $CPPFLAGS'
6687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6691 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6692 # On Suns, sometimes $CPP names a directory.
6693 if test -n "$CPP" && test -d "$CPP"; then
6694 CPP=
6696 if test -z "$CPP"; then
6697 if ${ac_cv_prog_CPP+:} false; then :
6698 $as_echo_n "(cached) " >&6
6699 else
6700 # Double quotes because CPP needs to be expanded
6701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6703 ac_preproc_ok=false
6704 for ac_c_preproc_warn_flag in '' yes
6706 # Use a header file that comes with gcc, so configuring glibc
6707 # with a fresh cross-compiler works.
6708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6709 # <limits.h> exists even on freestanding compilers.
6710 # On the NeXT, cc -E runs the code through the compiler's parser,
6711 # not just through cpp. "Syntax error" is here to catch this case.
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6713 /* end confdefs.h. */
6714 #ifdef __STDC__
6715 # include <limits.h>
6716 #else
6717 # include <assert.h>
6718 #endif
6719 Syntax error
6720 _ACEOF
6721 if ac_fn_c_try_cpp "$LINENO"; then :
6723 else
6724 # Broken: fails on valid input.
6725 continue
6727 rm -f conftest.err conftest.i conftest.$ac_ext
6729 # OK, works on sane cases. Now check whether nonexistent headers
6730 # can be detected and how.
6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6733 #include <ac_nonexistent.h>
6734 _ACEOF
6735 if ac_fn_c_try_cpp "$LINENO"; then :
6736 # Broken: success on invalid input.
6737 continue
6738 else
6739 # Passes both tests.
6740 ac_preproc_ok=:
6741 break
6743 rm -f conftest.err conftest.i conftest.$ac_ext
6745 done
6746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6747 rm -f conftest.i conftest.err conftest.$ac_ext
6748 if $ac_preproc_ok; then :
6749 break
6752 done
6753 ac_cv_prog_CPP=$CPP
6756 CPP=$ac_cv_prog_CPP
6757 else
6758 ac_cv_prog_CPP=$CPP
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6761 $as_echo "$CPP" >&6; }
6762 ac_preproc_ok=false
6763 for ac_c_preproc_warn_flag in '' yes
6765 # Use a header file that comes with gcc, so configuring glibc
6766 # with a fresh cross-compiler works.
6767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6768 # <limits.h> exists even on freestanding compilers.
6769 # On the NeXT, cc -E runs the code through the compiler's parser,
6770 # not just through cpp. "Syntax error" is here to catch this case.
6771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6773 #ifdef __STDC__
6774 # include <limits.h>
6775 #else
6776 # include <assert.h>
6777 #endif
6778 Syntax error
6779 _ACEOF
6780 if ac_fn_c_try_cpp "$LINENO"; then :
6782 else
6783 # Broken: fails on valid input.
6784 continue
6786 rm -f conftest.err conftest.i conftest.$ac_ext
6788 # OK, works on sane cases. Now check whether nonexistent headers
6789 # can be detected and how.
6790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6791 /* end confdefs.h. */
6792 #include <ac_nonexistent.h>
6793 _ACEOF
6794 if ac_fn_c_try_cpp "$LINENO"; then :
6795 # Broken: success on invalid input.
6796 continue
6797 else
6798 # Passes both tests.
6799 ac_preproc_ok=:
6800 break
6802 rm -f conftest.err conftest.i conftest.$ac_ext
6804 done
6805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6806 rm -f conftest.i conftest.err conftest.$ac_ext
6807 if $ac_preproc_ok; then :
6809 else
6810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6812 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6813 See \`config.log' for more details" "$LINENO" 5; }
6816 ac_ext=c
6817 ac_cpp='$CPP $CPPFLAGS'
6818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6824 $as_echo_n "checking for ANSI C header files... " >&6; }
6825 if ${ac_cv_header_stdc+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6829 /* end confdefs.h. */
6830 #include <stdlib.h>
6831 #include <stdarg.h>
6832 #include <string.h>
6833 #include <float.h>
6836 main ()
6840 return 0;
6842 _ACEOF
6843 if ac_fn_c_try_compile "$LINENO"; then :
6844 ac_cv_header_stdc=yes
6845 else
6846 ac_cv_header_stdc=no
6848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6850 if test $ac_cv_header_stdc = yes; then
6851 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6854 #include <string.h>
6856 _ACEOF
6857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6858 $EGREP "memchr" >/dev/null 2>&1; then :
6860 else
6861 ac_cv_header_stdc=no
6863 rm -f conftest*
6867 if test $ac_cv_header_stdc = yes; then
6868 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 #include <stdlib.h>
6873 _ACEOF
6874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6875 $EGREP "free" >/dev/null 2>&1; then :
6877 else
6878 ac_cv_header_stdc=no
6880 rm -f conftest*
6884 if test $ac_cv_header_stdc = yes; then
6885 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6886 if test "$cross_compiling" = yes; then :
6888 else
6889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6891 #include <ctype.h>
6892 #include <stdlib.h>
6893 #if ((' ' & 0x0FF) == 0x020)
6894 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6895 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6896 #else
6897 # define ISLOWER(c) \
6898 (('a' <= (c) && (c) <= 'i') \
6899 || ('j' <= (c) && (c) <= 'r') \
6900 || ('s' <= (c) && (c) <= 'z'))
6901 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6902 #endif
6904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6906 main ()
6908 int i;
6909 for (i = 0; i < 256; i++)
6910 if (XOR (islower (i), ISLOWER (i))
6911 || toupper (i) != TOUPPER (i))
6912 return 2;
6913 return 0;
6915 _ACEOF
6916 if ac_fn_c_try_run "$LINENO"; then :
6918 else
6919 ac_cv_header_stdc=no
6921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6922 conftest.$ac_objext conftest.beam conftest.$ac_ext
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6928 $as_echo "$ac_cv_header_stdc" >&6; }
6929 if test $ac_cv_header_stdc = yes; then
6931 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6935 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6936 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6937 inttypes.h stdint.h unistd.h
6938 do :
6939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6940 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 _ACEOF
6949 done
6952 for ac_header in \
6953 AL/al.h \
6954 ApplicationServices/ApplicationServices.h \
6955 AudioToolbox/AudioConverter.h \
6956 AudioUnit/AudioUnit.h \
6957 AudioUnit/AudioComponent.h \
6958 CL/cl.h \
6959 Carbon/Carbon.h \
6960 CommonCrypto/CommonCryptor.h \
6961 CoreAudio/CoreAudio.h \
6962 CoreServices/CoreServices.h \
6963 DiskArbitration/DiskArbitration.h \
6964 EGL/egl.h \
6965 IOKit/IOKitLib.h \
6966 IOKit/hid/IOHIDLib.h \
6967 OpenAL/al.h \
6968 OpenCL/opencl.h \
6969 QuickTime/ImageCompression.h \
6970 Security/Security.h \
6971 alias.h \
6972 alsa/asoundlib.h \
6973 arpa/inet.h \
6974 arpa/nameser.h \
6975 asm/types.h \
6976 asm/user.h \
6977 curses.h \
6978 direct.h \
6979 dirent.h \
6980 dlfcn.h \
6981 elf.h \
6982 float.h \
6983 fnmatch.h \
6984 getopt.h \
6985 gettext-po.h \
6986 grp.h \
6987 gsm.h \
6988 gsm/gsm.h \
6989 ieeefp.h \
6990 inet/mib2.h \
6991 io.h \
6992 kstat.h \
6993 libproc.h \
6994 link.h \
6995 linux/cdrom.h \
6996 linux/compiler.h \
6997 linux/filter.h \
6998 linux/hdreg.h \
6999 linux/hidraw.h \
7000 linux/input.h \
7001 linux/ioctl.h \
7002 linux/joystick.h \
7003 linux/major.h \
7004 linux/param.h \
7005 linux/serial.h \
7006 linux/types.h \
7007 linux/ucdrom.h \
7008 lwp.h \
7009 mach-o/nlist.h \
7010 mach-o/loader.h \
7011 mach/mach.h \
7012 mach/machine.h \
7013 machine/cpu.h \
7014 machine/limits.h \
7015 machine/sysarch.h \
7016 mntent.h \
7017 ncurses.h \
7018 netdb.h \
7019 netinet/in.h \
7020 netinet/in_systm.h \
7021 netinet/tcp.h \
7022 netinet/tcp_fsm.h \
7023 pcap/pcap.h \
7024 poll.h \
7025 port.h \
7026 process.h \
7027 pthread.h \
7028 pwd.h \
7029 sched.h \
7030 scsi/scsi.h \
7031 scsi/scsi_ioctl.h \
7032 scsi/sg.h \
7033 stdbool.h \
7034 stdint.h \
7035 stropts.h \
7036 sys/asoundlib.h \
7037 sys/attr.h \
7038 sys/auxv.h \
7039 sys/cdio.h \
7040 sys/elf32.h \
7041 sys/epoll.h \
7042 sys/event.h \
7043 sys/exec_elf.h \
7044 sys/filio.h \
7045 sys/inotify.h \
7046 sys/ioctl.h \
7047 sys/ipc.h \
7048 sys/limits.h \
7049 sys/link.h \
7050 sys/mman.h \
7051 sys/modem.h \
7052 sys/msg.h \
7053 sys/mtio.h \
7054 sys/param.h \
7055 sys/poll.h \
7056 sys/prctl.h \
7057 sys/protosw.h \
7058 sys/ptrace.h \
7059 sys/queue.h \
7060 sys/resource.h \
7061 sys/scsiio.h \
7062 sys/shm.h \
7063 sys/signal.h \
7064 sys/socket.h \
7065 sys/socketvar.h \
7066 sys/sockio.h \
7067 sys/statvfs.h \
7068 sys/strtio.h \
7069 sys/syscall.h \
7070 sys/sysinfo.h \
7071 sys/tihdr.h \
7072 sys/time.h \
7073 sys/timeout.h \
7074 sys/times.h \
7075 sys/uio.h \
7076 sys/user.h \
7077 sys/utsname.h \
7078 sys/vnode.h \
7079 sys/wait.h \
7080 syscall.h \
7081 termios.h \
7082 unistd.h \
7083 utime.h \
7084 valgrind/memcheck.h \
7085 valgrind/valgrind.h \
7086 zlib.h
7088 do :
7089 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7090 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7092 cat >>confdefs.h <<_ACEOF
7093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7094 _ACEOF
7098 done
7100 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7101 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7103 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7108 if test $ac_cv_header_sys_mkdev_h = no; then
7109 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7110 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7112 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7119 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7120 if ${ac_cv_header_stat_broken+:} false; then :
7121 $as_echo_n "(cached) " >&6
7122 else
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <sys/types.h>
7126 #include <sys/stat.h>
7128 #if defined S_ISBLK && defined S_IFDIR
7129 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7130 #endif
7132 #if defined S_ISBLK && defined S_IFCHR
7133 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7134 #endif
7136 #if defined S_ISLNK && defined S_IFREG
7137 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7138 #endif
7140 #if defined S_ISSOCK && defined S_IFREG
7141 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7142 #endif
7144 _ACEOF
7145 if ac_fn_c_try_compile "$LINENO"; then :
7146 ac_cv_header_stat_broken=no
7147 else
7148 ac_cv_header_stat_broken=yes
7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7153 $as_echo "$ac_cv_header_stat_broken" >&6; }
7154 if test $ac_cv_header_stat_broken = yes; then
7156 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7162 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7163 do :
7164 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7165 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7166 #ifdef HAVE_SYS_PARAM_H
7167 # include <sys/param.h>
7168 #endif
7170 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7171 cat >>confdefs.h <<_ACEOF
7172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7173 _ACEOF
7177 done
7180 for ac_header in \
7181 netinet/ip.h \
7182 net/if.h \
7183 net/if_arp.h \
7184 net/if_dl.h \
7185 net/if_types.h \
7186 net/route.h \
7187 netinet/if_ether.h \
7188 netinet/if_inarp.h \
7189 netinet/in_pcb.h \
7190 netinet/ip_icmp.h \
7191 netinet/ip_var.h \
7192 netinet/udp.h \
7193 netipx/ipx.h \
7194 sys/un.h \
7196 do :
7197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7198 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7199 #ifdef HAVE_SYS_SOCKET_H
7200 # include <sys/socket.h>
7201 #endif
7202 #ifdef HAVE_SYS_SOCKETVAR_H
7203 # include <sys/socketvar.h>
7204 #endif
7205 #ifdef HAVE_NET_ROUTE_H
7206 # include <net/route.h>
7207 #endif
7208 #ifdef HAVE_NETINET_IN_H
7209 # include <netinet/in.h>
7210 #endif
7211 #ifdef HAVE_NETINET_IN_SYSTM_H
7212 # include <netinet/in_systm.h>
7213 #endif
7214 #ifdef HAVE_NET_IF_H
7215 # include <net/if.h>
7216 #endif
7217 #ifdef HAVE_NETINET_IP_H
7218 # include <netinet/ip.h>
7219 #endif
7221 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7224 _ACEOF
7228 done
7231 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7232 do :
7233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7235 #ifdef HAVE_ALIAS_H
7236 # include <alias.h>
7237 #endif
7238 #ifdef HAVE_SYS_SOCKET_H
7239 # include <sys/socket.h>
7240 #endif
7241 #ifdef HAVE_SYS_SOCKETVAR_H
7242 # include <sys/socketvar.h>
7243 #endif
7244 #ifdef HAVE_SYS_TIMEOUT_H
7245 # include <sys/timeout.h>
7246 #endif
7247 #ifdef HAVE_NETINET_IN_H
7248 # include <netinet/in.h>
7249 #endif
7250 #ifdef HAVE_NETINET_IN_SYSTM_H
7251 # include <netinet/in_systm.h>
7252 #endif
7253 #ifdef HAVE_NETINET_IP_H
7254 # include <netinet/ip.h>
7255 #endif
7256 #ifdef HAVE_NETINET_IP_VAR_H
7257 # include <netinet/ip_var.h>
7258 #endif
7259 #ifdef HAVE_NETINET_IP_ICMP_H
7260 # include <netinet/ip_icmp.h>
7261 #endif
7262 #ifdef HAVE_NETINET_UDP_H
7263 # include <netinet/udp.h>
7264 #endif
7265 #ifdef HAVE_NETINET_TCP_H
7266 # include <netinet/tcp.h>
7267 #endif
7268 #ifdef HAVE_NETINET_TCP_TIMER_H
7269 #include <netinet/tcp_timer.h>
7270 #endif
7272 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7273 cat >>confdefs.h <<_ACEOF
7274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7275 _ACEOF
7279 done
7282 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7283 do :
7284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7286 #ifdef HAVE_ASM_TYPES_H
7287 # include <asm/types.h>
7288 #endif
7289 #ifdef HAVE_SYS_SOCKET_H
7290 # include <sys/socket.h>
7291 #endif
7292 #ifdef HAVE_LINUX_TYPES_H
7293 # include <linux/types.h>
7294 #endif
7296 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7297 cat >>confdefs.h <<_ACEOF
7298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7299 _ACEOF
7303 done
7306 for ac_header in mach-o/dyld_images.h
7307 do :
7308 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7309 # include <stdbool.h>
7310 #endif
7311 #ifdef HAVE_STDINT_H
7312 # include <stdint.h>
7313 #endif
7315 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7316 cat >>confdefs.h <<_ACEOF
7317 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7318 _ACEOF
7322 done
7325 for ac_header in resolv.h
7326 do :
7327 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7328 #ifdef HAVE_SYS_SOCKET_H
7329 # include <sys/socket.h>
7330 #endif
7331 #ifdef HAVE_NETINET_IN_H
7332 # include <netinet/in.h>
7333 #endif
7334 #ifdef HAVE_ARPA_NAMESER_H
7335 # include <arpa/nameser.h>
7336 #endif
7338 if test "x$ac_cv_header_resolv_h" = xyes; then :
7339 cat >>confdefs.h <<_ACEOF
7340 #define HAVE_RESOLV_H 1
7341 _ACEOF
7345 done
7348 for ac_header in ifaddrs.h
7349 do :
7350 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7352 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7353 cat >>confdefs.h <<_ACEOF
7354 #define HAVE_IFADDRS_H 1
7355 _ACEOF
7359 done
7362 for ac_header in sys/ucontext.h
7363 do :
7364 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7366 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define HAVE_SYS_UCONTEXT_H 1
7369 _ACEOF
7373 done
7376 for ac_header in sys/thr.h
7377 do :
7378 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7379 #ifdef HAVE_SYS_UCONTEXT_H
7380 #include <sys/ucontext.h>
7381 #endif
7383 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7384 cat >>confdefs.h <<_ACEOF
7385 #define HAVE_SYS_THR_H 1
7386 _ACEOF
7390 done
7393 for ac_header in pthread_np.h
7394 do :
7395 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7396 #include <pthread.h>
7397 #endif
7399 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7400 cat >>confdefs.h <<_ACEOF
7401 #define HAVE_PTHREAD_NP_H 1
7402 _ACEOF
7406 done
7409 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7410 do :
7411 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7412 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7413 #include <sys/time.h>
7414 #endif
7415 #include <sys/types.h>
7416 #ifdef HAVE_ASM_TYPES_H
7417 #include <asm/types.h>
7418 #endif
7420 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7421 cat >>confdefs.h <<_ACEOF
7422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7423 _ACEOF
7427 done
7430 for ac_header in libprocstat.h
7431 do :
7432 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7433 #include <sys/param.h>
7434 #endif
7435 #ifdef HAVE_SYS_QUEUE_H
7436 #include <sys/queue.h>
7437 #endif
7438 #ifdef HAVE_SYS_SOCKET_H
7439 #include <sys/socket.h>
7440 #endif
7442 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7443 cat >>confdefs.h <<_ACEOF
7444 #define HAVE_LIBPROCSTAT_H 1
7445 _ACEOF
7449 done
7453 dlldir="\${libdir}/wine"
7455 DLLFLAGS="-D_REENTRANT"
7457 LDRPATH_INSTALL=""
7459 LDRPATH_LOCAL=""
7461 LDEXECFLAGS=""
7463 WINELOADER_LDFLAGS=""
7465 LIBEXT="so"
7466 DLLEXT=".so"
7467 IMPLIBEXT="def"
7468 # Extract the first word of "ldd", so it can be a program name with args.
7469 set dummy ldd; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if ${ac_cv_path_LDD+:} false; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 case $LDD in
7476 [\\/]* | ?:[\\/]*)
7477 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 as_dummy="/sbin:/usr/sbin:$PATH"
7482 for as_dir in $as_dummy
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7496 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7498 esac
7500 LDD=$ac_cv_path_LDD
7501 if test -n "$LDD"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7503 $as_echo "$LDD" >&6; }
7504 else
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}otool; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if ${ac_cv_prog_OTOOL+:} false; then :
7516 $as_echo_n "(cached) " >&6
7517 else
7518 if test -n "$OTOOL"; then
7519 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7520 else
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 for as_dir in $PATH
7524 IFS=$as_save_IFS
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530 break 2
7532 done
7533 done
7534 IFS=$as_save_IFS
7538 OTOOL=$ac_cv_prog_OTOOL
7539 if test -n "$OTOOL"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7541 $as_echo "$OTOOL" >&6; }
7542 else
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7549 if test -z "$ac_cv_prog_OTOOL"; then
7550 ac_ct_OTOOL=$OTOOL
7551 # Extract the first word of "otool", so it can be a program name with args.
7552 set dummy otool; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7556 $as_echo_n "(cached) " >&6
7557 else
7558 if test -n "$ac_ct_OTOOL"; then
7559 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7560 else
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 for as_dir in $PATH
7564 IFS=$as_save_IFS
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_ac_ct_OTOOL="otool"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570 break 2
7572 done
7573 done
7574 IFS=$as_save_IFS
7578 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7579 if test -n "$ac_ct_OTOOL"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7581 $as_echo "$ac_ct_OTOOL" >&6; }
7582 else
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7587 if test "x$ac_ct_OTOOL" = x; then
7588 OTOOL="otool"
7589 else
7590 case $cross_compiling:$ac_tool_warned in
7591 yes:)
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7594 ac_tool_warned=yes ;;
7595 esac
7596 OTOOL=$ac_ct_OTOOL
7598 else
7599 OTOOL="$ac_cv_prog_OTOOL"
7602 if test -n "$ac_tool_prefix"; then
7603 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if ${ac_cv_prog_READELF+:} false; then :
7608 $as_echo_n "(cached) " >&6
7609 else
7610 if test -n "$READELF"; then
7611 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7612 else
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 for as_dir in $PATH
7616 IFS=$as_save_IFS
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622 break 2
7624 done
7625 done
7626 IFS=$as_save_IFS
7630 READELF=$ac_cv_prog_READELF
7631 if test -n "$READELF"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7633 $as_echo "$READELF" >&6; }
7634 else
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7641 if test -z "$ac_cv_prog_READELF"; then
7642 ac_ct_READELF=$READELF
7643 # Extract the first word of "readelf", so it can be a program name with args.
7644 set dummy readelf; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7648 $as_echo_n "(cached) " >&6
7649 else
7650 if test -n "$ac_ct_READELF"; then
7651 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7652 else
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 for as_dir in $PATH
7656 IFS=$as_save_IFS
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_ac_ct_READELF="readelf"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 break 2
7664 done
7665 done
7666 IFS=$as_save_IFS
7670 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7671 if test -n "$ac_ct_READELF"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7673 $as_echo "$ac_ct_READELF" >&6; }
7674 else
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7679 if test "x$ac_ct_READELF" = x; then
7680 READELF="true"
7681 else
7682 case $cross_compiling:$ac_tool_warned in
7683 yes:)
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7686 ac_tool_warned=yes ;;
7687 esac
7688 READELF=$ac_ct_READELF
7690 else
7691 READELF="$ac_cv_prog_READELF"
7694 wine_rules_file=conf$$rules.make
7695 rm -f $wine_rules_file
7696 SUBDIRS=""
7698 DISABLED_SUBDIRS=""
7700 CONFIGURE_TARGETS=""
7702 ALL_TEST_RESOURCES=""
7705 wine_fn_append_file ()
7707 as_fn_append $1 " \\$as_nl $2"
7710 wine_fn_append_rule ()
7712 $as_echo "$1" >>$wine_rules_file
7715 wine_fn_has_flag ()
7717 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7720 wine_fn_all_rules ()
7722 wine_fn_append_file SUBDIRS $ac_dir
7723 wine_fn_append_rule \
7724 "all: $ac_dir
7725 .PHONY: $ac_dir
7726 $ac_dir: dummy
7727 @cd $ac_dir && \$(MAKE)"
7730 wine_fn_install_rules ()
7732 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7734 wine_fn_append_rule \
7735 ".PHONY: $ac_dir/install $ac_dir/uninstall
7736 $ac_dir/install:: $ac_dir
7737 @cd $ac_dir && \$(MAKE) install
7738 $ac_dir/uninstall::
7739 @cd $ac_dir && \$(MAKE) uninstall
7740 install:: $ac_dir/install
7741 __uninstall__: $ac_dir/uninstall"
7743 if wine_fn_has_flag install-lib
7744 then
7745 wine_fn_append_rule \
7746 ".PHONY: $ac_dir/install-lib
7747 $ac_dir/install-lib:: $ac_dir
7748 @cd $ac_dir && \$(MAKE) install-lib
7749 install-lib:: $ac_dir/install-lib"
7752 if wine_fn_has_flag install-dev
7753 then
7754 wine_fn_append_rule \
7755 ".PHONY: $ac_dir/install-dev
7756 $ac_dir/install-dev:: $ac_dir
7757 @cd $ac_dir && \$(MAKE) install-dev
7758 install-dev:: $ac_dir/install-dev"
7762 wine_fn_clean_rules ()
7764 ac_clean=$@
7766 if wine_fn_has_flag clean
7767 then
7768 wine_fn_append_rule \
7769 "$ac_dir/clean: dummy
7770 @cd $ac_dir && \$(MAKE) clean"
7771 else
7772 wine_fn_append_rule \
7773 "$ac_dir/clean: dummy
7774 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7776 wine_fn_append_rule \
7777 "__clean__: $ac_dir/clean
7778 .PHONY: $ac_dir/clean"
7781 wine_fn_disabled_rules ()
7783 ac_clean=$@
7785 wine_fn_append_file SUBDIRS $ac_dir
7786 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7787 wine_fn_append_rule \
7788 "__clean__: $ac_dir/clean
7789 .PHONY: $ac_dir/clean
7790 $ac_dir/clean: dummy
7791 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7794 wine_fn_config_makefile ()
7796 ac_dir=$1
7797 ac_enable=$2
7798 ac_flags=$3
7800 case $ac_dir in
7801 fonts|server) test -z "$with_wine64" || return ;;
7802 esac
7803 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7804 wine_fn_disabled_rules; return
7806 wine_fn_all_rules
7807 wine_fn_install_rules
7808 wine_fn_clean_rules
7811 wine_fn_config_lib ()
7813 ac_name=$1
7814 ac_flags=$2
7815 ac_dir=dlls/$ac_name
7816 ac_deps="include"
7818 if test "x$enable_tools" = xno; then :
7820 else
7821 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7823 wine_fn_all_rules
7824 wine_fn_clean_rules
7826 wine_fn_append_rule \
7827 ".PHONY: $ac_dir/install $ac_dir/uninstall
7828 $ac_dir/install:: $ac_dir
7829 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7830 $ac_dir/uninstall::
7831 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7832 install install-dev:: $ac_dir/install
7833 __uninstall__: $ac_dir/uninstall
7834 __builddeps__: $ac_dir
7835 $ac_dir: $ac_deps"
7838 wine_fn_config_dll ()
7840 ac_name=$1
7841 ac_dir=dlls/$ac_name
7842 ac_enable=$2
7843 ac_flags=$3
7844 ac_implib=${4:-$ac_name}
7845 ac_file=$ac_dir/lib$ac_implib
7846 ac_dll=$ac_name
7847 ac_deps="include"
7848 ac_implibflags=""
7850 if test "x$enable_tools" = xno; then :
7852 else
7853 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7855 case $ac_name in
7856 *.*16) ac_implibflags=" -m16" ;;
7857 *.*) ;;
7858 *) ac_dll=$ac_dll.dll ;;
7859 esac
7861 ac_clean=
7862 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7863 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7865 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7866 if test "$ac_enable" != enable_win16
7867 then
7868 wine_fn_clean_rules $ac_clean
7869 wine_fn_append_file SUBDIRS $ac_dir
7870 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7871 else
7872 wine_fn_disabled_rules $ac_clean
7873 return
7875 else
7876 wine_fn_all_rules
7877 wine_fn_clean_rules $ac_clean
7878 wine_fn_append_rule \
7879 "$ac_dir: __builddeps__
7880 manpages htmlpages sgmlpages xmlpages::
7881 @cd $ac_dir && \$(MAKE) \$@
7882 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7883 install install-lib:: $ac_dir/install-lib
7884 __uninstall__: $ac_dir/uninstall"
7885 if test -n "$DLLEXT"
7886 then
7887 wine_fn_append_rule \
7888 "$ac_dir/install-lib:: $ac_dir
7889 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7890 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7891 $ac_dir/uninstall::
7892 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7893 else
7894 wine_fn_append_rule \
7895 "$ac_dir/install-lib:: $ac_dir
7896 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7897 $ac_dir/uninstall::
7898 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7902 if wine_fn_has_flag staticimplib
7903 then
7904 wine_fn_append_rule \
7905 "__builddeps__: $ac_file.a
7906 $ac_file.a $ac_file.cross.a: $ac_deps
7907 $ac_file.a: dummy
7908 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7909 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7910 $ac_dir/install-dev:: $ac_file.a
7911 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7912 $ac_dir/uninstall::
7913 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7914 install install-dev:: $ac_dir/install-dev
7915 __uninstall__: $ac_dir/uninstall"
7917 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7918 then
7919 wine_fn_append_rule \
7920 "__builddeps__: $ac_file.cross.a
7921 $ac_file.cross.a: dummy
7922 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7925 elif wine_fn_has_flag implib
7926 then
7927 wine_fn_append_rule \
7928 "__builddeps__: $ac_file.$IMPLIBEXT
7929 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7930 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7931 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7932 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7933 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7934 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7935 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7936 $ac_dir/uninstall::
7937 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7938 install install-dev:: $ac_dir/install-dev
7939 __uninstall__: $ac_dir/uninstall"
7940 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7941 then
7942 wine_fn_append_rule \
7943 "__builddeps__: $ac_file.cross.a
7944 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7945 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7950 wine_fn_config_program ()
7952 ac_name=$1
7953 ac_dir=programs/$ac_name
7954 ac_enable=$2
7955 ac_flags=$3
7956 ac_program=$ac_name
7958 case $ac_name in
7959 *.*) ;;
7960 *) ac_program=$ac_program.exe ;;
7961 esac
7963 ac_clean=
7964 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7965 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7967 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7968 wine_fn_disabled_rules $ac_clean; return
7971 wine_fn_all_rules
7972 wine_fn_clean_rules $ac_clean
7973 wine_fn_append_rule "$ac_dir: __builddeps__"
7975 wine_fn_has_flag install || return
7976 wine_fn_append_rule \
7977 ".PHONY: $ac_dir/install $ac_dir/uninstall
7978 install install-lib:: $ac_dir/install
7979 __uninstall__: $ac_dir/uninstall"
7981 if test -n "$DLLEXT"
7982 then
7983 wine_fn_append_rule \
7984 "$ac_dir/install:: $ac_dir
7985 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7986 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7987 $ac_dir/uninstall::
7988 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7990 if test -z "$with_wine64" && wine_fn_has_flag installbin
7991 then
7992 wine_fn_append_rule \
7993 "$ac_dir/install:: __tooldeps__
7994 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7995 $ac_dir/uninstall::
7996 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7998 else
7999 wine_fn_append_rule \
8000 "$ac_dir/install:: $ac_dir
8001 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
8002 $ac_dir/uninstall::
8003 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
8006 if test -z "$with_wine64" && wine_fn_has_flag manpage
8007 then
8008 wine_fn_append_rule \
8009 "$ac_dir/install:: $ac_dir
8010 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
8011 $ac_dir/uninstall::
8012 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8016 wine_fn_config_test ()
8018 ac_dir=$1
8019 ac_name=$2
8020 ac_flags=$3
8022 ac_clean=
8023 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8024 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8026 if test "x$enable_tests" = xno; then :
8027 wine_fn_disabled_rules $ac_clean; return
8030 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8031 wine_fn_all_rules
8032 wine_fn_clean_rules $ac_clean
8034 wine_fn_append_rule \
8035 "$ac_dir: __builddeps__
8036 programs/winetest: $ac_dir
8037 check test: $ac_dir/test
8038 .PHONY: $ac_dir/test
8039 $ac_dir/test: dummy
8040 @cd $ac_dir && \$(MAKE) test
8041 testclean::
8042 \$(RM) $ac_dir/*.ok"
8044 if test -n "$CROSSTARGET"
8045 then
8046 wine_fn_append_rule \
8047 "crosstest: $ac_dir/crosstest
8048 .PHONY: $ac_dir/crosstest
8049 $ac_dir/crosstest: __builddeps__ dummy
8050 @cd $ac_dir && \$(MAKE) crosstest"
8054 wine_fn_config_tool ()
8056 ac_dir=$1
8057 ac_flags=$2
8058 if test "x$enable_tools" = xno; then :
8059 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8062 wine_fn_all_rules
8063 wine_fn_install_rules
8064 wine_fn_clean_rules
8066 wine_fn_append_rule "__tooldeps__: $ac_dir"
8067 wine_fn_append_rule "$ac_dir: libs/port"
8068 case $ac_dir in
8069 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8070 esac
8073 wine_fn_config_symlink ()
8075 ac_linkdir=
8076 if test "x$1" = "x-d"
8077 then
8078 ac_linkdir=$2
8079 shift; shift
8081 ac_links=$@
8082 wine_fn_append_rule \
8083 "$ac_links:
8084 @./config.status \$@"
8085 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8086 test -n "$ac_linkdir" || return
8087 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8090 wine_binary="wine"
8091 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8092 WINELOADER_PROGRAMS="$wine_binary"
8094 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8096 case $host_os in
8097 cygwin*|mingw32*)
8098 if test -n "$ac_tool_prefix"; then
8099 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8100 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8102 $as_echo_n "checking for $ac_word... " >&6; }
8103 if ${ac_cv_prog_DLLTOOL+:} false; then :
8104 $as_echo_n "(cached) " >&6
8105 else
8106 if test -n "$DLLTOOL"; then
8107 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8108 else
8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8110 for as_dir in $PATH
8112 IFS=$as_save_IFS
8113 test -z "$as_dir" && as_dir=.
8114 for ac_exec_ext in '' $ac_executable_extensions; do
8115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8116 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8118 break 2
8120 done
8121 done
8122 IFS=$as_save_IFS
8126 DLLTOOL=$ac_cv_prog_DLLTOOL
8127 if test -n "$DLLTOOL"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8129 $as_echo "$DLLTOOL" >&6; }
8130 else
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8132 $as_echo "no" >&6; }
8137 if test -z "$ac_cv_prog_DLLTOOL"; then
8138 ac_ct_DLLTOOL=$DLLTOOL
8139 # Extract the first word of "dlltool", so it can be a program name with args.
8140 set dummy dlltool; ac_word=$2
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8142 $as_echo_n "checking for $ac_word... " >&6; }
8143 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8144 $as_echo_n "(cached) " >&6
8145 else
8146 if test -n "$ac_ct_DLLTOOL"; then
8147 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8148 else
8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8150 for as_dir in $PATH
8152 IFS=$as_save_IFS
8153 test -z "$as_dir" && as_dir=.
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8156 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8158 break 2
8160 done
8161 done
8162 IFS=$as_save_IFS
8166 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8167 if test -n "$ac_ct_DLLTOOL"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8169 $as_echo "$ac_ct_DLLTOOL" >&6; }
8170 else
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8172 $as_echo "no" >&6; }
8175 if test "x$ac_ct_DLLTOOL" = x; then
8176 DLLTOOL="false"
8177 else
8178 case $cross_compiling:$ac_tool_warned in
8179 yes:)
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8182 ac_tool_warned=yes ;;
8183 esac
8184 DLLTOOL=$ac_ct_DLLTOOL
8186 else
8187 DLLTOOL="$ac_cv_prog_DLLTOOL"
8190 LIBEXT="dll"
8191 DLLEXT=""
8192 IMPLIBEXT="a"
8193 enable_iphlpapi=${enable_iphlpapi:-no}
8194 enable_kernel32=${enable_kernel32:-no}
8195 enable_msvcrt=${enable_msvcrt:-no}
8196 enable_ntdll=${enable_ntdll:-no}
8197 enable_ws2_32=${enable_ws2_32:-no}
8198 enable_loader=${enable_loader:-no}
8199 enable_server=${enable_server:-no}
8200 with_x=${with_x:-no}
8201 with_pthread=${with_pthread:-no}
8203 crtlibs=""
8204 case $host_os in
8205 mingw32*)
8206 crtlibs="-lmsvcrt"
8207 SOCKET_LIBS="-lws2_32"
8209 esac
8211 LIBWINE_SHAREDLIB="libwine.dll"
8213 LIBWINE_IMPORTLIB="libwine.a"
8215 LIBWINE_INSTALL_LIB="libwine.dll"
8217 LIBWINE_INSTALL_DEV="libwine.a"
8219 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8221 LIBWINE_DEPENDS="wine.def"
8225 darwin*|macosx*)
8226 for ac_header in libunwind.h
8227 do :
8228 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8230 cat >>confdefs.h <<_ACEOF
8231 #define HAVE_LIBUNWIND_H 1
8232 _ACEOF
8236 done
8238 LIBEXT="dylib"
8239 DLLFLAGS="$DLLFLAGS -fPIC"
8240 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8241 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8242 COREFOUNDATION_LIBS="-framework CoreFoundation"
8244 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8246 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8248 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8250 CORESERVICES_LIBS="-framework CoreServices"
8252 APPKIT_LIBS="-framework AppKit"
8254 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8256 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8257 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 ac_wine_try_cflags_saved=$CFLAGS
8261 CFLAGS="$CFLAGS -Wl,-no_pie"
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8264 int main(int argc, char **argv) { return 0; }
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 ac_cv_cflags__Wl__no_pie=yes
8268 else
8269 ac_cv_cflags__Wl__no_pie=no
8271 rm -f core conftest.err conftest.$ac_objext \
8272 conftest$ac_exeext conftest.$ac_ext
8273 CFLAGS=$ac_wine_try_cflags_saved
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8276 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8277 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8278 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8280 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8281 then
8282 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8285 if test "$ac_cv_header_Security_Security_h" = "yes"
8286 then
8287 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8289 ac_save_LIBS="$LIBS"
8290 LIBS="$LIBS $SECURITY_LIBS"
8291 for ac_func in SSLCopyPeerCertificates
8292 do :
8293 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8294 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8295 cat >>confdefs.h <<_ACEOF
8296 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8297 _ACEOF
8300 done
8302 LIBS="$ac_save_LIBS"
8303 with_gnutls=${with_gnutls:-no}
8305 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8306 then
8307 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8308 then
8309 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8311 else
8312 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8315 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8316 ac_save_LIBS="$LIBS"
8317 LIBS="$LIBS $COREAUDIO_LIBS"
8318 for ac_func in AUGraphAddNode
8319 do :
8320 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8321 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8322 cat >>confdefs.h <<_ACEOF
8323 #define HAVE_AUGRAPHADDNODE 1
8324 _ACEOF
8327 done
8329 LIBS="$ac_save_LIBS"
8331 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8332 then
8333 OPENAL_LIBS="-framework OpenAL"
8336 cat >>confdefs.h <<_ACEOF
8337 #define HAVE_OPENAL 1
8338 _ACEOF
8340 ac_cv_lib_openal=yes
8342 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8343 then
8344 OPENCL_LIBS="-framework OpenCL"
8346 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8348 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8349 then
8350 ac_save_LIBS="$LIBS"
8351 LIBS="$LIBS $IOKIT_LIBS"
8352 for ac_func in IOHIDManagerCreate
8353 do :
8354 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8355 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8356 cat >>confdefs.h <<_ACEOF
8357 #define HAVE_IOHIDMANAGERCREATE 1
8358 _ACEOF
8361 done
8363 LIBS="$ac_save_LIBS"
8365 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8366 then
8367 ac_save_LIBS="$LIBS"
8368 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8370 $as_echo_n "checking for the QuickTime framework... " >&6; }
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 #include <QuickTime/ImageCompression.h>
8375 main ()
8377 CodecManagerVersion(NULL);
8379 return 0;
8381 _ACEOF
8382 if ac_fn_c_try_link "$LINENO"; then :
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8384 $as_echo "yes" >&6; }
8385 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8387 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8388 else
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8391 ac_cv_header_QuickTime_ImageCompression_h=no
8393 rm -f core conftest.err conftest.$ac_objext \
8394 conftest$ac_exeext conftest.$ac_ext
8395 LIBS="$ac_save_LIBS"
8397 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8398 then
8399 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8401 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8402 then
8403 CARBON_LIBS="-framework Carbon"
8407 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8408 then
8409 ac_save_LIBS="$LIBS"
8410 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8411 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8412 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8413 enable_winemac_drv=${enable_winemac_drv:-yes}
8416 LIBS="$ac_save_LIBS"
8419 if test "x$enable_win16" = "xyes"
8420 then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8422 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8423 if test "$cross_compiling" = yes; then :
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8425 $as_echo "cross-compiling, assuming yes" >&6; }
8426 else
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 asm(".text\n"
8430 "bad:\tnop;nop\n"
8431 "good:\tnop;nop\n\t"
8432 ".globl _testfunc\n"
8433 "_testfunc:\tcallw good");
8434 extern void testfunc();
8436 main ()
8438 unsigned short *p = (unsigned short *)testfunc;
8439 return p[0] != 0xe866 || p[1] != 0xfffa
8441 return 0;
8443 _ACEOF
8444 if ac_fn_c_try_run "$LINENO"; then :
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8446 $as_echo "yes" >&6; }
8447 else
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8449 $as_echo "no" >&6; }
8450 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
8452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8453 conftest.$ac_objext conftest.beam conftest.$ac_ext
8458 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8460 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8462 LIBWINE_INSTALL_DEV="libwine.dylib"
8464 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8466 WINELOADER_DEPENDS="wine_info.plist"
8470 linux-android*)
8471 DLLFLAGS="$DLLFLAGS -fPIC"
8472 LDEXECFLAGS="-Wl,-pie"
8473 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8475 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8476 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8477 $as_echo_n "(cached) " >&6
8478 else
8479 ac_wine_try_cflags_saved=$CFLAGS
8480 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 int main(int argc, char **argv) { return 0; }
8484 _ACEOF
8485 if ac_fn_c_try_link "$LINENO"; then :
8486 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8487 else
8488 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8490 rm -f core conftest.err conftest.$ac_objext \
8491 conftest$ac_exeext conftest.$ac_ext
8492 CFLAGS=$ac_wine_try_cflags_saved
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8495 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8496 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8497 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8499 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8501 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8502 if eval \${$as_ac_var+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_wine_try_cflags_saved=$CFLAGS
8506 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 int main(int argc, char **argv) { return 0; }
8510 _ACEOF
8511 if ac_fn_c_try_link "$LINENO"; then :
8512 eval "$as_ac_var=yes"
8513 else
8514 eval "$as_ac_var=no"
8516 rm -f core conftest.err conftest.$ac_objext \
8517 conftest$ac_exeext conftest.$ac_ext
8518 CFLAGS=$ac_wine_try_cflags_saved
8520 eval ac_res=\$$as_ac_var
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8522 $as_echo "$ac_res" >&6; }
8523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8524 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8525 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8526 else
8527 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8529 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8530 if eval \${$as_ac_var+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 ac_wine_try_cflags_saved=$CFLAGS
8534 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 int main(int argc, char **argv) { return 0; }
8538 _ACEOF
8539 if ac_fn_c_try_link "$LINENO"; then :
8540 eval "$as_ac_var=yes"
8541 else
8542 eval "$as_ac_var=no"
8544 rm -f core conftest.err conftest.$ac_objext \
8545 conftest$ac_exeext conftest.$ac_ext
8546 CFLAGS=$ac_wine_try_cflags_saved
8548 eval ac_res=\$$as_ac_var
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8550 $as_echo "$ac_res" >&6; }
8551 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8552 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8553 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8557 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8558 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 ac_wine_try_cflags_saved=$CFLAGS
8562 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 int main(int argc, char **argv) { return 0; }
8566 _ACEOF
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 ac_cv_cflags__Wl___enable_new_dtags=yes
8569 else
8570 ac_cv_cflags__Wl___enable_new_dtags=no
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8574 CFLAGS=$ac_wine_try_cflags_saved
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8577 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8578 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8579 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8582 LIBWINE_SHAREDLIB="libwine.so"
8584 LIBWINE_INSTALL_LIB="libwine.so"
8586 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8590 $as_echo_n "checking for -lEGL... " >&6; }
8591 if ${ac_cv_lib_soname_EGL+:} false; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 ac_check_soname_save_LIBS=$LIBS
8595 LIBS="-lEGL $LIBS"
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8599 /* Override any GCC internal prototype to avoid an error.
8600 Use char because int might match the return type of a GCC
8601 builtin and then its argument prototype would still apply. */
8602 #ifdef __cplusplus
8603 extern "C"
8604 #endif
8605 char eglGetProcAddress ();
8607 main ()
8609 return eglGetProcAddress ();
8611 return 0;
8613 _ACEOF
8614 if ac_fn_c_try_link "$LINENO"; then :
8615 case "$LIBEXT" in
8616 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8617 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'` ;;
8618 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8619 if ${ac_cv_lib_soname_EGL:+false} :; then :
8620 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8621 fi ;;
8622 esac
8624 rm -f core conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 LIBS=$ac_check_soname_save_LIBS
8628 if ${ac_cv_lib_soname_EGL:+false} :; then :
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8630 $as_echo "not found" >&6; }
8632 else
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8634 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8636 cat >>confdefs.h <<_ACEOF
8637 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8638 _ACEOF
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8643 $as_echo_n "checking for -lGLESv2... " >&6; }
8644 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8645 $as_echo_n "(cached) " >&6
8646 else
8647 ac_check_soname_save_LIBS=$LIBS
8648 LIBS="-lGLESv2 $LIBS"
8649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8652 /* Override any GCC internal prototype to avoid an error.
8653 Use char because int might match the return type of a GCC
8654 builtin and then its argument prototype would still apply. */
8655 #ifdef __cplusplus
8656 extern "C"
8657 #endif
8658 char glFlush ();
8660 main ()
8662 return glFlush ();
8664 return 0;
8666 _ACEOF
8667 if ac_fn_c_try_link "$LINENO"; then :
8668 case "$LIBEXT" in
8669 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8670 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'` ;;
8671 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8672 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8673 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8674 fi ;;
8675 esac
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 LIBS=$ac_check_soname_save_LIBS
8681 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8683 $as_echo "not found" >&6; }
8685 else
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8687 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8689 cat >>confdefs.h <<_ACEOF
8690 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8691 _ACEOF
8696 if test "x$exec_prefix" = xNONE
8697 then
8698 case $host_cpu in
8699 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8700 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8701 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8702 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8703 esac
8708 DLLFLAGS="$DLLFLAGS -fPIC"
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8710 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8711 if ${ac_cv_c_dll_gnuelf+:} false; then :
8712 $as_echo_n "(cached) " >&6
8713 else
8714 ac_wine_try_cflags_saved=$CFLAGS
8715 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 void myfunc() {}
8719 _ACEOF
8720 if ac_fn_c_try_link "$LINENO"; then :
8721 ac_cv_c_dll_gnuelf="yes"
8722 else
8723 ac_cv_c_dll_gnuelf="no"
8725 rm -f core conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 CFLAGS=$ac_wine_try_cflags_saved
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8730 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8731 if test "$ac_cv_c_dll_gnuelf" = "yes"
8732 then
8733 LIBWINE_LDFLAGS="-shared"
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8735 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8736 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
8739 ac_wine_try_cflags_saved=$CFLAGS
8740 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 int main(int argc, char **argv) { return 0; }
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8747 else
8748 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 CFLAGS=$ac_wine_try_cflags_saved
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8755 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8756 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8757 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8758 else
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8760 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8761 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8762 $as_echo_n "(cached) " >&6
8763 else
8764 ac_wine_try_cflags_saved=$CFLAGS
8765 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8767 /* end confdefs.h. */
8768 int main(int argc, char **argv) { return 0; }
8769 _ACEOF
8770 if ac_fn_c_try_link "$LINENO"; then :
8771 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8772 else
8773 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8775 rm -f core conftest.err conftest.$ac_objext \
8776 conftest$ac_exeext conftest.$ac_ext
8777 CFLAGS=$ac_wine_try_cflags_saved
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8780 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8781 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8782 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8786 echo '{ global: *; };' >conftest.map
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8788 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8789 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 int main(int argc, char **argv) { return 0; }
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8800 else
8801 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8808 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8809 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8810 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8812 rm -f conftest.map
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8815 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8816 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8817 $as_echo_n "(cached) " >&6
8818 else
8819 ac_wine_try_cflags_saved=$CFLAGS
8820 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8823 int main(int argc, char **argv) { return 0; }
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8827 else
8828 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 CFLAGS=$ac_wine_try_cflags_saved
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8835 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8836 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8837 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8840 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8842 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8843 if eval \${$as_ac_var+:} false; then :
8844 $as_echo_n "(cached) " >&6
8845 else
8846 ac_wine_try_cflags_saved=$CFLAGS
8847 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8849 /* end confdefs.h. */
8850 int main(int argc, char **argv) { return 0; }
8851 _ACEOF
8852 if ac_fn_c_try_link "$LINENO"; then :
8853 eval "$as_ac_var=yes"
8854 else
8855 eval "$as_ac_var=no"
8857 rm -f core conftest.err conftest.$ac_objext \
8858 conftest$ac_exeext conftest.$ac_ext
8859 CFLAGS=$ac_wine_try_cflags_saved
8861 eval ac_res=\$$as_ac_var
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8863 $as_echo "$ac_res" >&6; }
8864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8865 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8866 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8867 else
8868 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8870 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8871 if eval \${$as_ac_var+:} false; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 ac_wine_try_cflags_saved=$CFLAGS
8875 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8878 int main(int argc, char **argv) { return 0; }
8879 _ACEOF
8880 if ac_fn_c_try_link "$LINENO"; then :
8881 eval "$as_ac_var=yes"
8882 else
8883 eval "$as_ac_var=no"
8885 rm -f core conftest.err conftest.$ac_objext \
8886 conftest$ac_exeext conftest.$ac_ext
8887 CFLAGS=$ac_wine_try_cflags_saved
8889 eval ac_res=\$$as_ac_var
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8891 $as_echo "$ac_res" >&6; }
8892 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8893 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8894 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8899 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8900 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 ac_wine_try_cflags_saved=$CFLAGS
8904 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8907 int main(int argc, char **argv) { return 0; }
8908 _ACEOF
8909 if ac_fn_c_try_link "$LINENO"; then :
8910 ac_cv_cflags__Wl___enable_new_dtags=yes
8911 else
8912 ac_cv_cflags__Wl___enable_new_dtags=no
8914 rm -f core conftest.err conftest.$ac_objext \
8915 conftest$ac_exeext conftest.$ac_ext
8916 CFLAGS=$ac_wine_try_cflags_saved
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8919 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8920 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8921 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8924 case $host_cpu in
8925 *i[3456789]86* | x86_64 | *aarch64*)
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8927 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8928 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8929 $as_echo_n "(cached) " >&6
8930 else
8931 ac_wine_try_cflags_saved=$CFLAGS
8932 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8935 int main(int argc, char **argv) { return 0; }
8936 _ACEOF
8937 if ac_fn_c_try_link "$LINENO"; then :
8938 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8939 else
8940 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8942 rm -f core conftest.err conftest.$ac_objext \
8943 conftest$ac_exeext conftest.$ac_ext
8944 CFLAGS=$ac_wine_try_cflags_saved
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8947 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8948 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8949 case $host_os in
8950 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8951 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8952 esac
8953 else
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8955 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8956 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 ac_wine_try_cflags_saved=$CFLAGS
8960 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8963 int main(int argc, char **argv) { return 0; }
8964 _ACEOF
8965 if ac_fn_c_try_link "$LINENO"; then :
8966 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8967 else
8968 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8970 rm -f core conftest.err conftest.$ac_objext \
8971 conftest$ac_exeext conftest.$ac_ext
8972 CFLAGS=$ac_wine_try_cflags_saved
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8975 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8976 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8977 case $host_os in
8978 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8979 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8980 esac
8982 # Extract the first word of "prelink", so it can be a program name with args.
8983 set dummy prelink; ac_word=$2
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8985 $as_echo_n "checking for $ac_word... " >&6; }
8986 if ${ac_cv_path_PRELINK+:} false; then :
8987 $as_echo_n "(cached) " >&6
8988 else
8989 case $PRELINK in
8990 [\\/]* | ?:[\\/]*)
8991 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8995 for as_dir in /sbin /usr/sbin $PATH
8997 IFS=$as_save_IFS
8998 test -z "$as_dir" && as_dir=.
8999 for ac_exec_ext in '' $ac_executable_extensions; do
9000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9001 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9003 break 2
9005 done
9006 done
9007 IFS=$as_save_IFS
9009 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9011 esac
9013 PRELINK=$ac_cv_path_PRELINK
9014 if test -n "$PRELINK"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9016 $as_echo "$PRELINK" >&6; }
9017 else
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9019 $as_echo "no" >&6; }
9023 if test "x$PRELINK" = xfalse
9024 then
9025 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9029 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9030 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9031 $as_echo_n "(cached) " >&6
9032 else
9033 ac_wine_try_cflags_saved=$CFLAGS
9034 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036 /* end confdefs.h. */
9037 int main(int argc, char **argv) { return 0; }
9038 _ACEOF
9039 if ac_fn_c_try_link "$LINENO"; then :
9040 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9041 else
9042 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9044 rm -f core conftest.err conftest.$ac_objext \
9045 conftest$ac_exeext conftest.$ac_ext
9046 CFLAGS=$ac_wine_try_cflags_saved
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9049 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9050 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9051 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9054 esac
9056 else
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9058 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9059 if ${ac_cv_c_dll_unixware+:} false; then :
9060 $as_echo_n "(cached) " >&6
9061 else
9062 ac_wine_try_cflags_saved=$CFLAGS
9063 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9065 /* end confdefs.h. */
9066 void myfunc() {}
9067 _ACEOF
9068 if ac_fn_c_try_link "$LINENO"; then :
9069 ac_cv_c_dll_unixware="yes"
9070 else
9071 ac_cv_c_dll_unixware="no"
9073 rm -f core conftest.err conftest.$ac_objext \
9074 conftest$ac_exeext conftest.$ac_ext
9075 CFLAGS=$ac_wine_try_cflags_saved
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9078 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9079 if test "$ac_cv_c_dll_unixware" = "yes"
9080 then
9081 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9084 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9086 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9088 LIBWINE_INSTALL_DEV="libwine.so"
9090 LIBWINE_DEPENDS="wine.map"
9093 esac
9095 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9096 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9097 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9098 enable_winemac_drv=${enable_winemac_drv:-no}
9099 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9101 CROSSTARGET=""
9103 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9104 then
9105 case "$host_cpu" in
9106 arm*)
9107 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9108 i[3456789]86*)
9109 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
9110 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9111 mingw32-gcc" ;;
9112 x86_64)
9113 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
9114 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9116 ac_prefix_list="" ;;
9117 esac
9118 for ac_prog in $ac_prefix_list
9120 # Extract the first word of "$ac_prog", so it can be a program name with args.
9121 set dummy $ac_prog; ac_word=$2
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9123 $as_echo_n "checking for $ac_word... " >&6; }
9124 if ${ac_cv_prog_CROSSCC+:} false; then :
9125 $as_echo_n "(cached) " >&6
9126 else
9127 if test -n "$CROSSCC"; then
9128 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9129 else
9130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9131 for as_dir in $PATH
9133 IFS=$as_save_IFS
9134 test -z "$as_dir" && as_dir=.
9135 for ac_exec_ext in '' $ac_executable_extensions; do
9136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9137 ac_cv_prog_CROSSCC="$ac_prog"
9138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9139 break 2
9141 done
9142 done
9143 IFS=$as_save_IFS
9147 CROSSCC=$ac_cv_prog_CROSSCC
9148 if test -n "$CROSSCC"; then
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9150 $as_echo "$CROSSCC" >&6; }
9151 else
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9153 $as_echo "no" >&6; }
9157 test -n "$CROSSCC" && break
9158 done
9159 test -n "$CROSSCC" || CROSSCC="false"
9161 if test "$CROSSCC" != "false"
9162 then
9163 ac_save_CC="$CC"
9164 CC="$CROSSCC"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9166 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9171 main ()
9175 return 0;
9177 _ACEOF
9178 if ac_fn_c_try_compile "$LINENO"; then :
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9180 $as_echo "yes" >&6; }
9181 set x $CROSSCC
9182 shift
9183 while test $# -ge 1
9185 case "$1" in
9186 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9187 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9188 esac
9189 shift
9190 done
9191 else
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193 $as_echo "no" >&6; }
9195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9196 CC="$ac_save_CC"
9197 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9203 if test "$ac_cv_header_pthread_h" = "yes"
9204 then
9205 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9206 if test "x$ac_cv_func_pthread_create" = xyes; then :
9208 else
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9210 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9211 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9212 $as_echo_n "(cached) " >&6
9213 else
9214 ac_check_lib_save_LIBS=$LIBS
9215 LIBS="-lpthread $LIBS"
9216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9222 #ifdef __cplusplus
9223 extern "C"
9224 #endif
9225 char pthread_create ();
9227 main ()
9229 return pthread_create ();
9231 return 0;
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9235 ac_cv_lib_pthread_pthread_create=yes
9236 else
9237 ac_cv_lib_pthread_pthread_create=no
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9244 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9245 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9246 PTHREAD_LIBS="-lpthread"
9253 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9254 case "x$with_pthread" in
9255 xno) ;;
9256 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9257 Wine cannot support threads without libpthread.
9258 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9259 esac
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9265 $as_echo_n "checking for X... " >&6; }
9268 # Check whether --with-x was given.
9269 if test "${with_x+set}" = set; then :
9270 withval=$with_x;
9273 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9274 if test "x$with_x" = xno; then
9275 # The user explicitly disabled X.
9276 have_x=disabled
9277 else
9278 case $x_includes,$x_libraries in #(
9279 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9280 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9281 $as_echo_n "(cached) " >&6
9282 else
9283 # One or both of the vars are not set, and there is no cached value.
9284 ac_x_includes=no ac_x_libraries=no
9285 rm -f -r conftest.dir
9286 if mkdir conftest.dir; then
9287 cd conftest.dir
9288 cat >Imakefile <<'_ACEOF'
9289 incroot:
9290 @echo incroot='${INCROOT}'
9291 usrlibdir:
9292 @echo usrlibdir='${USRLIBDIR}'
9293 libdir:
9294 @echo libdir='${LIBDIR}'
9295 _ACEOF
9296 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9297 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9298 for ac_var in incroot usrlibdir libdir; do
9299 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9300 done
9301 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9302 for ac_extension in a so sl dylib la dll; do
9303 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9304 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9305 ac_im_usrlibdir=$ac_im_libdir; break
9307 done
9308 # Screen out bogus values from the imake configuration. They are
9309 # bogus both because they are the default anyway, and because
9310 # using them would break gcc on systems where it needs fixed includes.
9311 case $ac_im_incroot in
9312 /usr/include) ac_x_includes= ;;
9313 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9314 esac
9315 case $ac_im_usrlibdir in
9316 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9317 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9318 esac
9320 cd ..
9321 rm -f -r conftest.dir
9324 # Standard set of common directories for X headers.
9325 # Check X11 before X11Rn because it is often a symlink to the current release.
9326 ac_x_header_dirs='
9327 /usr/X11/include
9328 /usr/X11R7/include
9329 /usr/X11R6/include
9330 /usr/X11R5/include
9331 /usr/X11R4/include
9333 /usr/include/X11
9334 /usr/include/X11R7
9335 /usr/include/X11R6
9336 /usr/include/X11R5
9337 /usr/include/X11R4
9339 /usr/local/X11/include
9340 /usr/local/X11R7/include
9341 /usr/local/X11R6/include
9342 /usr/local/X11R5/include
9343 /usr/local/X11R4/include
9345 /usr/local/include/X11
9346 /usr/local/include/X11R7
9347 /usr/local/include/X11R6
9348 /usr/local/include/X11R5
9349 /usr/local/include/X11R4
9351 /usr/X386/include
9352 /usr/x386/include
9353 /usr/XFree86/include/X11
9355 /usr/include
9356 /usr/local/include
9357 /usr/unsupported/include
9358 /usr/athena/include
9359 /usr/local/x11r5/include
9360 /usr/lpp/Xamples/include
9362 /usr/openwin/include
9363 /usr/openwin/share/include'
9365 if test "$ac_x_includes" = no; then
9366 # Guess where to find include files, by looking for Xlib.h.
9367 # First, try using that file with no special directory specified.
9368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9369 /* end confdefs.h. */
9370 #include <X11/Xlib.h>
9371 _ACEOF
9372 if ac_fn_c_try_cpp "$LINENO"; then :
9373 # We can compile using X headers with no special include directory.
9374 ac_x_includes=
9375 else
9376 for ac_dir in $ac_x_header_dirs; do
9377 if test -r "$ac_dir/X11/Xlib.h"; then
9378 ac_x_includes=$ac_dir
9379 break
9381 done
9383 rm -f conftest.err conftest.i conftest.$ac_ext
9384 fi # $ac_x_includes = no
9386 if test "$ac_x_libraries" = no; then
9387 # Check for the libraries.
9388 # See if we find them without any special options.
9389 # Don't add to $LIBS permanently.
9390 ac_save_LIBS=$LIBS
9391 LIBS="-lX11 $LIBS"
9392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9394 #include <X11/Xlib.h>
9396 main ()
9398 XrmInitialize ()
9400 return 0;
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 LIBS=$ac_save_LIBS
9405 # We can link X programs with no special library path.
9406 ac_x_libraries=
9407 else
9408 LIBS=$ac_save_LIBS
9409 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9411 # Don't even attempt the hair of trying to link an X program!
9412 for ac_extension in a so sl dylib la dll; do
9413 if test -r "$ac_dir/libX11.$ac_extension"; then
9414 ac_x_libraries=$ac_dir
9415 break 2
9417 done
9418 done
9420 rm -f core conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 fi # $ac_x_libraries = no
9424 case $ac_x_includes,$ac_x_libraries in #(
9425 no,* | *,no | *\'*)
9426 # Didn't find X, or a directory has "'" in its name.
9427 ac_cv_have_x="have_x=no";; #(
9429 # Record where we found X for the cache.
9430 ac_cv_have_x="have_x=yes\
9431 ac_x_includes='$ac_x_includes'\
9432 ac_x_libraries='$ac_x_libraries'"
9433 esac
9435 ;; #(
9436 *) have_x=yes;;
9437 esac
9438 eval "$ac_cv_have_x"
9439 fi # $with_x != no
9441 if test "$have_x" != yes; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9443 $as_echo "$have_x" >&6; }
9444 no_x=yes
9445 else
9446 # If each of the values was on the command line, it overrides each guess.
9447 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9448 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9449 # Update the cache value to reflect the command line values.
9450 ac_cv_have_x="have_x=yes\
9451 ac_x_includes='$x_includes'\
9452 ac_x_libraries='$x_libraries'"
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9454 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9457 if test "$no_x" = yes; then
9458 # Not all programs may use this symbol, but it does not hurt to define it.
9460 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9462 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9463 else
9464 if test -n "$x_includes"; then
9465 X_CFLAGS="$X_CFLAGS -I$x_includes"
9468 # It would also be nice to do this for all -L options, not just this one.
9469 if test -n "$x_libraries"; then
9470 X_LIBS="$X_LIBS -L$x_libraries"
9471 # For Solaris; some versions of Sun CC require a space after -R and
9472 # others require no space. Words are not sufficient . . . .
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9474 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9475 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9476 ac_xsave_c_werror_flag=$ac_c_werror_flag
9477 ac_c_werror_flag=yes
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9482 main ()
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9491 $as_echo "no" >&6; }
9492 X_LIBS="$X_LIBS -R$x_libraries"
9493 else
9494 LIBS="$ac_xsave_LIBS -R $x_libraries"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9499 main ()
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9508 $as_echo "yes" >&6; }
9509 X_LIBS="$X_LIBS -R $x_libraries"
9510 else
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9512 $as_echo "neither works" >&6; }
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 ac_c_werror_flag=$ac_xsave_c_werror_flag
9520 LIBS=$ac_xsave_LIBS
9523 # Check for system-dependent libraries X programs must link with.
9524 # Do this before checking for the system-independent R6 libraries
9525 # (-lICE), since we may need -lsocket or whatever for X linking.
9527 if test "$ISC" = yes; then
9528 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9529 else
9530 # Martyn Johnson says this is needed for Ultrix, if the X
9531 # libraries were built with DECnet support. And Karl Berry says
9532 # the Alpha needs dnet_stub (dnet does not exist).
9533 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char XOpenDisplay ();
9545 main ()
9547 return XOpenDisplay ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9554 else
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9556 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9557 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9558 $as_echo_n "(cached) " >&6
9559 else
9560 ac_check_lib_save_LIBS=$LIBS
9561 LIBS="-ldnet $LIBS"
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9565 /* Override any GCC internal prototype to avoid an error.
9566 Use char because int might match the return type of a GCC
9567 builtin and then its argument prototype would still apply. */
9568 #ifdef __cplusplus
9569 extern "C"
9570 #endif
9571 char dnet_ntoa ();
9573 main ()
9575 return dnet_ntoa ();
9577 return 0;
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"; then :
9581 ac_cv_lib_dnet_dnet_ntoa=yes
9582 else
9583 ac_cv_lib_dnet_dnet_ntoa=no
9585 rm -f core conftest.err conftest.$ac_objext \
9586 conftest$ac_exeext conftest.$ac_ext
9587 LIBS=$ac_check_lib_save_LIBS
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9590 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9591 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9592 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9595 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9597 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9598 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 ac_check_lib_save_LIBS=$LIBS
9602 LIBS="-ldnet_stub $LIBS"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9606 /* Override any GCC internal prototype to avoid an error.
9607 Use char because int might match the return type of a GCC
9608 builtin and then its argument prototype would still apply. */
9609 #ifdef __cplusplus
9610 extern "C"
9611 #endif
9612 char dnet_ntoa ();
9614 main ()
9616 return dnet_ntoa ();
9618 return 0;
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9623 else
9624 ac_cv_lib_dnet_stub_dnet_ntoa=no
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_lib_save_LIBS
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9631 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9632 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9633 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS="$ac_xsave_LIBS"
9642 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9643 # to get the SysV transport functions.
9644 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9645 # needs -lnsl.
9646 # The nsl library prevents programs from opening the X display
9647 # on Irix 5.2, according to T.E. Dickey.
9648 # The functions gethostbyname, getservbyname, and inet_addr are
9649 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9650 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9651 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9655 if test $ac_cv_func_gethostbyname = no; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9657 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9658 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660 else
9661 ac_check_lib_save_LIBS=$LIBS
9662 LIBS="-lnsl $LIBS"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9669 #ifdef __cplusplus
9670 extern "C"
9671 #endif
9672 char gethostbyname ();
9674 main ()
9676 return gethostbyname ();
9678 return 0;
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 ac_cv_lib_nsl_gethostbyname=yes
9683 else
9684 ac_cv_lib_nsl_gethostbyname=no
9686 rm -f core conftest.err conftest.$ac_objext \
9687 conftest$ac_exeext conftest.$ac_ext
9688 LIBS=$ac_check_lib_save_LIBS
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9691 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9692 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9693 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9696 if test $ac_cv_lib_nsl_gethostbyname = no; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9698 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9699 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 ac_check_lib_save_LIBS=$LIBS
9703 LIBS="-lbsd $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 gethostbyname ();
9715 main ()
9717 return gethostbyname ();
9719 return 0;
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 ac_cv_lib_bsd_gethostbyname=yes
9724 else
9725 ac_cv_lib_bsd_gethostbyname=no
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 LIBS=$ac_check_lib_save_LIBS
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9732 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9733 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9734 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9740 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9741 # socket/setsockopt and other routines are undefined under SCO ODT
9742 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9743 # on later versions), says Simon Leinen: it contains gethostby*
9744 # variants that don't use the name server (or something). -lsocket
9745 # must be given before -lnsl if both are needed. We assume that
9746 # if connect needs -lnsl, so does gethostbyname.
9747 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9748 if test "x$ac_cv_func_connect" = xyes; then :
9752 if test $ac_cv_func_connect = no; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9754 $as_echo_n "checking for connect in -lsocket... " >&6; }
9755 if ${ac_cv_lib_socket_connect+:} false; then :
9756 $as_echo_n "(cached) " >&6
9757 else
9758 ac_check_lib_save_LIBS=$LIBS
9759 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9763 /* Override any GCC internal prototype to avoid an error.
9764 Use char because int might match the return type of a GCC
9765 builtin and then its argument prototype would still apply. */
9766 #ifdef __cplusplus
9767 extern "C"
9768 #endif
9769 char connect ();
9771 main ()
9773 return connect ();
9775 return 0;
9777 _ACEOF
9778 if ac_fn_c_try_link "$LINENO"; then :
9779 ac_cv_lib_socket_connect=yes
9780 else
9781 ac_cv_lib_socket_connect=no
9783 rm -f core conftest.err conftest.$ac_objext \
9784 conftest$ac_exeext conftest.$ac_ext
9785 LIBS=$ac_check_lib_save_LIBS
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9788 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9789 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9790 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9795 # Guillermo Gomez says -lposix is necessary on A/UX.
9796 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9797 if test "x$ac_cv_func_remove" = xyes; then :
9801 if test $ac_cv_func_remove = no; then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9803 $as_echo_n "checking for remove in -lposix... " >&6; }
9804 if ${ac_cv_lib_posix_remove+:} false; then :
9805 $as_echo_n "(cached) " >&6
9806 else
9807 ac_check_lib_save_LIBS=$LIBS
9808 LIBS="-lposix $LIBS"
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9812 /* Override any GCC internal prototype to avoid an error.
9813 Use char because int might match the return type of a GCC
9814 builtin and then its argument prototype would still apply. */
9815 #ifdef __cplusplus
9816 extern "C"
9817 #endif
9818 char remove ();
9820 main ()
9822 return remove ();
9824 return 0;
9826 _ACEOF
9827 if ac_fn_c_try_link "$LINENO"; then :
9828 ac_cv_lib_posix_remove=yes
9829 else
9830 ac_cv_lib_posix_remove=no
9832 rm -f core conftest.err conftest.$ac_objext \
9833 conftest$ac_exeext conftest.$ac_ext
9834 LIBS=$ac_check_lib_save_LIBS
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9837 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9838 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9839 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9844 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9845 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9846 if test "x$ac_cv_func_shmat" = xyes; then :
9850 if test $ac_cv_func_shmat = no; then
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9852 $as_echo_n "checking for shmat in -lipc... " >&6; }
9853 if ${ac_cv_lib_ipc_shmat+:} false; then :
9854 $as_echo_n "(cached) " >&6
9855 else
9856 ac_check_lib_save_LIBS=$LIBS
9857 LIBS="-lipc $LIBS"
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9861 /* Override any GCC internal prototype to avoid an error.
9862 Use char because int might match the return type of a GCC
9863 builtin and then its argument prototype would still apply. */
9864 #ifdef __cplusplus
9865 extern "C"
9866 #endif
9867 char shmat ();
9869 main ()
9871 return shmat ();
9873 return 0;
9875 _ACEOF
9876 if ac_fn_c_try_link "$LINENO"; then :
9877 ac_cv_lib_ipc_shmat=yes
9878 else
9879 ac_cv_lib_ipc_shmat=no
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9883 LIBS=$ac_check_lib_save_LIBS
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9886 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9887 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9888 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9894 # Check for libraries that X11R6 Xt/Xaw programs need.
9895 ac_save_LDFLAGS=$LDFLAGS
9896 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9897 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9898 # check for ICE first), but we must link in the order -lSM -lICE or
9899 # we get undefined symbols. So assume we have SM if we have ICE.
9900 # These have to be linked with before -lX11, unlike the other
9901 # libraries we check for below, so use a different variable.
9902 # John Interrante, Karl Berry
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9904 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9905 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_check_lib_save_LIBS=$LIBS
9909 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9913 /* Override any GCC internal prototype to avoid an error.
9914 Use char because int might match the return type of a GCC
9915 builtin and then its argument prototype would still apply. */
9916 #ifdef __cplusplus
9917 extern "C"
9918 #endif
9919 char IceConnectionNumber ();
9921 main ()
9923 return IceConnectionNumber ();
9925 return 0;
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 ac_cv_lib_ICE_IceConnectionNumber=yes
9930 else
9931 ac_cv_lib_ICE_IceConnectionNumber=no
9933 rm -f core conftest.err conftest.$ac_objext \
9934 conftest$ac_exeext conftest.$ac_ext
9935 LIBS=$ac_check_lib_save_LIBS
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9938 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9939 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9940 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9943 LDFLAGS=$ac_save_LDFLAGS
9948 if test "$have_x" = "yes"
9949 then
9950 ac_save_CPPFLAGS="$CPPFLAGS"
9951 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9954 $as_echo_n "checking for -lX11... " >&6; }
9955 if ${ac_cv_lib_soname_X11+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_check_soname_save_LIBS=$LIBS
9959 LIBS="-lX11 $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 XCreateWindow ();
9971 main ()
9973 return XCreateWindow ();
9975 return 0;
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 case "$LIBEXT" in
9980 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9981 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'` ;;
9982 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9983 if ${ac_cv_lib_soname_X11:+false} :; then :
9984 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$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_X11:+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_X11" >&5
9998 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10000 cat >>confdefs.h <<_ACEOF
10001 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10002 _ACEOF
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10007 $as_echo_n "checking for -lXext... " >&6; }
10008 if ${ac_cv_lib_soname_Xext+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_check_soname_save_LIBS=$LIBS
10012 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10019 #ifdef __cplusplus
10020 extern "C"
10021 #endif
10022 char XextCreateExtension ();
10024 main ()
10026 return XextCreateExtension ();
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 case "$LIBEXT" in
10033 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10036 if ${ac_cv_lib_soname_Xext:+false} :; then :
10037 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10038 fi ;;
10039 esac
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 LIBS=$ac_check_soname_save_LIBS
10045 if ${ac_cv_lib_soname_Xext:+false} :; then :
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10047 $as_echo "not found" >&6; }
10049 else
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10051 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10053 cat >>confdefs.h <<_ACEOF
10054 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10055 _ACEOF
10057 X_LIBS="$X_LIBS -lXext"
10059 X_LIBS="$X_LIBS -lX11"
10061 for ac_header in X11/Xlib.h \
10062 X11/XKBlib.h \
10063 X11/Xutil.h \
10064 X11/Xcursor/Xcursor.h \
10065 X11/extensions/shape.h \
10066 X11/extensions/XInput.h \
10067 X11/extensions/XInput2.h \
10068 X11/extensions/XShm.h \
10069 X11/extensions/Xcomposite.h \
10070 X11/extensions/Xfixes.h \
10071 X11/extensions/Xinerama.h \
10072 X11/extensions/Xrandr.h \
10073 X11/extensions/Xrender.h \
10074 X11/extensions/xf86vmode.h \
10075 X11/extensions/xf86vmproto.h
10076 do :
10077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10078 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10079 # include <X11/Xlib.h>
10080 #endif
10081 #ifdef HAVE_X11_XUTIL_H
10082 # include <X11/Xutil.h>
10083 #endif
10085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10086 cat >>confdefs.h <<_ACEOF
10087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10088 _ACEOF
10092 done
10095 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10096 then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10098 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10099 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10100 $as_echo_n "(cached) " >&6
10101 else
10102 ac_check_lib_save_LIBS=$LIBS
10103 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10107 /* Override any GCC internal prototype to avoid an error.
10108 Use char because int might match the return type of a GCC
10109 builtin and then its argument prototype would still apply. */
10110 #ifdef __cplusplus
10111 extern "C"
10112 #endif
10113 char XkbQueryExtension ();
10115 main ()
10117 return XkbQueryExtension ();
10119 return 0;
10121 _ACEOF
10122 if ac_fn_c_try_link "$LINENO"; then :
10123 ac_cv_lib_X11_XkbQueryExtension=yes
10124 else
10125 ac_cv_lib_X11_XkbQueryExtension=no
10127 rm -f core conftest.err conftest.$ac_objext \
10128 conftest$ac_exeext conftest.$ac_ext
10129 LIBS=$ac_check_lib_save_LIBS
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10132 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10133 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10135 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10141 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10142 then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10144 $as_echo_n "checking for -lXcursor... " >&6; }
10145 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_check_soname_save_LIBS=$LIBS
10149 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10153 /* Override any GCC internal prototype to avoid an error.
10154 Use char because int might match the return type of a GCC
10155 builtin and then its argument prototype would still apply. */
10156 #ifdef __cplusplus
10157 extern "C"
10158 #endif
10159 char XcursorImageLoadCursor ();
10161 main ()
10163 return XcursorImageLoadCursor ();
10165 return 0;
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"; then :
10169 case "$LIBEXT" in
10170 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10171 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'` ;;
10172 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10173 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10174 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10175 fi ;;
10176 esac
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_soname_save_LIBS
10182 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10184 $as_echo "not found" >&6; }
10186 else
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10188 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10190 cat >>confdefs.h <<_ACEOF
10191 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10192 _ACEOF
10197 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10198 case "x$with_xcursor" in
10199 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10200 xno) ;;
10201 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10202 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10203 esac
10207 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10208 then
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10210 $as_echo_n "checking for -lXi... " >&6; }
10211 if ${ac_cv_lib_soname_Xi+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_check_soname_save_LIBS=$LIBS
10215 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10219 /* Override any GCC internal prototype to avoid an error.
10220 Use char because int might match the return type of a GCC
10221 builtin and then its argument prototype would still apply. */
10222 #ifdef __cplusplus
10223 extern "C"
10224 #endif
10225 char XOpenDevice ();
10227 main ()
10229 return XOpenDevice ();
10231 return 0;
10233 _ACEOF
10234 if ac_fn_c_try_link "$LINENO"; then :
10235 case "$LIBEXT" in
10236 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10237 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'` ;;
10238 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10239 if ${ac_cv_lib_soname_Xi:+false} :; then :
10240 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10241 fi ;;
10242 esac
10244 rm -f core conftest.err conftest.$ac_objext \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LIBS=$ac_check_soname_save_LIBS
10248 if ${ac_cv_lib_soname_Xi:+false} :; then :
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10250 $as_echo "not found" >&6; }
10252 else
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10254 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10256 cat >>confdefs.h <<_ACEOF
10257 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10258 _ACEOF
10263 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10264 case "x$with_xinput" in
10265 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10266 xno) ;;
10267 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10268 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10269 esac
10273 if test "x$ac_cv_lib_soname_Xi" != x
10274 then
10275 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10276 case "x$with_xinput2" in
10277 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10278 xno) ;;
10279 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10280 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10281 esac
10286 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10287 then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10289 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10290 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10291 $as_echo_n "(cached) " >&6
10292 else
10293 ac_check_lib_save_LIBS=$LIBS
10294 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10298 /* Override any GCC internal prototype to avoid an error.
10299 Use char because int might match the return type of a GCC
10300 builtin and then its argument prototype would still apply. */
10301 #ifdef __cplusplus
10302 extern "C"
10303 #endif
10304 char XShmQueryExtension ();
10306 main ()
10308 return XShmQueryExtension ();
10310 return 0;
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314 ac_cv_lib_Xext_XShmQueryExtension=yes
10315 else
10316 ac_cv_lib_Xext_XShmQueryExtension=no
10318 rm -f core conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10320 LIBS=$ac_check_lib_save_LIBS
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10323 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10324 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10326 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10331 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10332 case "x$with_xshm" in
10333 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10334 xno) ;;
10335 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10336 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10337 esac
10341 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10342 then
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10344 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10345 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10346 $as_echo_n "(cached) " >&6
10347 else
10348 ac_check_lib_save_LIBS=$LIBS
10349 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10356 #ifdef __cplusplus
10357 extern "C"
10358 #endif
10359 char XShapeQueryExtension ();
10361 main ()
10363 return XShapeQueryExtension ();
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_lib_Xext_XShapeQueryExtension=yes
10370 else
10371 ac_cv_lib_Xext_XShapeQueryExtension=no
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 LIBS=$ac_check_lib_save_LIBS
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10378 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10379 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10381 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10386 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10387 case "x$with_xshape" in
10388 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10389 xno) ;;
10390 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10391 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10392 esac
10396 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10397 then
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10399 $as_echo_n "checking for -lXxf86vm... " >&6; }
10400 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10401 $as_echo_n "(cached) " >&6
10402 else
10403 ac_check_soname_save_LIBS=$LIBS
10404 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10411 #ifdef __cplusplus
10412 extern "C"
10413 #endif
10414 char XF86VidModeQueryExtension ();
10416 main ()
10418 return XF86VidModeQueryExtension ();
10420 return 0;
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 case "$LIBEXT" in
10425 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10426 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'` ;;
10427 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10428 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10429 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10430 fi ;;
10431 esac
10433 rm -f core conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_soname_save_LIBS
10437 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10439 $as_echo "not found" >&6; }
10441 else
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10443 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10445 cat >>confdefs.h <<_ACEOF
10446 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10447 _ACEOF
10452 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10453 case "x$with_xxf86vm" in
10454 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10455 xno) ;;
10456 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10457 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10458 esac
10462 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10463 then
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10465 $as_echo_n "checking for -lXrender... " >&6; }
10466 if ${ac_cv_lib_soname_Xrender+:} false; then :
10467 $as_echo_n "(cached) " >&6
10468 else
10469 ac_check_soname_save_LIBS=$LIBS
10470 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10474 /* Override any GCC internal prototype to avoid an error.
10475 Use char because int might match the return type of a GCC
10476 builtin and then its argument prototype would still apply. */
10477 #ifdef __cplusplus
10478 extern "C"
10479 #endif
10480 char XRenderQueryExtension ();
10482 main ()
10484 return XRenderQueryExtension ();
10486 return 0;
10488 _ACEOF
10489 if ac_fn_c_try_link "$LINENO"; then :
10490 case "$LIBEXT" in
10491 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10492 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'` ;;
10493 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10494 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10495 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10496 fi ;;
10497 esac
10499 rm -f core conftest.err conftest.$ac_objext \
10500 conftest$ac_exeext conftest.$ac_ext
10501 LIBS=$ac_check_soname_save_LIBS
10503 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10505 $as_echo "not found" >&6; }
10507 else
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10509 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10511 cat >>confdefs.h <<_ACEOF
10512 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10513 _ACEOF
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10516 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10517 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_check_lib_save_LIBS=$LIBS
10521 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10528 #ifdef __cplusplus
10529 extern "C"
10530 #endif
10531 char XRenderSetPictureTransform ();
10533 main ()
10535 return XRenderSetPictureTransform ();
10537 return 0;
10539 _ACEOF
10540 if ac_fn_c_try_link "$LINENO"; then :
10541 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10542 else
10543 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10545 rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 LIBS=$ac_check_lib_save_LIBS
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10550 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10551 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10553 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10558 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10559 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10560 $as_echo_n "(cached) " >&6
10561 else
10562 ac_check_lib_save_LIBS=$LIBS
10563 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10567 /* Override any GCC internal prototype to avoid an error.
10568 Use char because int might match the return type of a GCC
10569 builtin and then its argument prototype would still apply. */
10570 #ifdef __cplusplus
10571 extern "C"
10572 #endif
10573 char XRenderCreateLinearGradient ();
10575 main ()
10577 return XRenderCreateLinearGradient ();
10579 return 0;
10581 _ACEOF
10582 if ac_fn_c_try_link "$LINENO"; then :
10583 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10584 else
10585 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10587 rm -f core conftest.err conftest.$ac_objext \
10588 conftest$ac_exeext conftest.$ac_ext
10589 LIBS=$ac_check_lib_save_LIBS
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10592 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10593 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10595 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10602 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10603 case "x$with_xrender" in
10604 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10605 xno) ;;
10606 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10607 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10608 esac
10612 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10613 then
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10616 #include <X11/Xlib.h>
10617 #include <X11/extensions/Xrandr.h>
10619 main ()
10621 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10623 return 0;
10625 _ACEOF
10626 if ac_fn_c_try_compile "$LINENO"; then :
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10628 $as_echo_n "checking for -lXrandr... " >&6; }
10629 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_check_soname_save_LIBS=$LIBS
10633 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10640 #ifdef __cplusplus
10641 extern "C"
10642 #endif
10643 char XRRQueryExtension ();
10645 main ()
10647 return XRRQueryExtension ();
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_link "$LINENO"; then :
10653 case "$LIBEXT" in
10654 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10655 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'` ;;
10656 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10657 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10658 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10659 fi ;;
10660 esac
10662 rm -f core conftest.err conftest.$ac_objext \
10663 conftest$ac_exeext conftest.$ac_ext
10664 LIBS=$ac_check_soname_save_LIBS
10666 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10668 $as_echo "not found" >&6; }
10670 else
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10672 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10674 cat >>confdefs.h <<_ACEOF
10675 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10676 _ACEOF
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10680 #include <X11/Xlib.h>
10681 #include <X11/extensions/Xrandr.h>
10683 main ()
10685 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10687 return 0;
10689 _ACEOF
10690 if ac_fn_c_try_compile "$LINENO"; then :
10692 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10700 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10701 case "x$with_xrandr" in
10702 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10703 xno) ;;
10704 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10705 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10706 esac
10710 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10711 then
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10714 #include <X11/Xlib.h>
10715 #include <X11/extensions/Xfixes.h>
10717 main ()
10719 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10721 return 0;
10723 _ACEOF
10724 if ac_fn_c_try_compile "$LINENO"; then :
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10726 $as_echo_n "checking for -lXfixes... " >&6; }
10727 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10728 $as_echo_n "(cached) " >&6
10729 else
10730 ac_check_soname_save_LIBS=$LIBS
10731 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10738 #ifdef __cplusplus
10739 extern "C"
10740 #endif
10741 char XFixesQueryVersion ();
10743 main ()
10745 return XFixesQueryVersion ();
10747 return 0;
10749 _ACEOF
10750 if ac_fn_c_try_link "$LINENO"; then :
10751 case "$LIBEXT" in
10752 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10753 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'` ;;
10754 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10755 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10756 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10757 fi ;;
10758 esac
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_soname_save_LIBS
10764 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10766 $as_echo "not found" >&6; }
10768 else
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10770 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10772 cat >>confdefs.h <<_ACEOF
10773 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10774 _ACEOF
10779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10781 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10782 case "x$with_xfixes" in
10783 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10784 xno) ;;
10785 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10786 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10787 esac
10791 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10792 then
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10795 #include <X11/Xlib.h>
10796 #include <X11/extensions/Xinerama.h>
10798 main ()
10800 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_compile "$LINENO"; then :
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10807 $as_echo_n "checking for -lXinerama... " >&6; }
10808 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10809 $as_echo_n "(cached) " >&6
10810 else
10811 ac_check_soname_save_LIBS=$LIBS
10812 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10819 #ifdef __cplusplus
10820 extern "C"
10821 #endif
10822 char XineramaQueryScreens ();
10824 main ()
10826 return XineramaQueryScreens ();
10828 return 0;
10830 _ACEOF
10831 if ac_fn_c_try_link "$LINENO"; then :
10832 case "$LIBEXT" in
10833 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10834 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'` ;;
10835 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10836 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10837 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10838 fi ;;
10839 esac
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LIBS=$ac_check_soname_save_LIBS
10845 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10847 $as_echo "not found" >&6; }
10849 else
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10851 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10853 cat >>confdefs.h <<_ACEOF
10854 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10855 _ACEOF
10860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10862 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10863 case "x$with_xinerama" in
10864 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10865 xno) ;;
10866 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10867 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10868 esac
10872 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10873 then
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10875 $as_echo_n "checking for -lXcomposite... " >&6; }
10876 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10877 $as_echo_n "(cached) " >&6
10878 else
10879 ac_check_soname_save_LIBS=$LIBS
10880 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10887 #ifdef __cplusplus
10888 extern "C"
10889 #endif
10890 char XCompositeRedirectWindow ();
10892 main ()
10894 return XCompositeRedirectWindow ();
10896 return 0;
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"; then :
10900 case "$LIBEXT" in
10901 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10902 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'` ;;
10903 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10904 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10905 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10906 fi ;;
10907 esac
10909 rm -f core conftest.err conftest.$ac_objext \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_soname_save_LIBS
10913 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10915 $as_echo "not found" >&6; }
10917 else
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10919 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10921 cat >>confdefs.h <<_ACEOF
10922 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10923 _ACEOF
10928 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10929 case "x$with_xcomposite" in
10930 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10931 xno) ;;
10932 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10933 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10934 esac
10938 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10939 #include <X11/Xlib.h>
10940 #endif
10942 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10944 cat >>confdefs.h <<_ACEOF
10945 #define HAVE_XICCALLBACK_CALLBACK 1
10946 _ACEOF
10950 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10951 #include <X11/Xlib.h>
10952 #endif
10954 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10956 cat >>confdefs.h <<_ACEOF
10957 #define HAVE_XEVENT_XCOOKIE 1
10958 _ACEOF
10965 opengl_msg=""
10966 if test "x$with_opengl" != "xno"
10967 then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10969 $as_echo_n "checking for -lGL... " >&6; }
10970 if ${ac_cv_lib_soname_GL+:} false; then :
10971 $as_echo_n "(cached) " >&6
10972 else
10973 ac_check_soname_save_LIBS=$LIBS
10974 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10981 #ifdef __cplusplus
10982 extern "C"
10983 #endif
10984 char glXCreateContext ();
10986 main ()
10988 return glXCreateContext ();
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 case "$LIBEXT" in
10995 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10996 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'` ;;
10997 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10998 if ${ac_cv_lib_soname_GL:+false} :; then :
10999 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11000 fi ;;
11001 esac
11003 rm -f core conftest.err conftest.$ac_objext \
11004 conftest$ac_exeext conftest.$ac_ext
11005 LIBS=$ac_check_soname_save_LIBS
11007 if ${ac_cv_lib_soname_GL:+false} :; then :
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11009 $as_echo "not found" >&6; }
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11011 $as_echo_n "checking for -lGL... " >&6; }
11012 if ${ac_cv_lib_soname_GL+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_soname_save_LIBS=$LIBS
11016 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"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char glXCreateContext ();
11028 main ()
11030 return glXCreateContext ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 case "$LIBEXT" in
11037 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11038 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'` ;;
11039 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11040 if ${ac_cv_lib_soname_GL:+false} :; then :
11041 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11042 fi ;;
11043 esac
11045 rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_soname_save_LIBS
11049 if ${ac_cv_lib_soname_GL:+false} :; then :
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11051 $as_echo "not found" >&6; }
11052 if test -f /usr/X11R6/lib/libGL.a
11053 then
11054 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11055 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11056 else
11057 opengl_msg="No OpenGL library found on this system."
11059 else
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11061 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11063 cat >>confdefs.h <<_ACEOF
11064 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11065 _ACEOF
11067 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"
11069 else
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11071 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11073 cat >>confdefs.h <<_ACEOF
11074 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11075 _ACEOF
11077 OPENGL_LIBS="-lGL"
11079 if test "x$with_glu" != "xno"
11080 then
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11082 $as_echo_n "checking for -lGLU... " >&6; }
11083 if ${ac_cv_lib_soname_GLU+:} false; then :
11084 $as_echo_n "(cached) " >&6
11085 else
11086 ac_check_soname_save_LIBS=$LIBS
11087 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11091 /* Override any GCC internal prototype to avoid an error.
11092 Use char because int might match the return type of a GCC
11093 builtin and then its argument prototype would still apply. */
11094 #ifdef __cplusplus
11095 extern "C"
11096 #endif
11097 char gluLookAt ();
11099 main ()
11101 return gluLookAt ();
11103 return 0;
11105 _ACEOF
11106 if ac_fn_c_try_link "$LINENO"; then :
11107 case "$LIBEXT" in
11108 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11109 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'` ;;
11110 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11111 if ${ac_cv_lib_soname_GLU:+false} :; then :
11112 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11113 fi ;;
11114 esac
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_soname_save_LIBS
11120 if ${ac_cv_lib_soname_GLU:+false} :; then :
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11122 $as_echo "not found" >&6; }
11124 else
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11126 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11128 cat >>confdefs.h <<_ACEOF
11129 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11130 _ACEOF
11134 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11135 case "x$with_glu" in
11136 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11137 xno) ;;
11138 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11139 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11140 esac
11145 if test "x$with_osmesa" != "xno"
11146 then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11148 $as_echo_n "checking for -lOSMesa... " >&6; }
11149 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11150 $as_echo_n "(cached) " >&6
11151 else
11152 ac_check_soname_save_LIBS=$LIBS
11153 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11157 /* Override any GCC internal prototype to avoid an error.
11158 Use char because int might match the return type of a GCC
11159 builtin and then its argument prototype would still apply. */
11160 #ifdef __cplusplus
11161 extern "C"
11162 #endif
11163 char OSMesaGetProcAddress ();
11165 main ()
11167 return OSMesaGetProcAddress ();
11169 return 0;
11171 _ACEOF
11172 if ac_fn_c_try_link "$LINENO"; then :
11173 case "$LIBEXT" in
11174 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11175 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'` ;;
11176 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11177 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11178 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11179 fi ;;
11180 esac
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_soname_save_LIBS
11186 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11188 $as_echo "not found" >&6; }
11190 else
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11192 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11194 cat >>confdefs.h <<_ACEOF
11195 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11196 _ACEOF
11200 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11201 case "x$with_osmesa" in
11202 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11203 xno) ;;
11204 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11205 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11206 esac
11211 if test -n "$opengl_msg"; then :
11212 case "x$with_opengl" in
11213 x) as_fn_append wine_warnings "|$opengl_msg
11214 OpenGL and Direct3D won't be supported." ;;
11215 xno) ;;
11216 *) as_fn_error $? "$opengl_msg
11217 OpenGL and Direct3D won't be supported.
11218 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11219 esac
11223 CPPFLAGS="$ac_save_CPPFLAGS"
11224 else
11225 X_CFLAGS=""
11226 X_LIBS=""
11229 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11230 then
11231 if test "x$X_LIBS" = "x"; then :
11232 case "x$with_x" in
11233 xno) ;;
11234 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11235 without X support, which probably isn't what you want. You will need
11236 to install ${notice_platform}development packages of Xlib at the very least.
11237 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11238 esac
11239 enable_winex11_drv=${enable_winex11_drv:-no}
11241 else
11242 if test "x$X_LIBS" = "x"; then :
11243 case "x$with_x" in
11244 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11245 xno) ;;
11246 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11247 This is an error since --with-x was requested." "$LINENO" 5 ;;
11248 esac
11249 enable_winex11_drv=${enable_winex11_drv:-no}
11253 if test "$ac_cv_header_CL_cl_h" = "yes"
11254 then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11256 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11257 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11258 $as_echo_n "(cached) " >&6
11259 else
11260 ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-lOpenCL $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char clGetPlatformInfo ();
11273 main ()
11275 return clGetPlatformInfo ();
11277 return 0;
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11282 else
11283 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11290 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11291 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11292 OPENCL_LIBS="-lOpenCL"
11297 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11298 case "x$with_opencl" in
11299 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11300 xno) ;;
11301 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11302 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11303 esac
11304 enable_opencl=${enable_opencl:-no}
11307 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11308 then
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11310 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11311 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11312 $as_echo_n "(cached) " >&6
11313 else
11314 ac_check_lib_save_LIBS=$LIBS
11315 LIBS="-lpcap $LIBS"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11322 #ifdef __cplusplus
11323 extern "C"
11324 #endif
11325 char pcap_create ();
11327 main ()
11329 return pcap_create ();
11331 return 0;
11333 _ACEOF
11334 if ac_fn_c_try_link "$LINENO"; then :
11335 ac_cv_lib_pcap_pcap_create=yes
11336 else
11337 ac_cv_lib_pcap_pcap_create=no
11339 rm -f core conftest.err conftest.$ac_objext \
11340 conftest$ac_exeext conftest.$ac_ext
11341 LIBS=$ac_check_lib_save_LIBS
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11344 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11345 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11346 PCAP_LIBS="-lpcap"
11351 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11352 case "x$with_pcap" in
11353 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11354 xno) ;;
11355 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11356 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11357 esac
11358 enable_wpcap=${enable_wpcap:-no}
11362 if test "x$with_xml" != "xno"
11363 then
11364 if ${XML2_CFLAGS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11369 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11370 if ${XML2_LIBS:+false} :; then :
11371 if ${PKG_CONFIG+:} false; then :
11372 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11375 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11376 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11377 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11378 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11379 ac_save_CPPFLAGS=$CPPFLAGS
11380 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11381 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11382 do :
11383 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11384 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11385 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11386 cat >>confdefs.h <<_ACEOF
11387 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11388 _ACEOF
11392 done
11394 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"
11395 then
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11397 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11398 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11399 $as_echo_n "(cached) " >&6
11400 else
11401 ac_check_lib_save_LIBS=$LIBS
11402 LIBS="-lxml2 $XML2_LIBS $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11409 #ifdef __cplusplus
11410 extern "C"
11411 #endif
11412 char xmlParseMemory ();
11414 main ()
11416 return xmlParseMemory ();
11418 return 0;
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 ac_cv_lib_xml2_xmlParseMemory=yes
11423 else
11424 ac_cv_lib_xml2_xmlParseMemory=no
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_lib_save_LIBS
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11431 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11432 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11434 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11436 else
11437 XML2_LIBS=""
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11441 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11442 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-lxml2 $XML2_LIBS $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char xmlReadMemory ();
11458 main ()
11460 return xmlReadMemory ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_xml2_xmlReadMemory=yes
11467 else
11468 ac_cv_lib_xml2_xmlReadMemory=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11475 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11476 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11478 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11483 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11484 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11485 $as_echo_n "(cached) " >&6
11486 else
11487 ac_check_lib_save_LIBS=$LIBS
11488 LIBS="-lxml2 $XML2_LIBS $LIBS"
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char xmlNewDocPI ();
11500 main ()
11502 return xmlNewDocPI ();
11504 return 0;
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 ac_cv_lib_xml2_xmlNewDocPI=yes
11509 else
11510 ac_cv_lib_xml2_xmlNewDocPI=no
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11517 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11518 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11520 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11525 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11526 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11527 $as_echo_n "(cached) " >&6
11528 else
11529 ac_check_lib_save_LIBS=$LIBS
11530 LIBS="-lxml2 $XML2_LIBS $LIBS"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char xmlSchemaSetParserStructuredErrors ();
11542 main ()
11544 return xmlSchemaSetParserStructuredErrors ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11551 else
11552 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11559 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11560 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11562 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11567 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11568 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11569 $as_echo_n "(cached) " >&6
11570 else
11571 ac_check_lib_save_LIBS=$LIBS
11572 LIBS="-lxml2 $XML2_LIBS $LIBS"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11579 #ifdef __cplusplus
11580 extern "C"
11581 #endif
11582 char xmlSchemaSetValidStructuredErrors ();
11584 main ()
11586 return xmlSchemaSetValidStructuredErrors ();
11588 return 0;
11590 _ACEOF
11591 if ac_fn_c_try_link "$LINENO"; then :
11592 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11593 else
11594 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11601 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11602 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11604 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11609 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11610 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11611 $as_echo_n "(cached) " >&6
11612 else
11613 ac_check_lib_save_LIBS=$LIBS
11614 LIBS="-lxml2 $XML2_LIBS $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11621 #ifdef __cplusplus
11622 extern "C"
11623 #endif
11624 char xmlFirstElementChild ();
11626 main ()
11628 return xmlFirstElementChild ();
11630 return 0;
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"; then :
11634 ac_cv_lib_xml2_xmlFirstElementChild=yes
11635 else
11636 ac_cv_lib_xml2_xmlFirstElementChild=no
11638 rm -f core conftest.err conftest.$ac_objext \
11639 conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11643 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11644 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11646 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11650 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11652 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11654 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11658 else
11659 XML2_CFLAGS=""
11660 XML2_LIBS=""
11662 CPPFLAGS=$ac_save_CPPFLAGS
11663 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11664 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11667 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11668 case "x$with_xml" in
11669 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11670 xno) ;;
11671 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11672 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11673 esac
11677 if test "x$with_xslt" != "xno"
11678 then
11679 if ${XSLT_CFLAGS:+false} :; then :
11680 if ${PKG_CONFIG+:} false; then :
11681 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11684 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11685 if ${XSLT_LIBS:+false} :; then :
11686 if ${PKG_CONFIG+:} false; then :
11687 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11690 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11691 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11692 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11693 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11694 ac_save_CPPFLAGS=$CPPFLAGS
11695 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11696 for ac_header in libxslt/pattern.h libxslt/transform.h
11697 do :
11698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11700 # include <libxslt/pattern.h>
11701 #endif
11703 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11704 cat >>confdefs.h <<_ACEOF
11705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11706 _ACEOF
11710 done
11712 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11713 then
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11715 $as_echo_n "checking for -lxslt... " >&6; }
11716 if ${ac_cv_lib_soname_xslt+:} false; then :
11717 $as_echo_n "(cached) " >&6
11718 else
11719 ac_check_soname_save_LIBS=$LIBS
11720 LIBS="-lxslt $XSLT_LIBS $LIBS"
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11724 /* Override any GCC internal prototype to avoid an error.
11725 Use char because int might match the return type of a GCC
11726 builtin and then its argument prototype would still apply. */
11727 #ifdef __cplusplus
11728 extern "C"
11729 #endif
11730 char xsltCompilePattern ();
11732 main ()
11734 return xsltCompilePattern ();
11736 return 0;
11738 _ACEOF
11739 if ac_fn_c_try_link "$LINENO"; then :
11740 case "$LIBEXT" in
11741 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11742 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'` ;;
11743 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11744 if ${ac_cv_lib_soname_xslt:+false} :; then :
11745 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11746 fi ;;
11747 esac
11749 rm -f core conftest.err conftest.$ac_objext \
11750 conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_check_soname_save_LIBS
11753 if ${ac_cv_lib_soname_xslt:+false} :; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11755 $as_echo "not found" >&6; }
11757 else
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11759 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11761 cat >>confdefs.h <<_ACEOF
11762 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11763 _ACEOF
11767 else
11768 XSLT_CFLAGS=""
11770 CPPFLAGS=$ac_save_CPPFLAGS
11771 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11772 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11775 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11776 case "x$with_xslt" in
11777 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11780 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11781 esac
11785 if test "x$with_dbus" != "xno"
11786 then
11787 if ${DBUS_CFLAGS:+false} :; then :
11788 if ${PKG_CONFIG+:} false; then :
11789 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11793 if ${DBUS_LIBS:+false} :; then :
11794 if ${PKG_CONFIG+:} false; then :
11795 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11800 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11801 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11802 ac_save_CPPFLAGS=$CPPFLAGS
11803 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11804 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11805 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11807 $as_echo_n "checking for -ldbus-1... " >&6; }
11808 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11809 $as_echo_n "(cached) " >&6
11810 else
11811 ac_check_soname_save_LIBS=$LIBS
11812 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11816 /* Override any GCC internal prototype to avoid an error.
11817 Use char because int might match the return type of a GCC
11818 builtin and then its argument prototype would still apply. */
11819 #ifdef __cplusplus
11820 extern "C"
11821 #endif
11822 char dbus_connection_close ();
11824 main ()
11826 return dbus_connection_close ();
11828 return 0;
11830 _ACEOF
11831 if ac_fn_c_try_link "$LINENO"; then :
11832 case "$LIBEXT" in
11833 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11834 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'` ;;
11835 *) 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'`
11836 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11837 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11838 fi ;;
11839 esac
11841 rm -f core conftest.err conftest.$ac_objext \
11842 conftest$ac_exeext conftest.$ac_ext
11843 LIBS=$ac_check_soname_save_LIBS
11845 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11847 $as_echo "not found" >&6; }
11848 DBUS_CFLAGS=""
11849 else
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11851 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11853 cat >>confdefs.h <<_ACEOF
11854 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11855 _ACEOF
11859 else
11860 DBUS_CFLAGS=""
11864 CPPFLAGS=$ac_save_CPPFLAGS
11865 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11866 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11869 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11870 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11871 case "x$with_dbus" in
11872 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11873 xno) ;;
11874 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11875 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11876 esac
11880 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11881 then
11882 if ${HAL_CFLAGS:+false} :; then :
11883 if ${PKG_CONFIG+:} false; then :
11884 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11888 if ${HAL_LIBS:+false} :; then :
11889 if ${PKG_CONFIG+:} false; then :
11890 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11894 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11895 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11896 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11897 ac_save_CPPFLAGS=$CPPFLAGS
11898 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11899 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11900 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11902 $as_echo_n "checking for -lhal... " >&6; }
11903 if ${ac_cv_lib_soname_hal+:} false; then :
11904 $as_echo_n "(cached) " >&6
11905 else
11906 ac_check_soname_save_LIBS=$LIBS
11907 LIBS="-lhal $HAL_LIBS $LIBS"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11911 /* Override any GCC internal prototype to avoid an error.
11912 Use char because int might match the return type of a GCC
11913 builtin and then its argument prototype would still apply. */
11914 #ifdef __cplusplus
11915 extern "C"
11916 #endif
11917 char libhal_ctx_new ();
11919 main ()
11921 return libhal_ctx_new ();
11923 return 0;
11925 _ACEOF
11926 if ac_fn_c_try_link "$LINENO"; then :
11927 case "$LIBEXT" in
11928 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11929 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'` ;;
11930 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11931 if ${ac_cv_lib_soname_hal:+false} :; then :
11932 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11933 fi ;;
11934 esac
11936 rm -f core conftest.err conftest.$ac_objext \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_soname_save_LIBS
11940 if ${ac_cv_lib_soname_hal:+false} :; then :
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11942 $as_echo "not found" >&6; }
11943 HAL_CFLAGS=""
11944 else
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11946 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11948 cat >>confdefs.h <<_ACEOF
11949 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11950 _ACEOF
11954 else
11955 HAL_CFLAGS=""
11959 CPPFLAGS=$ac_save_CPPFLAGS
11960 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11961 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11963 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11964 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11965 case "x$with_hal" in
11966 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11967 xno) ;;
11968 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11969 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11970 esac
11975 if test "x$with_gnutls" != "xno"
11976 then
11977 if ${GNUTLS_CFLAGS:+false} :; then :
11978 if ${PKG_CONFIG+:} false; then :
11979 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11983 if ${GNUTLS_LIBS:+false} :; then :
11984 if ${PKG_CONFIG+:} false; then :
11985 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11990 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11991 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11992 ac_save_CPPFLAGS=$CPPFLAGS
11993 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11994 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11995 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11998 #include <gnutls/gnutls.h>
11999 #include <gnutls/crypto.h>
12001 main ()
12003 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12005 return 0;
12007 _ACEOF
12008 if ac_fn_c_try_compile "$LINENO"; then :
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12010 $as_echo_n "checking for -lgnutls... " >&6; }
12011 if ${ac_cv_lib_soname_gnutls+:} false; then :
12012 $as_echo_n "(cached) " >&6
12013 else
12014 ac_check_soname_save_LIBS=$LIBS
12015 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char gnutls_global_init ();
12027 main ()
12029 return gnutls_global_init ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 case "$LIBEXT" in
12036 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12037 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'` ;;
12038 *) 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'`
12039 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12040 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'`
12041 fi ;;
12042 esac
12044 rm -f core conftest.err conftest.$ac_objext \
12045 conftest$ac_exeext conftest.$ac_ext
12046 LIBS=$ac_check_soname_save_LIBS
12048 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12050 $as_echo "not found" >&6; }
12051 GNUTLS_CFLAGS=""
12052 else
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12054 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12056 cat >>confdefs.h <<_ACEOF
12057 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12058 _ACEOF
12062 ac_wine_check_funcs_save_LIBS="$LIBS"
12063 LIBS="$LIBS $GNUTLS_LIBS"
12064 for ac_func in gnutls_cipher_init
12065 do :
12066 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12067 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12068 cat >>confdefs.h <<_ACEOF
12069 #define HAVE_GNUTLS_CIPHER_INIT 1
12070 _ACEOF
12072 else
12073 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12075 done
12077 LIBS="$ac_wine_check_funcs_save_LIBS"
12079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12080 else
12081 GNUTLS_CFLAGS=""
12085 CPPFLAGS=$ac_save_CPPFLAGS
12086 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12087 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12090 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12091 case "x$with_gnutls" in
12092 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12093 xno) ;;
12094 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12095 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12096 esac
12100 CURSES_LIBS=""
12101 if test "$ac_cv_header_ncurses_h" = "yes"
12102 then
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12104 $as_echo_n "checking for -lncurses... " >&6; }
12105 if ${ac_cv_lib_soname_ncurses+:} false; then :
12106 $as_echo_n "(cached) " >&6
12107 else
12108 ac_check_soname_save_LIBS=$LIBS
12109 LIBS="-lncurses $LIBS"
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12116 #ifdef __cplusplus
12117 extern "C"
12118 #endif
12119 char waddch ();
12121 main ()
12123 return waddch ();
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"; then :
12129 case "$LIBEXT" in
12130 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12131 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'` ;;
12132 *) 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'`
12133 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12134 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12135 fi ;;
12136 esac
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_soname_save_LIBS
12142 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12144 $as_echo "not found" >&6; }
12146 else
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12148 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12150 cat >>confdefs.h <<_ACEOF
12151 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12152 _ACEOF
12154 CURSES_LIBS="-lncurses"
12156 elif test "$ac_cv_header_curses_h" = "yes"
12157 then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12159 $as_echo_n "checking for -lcurses... " >&6; }
12160 if ${ac_cv_lib_soname_curses+:} false; then :
12161 $as_echo_n "(cached) " >&6
12162 else
12163 ac_check_soname_save_LIBS=$LIBS
12164 LIBS="-lcurses $LIBS"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12171 #ifdef __cplusplus
12172 extern "C"
12173 #endif
12174 char waddch ();
12176 main ()
12178 return waddch ();
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_link "$LINENO"; then :
12184 case "$LIBEXT" in
12185 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12186 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'` ;;
12187 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12188 if ${ac_cv_lib_soname_curses:+false} :; then :
12189 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12190 fi ;;
12191 esac
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_soname_save_LIBS
12197 if ${ac_cv_lib_soname_curses:+false} :; then :
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12199 $as_echo "not found" >&6; }
12201 else
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12203 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12205 cat >>confdefs.h <<_ACEOF
12206 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12207 _ACEOF
12209 CURSES_LIBS="-lcurses"
12212 ac_save_LIBS="$LIBS"
12213 LIBS="$LIBS $CURSES_LIBS"
12214 for ac_func in mousemask
12215 do :
12216 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12217 if test "x$ac_cv_func_mousemask" = xyes; then :
12218 cat >>confdefs.h <<_ACEOF
12219 #define HAVE_MOUSEMASK 1
12220 _ACEOF
12223 done
12225 LIBS="$ac_save_LIBS"
12226 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12227 case "x$with_curses" in
12228 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12229 xno) ;;
12230 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12231 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12232 esac
12236 if test "x$with_sane" != "xno"
12237 then
12238 if ${SANE_CFLAGS:+false} :; then :
12239 if ${PKG_CONFIG+:} false; then :
12240 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12243 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12244 if ${SANE_LIBS:+false} :; then :
12245 if ${PKG_CONFIG+:} false; then :
12246 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12249 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12251 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12252 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12253 ac_save_CPPFLAGS=$CPPFLAGS
12254 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12255 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12256 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12258 $as_echo_n "checking for -lsane... " >&6; }
12259 if ${ac_cv_lib_soname_sane+:} false; then :
12260 $as_echo_n "(cached) " >&6
12261 else
12262 ac_check_soname_save_LIBS=$LIBS
12263 LIBS="-lsane $SANE_LIBS $LIBS"
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 /* Override any GCC internal prototype to avoid an error.
12268 Use char because int might match the return type of a GCC
12269 builtin and then its argument prototype would still apply. */
12270 #ifdef __cplusplus
12271 extern "C"
12272 #endif
12273 char sane_init ();
12275 main ()
12277 return sane_init ();
12279 return 0;
12281 _ACEOF
12282 if ac_fn_c_try_link "$LINENO"; then :
12283 case "$LIBEXT" in
12284 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12285 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'` ;;
12286 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12287 if ${ac_cv_lib_soname_sane:+false} :; then :
12288 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12289 fi ;;
12290 esac
12292 rm -f core conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_soname_save_LIBS
12296 if ${ac_cv_lib_soname_sane:+false} :; then :
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12298 $as_echo "not found" >&6; }
12299 SANE_CFLAGS=""
12300 else
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12302 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12304 cat >>confdefs.h <<_ACEOF
12305 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12306 _ACEOF
12310 else
12311 SANE_CFLAGS=""
12315 CPPFLAGS=$ac_save_CPPFLAGS
12316 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12317 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12320 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12321 case "x$with_sane" in
12322 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12323 xno) ;;
12324 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12325 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12326 esac
12330 if test "x$with_v4l" != "xno"
12331 then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12333 $as_echo_n "checking for -lv4l1... " >&6; }
12334 if ${ac_cv_lib_soname_v4l1+:} false; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 ac_check_soname_save_LIBS=$LIBS
12338 LIBS="-lv4l1 $LIBS"
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12342 /* Override any GCC internal prototype to avoid an error.
12343 Use char because int might match the return type of a GCC
12344 builtin and then its argument prototype would still apply. */
12345 #ifdef __cplusplus
12346 extern "C"
12347 #endif
12348 char v4l1_open ();
12350 main ()
12352 return v4l1_open ();
12354 return 0;
12356 _ACEOF
12357 if ac_fn_c_try_link "$LINENO"; then :
12358 case "$LIBEXT" in
12359 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12360 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'` ;;
12361 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12362 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12363 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12364 fi ;;
12365 esac
12367 rm -f core conftest.err conftest.$ac_objext \
12368 conftest$ac_exeext conftest.$ac_ext
12369 LIBS=$ac_check_soname_save_LIBS
12371 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12373 $as_echo "not found" >&6; }
12375 else
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12377 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12379 cat >>confdefs.h <<_ACEOF
12380 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12381 _ACEOF
12386 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12387 case "x$with_v4l" in
12388 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12389 xno) ;;
12390 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12391 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12392 esac
12396 if test "x$with_gphoto" != "xno"
12397 then
12398 if ${GPHOTO2_CFLAGS:+false} :; then :
12399 if ${PKG_CONFIG+:} false; then :
12400 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12403 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12404 if ${GPHOTO2_LIBS:+false} :; then :
12405 if ${PKG_CONFIG+:} false; then :
12406 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12409 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12410 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12411 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12412 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12413 ac_save_CPPFLAGS=$CPPFLAGS
12414 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12415 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12416 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12418 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12419 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12420 $as_echo_n "(cached) " >&6
12421 else
12422 ac_check_lib_save_LIBS=$LIBS
12423 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12427 /* Override any GCC internal prototype to avoid an error.
12428 Use char because int might match the return type of a GCC
12429 builtin and then its argument prototype would still apply. */
12430 #ifdef __cplusplus
12431 extern "C"
12432 #endif
12433 char gp_camera_new ();
12435 main ()
12437 return gp_camera_new ();
12439 return 0;
12441 _ACEOF
12442 if ac_fn_c_try_link "$LINENO"; then :
12443 ac_cv_lib_gphoto2_gp_camera_new=yes
12444 else
12445 ac_cv_lib_gphoto2_gp_camera_new=no
12447 rm -f core conftest.err conftest.$ac_objext \
12448 conftest$ac_exeext conftest.$ac_ext
12449 LIBS=$ac_check_lib_save_LIBS
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12452 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12453 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12455 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12457 else
12458 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12461 else
12462 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12466 CPPFLAGS=$ac_save_CPPFLAGS
12467 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12468 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12470 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12471 if ${PKG_CONFIG+:} false; then :
12472 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12475 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12476 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12477 if ${PKG_CONFIG+:} false; then :
12478 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12481 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12482 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12483 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12484 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12485 ac_save_CPPFLAGS=$CPPFLAGS
12486 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12487 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12488 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12490 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12491 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_check_lib_save_LIBS=$LIBS
12495 LIBS="-lgphoto2_port $GPHOTO2_PORT_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 gp_port_info_list_new ();
12507 main ()
12509 return gp_port_info_list_new ();
12511 return 0;
12513 _ACEOF
12514 if ac_fn_c_try_link "$LINENO"; then :
12515 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12516 else
12517 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_lib_save_LIBS
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12524 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12525 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12527 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12529 else
12530 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12533 else
12534 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12538 CPPFLAGS=$ac_save_CPPFLAGS
12539 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12540 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12543 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12544 case "x$with_gphoto" in
12545 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12546 xno) ;;
12547 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12548 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12549 esac
12552 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12553 case "x$with_gphoto" in
12554 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12555 xno) ;;
12556 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12557 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12558 esac
12563 if test "$ac_cv_header_resolv_h" = "yes"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12566 $as_echo_n "checking for resolver library... " >&6; }
12567 if ${ac_cv_have_resolv+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_save_LIBS="$LIBS"
12571 for lib in '' -lresolv
12573 LIBS="$lib $ac_save_LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12576 #ifdef HAVE_NETINET_IN_H
12577 #include <netinet/in.h>
12578 #endif
12579 #include <resolv.h>
12581 main ()
12583 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_link "$LINENO"; then :
12589 ac_cv_have_resolv=${lib:-"none required"}
12590 else
12591 ac_cv_have_resolv="not found"
12593 rm -f core conftest.err conftest.$ac_objext \
12594 conftest$ac_exeext conftest.$ac_ext
12595 test "x$ac_cv_have_resolv" = "xnot found" || break
12596 done
12597 LIBS="$ac_save_LIBS"
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12600 $as_echo "$ac_cv_have_resolv" >&6; }
12602 case "$ac_cv_have_resolv" in
12603 "not found") ;;
12604 "none required")
12606 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12609 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12611 RESOLV_LIBS=$ac_cv_have_resolv
12613 esac
12616 if test "x$with_cms" != "xno"
12617 then
12618 if ${LCMS2_CFLAGS:+false} :; then :
12619 if ${PKG_CONFIG+:} false; then :
12620 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12624 if ${LCMS2_LIBS:+false} :; then :
12625 if ${PKG_CONFIG+:} false; then :
12626 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12630 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12631 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12632 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12633 ac_save_CPPFLAGS=$CPPFLAGS
12634 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12635 for ac_header in lcms2.h
12636 do :
12637 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12638 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12639 cat >>confdefs.h <<_ACEOF
12640 #define HAVE_LCMS2_H 1
12641 _ACEOF
12645 done
12647 if test "$ac_cv_header_lcms2_h" = "yes"
12648 then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12650 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12651 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12652 $as_echo_n "(cached) " >&6
12653 else
12654 ac_check_lib_save_LIBS=$LIBS
12655 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12659 /* Override any GCC internal prototype to avoid an error.
12660 Use char because int might match the return type of a GCC
12661 builtin and then its argument prototype would still apply. */
12662 #ifdef __cplusplus
12663 extern "C"
12664 #endif
12665 char cmsOpenProfileFromFile ();
12667 main ()
12669 return cmsOpenProfileFromFile ();
12671 return 0;
12673 _ACEOF
12674 if ac_fn_c_try_link "$LINENO"; then :
12675 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12676 else
12677 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12679 rm -f core conftest.err conftest.$ac_objext \
12680 conftest$ac_exeext conftest.$ac_ext
12681 LIBS=$ac_check_lib_save_LIBS
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12684 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12685 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12687 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12689 else
12690 LCMS2_LIBS=""
12693 else
12694 LCMS2_CFLAGS=""
12695 LCMS2_LIBS=""
12697 CPPFLAGS=$ac_save_CPPFLAGS
12698 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12699 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12702 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12703 case "x$with_cms" in
12704 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12705 xno) ;;
12706 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12707 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12708 esac
12712 if test "x$with_freetype" != "xno"
12713 then
12714 if ${FREETYPE_CFLAGS:+false} :; then :
12715 if ${PKG_CONFIG+:} false; then :
12716 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12719 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12720 if ${FREETYPE_LIBS:+false} :; then :
12721 if ${PKG_CONFIG+:} false; then :
12722 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12725 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12726 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12727 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12728 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12729 ac_save_CPPFLAGS=$CPPFLAGS
12730 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12731 for ac_header in ft2build.h
12732 do :
12733 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12734 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12735 cat >>confdefs.h <<_ACEOF
12736 #define HAVE_FT2BUILD_H 1
12737 _ACEOF
12741 done
12743 if test "$ac_cv_header_ft2build_h" = "yes"
12744 then
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12746 $as_echo_n "checking for -lfreetype... " >&6; }
12747 if ${ac_cv_lib_soname_freetype+:} false; then :
12748 $as_echo_n "(cached) " >&6
12749 else
12750 ac_check_soname_save_LIBS=$LIBS
12751 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 /* Override any GCC internal prototype to avoid an error.
12756 Use char because int might match the return type of a GCC
12757 builtin and then its argument prototype would still apply. */
12758 #ifdef __cplusplus
12759 extern "C"
12760 #endif
12761 char FT_Init_FreeType ();
12763 main ()
12765 return FT_Init_FreeType ();
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_link "$LINENO"; then :
12771 case "$LIBEXT" in
12772 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12773 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'` ;;
12774 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12775 if ${ac_cv_lib_soname_freetype:+false} :; then :
12776 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12777 fi ;;
12778 esac
12780 rm -f core conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12782 LIBS=$ac_check_soname_save_LIBS
12784 if ${ac_cv_lib_soname_freetype:+false} :; then :
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12786 $as_echo "not found" >&6; }
12787 FREETYPE_LIBS=""
12788 else
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12790 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12792 cat >>confdefs.h <<_ACEOF
12793 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12794 _ACEOF
12797 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12799 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12800 #include FT_MODULE_H
12802 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12804 cat >>confdefs.h <<_ACEOF
12805 #define HAVE_FT_TRUETYPEENGINETYPE 1
12806 _ACEOF
12812 else
12813 FREETYPE_CFLAGS=""
12814 FREETYPE_LIBS=""
12816 CPPFLAGS=$ac_save_CPPFLAGS
12817 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12818 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12821 if test "x$ac_cv_lib_soname_freetype" = x; then :
12822 case "x$with_freetype" in
12823 xno) ;;
12824 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12825 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12826 esac
12827 enable_fonts=${enable_fonts:-no}
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12831 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12832 if ${ac_cv_c_ppdev+:} false; then :
12833 $as_echo_n "(cached) " >&6
12834 else
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h. */
12837 #ifdef HAVE_SYS_IOCTL_H
12838 # include <sys/ioctl.h>
12839 #endif
12840 #include <linux/ppdev.h>
12842 main ()
12844 ioctl (1,PPCLAIM,0)
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_compile "$LINENO"; then :
12850 ac_cv_c_ppdev="yes"
12851 else
12852 ac_cv_c_ppdev="no"
12854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12857 $as_echo "$ac_cv_c_ppdev" >&6; }
12858 if test "$ac_cv_c_ppdev" = "yes"
12859 then
12861 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12865 ac_wine_check_funcs_save_LIBS="$LIBS"
12866 LIBS="$LIBS $PTHREAD_LIBS"
12867 for ac_func in \
12868 pthread_attr_get_np \
12869 pthread_getattr_np \
12870 pthread_getthreadid_np \
12871 pthread_get_stackaddr_np \
12872 pthread_get_stacksize_np
12873 do :
12874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12876 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12877 cat >>confdefs.h <<_ACEOF
12878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12879 _ACEOF
12882 done
12884 LIBS="$ac_wine_check_funcs_save_LIBS"
12886 if test "$ac_cv_header_zlib_h" = "yes"
12887 then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12889 $as_echo_n "checking for inflate in -lz... " >&6; }
12890 if ${ac_cv_lib_z_inflate+:} false; then :
12891 $as_echo_n "(cached) " >&6
12892 else
12893 ac_check_lib_save_LIBS=$LIBS
12894 LIBS="-lz $LIBS"
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12901 #ifdef __cplusplus
12902 extern "C"
12903 #endif
12904 char inflate ();
12906 main ()
12908 return inflate ();
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_link "$LINENO"; then :
12914 ac_cv_lib_z_inflate=yes
12915 else
12916 ac_cv_lib_z_inflate=no
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12920 LIBS=$ac_check_lib_save_LIBS
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12923 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12924 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12926 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12928 Z_LIBS="-lz"
12933 if test "x$Z_LIBS" = "x"; then :
12934 case "x$with_zlib" in
12935 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12936 xno) ;;
12937 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12938 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12939 esac
12943 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12944 then
12945 if test "$ac_cv_header_gettext_po_h" = "yes"
12946 then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12948 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12949 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12950 $as_echo_n "(cached) " >&6
12951 else
12952 ac_check_lib_save_LIBS=$LIBS
12953 LIBS="-lgettextpo $LIBS"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 #ifdef __cplusplus
12961 extern "C"
12962 #endif
12963 char po_message_msgctxt ();
12965 main ()
12967 return po_message_msgctxt ();
12969 return 0;
12971 _ACEOF
12972 if ac_fn_c_try_link "$LINENO"; then :
12973 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12974 else
12975 ac_cv_lib_gettextpo_po_message_msgctxt=no
12977 rm -f core conftest.err conftest.$ac_objext \
12978 conftest$ac_exeext conftest.$ac_ext
12979 LIBS=$ac_check_lib_save_LIBS
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12982 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12983 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12985 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12987 GETTEXTPO_LIBS="-lgettextpo"
12992 if test "x$GETTEXTPO_LIBS" = "x"; then :
12993 case "x$with_gettextpo" in
12994 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12995 xno) ;;
12996 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12997 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12998 esac
13001 if test "$srcdir" != .; then :
13002 case "x$with_gettextpo" in
13003 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13004 xno) ;;
13005 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13006 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13007 esac
13012 if test "x$with_pulse" != "xno";
13013 then
13014 if ${PULSE_CFLAGS:+false} :; then :
13015 if ${PKG_CONFIG+:} false; then :
13016 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13020 if ${PULSE_LIBS:+false} :; then :
13021 if ${PKG_CONFIG+:} false; then :
13022 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13027 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13028 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13029 ac_save_CPPFLAGS=$CPPFLAGS
13030 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13031 for ac_header in pulse/pulseaudio.h
13032 do :
13033 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13034 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13035 cat >>confdefs.h <<_ACEOF
13036 #define HAVE_PULSE_PULSEAUDIO_H 1
13037 _ACEOF
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13039 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13040 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13041 $as_echo_n "(cached) " >&6
13042 else
13043 ac_check_lib_save_LIBS=$LIBS
13044 LIBS="-lpulse $PULSE_LIBS $LIBS"
13045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13048 /* Override any GCC internal prototype to avoid an error.
13049 Use char because int might match the return type of a GCC
13050 builtin and then its argument prototype would still apply. */
13051 #ifdef __cplusplus
13052 extern "C"
13053 #endif
13054 char pa_stream_is_corked ();
13056 main ()
13058 return pa_stream_is_corked ();
13060 return 0;
13062 _ACEOF
13063 if ac_fn_c_try_link "$LINENO"; then :
13064 ac_cv_lib_pulse_pa_stream_is_corked=yes
13065 else
13066 ac_cv_lib_pulse_pa_stream_is_corked=no
13068 rm -f core conftest.err conftest.$ac_objext \
13069 conftest$ac_exeext conftest.$ac_ext
13070 LIBS=$ac_check_lib_save_LIBS
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13073 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13074 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13076 else
13077 PULSE_LIBS=""
13080 else
13081 PULSE_LIBS=""
13084 done
13086 CPPFLAGS=$ac_save_CPPFLAGS
13087 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13088 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13091 if test -z "$PULSE_LIBS"; then :
13092 case "x$with_pulse" in
13093 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13094 xno) ;;
13095 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13096 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13097 esac
13098 enable_winepulse_drv=${enable_winepulse_drv:-no}
13101 if test "x$with_gstreamer" != "xno"
13102 then
13103 if ${GSTREAMER_CFLAGS:+false} :; then :
13104 if ${PKG_CONFIG+:} false; then :
13105 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13109 if ${GSTREAMER_LIBS:+false} :; then :
13110 if ${PKG_CONFIG+:} false; then :
13111 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13116 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13117 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13118 ac_save_CPPFLAGS=$CPPFLAGS
13119 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13120 ac_gst_incl=""
13121 for i in $GSTREAMER_CFLAGS
13123 case "$i" in
13124 -I*) ac_gst_incl="$ac_gst_incl $i";;
13125 esac
13126 done
13127 GSTREAMER_CFLAGS=$ac_gst_incl
13128 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13129 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13130 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13132 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13135 #include <gst/gst.h>
13137 main ()
13139 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13141 return 0;
13143 _ACEOF
13144 if ac_fn_c_try_compile "$LINENO"; then :
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13146 $as_echo "yes" >&6; }
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13148 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13149 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13150 $as_echo_n "(cached) " >&6
13151 else
13152 ac_check_lib_save_LIBS=$LIBS
13153 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155 /* end confdefs.h. */
13157 /* Override any GCC internal prototype to avoid an error.
13158 Use char because int might match the return type of a GCC
13159 builtin and then its argument prototype would still apply. */
13160 #ifdef __cplusplus
13161 extern "C"
13162 #endif
13163 char gst_pad_new ();
13165 main ()
13167 return gst_pad_new ();
13169 return 0;
13171 _ACEOF
13172 if ac_fn_c_try_link "$LINENO"; then :
13173 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13174 else
13175 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13177 rm -f core conftest.err conftest.$ac_objext \
13178 conftest$ac_exeext conftest.$ac_ext
13179 LIBS=$ac_check_lib_save_LIBS
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13182 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13183 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13187 else
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13190 ac_glib2_broken=yes
13191 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13197 CPPFLAGS=$ac_save_CPPFLAGS
13198 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13199 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13202 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 :
13203 case "x$with_gstreamer" in
13204 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13205 xno) ;;
13206 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13207 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13208 esac
13211 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13213 ALSA_LIBS=""
13215 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13216 then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13218 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13219 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13220 $as_echo_n "(cached) " >&6
13221 else
13222 ac_check_lib_save_LIBS=$LIBS
13223 LIBS="-lasound $LIBS"
13224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13227 /* Override any GCC internal prototype to avoid an error.
13228 Use char because int might match the return type of a GCC
13229 builtin and then its argument prototype would still apply. */
13230 #ifdef __cplusplus
13231 extern "C"
13232 #endif
13233 char snd_pcm_hw_params_get_access_mask ();
13235 main ()
13237 return snd_pcm_hw_params_get_access_mask ();
13239 return 0;
13241 _ACEOF
13242 if ac_fn_c_try_link "$LINENO"; then :
13243 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13244 else
13245 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13247 rm -f core conftest.err conftest.$ac_objext \
13248 conftest$ac_exeext conftest.$ac_ext
13249 LIBS=$ac_check_lib_save_LIBS
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13252 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13253 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13256 #ifdef HAVE_ALSA_ASOUNDLIB_H
13257 #include <alsa/asoundlib.h>
13258 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13259 #include <sys/asoundlib.h>
13260 #endif
13262 main ()
13264 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_compile "$LINENO"; then :
13270 ALSA_LIBS="-lasound"
13272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13276 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13278 if test "x$with_oss" != xno
13279 then
13280 ac_save_CPPFLAGS="$CPPFLAGS"
13281 if test -f /etc/oss.conf
13282 then
13283 . /etc/oss.conf
13285 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13286 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13287 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13288 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13289 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13291 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13293 cat >>confdefs.h <<_ACEOF
13294 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13295 _ACEOF
13297 OSS4_CFLAGS="$ac_oss_incl"
13304 CPPFLAGS="$ac_save_CPPFLAGS"
13306 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13307 case "x$with_oss" in
13308 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13309 xno) ;;
13310 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13311 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13312 esac
13313 enable_wineoss_drv=${enable_wineoss_drv:-no}
13316 if test "x$with_udev" != "xno"
13317 then
13318 if ${UDEV_CFLAGS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13324 if ${UDEV_LIBS:+false} :; then :
13325 if ${PKG_CONFIG+:} false; then :
13326 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13330 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13331 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13332 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13333 ac_save_CPPFLAGS=$CPPFLAGS
13334 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13335 for ac_header in libudev.h
13336 do :
13337 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13338 if test "x$ac_cv_header_libudev_h" = xyes; then :
13339 cat >>confdefs.h <<_ACEOF
13340 #define HAVE_LIBUDEV_H 1
13341 _ACEOF
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13343 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13344 if ${ac_cv_lib_udev_udev_new+:} false; then :
13345 $as_echo_n "(cached) " >&6
13346 else
13347 ac_check_lib_save_LIBS=$LIBS
13348 LIBS="-ludev $UDEV_LIBS $LIBS"
13349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13350 /* end confdefs.h. */
13352 /* Override any GCC internal prototype to avoid an error.
13353 Use char because int might match the return type of a GCC
13354 builtin and then its argument prototype would still apply. */
13355 #ifdef __cplusplus
13356 extern "C"
13357 #endif
13358 char udev_new ();
13360 main ()
13362 return udev_new ();
13364 return 0;
13366 _ACEOF
13367 if ac_fn_c_try_link "$LINENO"; then :
13368 ac_cv_lib_udev_udev_new=yes
13369 else
13370 ac_cv_lib_udev_udev_new=no
13372 rm -f core conftest.err conftest.$ac_objext \
13373 conftest$ac_exeext conftest.$ac_ext
13374 LIBS=$ac_check_lib_save_LIBS
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13377 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13378 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13380 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13382 else
13383 UDEV_LIBS=""
13386 else
13387 UDEV_LIBS=""
13390 done
13392 CPPFLAGS=$ac_save_CPPFLAGS
13393 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13394 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13397 if test "x$UDEV_LIBS" = "x"; then :
13398 case "x$with_udev" in
13399 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13400 xno) ;;
13401 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13402 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13403 esac
13407 if test "x$with_capi" != "xno"
13408 then
13409 if ${CAPI20_CFLAGS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13415 if ${CAPI20_LIBS:+false} :; then :
13416 if ${PKG_CONFIG+:} false; then :
13417 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13422 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13423 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13424 ac_save_CPPFLAGS=$CPPFLAGS
13425 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13426 for ac_header in capi20.h linux/capi.h
13427 do :
13428 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13429 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13431 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13432 cat >>confdefs.h <<_ACEOF
13433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13434 _ACEOF
13438 done
13440 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13441 then
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13443 $as_echo_n "checking for -lcapi20... " >&6; }
13444 if ${ac_cv_lib_soname_capi20+:} false; then :
13445 $as_echo_n "(cached) " >&6
13446 else
13447 ac_check_soname_save_LIBS=$LIBS
13448 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13455 #ifdef __cplusplus
13456 extern "C"
13457 #endif
13458 char capi20_register ();
13460 main ()
13462 return capi20_register ();
13464 return 0;
13466 _ACEOF
13467 if ac_fn_c_try_link "$LINENO"; then :
13468 case "$LIBEXT" in
13469 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13470 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'` ;;
13471 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13472 if ${ac_cv_lib_soname_capi20:+false} :; then :
13473 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13474 fi ;;
13475 esac
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_capi20:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13485 else
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13487 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13489 cat >>confdefs.h <<_ACEOF
13490 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13491 _ACEOF
13496 CPPFLAGS=$ac_save_CPPFLAGS
13497 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13498 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13501 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13502 case "x$with_capi" in
13503 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13504 xno) ;;
13505 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13506 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13507 esac
13511 if test "x$with_cups" != "xno"
13512 then
13513 if ${CUPS_CFLAGS:+false} :; then :
13514 if ${PKG_CONFIG+:} false; then :
13515 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13518 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13519 if ${CUPS_LIBS:+false} :; then :
13520 if ${PKG_CONFIG+:} false; then :
13521 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13524 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13525 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13526 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13527 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13528 ac_save_CPPFLAGS=$CPPFLAGS
13529 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13530 for ac_header in cups/cups.h cups/ppd.h
13531 do :
13532 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13533 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13535 cat >>confdefs.h <<_ACEOF
13536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13537 _ACEOF
13541 done
13543 if test "$ac_cv_header_cups_cups_h" = "yes"
13544 then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13546 $as_echo_n "checking for -lcups... " >&6; }
13547 if ${ac_cv_lib_soname_cups+:} false; then :
13548 $as_echo_n "(cached) " >&6
13549 else
13550 ac_check_soname_save_LIBS=$LIBS
13551 LIBS="-lcups $CUPS_LIBS $LIBS"
13552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13555 /* Override any GCC internal prototype to avoid an error.
13556 Use char because int might match the return type of a GCC
13557 builtin and then its argument prototype would still apply. */
13558 #ifdef __cplusplus
13559 extern "C"
13560 #endif
13561 char cupsGetDefault ();
13563 main ()
13565 return cupsGetDefault ();
13567 return 0;
13569 _ACEOF
13570 if ac_fn_c_try_link "$LINENO"; then :
13571 case "$LIBEXT" in
13572 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13573 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'` ;;
13574 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13575 if ${ac_cv_lib_soname_cups:+false} :; then :
13576 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13577 fi ;;
13578 esac
13580 rm -f core conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13582 LIBS=$ac_check_soname_save_LIBS
13584 if ${ac_cv_lib_soname_cups:+false} :; then :
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13586 $as_echo "not found" >&6; }
13587 CUPS_LIBS=""
13588 else
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13590 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13592 cat >>confdefs.h <<_ACEOF
13593 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13594 _ACEOF
13598 else
13599 CUPS_CFLAGS=""
13600 CUPS_LIBS=""
13602 CPPFLAGS=$ac_save_CPPFLAGS
13603 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13604 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13607 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13608 case "x$with_cups" in
13609 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13610 xno) ;;
13611 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13612 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13613 esac
13617 if test "x$with_fontconfig" != "xno"
13618 then
13619 if ${FONTCONFIG_CFLAGS:+false} :; then :
13620 if ${PKG_CONFIG+:} false; then :
13621 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13624 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13625 if ${FONTCONFIG_LIBS:+false} :; then :
13626 if ${PKG_CONFIG+:} false; then :
13627 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13630 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13632 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13633 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13634 ac_save_CPPFLAGS=$CPPFLAGS
13635 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13636 for ac_header in fontconfig/fontconfig.h
13637 do :
13638 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13639 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13640 cat >>confdefs.h <<_ACEOF
13641 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13642 _ACEOF
13646 done
13648 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13649 then
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13651 $as_echo_n "checking for -lfontconfig... " >&6; }
13652 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13653 $as_echo_n "(cached) " >&6
13654 else
13655 ac_check_soname_save_LIBS=$LIBS
13656 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13660 /* Override any GCC internal prototype to avoid an error.
13661 Use char because int might match the return type of a GCC
13662 builtin and then its argument prototype would still apply. */
13663 #ifdef __cplusplus
13664 extern "C"
13665 #endif
13666 char FcInit ();
13668 main ()
13670 return FcInit ();
13672 return 0;
13674 _ACEOF
13675 if ac_fn_c_try_link "$LINENO"; then :
13676 case "$LIBEXT" in
13677 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13678 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'` ;;
13679 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13680 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13681 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13682 fi ;;
13683 esac
13685 rm -f core conftest.err conftest.$ac_objext \
13686 conftest$ac_exeext conftest.$ac_ext
13687 LIBS=$ac_check_soname_save_LIBS
13689 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13691 $as_echo "not found" >&6; }
13692 FONTCONFIG_CFLAGS=""
13693 else
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13695 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13697 cat >>confdefs.h <<_ACEOF
13698 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13699 _ACEOF
13703 else
13704 FONTCONFIG_CFLAGS=""
13706 CPPFLAGS=$ac_save_CPPFLAGS
13707 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13708 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13711 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13712 case "x$with_fontconfig" in
13713 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13714 xno) ;;
13715 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13716 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13717 esac
13721 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13722 then
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13724 $as_echo_n "checking for -lgsm... " >&6; }
13725 if ${ac_cv_lib_soname_gsm+:} false; then :
13726 $as_echo_n "(cached) " >&6
13727 else
13728 ac_check_soname_save_LIBS=$LIBS
13729 LIBS="-lgsm $LIBS"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13733 /* Override any GCC internal prototype to avoid an error.
13734 Use char because int might match the return type of a GCC
13735 builtin and then its argument prototype would still apply. */
13736 #ifdef __cplusplus
13737 extern "C"
13738 #endif
13739 char gsm_create ();
13741 main ()
13743 return gsm_create ();
13745 return 0;
13747 _ACEOF
13748 if ac_fn_c_try_link "$LINENO"; then :
13749 case "$LIBEXT" in
13750 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13751 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'` ;;
13752 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13753 if ${ac_cv_lib_soname_gsm:+false} :; then :
13754 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13755 fi ;;
13756 esac
13758 rm -f core conftest.err conftest.$ac_objext \
13759 conftest$ac_exeext conftest.$ac_ext
13760 LIBS=$ac_check_soname_save_LIBS
13762 if ${ac_cv_lib_soname_gsm:+false} :; then :
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13764 $as_echo "not found" >&6; }
13766 else
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13768 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13770 cat >>confdefs.h <<_ACEOF
13771 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13772 _ACEOF
13777 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13778 case "x$with_gsm" in
13779 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13780 xno) ;;
13781 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13782 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13783 esac
13787 if test "x$with_krb5" != "xno"
13788 then
13789 if ${KRB5_CFLAGS:+false} :; then :
13790 if ${PKG_CONFIG+:} false; then :
13791 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13794 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13795 if ${KRB5_LIBS:+false} :; then :
13796 if ${PKG_CONFIG+:} false; then :
13797 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13800 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13802 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13803 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13804 ac_save_CPPFLAGS=$CPPFLAGS
13805 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13806 for ac_header in krb5/krb5.h
13807 do :
13808 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13809 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13810 cat >>confdefs.h <<_ACEOF
13811 #define HAVE_KRB5_KRB5_H 1
13812 _ACEOF
13816 done
13818 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13819 then
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13821 $as_echo_n "checking for -lkrb5... " >&6; }
13822 if ${ac_cv_lib_soname_krb5+:} false; then :
13823 $as_echo_n "(cached) " >&6
13824 else
13825 ac_check_soname_save_LIBS=$LIBS
13826 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13833 #ifdef __cplusplus
13834 extern "C"
13835 #endif
13836 char krb5_init_context ();
13838 main ()
13840 return krb5_init_context ();
13842 return 0;
13844 _ACEOF
13845 if ac_fn_c_try_link "$LINENO"; then :
13846 case "$LIBEXT" in
13847 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13848 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'` ;;
13849 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13850 if ${ac_cv_lib_soname_krb5:+false} :; then :
13851 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13852 fi ;;
13853 esac
13855 rm -f core conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13857 LIBS=$ac_check_soname_save_LIBS
13859 if ${ac_cv_lib_soname_krb5:+false} :; then :
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13861 $as_echo "not found" >&6; }
13862 KRB5_CFLAGS=""
13863 else
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13865 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13867 cat >>confdefs.h <<_ACEOF
13868 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13869 _ACEOF
13873 else
13874 KRB5_CFLAGS=""
13876 CPPFLAGS=$ac_save_CPPFLAGS
13877 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13878 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13881 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13882 case "x$with_krb5" in
13883 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13884 xno) ;;
13885 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13886 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13887 esac
13891 if test "x$with_gssapi" != "xno"
13892 then
13893 if ${GSSAPI_CFLAGS:+false} :; then :
13894 if ${PKG_CONFIG+:} false; then :
13895 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13898 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13899 if ${GSSAPI_LIBS:+false} :; then :
13900 if ${PKG_CONFIG+:} false; then :
13901 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13904 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13906 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13907 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13908 ac_save_CPPFLAGS=$CPPFLAGS
13909 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13910 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13911 do :
13912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13913 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13914 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13915 cat >>confdefs.h <<_ACEOF
13916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13917 _ACEOF
13921 done
13923 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13924 then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13926 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13927 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13928 $as_echo_n "(cached) " >&6
13929 else
13930 ac_check_soname_save_LIBS=$LIBS
13931 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13935 /* Override any GCC internal prototype to avoid an error.
13936 Use char because int might match the return type of a GCC
13937 builtin and then its argument prototype would still apply. */
13938 #ifdef __cplusplus
13939 extern "C"
13940 #endif
13941 char gss_init_sec_context ();
13943 main ()
13945 return gss_init_sec_context ();
13947 return 0;
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"; then :
13951 case "$LIBEXT" in
13952 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13953 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'` ;;
13954 *) 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'`
13955 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13956 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13957 fi ;;
13958 esac
13960 rm -f core conftest.err conftest.$ac_objext \
13961 conftest$ac_exeext conftest.$ac_ext
13962 LIBS=$ac_check_soname_save_LIBS
13964 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13966 $as_echo "not found" >&6; }
13967 GSSAPI_CFLAGS=""
13968 else
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13970 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13972 cat >>confdefs.h <<_ACEOF
13973 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13974 _ACEOF
13978 else
13979 GSSAPI_CFLAGS=""
13981 CPPFLAGS=$ac_save_CPPFLAGS
13982 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13983 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13986 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13987 case "x$with_gssapi" in
13988 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13989 xno) ;;
13990 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13991 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13992 esac
13996 if test "x$with_jpeg" != "xno"
13997 then
13998 if ${JPEG_CFLAGS:+false} :; then :
13999 if ${PKG_CONFIG+:} false; then :
14000 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14004 if ${JPEG_LIBS:+false} :; then :
14005 if ${PKG_CONFIG+:} false; then :
14006 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14011 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14012 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14013 ac_save_CPPFLAGS=$CPPFLAGS
14014 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14015 for ac_header in jpeglib.h
14016 do :
14017 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14018 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14019 cat >>confdefs.h <<_ACEOF
14020 #define HAVE_JPEGLIB_H 1
14021 _ACEOF
14025 done
14027 if test "$ac_cv_header_jpeglib_h" = "yes"
14028 then
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14030 $as_echo_n "checking for -ljpeg... " >&6; }
14031 if ${ac_cv_lib_soname_jpeg+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_check_soname_save_LIBS=$LIBS
14035 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14042 #ifdef __cplusplus
14043 extern "C"
14044 #endif
14045 char jpeg_start_decompress ();
14047 main ()
14049 return jpeg_start_decompress ();
14051 return 0;
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"; then :
14055 case "$LIBEXT" in
14056 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14057 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'` ;;
14058 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14059 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14060 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14061 fi ;;
14062 esac
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_soname_save_LIBS
14068 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14070 $as_echo "not found" >&6; }
14071 JPEG_CFLAGS=""
14072 else
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14074 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14076 cat >>confdefs.h <<_ACEOF
14077 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14078 _ACEOF
14082 else
14083 JPEG_CFLAGS=""
14085 CPPFLAGS=$ac_save_CPPFLAGS
14086 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14087 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14090 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14091 case "x$with_jpeg" in
14092 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14093 xno) ;;
14094 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14095 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14096 esac
14100 if test "x$with_png" != "xno"
14101 then
14102 if ${PNG_CFLAGS:+false} :; then :
14103 if ${PKG_CONFIG+:} false; then :
14104 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14107 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14108 if ${PNG_LIBS:+false} :; then :
14109 if ${PKG_CONFIG+:} false; then :
14110 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14113 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14115 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14116 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14117 ac_save_CPPFLAGS=$CPPFLAGS
14118 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14119 for ac_header in png.h
14120 do :
14121 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14122 if test "x$ac_cv_header_png_h" = xyes; then :
14123 cat >>confdefs.h <<_ACEOF
14124 #define HAVE_PNG_H 1
14125 _ACEOF
14129 done
14131 if test "$ac_cv_header_png_h" = "yes"
14132 then
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14134 $as_echo_n "checking for -lpng... " >&6; }
14135 if ${ac_cv_lib_soname_png+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_check_soname_save_LIBS=$LIBS
14139 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14143 /* Override any GCC internal prototype to avoid an error.
14144 Use char because int might match the return type of a GCC
14145 builtin and then its argument prototype would still apply. */
14146 #ifdef __cplusplus
14147 extern "C"
14148 #endif
14149 char png_create_read_struct ();
14151 main ()
14153 return png_create_read_struct ();
14155 return 0;
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159 case "$LIBEXT" in
14160 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14161 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'` ;;
14162 *) 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'`
14163 if ${ac_cv_lib_soname_png:+false} :; then :
14164 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14165 fi ;;
14166 esac
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14170 LIBS=$ac_check_soname_save_LIBS
14172 if ${ac_cv_lib_soname_png:+false} :; then :
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14174 $as_echo "not found" >&6; }
14175 PNG_CFLAGS=""
14176 else
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14178 $as_echo "$ac_cv_lib_soname_png" >&6; }
14180 cat >>confdefs.h <<_ACEOF
14181 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14182 _ACEOF
14186 else
14187 PNG_CFLAGS=""
14189 CPPFLAGS=$ac_save_CPPFLAGS
14190 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14191 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14194 if test "x$ac_cv_lib_soname_png" = "x"; then :
14195 case "x$with_png" in
14196 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14197 xno) ;;
14198 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14199 This is an error since --with-png was requested." "$LINENO" 5 ;;
14200 esac
14204 if test "x$with_tiff" != "xno"
14205 then
14206 if ${TIFF_CFLAGS:+false} :; then :
14207 if ${PKG_CONFIG+:} false; then :
14208 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14212 if ${TIFF_LIBS:+false} :; then :
14213 if ${PKG_CONFIG+:} false; then :
14214 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14219 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14220 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14221 ac_save_CPPFLAGS=$CPPFLAGS
14222 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14223 for ac_header in tiffio.h
14224 do :
14225 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14226 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14227 cat >>confdefs.h <<_ACEOF
14228 #define HAVE_TIFFIO_H 1
14229 _ACEOF
14233 done
14235 if test "$ac_cv_header_tiffio_h" = "yes"
14236 then
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14238 $as_echo_n "checking for -ltiff... " >&6; }
14239 if ${ac_cv_lib_soname_tiff+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 ac_check_soname_save_LIBS=$LIBS
14243 LIBS="-ltiff $TIFF_LIBS $LIBS"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 /* Override any GCC internal prototype to avoid an error.
14248 Use char because int might match the return type of a GCC
14249 builtin and then its argument prototype would still apply. */
14250 #ifdef __cplusplus
14251 extern "C"
14252 #endif
14253 char TIFFClientOpen ();
14255 main ()
14257 return TIFFClientOpen ();
14259 return 0;
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"; then :
14263 case "$LIBEXT" in
14264 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14265 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'` ;;
14266 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14267 if ${ac_cv_lib_soname_tiff:+false} :; then :
14268 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14269 fi ;;
14270 esac
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 LIBS=$ac_check_soname_save_LIBS
14276 if ${ac_cv_lib_soname_tiff:+false} :; then :
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14278 $as_echo "not found" >&6; }
14280 else
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14282 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14284 cat >>confdefs.h <<_ACEOF
14285 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14286 _ACEOF
14291 CPPFLAGS=$ac_save_CPPFLAGS
14292 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14293 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14296 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14297 case "x$with_tiff" in
14298 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14299 xno) ;;
14300 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14301 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14302 esac
14306 if test "x$with_mpg123" != "xno"
14307 then
14308 if ${MPG123_CFLAGS:+false} :; then :
14309 if ${PKG_CONFIG+:} false; then :
14310 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14314 if ${MPG123_LIBS:+false} :; then :
14315 if ${PKG_CONFIG+:} false; then :
14316 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14320 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14321 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14322 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14323 ac_save_CPPFLAGS=$CPPFLAGS
14324 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14325 for ac_header in mpg123.h
14326 do :
14327 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14328 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14329 cat >>confdefs.h <<_ACEOF
14330 #define HAVE_MPG123_H 1
14331 _ACEOF
14335 done
14337 if test "$ac_cv_header_mpg123_h" = "yes"
14338 then
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14340 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14341 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14342 $as_echo_n "(cached) " >&6
14343 else
14344 ac_check_lib_save_LIBS=$LIBS
14345 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14352 #ifdef __cplusplus
14353 extern "C"
14354 #endif
14355 char mpg123_feed ();
14357 main ()
14359 return mpg123_feed ();
14361 return 0;
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 ac_cv_lib_mpg123_mpg123_feed=yes
14366 else
14367 ac_cv_lib_mpg123_mpg123_feed=no
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14371 LIBS=$ac_check_lib_save_LIBS
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14374 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14375 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14377 else
14378 MPG123_LIBS=""
14381 else
14382 MPG123_CFLAGS=""
14383 MPG123_LIBS=""
14385 CPPFLAGS=$ac_save_CPPFLAGS
14386 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14387 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14390 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14391 case "x$with_mpg123" in
14392 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14393 xno) ;;
14394 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14395 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14396 esac
14397 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14400 if test "$ac_cv_header_AL_al_h" = "yes"
14401 then
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14403 $as_echo_n "checking for -lopenal... " >&6; }
14404 if ${ac_cv_lib_soname_openal+:} false; then :
14405 $as_echo_n "(cached) " >&6
14406 else
14407 ac_check_soname_save_LIBS=$LIBS
14408 LIBS="-lopenal $LIBS"
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14412 /* Override any GCC internal prototype to avoid an error.
14413 Use char because int might match the return type of a GCC
14414 builtin and then its argument prototype would still apply. */
14415 #ifdef __cplusplus
14416 extern "C"
14417 #endif
14418 char alGetSource3i ();
14420 main ()
14422 return alGetSource3i ();
14424 return 0;
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"; then :
14428 case "$LIBEXT" in
14429 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14430 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'` ;;
14431 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14432 if ${ac_cv_lib_soname_openal:+false} :; then :
14433 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14434 fi ;;
14435 esac
14437 rm -f core conftest.err conftest.$ac_objext \
14438 conftest$ac_exeext conftest.$ac_ext
14439 LIBS=$ac_check_soname_save_LIBS
14441 if ${ac_cv_lib_soname_openal:+false} :; then :
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14443 $as_echo "not found" >&6; }
14445 else
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14447 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14449 cat >>confdefs.h <<_ACEOF
14450 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14451 _ACEOF
14453 OPENAL_LIBS="-lopenal"
14455 ac_cv_lib_openal=yes
14457 cat >>confdefs.h <<_ACEOF
14458 #define HAVE_OPENAL 1
14459 _ACEOF
14463 if test "x$ac_cv_lib_openal" != xyes; then :
14464 case "x$with_openal" in
14465 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14466 xno) ;;
14467 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14468 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14469 esac
14470 enable_openal32=${enable_openal32:-no}
14473 if test "x$ac_cv_lib_openal" = xyes
14474 then
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14476 $as_echo_n "checking for openal-soft... " >&6; }
14477 if ${ac_cv_have_openalsoft+:} false; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14482 #include <AL/al.h>
14483 #include <AL/alc.h>
14484 #include <AL/alext.h>
14485 LPALCRENDERSAMPLESSOFT x;
14487 main ()
14491 return 0;
14493 _ACEOF
14494 if ac_fn_c_try_compile "$LINENO"; then :
14495 ac_cv_have_openalsoft=yes
14496 else
14497 ac_cv_have_openalsoft=no
14499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14502 $as_echo "$ac_cv_have_openalsoft" >&6; }
14504 if test "x$ac_cv_have_openalsoft" != xyes
14505 then
14506 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14507 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14508 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14509 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14510 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14511 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14512 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14513 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14514 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14515 enable_xapofx1_1=${enable_xapofx1_1:-no}
14516 enable_xapofx1_2=${enable_xapofx1_2:-no}
14517 enable_xapofx1_3=${enable_xapofx1_3:-no}
14518 enable_xapofx1_4=${enable_xapofx1_4:-no}
14519 enable_xapofx1_5=${enable_xapofx1_5:-no}
14520 enable_xaudio2_0=${enable_xaudio2_0:-no}
14521 enable_xaudio2_1=${enable_xaudio2_1:-no}
14522 enable_xaudio2_2=${enable_xaudio2_2:-no}
14523 enable_xaudio2_3=${enable_xaudio2_3:-no}
14524 enable_xaudio2_4=${enable_xaudio2_4:-no}
14525 enable_xaudio2_5=${enable_xaudio2_5:-no}
14526 enable_xaudio2_6=${enable_xaudio2_6:-no}
14527 enable_xaudio2_7=${enable_xaudio2_7:-no}
14528 enable_xaudio2_8=${enable_xaudio2_8:-no}
14529 enable_xaudio2_9=${enable_xaudio2_9:-no}
14532 if test "$ac_cv_header_kstat_h" = "yes"
14533 then
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14535 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14536 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14537 $as_echo_n "(cached) " >&6
14538 else
14539 ac_check_lib_save_LIBS=$LIBS
14540 LIBS="-lkstat $LIBS"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14544 /* Override any GCC internal prototype to avoid an error.
14545 Use char because int might match the return type of a GCC
14546 builtin and then its argument prototype would still apply. */
14547 #ifdef __cplusplus
14548 extern "C"
14549 #endif
14550 char kstat_open ();
14552 main ()
14554 return kstat_open ();
14556 return 0;
14558 _ACEOF
14559 if ac_fn_c_try_link "$LINENO"; then :
14560 ac_cv_lib_kstat_kstat_open=yes
14561 else
14562 ac_cv_lib_kstat_kstat_open=no
14564 rm -f core conftest.err conftest.$ac_objext \
14565 conftest$ac_exeext conftest.$ac_ext
14566 LIBS=$ac_check_lib_save_LIBS
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14569 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14570 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14572 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14574 KSTAT_LIBS="-lkstat"
14580 if test "$ac_cv_header_libprocstat_h" = "yes"
14581 then
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14583 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14584 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 ac_check_lib_save_LIBS=$LIBS
14588 LIBS="-lprocstat $LIBS"
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14592 /* Override any GCC internal prototype to avoid an error.
14593 Use char because int might match the return type of a GCC
14594 builtin and then its argument prototype would still apply. */
14595 #ifdef __cplusplus
14596 extern "C"
14597 #endif
14598 char procstat_open_sysctl ();
14600 main ()
14602 return procstat_open_sysctl ();
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"; then :
14608 ac_cv_lib_procstat_procstat_open_sysctl=yes
14609 else
14610 ac_cv_lib_procstat_procstat_open_sysctl=no
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LIBS=$ac_check_lib_save_LIBS
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14617 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14618 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14620 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14622 PROCSTAT_LIBS="-lprocstat"
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14629 $as_echo_n "checking for -lodbc... " >&6; }
14630 if ${ac_cv_lib_soname_odbc+:} false; then :
14631 $as_echo_n "(cached) " >&6
14632 else
14633 ac_check_soname_save_LIBS=$LIBS
14634 LIBS="-lodbc $LIBS"
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 /* Override any GCC internal prototype to avoid an error.
14639 Use char because int might match the return type of a GCC
14640 builtin and then its argument prototype would still apply. */
14641 #ifdef __cplusplus
14642 extern "C"
14643 #endif
14644 char SQLConnect ();
14646 main ()
14648 return SQLConnect ();
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 case "$LIBEXT" in
14655 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14656 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'` ;;
14657 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14658 if ${ac_cv_lib_soname_odbc:+false} :; then :
14659 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14660 fi ;;
14661 esac
14663 rm -f core conftest.err conftest.$ac_objext \
14664 conftest$ac_exeext conftest.$ac_ext
14665 LIBS=$ac_check_soname_save_LIBS
14667 if ${ac_cv_lib_soname_odbc:+false} :; then :
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14669 $as_echo "not found" >&6; }
14670 cat >>confdefs.h <<_ACEOF
14671 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14672 _ACEOF
14674 else
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14676 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14678 cat >>confdefs.h <<_ACEOF
14679 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14680 _ACEOF
14685 if test "x$with_netapi" != "xno"
14686 then
14687 if ${NETAPI_CFLAGS:+false} :; then :
14688 if ${PKG_CONFIG+:} false; then :
14689 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14693 if ${NETAPI_LIBS:+false} :; then :
14694 if ${PKG_CONFIG+:} false; then :
14695 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14700 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14701 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14702 ac_save_CPPFLAGS=$CPPFLAGS
14703 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14705 $as_echo_n "checking for -lnetapi... " >&6; }
14706 if ${ac_cv_lib_soname_netapi+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 ac_check_soname_save_LIBS=$LIBS
14710 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14714 /* Override any GCC internal prototype to avoid an error.
14715 Use char because int might match the return type of a GCC
14716 builtin and then its argument prototype would still apply. */
14717 #ifdef __cplusplus
14718 extern "C"
14719 #endif
14720 char libnetapi_init ();
14722 main ()
14724 return libnetapi_init ();
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 case "$LIBEXT" in
14731 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14732 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'` ;;
14733 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14734 if ${ac_cv_lib_soname_netapi:+false} :; then :
14735 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14736 fi ;;
14737 esac
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 LIBS=$ac_check_soname_save_LIBS
14743 if ${ac_cv_lib_soname_netapi:+false} :; then :
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14745 $as_echo "not found" >&6; }
14746 cat >>confdefs.h <<_ACEOF
14747 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14748 _ACEOF
14750 else
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14752 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14754 cat >>confdefs.h <<_ACEOF
14755 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14756 _ACEOF
14760 CPPFLAGS=$ac_save_CPPFLAGS
14761 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14762 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14766 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14767 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14768 then
14769 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14773 EXTRACFLAGS=""
14775 if test "x${GCC}" = "xyes"
14776 then
14777 EXTRACFLAGS="-Wall -pipe"
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14780 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14781 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14782 $as_echo_n "(cached) " >&6
14783 else
14784 if test "$cross_compiling" = yes; then :
14785 ac_cv_c_gcc_strength_bug="no"
14786 else
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int L[4] = {0,1,2,3};
14791 main ()
14793 static int Array[3];
14794 unsigned int B = 3;
14795 int i;
14796 for(i=0; i<B; i++) Array[i] = i - 3;
14797 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14798 L[i] = 4;
14799 return (Array[1] != -2 || L[2] != 3)
14801 return 0;
14803 _ACEOF
14804 if ac_fn_c_try_run "$LINENO"; then :
14805 ac_cv_c_gcc_strength_bug="no"
14806 else
14807 ac_cv_c_gcc_strength_bug="yes"
14809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14810 conftest.$ac_objext conftest.beam conftest.$ac_ext
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14815 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14816 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14817 then
14818 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14822 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14823 if ${ac_cv_cflags__fno_builtin+:} false; then :
14824 $as_echo_n "(cached) " >&6
14825 else
14826 ac_wine_try_cflags_saved=$CFLAGS
14827 CFLAGS="$CFLAGS -fno-builtin"
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14830 int main(int argc, char **argv) { return 0; }
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 ac_cv_cflags__fno_builtin=yes
14834 else
14835 ac_cv_cflags__fno_builtin=no
14837 rm -f core conftest.err conftest.$ac_objext \
14838 conftest$ac_exeext conftest.$ac_ext
14839 CFLAGS=$ac_wine_try_cflags_saved
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14842 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14843 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14844 BUILTINFLAG="-fno-builtin"
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14848 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14849 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14850 $as_echo_n "(cached) " >&6
14851 else
14852 ac_wine_try_cflags_saved=$CFLAGS
14853 CFLAGS="$CFLAGS -fno-strict-aliasing"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14856 int main(int argc, char **argv) { return 0; }
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"; then :
14859 ac_cv_cflags__fno_strict_aliasing=yes
14860 else
14861 ac_cv_cflags__fno_strict_aliasing=no
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 CFLAGS=$ac_wine_try_cflags_saved
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14868 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14869 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14870 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14873 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14874 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 ac_wine_try_cflags_saved=$CFLAGS
14878 CFLAGS="$CFLAGS -fexcess-precision=standard"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 int main(int argc, char **argv) { return 0; }
14882 _ACEOF
14883 if ac_fn_c_try_link "$LINENO"; then :
14884 ac_cv_cflags__fexcess_precision_standard=yes
14885 else
14886 ac_cv_cflags__fexcess_precision_standard=no
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14890 CFLAGS=$ac_wine_try_cflags_saved
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14893 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14894 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14895 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14898 saved_CFLAGS=$CFLAGS
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14900 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14901 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14902 $as_echo_n "(cached) " >&6
14903 else
14904 ac_wine_try_cflags_saved=$CFLAGS
14905 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 int main(int argc, char **argv) { return 0; }
14909 _ACEOF
14910 if ac_fn_c_try_link "$LINENO"; then :
14911 ac_cv_cflags__Werror_unknown_warning_option=yes
14912 else
14913 ac_cv_cflags__Werror_unknown_warning_option=no
14915 rm -f core conftest.err conftest.$ac_objext \
14916 conftest$ac_exeext conftest.$ac_ext
14917 CFLAGS=$ac_wine_try_cflags_saved
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14920 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14921 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14922 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14925 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14926 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14927 $as_echo_n "(cached) " >&6
14928 else
14929 ac_wine_try_cflags_saved=$CFLAGS
14930 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14933 int main(int argc, char **argv) { return 0; }
14934 _ACEOF
14935 if ac_fn_c_try_link "$LINENO"; then :
14936 ac_cv_cflags__Wdeclaration_after_statement=yes
14937 else
14938 ac_cv_cflags__Wdeclaration_after_statement=no
14940 rm -f core conftest.err conftest.$ac_objext \
14941 conftest$ac_exeext conftest.$ac_ext
14942 CFLAGS=$ac_wine_try_cflags_saved
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14945 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14946 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14947 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14950 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14951 if ${ac_cv_cflags__Wempty_body+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 ac_wine_try_cflags_saved=$CFLAGS
14955 CFLAGS="$CFLAGS -Wempty-body"
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14958 int main(int argc, char **argv) { return 0; }
14959 _ACEOF
14960 if ac_fn_c_try_link "$LINENO"; then :
14961 ac_cv_cflags__Wempty_body=yes
14962 else
14963 ac_cv_cflags__Wempty_body=no
14965 rm -f core conftest.err conftest.$ac_objext \
14966 conftest$ac_exeext conftest.$ac_ext
14967 CFLAGS=$ac_wine_try_cflags_saved
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14970 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14971 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14972 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14975 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14976 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14977 $as_echo_n "(cached) " >&6
14978 else
14979 ac_wine_try_cflags_saved=$CFLAGS
14980 CFLAGS="$CFLAGS -Wignored-qualifiers"
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14983 int main(int argc, char **argv) { return 0; }
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"; then :
14986 ac_cv_cflags__Wignored_qualifiers=yes
14987 else
14988 ac_cv_cflags__Wignored_qualifiers=no
14990 rm -f core conftest.err conftest.$ac_objext \
14991 conftest$ac_exeext conftest.$ac_ext
14992 CFLAGS=$ac_wine_try_cflags_saved
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14995 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14996 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14997 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15000 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15001 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15002 $as_echo_n "(cached) " >&6
15003 else
15004 ac_wine_try_cflags_saved=$CFLAGS
15005 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 int main(int argc, char **argv) { return 0; }
15009 _ACEOF
15010 if ac_fn_c_try_link "$LINENO"; then :
15011 ac_cv_cflags__Wpacked_not_aligned=yes
15012 else
15013 ac_cv_cflags__Wpacked_not_aligned=no
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext conftest.$ac_ext
15017 CFLAGS=$ac_wine_try_cflags_saved
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15020 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15021 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15022 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15025 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15026 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 ac_wine_try_cflags_saved=$CFLAGS
15030 CFLAGS="$CFLAGS -Wpragma-pack"
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 int main(int argc, char **argv) { return 0; }
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 ac_cv_cflags__Wpragma_pack=yes
15037 else
15038 ac_cv_cflags__Wpragma_pack=no
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15042 CFLAGS=$ac_wine_try_cflags_saved
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15045 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15046 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15047 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15050 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15051 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15052 $as_echo_n "(cached) " >&6
15053 else
15054 ac_wine_try_cflags_saved=$CFLAGS
15055 CFLAGS="$CFLAGS -Wshift-overflow=2"
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15058 int main(int argc, char **argv) { return 0; }
15059 _ACEOF
15060 if ac_fn_c_try_link "$LINENO"; then :
15061 ac_cv_cflags__Wshift_overflow_2=yes
15062 else
15063 ac_cv_cflags__Wshift_overflow_2=no
15065 rm -f core conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15067 CFLAGS=$ac_wine_try_cflags_saved
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15070 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15071 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15072 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15075 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15076 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 ac_wine_try_cflags_saved=$CFLAGS
15080 CFLAGS="$CFLAGS -Wstrict-prototypes"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 int main(int argc, char **argv) { return 0; }
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"; then :
15086 ac_cv_cflags__Wstrict_prototypes=yes
15087 else
15088 ac_cv_cflags__Wstrict_prototypes=no
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15092 CFLAGS=$ac_wine_try_cflags_saved
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15095 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15096 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15097 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15100 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15101 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15102 $as_echo_n "(cached) " >&6
15103 else
15104 ac_wine_try_cflags_saved=$CFLAGS
15105 CFLAGS="$CFLAGS -Wtype-limits"
15106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15108 int main(int argc, char **argv) { return 0; }
15109 _ACEOF
15110 if ac_fn_c_try_link "$LINENO"; then :
15111 ac_cv_cflags__Wtype_limits=yes
15112 else
15113 ac_cv_cflags__Wtype_limits=no
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext
15117 CFLAGS=$ac_wine_try_cflags_saved
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15120 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15121 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15122 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15125 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15126 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 ac_wine_try_cflags_saved=$CFLAGS
15130 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15133 int main(int argc, char **argv) { return 0; }
15134 _ACEOF
15135 if ac_fn_c_try_link "$LINENO"; then :
15136 ac_cv_cflags__Wunused_but_set_parameter=yes
15137 else
15138 ac_cv_cflags__Wunused_but_set_parameter=no
15140 rm -f core conftest.err conftest.$ac_objext \
15141 conftest$ac_exeext conftest.$ac_ext
15142 CFLAGS=$ac_wine_try_cflags_saved
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15145 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15146 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15147 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15150 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15151 if ${ac_cv_cflags__Wvla+:} false; then :
15152 $as_echo_n "(cached) " >&6
15153 else
15154 ac_wine_try_cflags_saved=$CFLAGS
15155 CFLAGS="$CFLAGS -Wvla"
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 int main(int argc, char **argv) { return 0; }
15159 _ACEOF
15160 if ac_fn_c_try_link "$LINENO"; then :
15161 ac_cv_cflags__Wvla=yes
15162 else
15163 ac_cv_cflags__Wvla=no
15165 rm -f core conftest.err conftest.$ac_objext \
15166 conftest$ac_exeext conftest.$ac_ext
15167 CFLAGS=$ac_wine_try_cflags_saved
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15170 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15171 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15172 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15175 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15176 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15177 $as_echo_n "(cached) " >&6
15178 else
15179 ac_wine_try_cflags_saved=$CFLAGS
15180 CFLAGS="$CFLAGS -Wwrite-strings"
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 int main(int argc, char **argv) { return 0; }
15184 _ACEOF
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 ac_cv_cflags__Wwrite_strings=yes
15187 else
15188 ac_cv_cflags__Wwrite_strings=no
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15192 CFLAGS=$ac_wine_try_cflags_saved
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15195 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15196 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15197 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15201 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15202 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15203 $as_echo_n "(cached) " >&6
15204 else
15205 ac_wine_try_cflags_saved=$CFLAGS
15206 CFLAGS="$CFLAGS -Wpointer-arith"
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15209 int main(int argc, char **argv) { return 0; }
15210 _ACEOF
15211 if ac_fn_c_try_link "$LINENO"; then :
15212 ac_cv_cflags__Wpointer_arith=yes
15213 else
15214 ac_cv_cflags__Wpointer_arith=no
15216 rm -f core conftest.err conftest.$ac_objext \
15217 conftest$ac_exeext conftest.$ac_ext
15218 CFLAGS=$ac_wine_try_cflags_saved
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15221 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15222 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15223 saved_string_h_CFLAGS=$CFLAGS
15224 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15226 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15227 if ${ac_cv_c_string_h_warnings+:} false; then :
15228 $as_echo_n "(cached) " >&6
15229 else
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232 #include <string.h>
15234 main ()
15238 return 0;
15240 _ACEOF
15241 if ac_fn_c_try_compile "$LINENO"; then :
15242 ac_cv_c_string_h_warnings=no
15243 else
15244 ac_cv_c_string_h_warnings=yes
15246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15249 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15250 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15251 CFLAGS=$saved_string_h_CFLAGS
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15255 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15256 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15257 $as_echo_n "(cached) " >&6
15258 else
15259 ac_wine_try_cflags_saved=$CFLAGS
15260 CFLAGS="$CFLAGS -Wlogical-op"
15261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15262 /* end confdefs.h. */
15263 int main(int argc, char **argv) { return 0; }
15264 _ACEOF
15265 if ac_fn_c_try_link "$LINENO"; then :
15266 ac_cv_cflags__Wlogical_op=yes
15267 else
15268 ac_cv_cflags__Wlogical_op=no
15270 rm -f core conftest.err conftest.$ac_objext \
15271 conftest$ac_exeext conftest.$ac_ext
15272 CFLAGS=$ac_wine_try_cflags_saved
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15275 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15276 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15277 saved_string_h_CFLAGS=$CFLAGS
15278 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15280 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15281 if ${ac_cv_c_logicalop_noisy+:} false; then :
15282 $as_echo_n "(cached) " >&6
15283 else
15284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15286 #include <string.h>
15287 char*f(const char *h,char n) {return strchr(h,n);}
15289 main ()
15293 return 0;
15295 _ACEOF
15296 if ac_fn_c_try_compile "$LINENO"; then :
15297 ac_cv_c_logicalop_noisy=no
15298 else
15299 ac_cv_c_logicalop_noisy=yes
15301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15304 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15305 CFLAGS=$saved_string_h_CFLAGS
15306 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15309 CFLAGS=$saved_CFLAGS
15311 for ac_flag in $CFLAGS; do
15312 case $ac_flag in
15313 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15314 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15315 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15318 ac_wine_try_cflags_saved=$CFLAGS
15319 CFLAGS="$CFLAGS -gdwarf-2"
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15322 int main(int argc, char **argv) { return 0; }
15323 _ACEOF
15324 if ac_fn_c_try_link "$LINENO"; then :
15325 ac_cv_cflags__gdwarf_2=yes
15326 else
15327 ac_cv_cflags__gdwarf_2=no
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331 CFLAGS=$ac_wine_try_cflags_saved
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15334 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15335 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15336 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15339 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15340 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15341 $as_echo_n "(cached) " >&6
15342 else
15343 ac_wine_try_cflags_saved=$CFLAGS
15344 CFLAGS="$CFLAGS -gstrict-dwarf"
15345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 int main(int argc, char **argv) { return 0; }
15348 _ACEOF
15349 if ac_fn_c_try_link "$LINENO"; then :
15350 ac_cv_cflags__gstrict_dwarf=yes
15351 else
15352 ac_cv_cflags__gstrict_dwarf=no
15354 rm -f core conftest.err conftest.$ac_objext \
15355 conftest$ac_exeext conftest.$ac_ext
15356 CFLAGS=$ac_wine_try_cflags_saved
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15359 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15360 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15361 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15362 fi ;;
15363 esac
15364 done
15366 case $host_cpu in
15367 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15368 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15369 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 ac_wine_try_cflags_saved=$CFLAGS
15373 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15376 int main(int argc, char **argv) { return 0; }
15377 _ACEOF
15378 if ac_fn_c_try_link "$LINENO"; then :
15379 ac_cv_cflags__fno_omit_frame_pointer=yes
15380 else
15381 ac_cv_cflags__fno_omit_frame_pointer=no
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext conftest.$ac_ext
15385 CFLAGS=$ac_wine_try_cflags_saved
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15388 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15389 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15390 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15391 fi ;;
15392 esac
15394 case $host in
15395 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15396 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15397 if ${ac_cv_cflags__Wno_format+:} false; then :
15398 $as_echo_n "(cached) " >&6
15399 else
15400 ac_wine_try_cflags_saved=$CFLAGS
15401 CFLAGS="$CFLAGS -Wno-format"
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15404 int main(int argc, char **argv) { return 0; }
15405 _ACEOF
15406 if ac_fn_c_try_link "$LINENO"; then :
15407 ac_cv_cflags__Wno_format=yes
15408 else
15409 ac_cv_cflags__Wno_format=no
15411 rm -f core conftest.err conftest.$ac_objext \
15412 conftest$ac_exeext conftest.$ac_ext
15413 CFLAGS=$ac_wine_try_cflags_saved
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15416 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15417 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15418 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15419 fi ;;
15420 esac
15422 if test "x$enable_maintainer_mode" = "xyes"
15423 then
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15425 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15426 if ${ac_cv_cflags__Werror+:} false; then :
15427 $as_echo_n "(cached) " >&6
15428 else
15429 ac_wine_try_cflags_saved=$CFLAGS
15430 CFLAGS="$CFLAGS -Werror"
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15433 int main(int argc, char **argv) { return 0; }
15434 _ACEOF
15435 if ac_fn_c_try_link "$LINENO"; then :
15436 ac_cv_cflags__Werror=yes
15437 else
15438 ac_cv_cflags__Werror=no
15440 rm -f core conftest.err conftest.$ac_objext \
15441 conftest$ac_exeext conftest.$ac_ext
15442 CFLAGS=$ac_wine_try_cflags_saved
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15445 $as_echo "$ac_cv_cflags__Werror" >&6; }
15446 if test "x$ac_cv_cflags__Werror" = xyes; then :
15447 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15451 saved_CFLAGS="$CFLAGS"
15452 CFLAGS="$CFLAGS -Werror"
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15454 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15455 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15456 $as_echo_n "(cached) " >&6
15457 else
15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15460 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15462 main ()
15466 return 0;
15468 _ACEOF
15469 if ac_fn_c_try_compile "$LINENO"; then :
15470 ac_cv_have_ms_hook_prologue="yes"
15471 else
15472 ac_cv_have_ms_hook_prologue="no"
15474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15477 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15478 CFLAGS="$saved_CFLAGS"
15479 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15480 then
15482 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15484 else
15485 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15492 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15493 if ${ac_cv_c_fortify_enabled+:} false; then :
15494 $as_echo_n "(cached) " >&6
15495 else
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15498 #include <string.h>
15500 main ()
15502 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15503 #error Fortify enabled
15504 #endif
15506 return 0;
15508 _ACEOF
15509 if ac_fn_c_try_compile "$LINENO"; then :
15510 ac_cv_c_fortify_enabled=no
15511 else
15512 ac_cv_c_fortify_enabled=yes
15514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15517 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15518 if test "$ac_cv_c_fortify_enabled" = yes
15519 then
15520 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15525 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15526 if ${ac_cv_c_extern_prefix+:} false; then :
15527 $as_echo_n "(cached) " >&6
15528 else
15529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15531 extern int ac_test;
15533 main ()
15535 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15537 return 0;
15539 _ACEOF
15540 if ac_fn_c_try_link "$LINENO"; then :
15541 ac_cv_c_extern_prefix="yes"
15542 else
15543 ac_cv_c_extern_prefix="no"
15545 rm -f core conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15549 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15551 case $host_cpu in
15552 *i[3456789]86*)
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15554 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15555 if ${ac_cv_c_stdcall_suffix+:} false; then :
15556 $as_echo_n "(cached) " >&6
15557 else
15558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15559 /* end confdefs.h. */
15560 #ifndef _MSC_VER
15561 #define __stdcall __attribute__((__stdcall__))
15562 #endif
15563 int __stdcall ac_test(int i) { return i; }
15565 main ()
15567 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15569 return 0;
15571 _ACEOF
15572 if ac_fn_c_try_link "$LINENO"; then :
15573 ac_cv_c_stdcall_suffix="yes"
15574 else
15575 ac_cv_c_stdcall_suffix="no"
15577 rm -f core conftest.err conftest.$ac_objext \
15578 conftest$ac_exeext conftest.$ac_ext
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15581 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15582 *) ac_cv_c_stdcall_suffix="no" ;;
15583 esac
15586 if test "$ac_cv_c_extern_prefix" = "yes"
15587 then
15588 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15590 asm_name_prefix="_"
15591 else
15592 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15594 asm_name_prefix=""
15598 if test "$ac_cv_c_stdcall_suffix" = "yes"
15599 then
15600 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15602 else
15603 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15609 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15610 if ${ac_cv_asm_func_def+:} false; then :
15611 $as_echo_n "(cached) " >&6
15612 else
15613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15614 /* end confdefs.h. */
15617 main ()
15619 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15621 return 0;
15623 _ACEOF
15624 if ac_fn_c_try_link "$LINENO"; then :
15625 ac_cv_asm_func_def=".def"
15626 else
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15631 main ()
15633 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15635 return 0;
15637 _ACEOF
15638 if ac_fn_c_try_link "$LINENO"; then :
15639 ac_cv_asm_func_def=".type @function"
15640 else
15641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15642 /* end confdefs.h. */
15645 main ()
15647 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15649 return 0;
15651 _ACEOF
15652 if ac_fn_c_try_link "$LINENO"; then :
15653 ac_cv_asm_func_def=".type 2"
15654 else
15655 ac_cv_asm_func_def="unknown"
15657 rm -f core conftest.err conftest.$ac_objext \
15658 conftest$ac_exeext conftest.$ac_ext
15660 rm -f core conftest.err conftest.$ac_objext \
15661 conftest$ac_exeext conftest.$ac_ext
15663 rm -f core conftest.err conftest.$ac_objext \
15664 conftest$ac_exeext conftest.$ac_ext
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15667 $as_echo "$ac_cv_asm_func_def" >&6; }
15670 case "$ac_cv_asm_func_def" in
15671 ".def")
15672 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15674 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15675 ".type @function")
15676 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15678 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15679 ".type 2")
15680 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15682 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15684 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15686 asm_func_header="" ;;
15687 esac
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15690 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15691 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15692 $as_echo_n "(cached) " >&6
15693 else
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15696 asm(".text\n\t.long 0");
15698 main ()
15702 return 0;
15704 _ACEOF
15705 if ac_fn_c_try_compile "$LINENO"; then :
15706 ac_cv_c_asm_outside_funcs="yes"
15707 else
15708 ac_cv_c_asm_outside_funcs="no"
15710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15713 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15716 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15717 if ${ac_cv_c_dot_previous+:} false; then :
15718 $as_echo_n "(cached) " >&6
15719 else
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15724 main ()
15726 asm(".text\nac_test:\t.long 0\n\t.previous");
15728 return 0;
15730 _ACEOF
15731 if ac_fn_c_try_link "$LINENO"; then :
15732 ac_cv_c_dot_previous="yes"
15733 else
15734 ac_cv_c_dot_previous="no"
15736 rm -f core conftest.err conftest.$ac_objext \
15737 conftest$ac_exeext conftest.$ac_ext
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15740 $as_echo "$ac_cv_c_dot_previous" >&6; }
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15743 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15744 if ${ac_cv_c_cfi_support+:} false; then :
15745 $as_echo_n "(cached) " >&6
15746 else
15747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15749 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15751 main ()
15755 return 0;
15757 _ACEOF
15758 if ac_fn_c_try_compile "$LINENO"; then :
15759 ac_cv_c_cfi_support="yes"
15760 else
15761 ac_cv_c_cfi_support="no"
15763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15766 $as_echo "$ac_cv_c_cfi_support" >&6; }
15768 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15769 asm_func_trailer=""
15770 if test "$ac_cv_c_dot_previous" = "yes"
15771 then
15772 asm_func_trailer="\\n\\t.previous"
15774 if test "$ac_cv_c_cfi_support" = "yes"
15775 then
15776 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15777 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15779 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15781 UNWINDFLAGS=-fasynchronous-unwind-tables
15783 else
15784 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15786 if test "x$enable_win64" = "xyes"
15787 then
15788 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15792 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15795 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15796 then
15797 cat >>confdefs.h <<_ACEOF
15798 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15799 _ACEOF
15801 else
15802 cat >>confdefs.h <<_ACEOF
15803 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15804 _ACEOF
15808 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15811 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15815 case $build_os in
15816 cygwin*|mingw32*) TOOLSEXT=".exe"
15818 esac
15820 case $host_os in
15821 linux*)
15822 case $host_cpu in
15823 *i[3456789]86*|x86_64*|*aarch64*)
15824 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15825 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15827 esac
15829 esac
15832 ac_save_CFLAGS="$CFLAGS"
15833 CFLAGS="$CFLAGS $BUILTINFLAG"
15834 for ac_func in \
15835 __res_get_state \
15836 __res_getservers \
15837 _finite \
15838 _isnan \
15839 _pclose \
15840 _popen \
15841 _snprintf \
15842 _spawnvp \
15843 _strdup \
15844 _stricmp \
15845 _strnicmp \
15846 _strtoi64 \
15847 _strtoui64 \
15848 _vsnprintf \
15849 asctime_r \
15850 chsize \
15851 dlopen \
15852 epoll_create \
15853 ffs \
15854 finitef \
15855 fnmatch \
15856 fork \
15857 fpclass \
15858 fstatfs \
15859 fstatvfs \
15860 ftruncate \
15861 futimens \
15862 futimes \
15863 futimesat \
15864 getattrlist \
15865 getauxval \
15866 getifaddrs \
15867 getopt_long_only \
15868 getpwuid \
15869 gettimeofday \
15870 getuid \
15871 isnanf \
15872 kqueue \
15873 lstat \
15874 memmove \
15875 mmap \
15876 pclose \
15877 pipe2 \
15878 poll \
15879 popen \
15880 port_create \
15881 prctl \
15882 pread \
15883 proc_pidinfo \
15884 pwrite \
15885 readdir \
15886 readlink \
15887 sched_yield \
15888 select \
15889 setproctitle \
15890 setprogname \
15891 setrlimit \
15892 settimeofday \
15893 sigaltstack \
15894 sigprocmask \
15895 snprintf \
15896 statfs \
15897 statvfs \
15898 strcasecmp \
15899 strdup \
15900 strerror \
15901 strncasecmp \
15902 strnlen \
15903 strtold \
15904 strtoll \
15905 strtoull \
15906 symlink \
15907 sysinfo \
15908 tcdrain \
15909 thr_kill2 \
15910 timegm \
15911 usleep \
15912 vsnprintf
15914 do :
15915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15917 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15918 cat >>confdefs.h <<_ACEOF
15919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15920 _ACEOF
15923 done
15925 CFLAGS="$ac_save_CFLAGS"
15927 if test "$ac_cv_func_dlopen" = no
15928 then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15930 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15931 if ${ac_cv_lib_dl_dlopen+:} false; then :
15932 $as_echo_n "(cached) " >&6
15933 else
15934 ac_check_lib_save_LIBS=$LIBS
15935 LIBS="-ldl $LIBS"
15936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15937 /* end confdefs.h. */
15939 /* Override any GCC internal prototype to avoid an error.
15940 Use char because int might match the return type of a GCC
15941 builtin and then its argument prototype would still apply. */
15942 #ifdef __cplusplus
15943 extern "C"
15944 #endif
15945 char dlopen ();
15947 main ()
15949 return dlopen ();
15951 return 0;
15953 _ACEOF
15954 if ac_fn_c_try_link "$LINENO"; then :
15955 ac_cv_lib_dl_dlopen=yes
15956 else
15957 ac_cv_lib_dl_dlopen=no
15959 rm -f core conftest.err conftest.$ac_objext \
15960 conftest$ac_exeext conftest.$ac_ext
15961 LIBS=$ac_check_lib_save_LIBS
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15964 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15965 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15966 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15967 DL_LIBS="-ldl"
15972 ac_wine_check_funcs_save_LIBS="$LIBS"
15973 LIBS="$LIBS $DL_LIBS"
15974 for ac_func in dladdr
15975 do :
15976 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15977 if test "x$ac_cv_func_dladdr" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_DLADDR 1
15980 _ACEOF
15983 done
15985 LIBS="$ac_wine_check_funcs_save_LIBS"
15987 if test "$ac_cv_func_poll" = no
15988 then
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15990 $as_echo_n "checking for poll in -lpoll... " >&6; }
15991 if ${ac_cv_lib_poll_poll+:} false; then :
15992 $as_echo_n "(cached) " >&6
15993 else
15994 ac_check_lib_save_LIBS=$LIBS
15995 LIBS="-lpoll $LIBS"
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16002 #ifdef __cplusplus
16003 extern "C"
16004 #endif
16005 char poll ();
16007 main ()
16009 return poll ();
16011 return 0;
16013 _ACEOF
16014 if ac_fn_c_try_link "$LINENO"; then :
16015 ac_cv_lib_poll_poll=yes
16016 else
16017 ac_cv_lib_poll_poll=no
16019 rm -f core conftest.err conftest.$ac_objext \
16020 conftest$ac_exeext conftest.$ac_ext
16021 LIBS=$ac_check_lib_save_LIBS
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16024 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16025 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16026 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16027 POLL_LIBS="-lpoll"
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16034 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16035 if ${ac_cv_search_gethostbyname+:} false; then :
16036 $as_echo_n "(cached) " >&6
16037 else
16038 ac_func_search_save_LIBS=$LIBS
16039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16040 /* end confdefs.h. */
16042 /* Override any GCC internal prototype to avoid an error.
16043 Use char because int might match the return type of a GCC
16044 builtin and then its argument prototype would still apply. */
16045 #ifdef __cplusplus
16046 extern "C"
16047 #endif
16048 char gethostbyname ();
16050 main ()
16052 return gethostbyname ();
16054 return 0;
16056 _ACEOF
16057 for ac_lib in '' nsl; do
16058 if test -z "$ac_lib"; then
16059 ac_res="none required"
16060 else
16061 ac_res=-l$ac_lib
16062 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16064 if ac_fn_c_try_link "$LINENO"; then :
16065 ac_cv_search_gethostbyname=$ac_res
16067 rm -f core conftest.err conftest.$ac_objext \
16068 conftest$ac_exeext
16069 if ${ac_cv_search_gethostbyname+:} false; then :
16070 break
16072 done
16073 if ${ac_cv_search_gethostbyname+:} false; then :
16075 else
16076 ac_cv_search_gethostbyname=no
16078 rm conftest.$ac_ext
16079 LIBS=$ac_func_search_save_LIBS
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16082 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16083 ac_res=$ac_cv_search_gethostbyname
16084 if test "$ac_res" != no; then :
16085 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16091 $as_echo_n "checking for library containing connect... " >&6; }
16092 if ${ac_cv_search_connect+:} false; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 ac_func_search_save_LIBS=$LIBS
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16099 /* Override any GCC internal prototype to avoid an error.
16100 Use char because int might match the return type of a GCC
16101 builtin and then its argument prototype would still apply. */
16102 #ifdef __cplusplus
16103 extern "C"
16104 #endif
16105 char connect ();
16107 main ()
16109 return connect ();
16111 return 0;
16113 _ACEOF
16114 for ac_lib in '' socket; do
16115 if test -z "$ac_lib"; then
16116 ac_res="none required"
16117 else
16118 ac_res=-l$ac_lib
16119 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16121 if ac_fn_c_try_link "$LINENO"; then :
16122 ac_cv_search_connect=$ac_res
16124 rm -f core conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext
16126 if ${ac_cv_search_connect+:} false; then :
16127 break
16129 done
16130 if ${ac_cv_search_connect+:} false; then :
16132 else
16133 ac_cv_search_connect=no
16135 rm conftest.$ac_ext
16136 LIBS=$ac_func_search_save_LIBS
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16139 $as_echo "$ac_cv_search_connect" >&6; }
16140 ac_res=$ac_cv_search_connect
16141 if test "$ac_res" != no; then :
16142 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16148 $as_echo_n "checking for library containing inet_aton... " >&6; }
16149 if ${ac_cv_search_inet_aton+:} false; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_func_search_save_LIBS=$LIBS
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char inet_aton ();
16164 main ()
16166 return inet_aton ();
16168 return 0;
16170 _ACEOF
16171 for ac_lib in '' resolv; do
16172 if test -z "$ac_lib"; then
16173 ac_res="none required"
16174 else
16175 ac_res=-l$ac_lib
16176 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16178 if ac_fn_c_try_link "$LINENO"; then :
16179 ac_cv_search_inet_aton=$ac_res
16181 rm -f core conftest.err conftest.$ac_objext \
16182 conftest$ac_exeext
16183 if ${ac_cv_search_inet_aton+:} false; then :
16184 break
16186 done
16187 if ${ac_cv_search_inet_aton+:} false; then :
16189 else
16190 ac_cv_search_inet_aton=no
16192 rm conftest.$ac_ext
16193 LIBS=$ac_func_search_save_LIBS
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16196 $as_echo "$ac_cv_search_inet_aton" >&6; }
16197 ac_res=$ac_cv_search_inet_aton
16198 if test "$ac_res" != no; then :
16199 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16204 for ac_func in \
16205 getaddrinfo \
16206 getnameinfo \
16207 getnetbyname \
16208 getprotobyname \
16209 getprotobynumber \
16210 getservbyport \
16211 inet_addr \
16212 inet_network \
16213 inet_ntop \
16214 inet_pton \
16215 sendmsg \
16216 socketpair \
16218 do :
16219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16221 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16224 _ACEOF
16227 done
16230 ac_save_LIBS=$LIBS
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16232 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16233 if ${ac_cv_search_clock_gettime+:} false; then :
16234 $as_echo_n "(cached) " >&6
16235 else
16236 ac_func_search_save_LIBS=$LIBS
16237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16238 /* end confdefs.h. */
16240 /* Override any GCC internal prototype to avoid an error.
16241 Use char because int might match the return type of a GCC
16242 builtin and then its argument prototype would still apply. */
16243 #ifdef __cplusplus
16244 extern "C"
16245 #endif
16246 char clock_gettime ();
16248 main ()
16250 return clock_gettime ();
16252 return 0;
16254 _ACEOF
16255 for ac_lib in '' rt; do
16256 if test -z "$ac_lib"; then
16257 ac_res="none required"
16258 else
16259 ac_res=-l$ac_lib
16260 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16262 if ac_fn_c_try_link "$LINENO"; then :
16263 ac_cv_search_clock_gettime=$ac_res
16265 rm -f core conftest.err conftest.$ac_objext \
16266 conftest$ac_exeext
16267 if ${ac_cv_search_clock_gettime+:} false; then :
16268 break
16270 done
16271 if ${ac_cv_search_clock_gettime+:} false; then :
16273 else
16274 ac_cv_search_clock_gettime=no
16276 rm conftest.$ac_ext
16277 LIBS=$ac_func_search_save_LIBS
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16280 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16281 ac_res=$ac_cv_search_clock_gettime
16282 if test "$ac_res" != no; then :
16283 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16285 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16287 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16291 LIBS=$ac_save_LIBS
16293 if test "x$with_ldap" != "xno"
16294 then
16295 if ${LDAP_CFLAGS:+false} :; then :
16296 if ${PKG_CONFIG+:} false; then :
16297 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16301 if ${LDAP_LIBS:+false} :; then :
16302 if ${PKG_CONFIG+:} false; then :
16303 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16307 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16308 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16309 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16310 ac_save_CPPFLAGS=$CPPFLAGS
16311 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16312 for ac_header in ldap.h lber.h
16313 do :
16314 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16315 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16319 _ACEOF
16323 done
16325 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16326 then
16327 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16329 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16331 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16332 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16333 $as_echo_n "(cached) " >&6
16334 else
16335 ac_check_lib_save_LIBS=$LIBS
16336 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16340 /* Override any GCC internal prototype to avoid an error.
16341 Use char because int might match the return type of a GCC
16342 builtin and then its argument prototype would still apply. */
16343 #ifdef __cplusplus
16344 extern "C"
16345 #endif
16346 char ldap_initialize ();
16348 main ()
16350 return ldap_initialize ();
16352 return 0;
16354 _ACEOF
16355 if ac_fn_c_try_link "$LINENO"; then :
16356 ac_cv_lib_ldap_r_ldap_initialize=yes
16357 else
16358 ac_cv_lib_ldap_r_ldap_initialize=no
16360 rm -f core conftest.err conftest.$ac_objext \
16361 conftest$ac_exeext conftest.$ac_ext
16362 LIBS=$ac_check_lib_save_LIBS
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16365 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16366 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16368 $as_echo_n "checking for ber_init in -llber... " >&6; }
16369 if ${ac_cv_lib_lber_ber_init+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 ac_check_lib_save_LIBS=$LIBS
16373 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16377 /* Override any GCC internal prototype to avoid an error.
16378 Use char because int might match the return type of a GCC
16379 builtin and then its argument prototype would still apply. */
16380 #ifdef __cplusplus
16381 extern "C"
16382 #endif
16383 char ber_init ();
16385 main ()
16387 return ber_init ();
16389 return 0;
16391 _ACEOF
16392 if ac_fn_c_try_link "$LINENO"; then :
16393 ac_cv_lib_lber_ber_init=yes
16394 else
16395 ac_cv_lib_lber_ber_init=no
16397 rm -f core conftest.err conftest.$ac_objext \
16398 conftest$ac_exeext conftest.$ac_ext
16399 LIBS=$ac_check_lib_save_LIBS
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16402 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16403 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16405 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16407 else
16408 LDAP_LIBS=""
16411 else
16412 LDAP_LIBS=""
16415 else
16416 LDAP_LIBS=""
16419 ac_wine_check_funcs_save_LIBS="$LIBS"
16420 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16421 for ac_func in \
16422 ldap_count_references \
16423 ldap_first_reference \
16424 ldap_next_reference \
16425 ldap_parse_reference \
16426 ldap_parse_sort_control \
16427 ldap_parse_sortresponse_control \
16428 ldap_parse_vlv_control \
16429 ldap_parse_vlvresponse_control
16430 do :
16431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16433 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16436 _ACEOF
16439 done
16441 LIBS="$ac_wine_check_funcs_save_LIBS"
16442 else
16443 LDAP_LIBS=""
16445 CPPFLAGS=$ac_save_CPPFLAGS
16446 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16447 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16450 if test "x$LDAP_LIBS" = "x"; then :
16451 case "x$with_ldap" in
16452 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16453 xno) ;;
16454 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16455 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16456 esac
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16461 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16462 if ${wine_cv_one_arg_mkdir+:} false; then :
16463 $as_echo_n "(cached) " >&6
16464 else
16465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16467 #include <sys/stat.h>
16469 main ()
16471 mkdir("foo");
16473 return 0;
16475 _ACEOF
16476 if ac_fn_c_try_compile "$LINENO"; then :
16477 wine_cv_one_arg_mkdir=yes
16478 else
16479 wine_cv_one_arg_mkdir=no
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16484 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16485 if test "$wine_cv_one_arg_mkdir" = "yes"
16486 then
16488 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16493 $as_echo_n "checking for sched_setaffinity... " >&6; }
16494 if ${wine_cv_have_sched_setaffinity+:} false; then :
16495 $as_echo_n "(cached) " >&6
16496 else
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16499 #define _GNU_SOURCE
16500 #include <sched.h>
16502 main ()
16504 sched_setaffinity(0, 0, 0);
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 wine_cv_have_sched_setaffinity=yes
16511 else
16512 wine_cv_have_sched_setaffinity=no
16514 rm -f core conftest.err conftest.$ac_objext \
16515 conftest$ac_exeext conftest.$ac_ext
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16518 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16519 if test "$wine_cv_have_sched_setaffinity" = "yes"
16520 then
16522 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16527 $as_echo_n "checking for fallocate... " >&6; }
16528 if ${wine_cv_have_fallocate+:} false; then :
16529 $as_echo_n "(cached) " >&6
16530 else
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16533 #define _GNU_SOURCE
16534 #include <fcntl.h>
16536 main ()
16538 fallocate(-1, 0, 0, 0);
16540 return 0;
16542 _ACEOF
16543 if ac_fn_c_try_link "$LINENO"; then :
16544 wine_cv_have_fallocate=yes
16545 else
16546 wine_cv_have_fallocate=no
16548 rm -f core conftest.err conftest.$ac_objext \
16549 conftest$ac_exeext conftest.$ac_ext
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16552 $as_echo "$wine_cv_have_fallocate" >&6; }
16553 if test "$wine_cv_have_fallocate" = "yes"
16554 then
16556 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16562 $as_echo_n "checking for inline... " >&6; }
16563 if ${ac_cv_c_inline+:} false; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_cv_c_inline=no
16567 for ac_kw in inline __inline__ __inline; do
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16570 #ifndef __cplusplus
16571 typedef int foo_t;
16572 static $ac_kw foo_t static_foo () {return 0; }
16573 $ac_kw foo_t foo () {return 0; }
16574 #endif
16576 _ACEOF
16577 if ac_fn_c_try_compile "$LINENO"; then :
16578 ac_cv_c_inline=$ac_kw
16580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16581 test "$ac_cv_c_inline" != no && break
16582 done
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16586 $as_echo "$ac_cv_c_inline" >&6; }
16588 case $ac_cv_c_inline in
16589 inline | yes) ;;
16591 case $ac_cv_c_inline in
16592 no) ac_val=;;
16593 *) ac_val=$ac_cv_c_inline;;
16594 esac
16595 cat >>confdefs.h <<_ACEOF
16596 #ifndef __cplusplus
16597 #define inline $ac_val
16598 #endif
16599 _ACEOF
16601 esac
16603 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16604 if test "x$ac_cv_type_mode_t" = xyes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_MODE_T 1
16608 _ACEOF
16612 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16613 if test "x$ac_cv_type_off_t" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_OFF_T 1
16617 _ACEOF
16621 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16622 if test "x$ac_cv_type_pid_t" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_PID_T 1
16626 _ACEOF
16630 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16631 if test "x$ac_cv_type_size_t" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_SIZE_T 1
16635 _ACEOF
16639 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16640 if test "x$ac_cv_type_ssize_t" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_SSIZE_T 1
16644 _ACEOF
16648 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16649 if test "x$ac_cv_type_long_long" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_LONG_LONG 1
16653 _ACEOF
16657 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16658 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16660 cat >>confdefs.h <<_ACEOF
16661 #define HAVE_FSBLKCNT_T 1
16662 _ACEOF
16666 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16667 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_FSFILCNT_T 1
16671 _ACEOF
16676 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16677 #include <signal.h>
16679 if test "x$ac_cv_type_sigset_t" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_SIGSET_T 1
16683 _ACEOF
16688 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16690 if test "x$ac_cv_type_request_sense" = xyes; then :
16692 cat >>confdefs.h <<_ACEOF
16693 #define HAVE_REQUEST_SENSE 1
16694 _ACEOF
16700 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16701 #ifdef HAVE_SYS_SOCKET_H
16702 #include <sys/socket.h>
16703 #endif
16704 #ifdef HAVE_SYS_SOCKETVAR_H
16705 #include <sys/socketvar.h>
16706 #endif
16707 #ifdef HAVE_NET_ROUTE_H
16708 #include <net/route.h>
16709 #endif
16710 #ifdef HAVE_NETINET_IN_H
16711 #include <netinet/in.h>
16712 #endif
16713 #ifdef HAVE_NETINET_IN_SYSTM_H
16714 #include <netinet/in_systm.h>
16715 #endif
16716 #ifdef HAVE_NETINET_IP_H
16717 #include <netinet/ip.h>
16718 #endif
16719 #ifdef HAVE_NETINET_IN_PCB_H
16720 #include <netinet/in_pcb.h>
16721 #endif
16723 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_STRUCT_XINPGEN 1
16727 _ACEOF
16733 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16734 #include <link.h>
16735 #endif
16736 #ifdef HAVE_SYS_LINK_H
16737 #include <sys/link.h>
16738 #endif
16740 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16742 cat >>confdefs.h <<_ACEOF
16743 #define HAVE_STRUCT_R_DEBUG 1
16744 _ACEOF
16748 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16749 #include <link.h>
16750 #endif
16751 #ifdef HAVE_SYS_LINK_H
16752 #include <sys/link.h>
16753 #endif
16755 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16757 cat >>confdefs.h <<_ACEOF
16758 #define HAVE_STRUCT_LINK_MAP 1
16759 _ACEOF
16765 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16766 #include <linux/input.h>
16767 #endif
16769 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16771 cat >>confdefs.h <<_ACEOF
16772 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16773 _ACEOF
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16780 $as_echo_n "checking for if_nameindex... " >&6; }
16781 if ${wine_cv_have_if_nameindex+:} false; then :
16782 $as_echo_n "(cached) " >&6
16783 else
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16786 #ifdef HAVE_SYS_TYPES_H
16787 #include <sys/types.h>
16788 #endif
16789 #ifdef HAVE_SYS_SOCKET_H
16790 #include <sys/socket.h>
16791 #endif
16792 #ifdef HAVE_NET_IF_H
16793 # include <net/if.h>
16794 #endif
16796 main ()
16798 struct if_nameindex *p = if_nameindex(); return p->if_index;
16800 return 0;
16802 _ACEOF
16803 if ac_fn_c_try_link "$LINENO"; then :
16804 wine_cv_have_if_nameindex=yes
16805 else
16806 wine_cv_have_if_nameindex=no
16808 rm -f core conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16812 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16813 if test "$wine_cv_have_if_nameindex" = "yes"
16814 then
16816 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16821 $as_echo_n "checking for sigaddset... " >&6; }
16822 if ${wine_cv_have_sigaddset+:} false; then :
16823 $as_echo_n "(cached) " >&6
16824 else
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16827 #include <signal.h>
16829 main ()
16831 sigset_t set; sigaddset(&set,SIGTERM);
16833 return 0;
16835 _ACEOF
16836 if ac_fn_c_try_link "$LINENO"; then :
16837 wine_cv_have_sigaddset=yes
16838 else
16839 wine_cv_have_sigaddset=no
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16845 $as_echo "$wine_cv_have_sigaddset" >&6; }
16846 if test "$wine_cv_have_sigaddset" = "yes"
16847 then
16849 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16855 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16856 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16857 $as_echo_n "(cached) " >&6
16858 else
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16861 #include <netdb.h>
16863 main ()
16866 char *name=0;
16867 struct hostent he;
16868 struct hostent *result;
16869 char *buf=0;
16870 int bufsize=0;
16871 int errnr;
16872 char *addr=0;
16873 int addrlen=0;
16874 int addrtype=0;
16875 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16876 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16879 return 0;
16881 _ACEOF
16882 if ac_fn_c_try_link "$LINENO"; then :
16883 wine_cv_linux_gethostbyname_r_6=yes
16884 else
16885 wine_cv_linux_gethostbyname_r_6=no
16888 rm -f core conftest.err conftest.$ac_objext \
16889 conftest$ac_exeext conftest.$ac_ext
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16893 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16894 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16895 then
16897 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16901 if test "$ac_cv_header_linux_joystick_h" = "yes"
16902 then
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16904 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16905 if ${wine_cv_linux_joystick_22_api+:} false; then :
16906 $as_echo_n "(cached) " >&6
16907 else
16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16911 #include <sys/ioctl.h>
16912 #include <sys/types.h>
16913 #include <linux/joystick.h>
16915 struct js_event blub;
16916 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16917 #error "no 2.2 header"
16918 #endif
16921 main ()
16923 /*empty*/
16925 return 0;
16927 _ACEOF
16928 if ac_fn_c_try_compile "$LINENO"; then :
16929 wine_cv_linux_joystick_22_api=yes
16930 else
16931 wine_cv_linux_joystick_22_api=no
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16937 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16938 if test "$wine_cv_linux_joystick_22_api" = "yes"
16939 then
16941 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16947 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16948 #ifdef HAVE_SYS_PARAM_H
16949 # include <sys/param.h>
16950 #endif
16951 #ifdef HAVE_SYS_MOUNT_H
16952 # include <sys/mount.h>
16953 #endif
16954 #ifdef HAVE_SYS_VFS_H
16955 # include <sys/vfs.h>
16956 #endif
16957 #ifdef HAVE_SYS_STATFS_H
16958 # include <sys/statfs.h>
16959 #endif
16961 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16963 cat >>confdefs.h <<_ACEOF
16964 #define HAVE_STRUCT_STATFS_F_BFREE 1
16965 _ACEOF
16969 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16970 #ifdef HAVE_SYS_PARAM_H
16971 # include <sys/param.h>
16972 #endif
16973 #ifdef HAVE_SYS_MOUNT_H
16974 # include <sys/mount.h>
16975 #endif
16976 #ifdef HAVE_SYS_VFS_H
16977 # include <sys/vfs.h>
16978 #endif
16979 #ifdef HAVE_SYS_STATFS_H
16980 # include <sys/statfs.h>
16981 #endif
16983 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16985 cat >>confdefs.h <<_ACEOF
16986 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16987 _ACEOF
16991 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16992 #ifdef HAVE_SYS_PARAM_H
16993 # include <sys/param.h>
16994 #endif
16995 #ifdef HAVE_SYS_MOUNT_H
16996 # include <sys/mount.h>
16997 #endif
16998 #ifdef HAVE_SYS_VFS_H
16999 # include <sys/vfs.h>
17000 #endif
17001 #ifdef HAVE_SYS_STATFS_H
17002 # include <sys/statfs.h>
17003 #endif
17005 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17007 cat >>confdefs.h <<_ACEOF
17008 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17009 _ACEOF
17013 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17014 #ifdef HAVE_SYS_PARAM_H
17015 # include <sys/param.h>
17016 #endif
17017 #ifdef HAVE_SYS_MOUNT_H
17018 # include <sys/mount.h>
17019 #endif
17020 #ifdef HAVE_SYS_VFS_H
17021 # include <sys/vfs.h>
17022 #endif
17023 #ifdef HAVE_SYS_STATFS_H
17024 # include <sys/statfs.h>
17025 #endif
17027 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17029 cat >>confdefs.h <<_ACEOF
17030 #define HAVE_STRUCT_STATFS_F_FFREE 1
17031 _ACEOF
17035 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17036 #ifdef HAVE_SYS_PARAM_H
17037 # include <sys/param.h>
17038 #endif
17039 #ifdef HAVE_SYS_MOUNT_H
17040 # include <sys/mount.h>
17041 #endif
17042 #ifdef HAVE_SYS_VFS_H
17043 # include <sys/vfs.h>
17044 #endif
17045 #ifdef HAVE_SYS_STATFS_H
17046 # include <sys/statfs.h>
17047 #endif
17049 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17051 cat >>confdefs.h <<_ACEOF
17052 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17053 _ACEOF
17057 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17058 #ifdef HAVE_SYS_PARAM_H
17059 # include <sys/param.h>
17060 #endif
17061 #ifdef HAVE_SYS_MOUNT_H
17062 # include <sys/mount.h>
17063 #endif
17064 #ifdef HAVE_SYS_VFS_H
17065 # include <sys/vfs.h>
17066 #endif
17067 #ifdef HAVE_SYS_STATFS_H
17068 # include <sys/statfs.h>
17069 #endif
17071 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17073 cat >>confdefs.h <<_ACEOF
17074 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17075 _ACEOF
17081 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17082 #include <sys/statvfs.h>
17083 #endif
17085 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17087 cat >>confdefs.h <<_ACEOF
17088 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17089 _ACEOF
17095 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17096 #include <dirent.h>
17097 #endif
17099 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17101 cat >>confdefs.h <<_ACEOF
17102 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17103 _ACEOF
17109 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17110 #ifdef HAVE_SYS_SOCKET_H
17111 # include <sys/socket.h>
17112 #endif
17113 #ifdef HAVE_SYS_UN_H
17114 # include <sys/un.h>
17115 #endif
17117 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17119 cat >>confdefs.h <<_ACEOF
17120 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17121 _ACEOF
17125 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17126 #ifdef HAVE_SYS_SOCKET_H
17127 # include <sys/socket.h>
17128 #endif
17129 #ifdef HAVE_SYS_UN_H
17130 # include <sys/un.h>
17131 #endif
17133 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17135 cat >>confdefs.h <<_ACEOF
17136 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17137 _ACEOF
17141 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17142 #ifdef HAVE_SYS_SOCKET_H
17143 # include <sys/socket.h>
17144 #endif
17145 #ifdef HAVE_SYS_UN_H
17146 # include <sys/un.h>
17147 #endif
17149 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17151 cat >>confdefs.h <<_ACEOF
17152 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17153 _ACEOF
17159 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17160 #ifdef HAVE_SCSI_SG_H
17161 #include <scsi/sg.h>
17162 #endif
17164 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define HAVE_SCSIREQ_T_CMD 1
17168 _ACEOF
17172 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>
17173 #ifdef HAVE_SCSI_SG_H
17174 #include <scsi/sg.h>
17175 #endif
17177 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17179 cat >>confdefs.h <<_ACEOF
17180 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17181 _ACEOF
17187 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17189 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17191 cat >>confdefs.h <<_ACEOF
17192 #define HAVE_SIGINFO_T_SI_FD 1
17193 _ACEOF
17199 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17200 #ifdef HAVE_SYS_MTIO_H
17201 #include <sys/mtio.h>
17202 #endif
17204 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17206 cat >>confdefs.h <<_ACEOF
17207 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17208 _ACEOF
17212 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17213 #ifdef HAVE_SYS_MTIO_H
17214 #include <sys/mtio.h>
17215 #endif
17217 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17221 _ACEOF
17225 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17226 #ifdef HAVE_SYS_MTIO_H
17227 #include <sys/mtio.h>
17228 #endif
17230 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17232 cat >>confdefs.h <<_ACEOF
17233 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17234 _ACEOF
17240 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17241 #include <getopt.h>
17242 #endif
17244 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17246 cat >>confdefs.h <<_ACEOF
17247 #define HAVE_STRUCT_OPTION_NAME 1
17248 _ACEOF
17254 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17255 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17257 cat >>confdefs.h <<_ACEOF
17258 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17259 _ACEOF
17263 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17264 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17266 cat >>confdefs.h <<_ACEOF
17267 #define HAVE_STRUCT_STAT_ST_MTIM 1
17268 _ACEOF
17272 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17273 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17275 cat >>confdefs.h <<_ACEOF
17276 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17277 _ACEOF
17281 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17282 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_STRUCT_STAT_ST_CTIM 1
17286 _ACEOF
17290 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17291 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17293 cat >>confdefs.h <<_ACEOF
17294 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17295 _ACEOF
17299 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17300 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define HAVE_STRUCT_STAT_ST_ATIM 1
17304 _ACEOF
17308 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17309 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17311 cat >>confdefs.h <<_ACEOF
17312 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17313 _ACEOF
17317 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17318 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17322 _ACEOF
17326 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17327 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17329 cat >>confdefs.h <<_ACEOF
17330 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17331 _ACEOF
17335 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17336 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17338 cat >>confdefs.h <<_ACEOF
17339 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17340 _ACEOF
17344 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17345 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17347 cat >>confdefs.h <<_ACEOF
17348 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17349 _ACEOF
17353 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17354 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17356 cat >>confdefs.h <<_ACEOF
17357 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17358 _ACEOF
17364 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
17365 #include <sys/types.h>
17366 #endif
17367 #ifdef HAVE_NETINET_IN_H
17368 #include <netinet/in.h>
17369 #endif
17371 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17373 cat >>confdefs.h <<_ACEOF
17374 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17375 _ACEOF
17381 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17382 #include <sys/types.h>
17383 #endif
17384 #ifdef HAVE_NETINET_IN_H
17385 #include <netinet/in.h>
17386 #endif
17387 #ifdef HAVE_RESOLV_H
17388 #include <resolv.h>
17389 #endif
17391 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17393 cat >>confdefs.h <<_ACEOF
17394 #define HAVE_STRUCT___RES_STATE 1
17395 _ACEOF
17401 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
17402 #include <resolv.h>
17403 #endif
17405 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17409 _ACEOF
17415 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17416 #include <sys/types.h>
17417 #endif
17418 #ifdef HAVE_NETINET_IN_H
17419 # include <netinet/in.h>
17420 #endif
17421 #ifdef HAVE_ARPA_NAMESER_H
17422 # include <arpa/nameser.h>
17423 #endif
17425 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17427 cat >>confdefs.h <<_ACEOF
17428 #define HAVE_NS_MSG__MSG_PTR 1
17429 _ACEOF
17435 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17436 #include <sys/types.h>
17437 #endif
17438 #ifdef HAVE_NETINET_IN_H
17439 #include <netinet/in.h>
17440 #endif
17441 #ifdef HAVE_NETINET_IP_H
17442 #include <netinet/ip.h>
17443 #endif
17444 #ifdef HAVE_NETINET_IP_ICMP_H
17445 #include <netinet/ip_icmp.h>
17446 #endif
17447 #ifdef HAVE_NETINET_ICMP_VAR_H
17448 #include <netinet/icmp_var.h>
17449 #endif
17451 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17453 cat >>confdefs.h <<_ACEOF
17454 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17455 _ACEOF
17461 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17462 #include <sys/types.h>
17463 #endif
17464 #ifdef HAVE_ALIAS_H
17465 #include <alias.h>
17466 #endif
17467 #ifdef HAVE_SYS_SOCKET_H
17468 #include <sys/socket.h>
17469 #endif
17470 #ifdef HAVE_SYS_SOCKETVAR_H
17471 #include <sys/socketvar.h>
17472 #endif
17473 #ifdef HAVE_SYS_TIMEOUT_H
17474 #include <sys/timeout.h>
17475 #endif
17476 #ifdef HAVE_NETINET_IN_H
17477 #include <netinet/in.h>
17478 #endif
17479 #ifdef HAVE_NETINET_IN_SYSTM_H
17480 #include <netinet/in_systm.h>
17481 #endif
17482 #ifdef HAVE_NETINET_IP_H
17483 #include <netinet/ip.h>
17484 #endif
17485 #ifdef HAVE_NETINET_IP_VAR_H
17486 #include <netinet/ip_var.h>
17487 #endif
17488 #ifdef HAVE_NETINET_IP_ICMP_H
17489 #include <netinet/ip_icmp.h>
17490 #endif
17491 #ifdef HAVE_NETINET_ICMP_VAR_H
17492 #include <netinet/icmp_var.h>
17493 #endif
17495 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17497 cat >>confdefs.h <<_ACEOF
17498 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17499 _ACEOF
17505 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17506 #include <sys/types.h>
17507 #endif
17508 #ifdef HAVE_SYS_SOCKETVAR_H
17509 #include <sys/socketvar.h>
17510 #endif
17511 #ifdef HAVE_NETINET_IN_H
17512 #include <netinet/in.h>
17513 #endif
17514 #ifdef HAVE_NETINET_IP_VAR_H
17515 #include <netinet/ip_var.h>
17516 #endif
17518 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17520 cat >>confdefs.h <<_ACEOF
17521 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17522 _ACEOF
17528 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
17529 #include <netinet/ip_var.h>
17530 #endif
17532 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17536 _ACEOF
17542 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17543 #include <sys/types.h>
17544 #endif
17545 #ifdef HAVE_SYS_SOCKETVAR_H
17546 #include <sys/socketvar.h>
17547 #endif
17548 #ifdef HAVE_NETINET_IN_H
17549 #include <netinet/in.h>
17550 #endif
17551 #ifdef HAVE_NETINET_TCP_H
17552 #include <netinet/tcp.h>
17553 #endif
17554 #ifdef HAVE_NETINET_TCP_VAR_H
17555 #include <netinet/tcp_var.h>
17556 #endif
17558 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17560 cat >>confdefs.h <<_ACEOF
17561 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17562 _ACEOF
17568 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
17569 #include <netinet/tcp_var.h>
17570 #endif
17572 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17574 cat >>confdefs.h <<_ACEOF
17575 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17576 _ACEOF
17582 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17583 #include <sys/types.h>
17584 #endif
17585 #ifdef HAVE_NETINET_IN_H
17586 #include <netinet/in.h>
17587 #endif
17588 #ifdef HAVE_NETINET_IP_VAR_H
17589 #include <netinet/ip_var.h>
17590 #endif
17591 #ifdef HAVE_NETINET_UDP_H
17592 #include <netinet/udp.h>
17593 #endif
17594 #ifdef HAVE_NETINET_UDP_VAR_H
17595 #include <netinet/udp_var.h>
17596 #endif
17598 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17600 cat >>confdefs.h <<_ACEOF
17601 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17602 _ACEOF
17608 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17609 #include <sys/types.h>
17610 #endif
17611 #ifdef HAVE_NET_IF_H
17612 # include <net/if.h>
17613 #endif
17615 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17617 cat >>confdefs.h <<_ACEOF
17618 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17619 _ACEOF
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17626 $as_echo_n "checking for timezone variable... " >&6; }
17627 if ${ac_cv_have_timezone+:} false; then :
17628 $as_echo_n "(cached) " >&6
17629 else
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17632 #include <time.h>
17634 main ()
17636 timezone = 1
17638 return 0;
17640 _ACEOF
17641 if ac_fn_c_try_link "$LINENO"; then :
17642 ac_cv_have_timezone="yes"
17643 else
17644 ac_cv_have_timezone="no"
17646 rm -f core conftest.err conftest.$ac_objext \
17647 conftest$ac_exeext conftest.$ac_ext
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17650 $as_echo "$ac_cv_have_timezone" >&6; }
17651 if test "$ac_cv_have_timezone" = "yes"
17652 then
17654 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17658 $as_echo_n "checking for daylight variable... " >&6; }
17659 if ${ac_cv_have_daylight+:} false; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17664 #include <time.h>
17666 main ()
17668 daylight = 1
17670 return 0;
17672 _ACEOF
17673 if ac_fn_c_try_link "$LINENO"; then :
17674 ac_cv_have_daylight="yes"
17675 else
17676 ac_cv_have_daylight="no"
17678 rm -f core conftest.err conftest.$ac_objext \
17679 conftest$ac_exeext conftest.$ac_ext
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17682 $as_echo "$ac_cv_have_daylight" >&6; }
17683 if test "$ac_cv_have_daylight" = "yes"
17684 then
17686 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17690 ac_save_LIBS="$LIBS"
17691 LIBS="$LIBS -lm"
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17693 $as_echo_n "checking for isfinite... " >&6; }
17694 if ${ac_cv_have_isfinite+:} false; then :
17695 $as_echo_n "(cached) " >&6
17696 else
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17699 #define _GNU_SOURCE
17700 #include <math.h>
17702 main ()
17704 float f = 0.0; return isfinite(f)
17706 return 0;
17708 _ACEOF
17709 if ac_fn_c_try_link "$LINENO"; then :
17710 ac_cv_have_isfinite="yes"
17711 else
17712 ac_cv_have_isfinite="no"
17714 rm -f core conftest.err conftest.$ac_objext \
17715 conftest$ac_exeext conftest.$ac_ext
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17718 $as_echo "$ac_cv_have_isfinite" >&6; }
17719 if test "$ac_cv_have_isfinite" = "yes"
17720 then
17722 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17727 $as_echo_n "checking for isinf... " >&6; }
17728 if ${ac_cv_have_isinf+:} false; then :
17729 $as_echo_n "(cached) " >&6
17730 else
17731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17732 /* end confdefs.h. */
17733 #include <math.h>
17735 main ()
17737 float f = 0.0; return isinf(f)
17739 return 0;
17741 _ACEOF
17742 if ac_fn_c_try_link "$LINENO"; then :
17743 ac_cv_have_isinf="yes"
17744 else
17745 ac_cv_have_isinf="no"
17747 rm -f core conftest.err conftest.$ac_objext \
17748 conftest$ac_exeext conftest.$ac_ext
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17751 $as_echo "$ac_cv_have_isinf" >&6; }
17752 if test "$ac_cv_have_isinf" = "yes"
17753 then
17755 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17760 $as_echo_n "checking for isnan... " >&6; }
17761 if ${ac_cv_have_isnan+:} false; then :
17762 $as_echo_n "(cached) " >&6
17763 else
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17766 #include <math.h>
17768 main ()
17770 float f = 0.0; return isnan(f)
17772 return 0;
17774 _ACEOF
17775 if ac_fn_c_try_link "$LINENO"; then :
17776 ac_cv_have_isnan="yes"
17777 else
17778 ac_cv_have_isnan="no"
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17784 $as_echo "$ac_cv_have_isnan" >&6; }
17785 if test "$ac_cv_have_isnan" = "yes"
17786 then
17788 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17792 for ac_func in \
17793 acosh \
17794 acoshf \
17795 asinh \
17796 asinhf \
17797 atanh \
17798 atanhf \
17799 cbrt \
17800 cbrtf \
17801 erf \
17802 erfc \
17803 erfcf \
17804 erff \
17805 exp2 \
17806 exp2f \
17807 expm1 \
17808 expm1f \
17809 lgamma \
17810 lgammaf \
17811 llrint \
17812 llrintf \
17813 llround \
17814 llroundf \
17815 log1p \
17816 log1pf \
17817 log2 \
17818 log2f \
17819 lrint \
17820 lrintf \
17821 lround \
17822 lroundf \
17823 nearbyint \
17824 nearbyintf \
17825 powl \
17826 remainder \
17827 remainderf \
17828 rint \
17829 rintf \
17830 round \
17831 roundf \
17832 trunc \
17833 truncf
17835 do :
17836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17839 cat >>confdefs.h <<_ACEOF
17840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17841 _ACEOF
17844 done
17846 LIBS="$ac_save_LIBS"
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17849 $as_echo_n "checking for __builtin_clz... " >&6; }
17850 if ${ac_cv_have___builtin_clz+:} false; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17857 main ()
17859 return __builtin_clz(1)
17861 return 0;
17863 _ACEOF
17864 if ac_fn_c_try_link "$LINENO"; then :
17865 ac_cv_have___builtin_clz="yes"
17866 else
17867 ac_cv_have___builtin_clz="no"
17869 rm -f core conftest.err conftest.$ac_objext \
17870 conftest$ac_exeext conftest.$ac_ext
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17873 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17874 if test "$ac_cv_have___builtin_clz" = "yes"
17875 then
17877 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17882 $as_echo_n "checking for __builtin_popcount... " >&6; }
17883 if ${ac_cv_have___builtin_popcount+:} false; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17890 main ()
17892 return __builtin_popcount(1)
17894 return 0;
17896 _ACEOF
17897 if ac_fn_c_try_link "$LINENO"; then :
17898 ac_cv_have___builtin_popcount="yes"
17899 else
17900 ac_cv_have___builtin_popcount="no"
17902 rm -f core conftest.err conftest.$ac_objext \
17903 conftest$ac_exeext conftest.$ac_ext
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17906 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17907 if test "$ac_cv_have___builtin_popcount" = "yes"
17908 then
17910 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17915 $as_echo_n "checking for __clear_cache... " >&6; }
17916 if ${ac_cv_have___clear_cache+:} false; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17923 main ()
17925 __clear_cache((void*)0, (void*)0); return 0;
17927 return 0;
17929 _ACEOF
17930 if ac_fn_c_try_link "$LINENO"; then :
17931 ac_cv_have___clear_cache="yes"
17932 else
17933 ac_cv_have___clear_cache="no"
17935 rm -f core conftest.err conftest.$ac_objext \
17936 conftest$ac_exeext conftest.$ac_ext
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17939 $as_echo "$ac_cv_have___clear_cache" >&6; }
17940 if test "$ac_cv_have___clear_cache" = "yes"
17941 then
17943 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17948 case $host_cpu in
17949 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17950 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17951 if ${ac_cv_cpp_def___i386__+:} false; then :
17952 $as_echo_n "(cached) " >&6
17953 else
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17956 #ifndef __i386__
17958 #endif
17959 _ACEOF
17960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17961 $EGREP "yes" >/dev/null 2>&1; then :
17962 ac_cv_cpp_def___i386__=yes
17963 else
17964 ac_cv_cpp_def___i386__=no
17966 rm -f conftest*
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17970 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17971 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17972 CFLAGS="$CFLAGS -D__i386__"
17973 LINTFLAGS="$LINTFLAGS -D__i386__"
17974 fi ;;
17975 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17976 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17977 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17978 $as_echo_n "(cached) " >&6
17979 else
17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17982 #ifndef __x86_64__
17984 #endif
17985 _ACEOF
17986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17987 $EGREP "yes" >/dev/null 2>&1; then :
17988 ac_cv_cpp_def___x86_64__=yes
17989 else
17990 ac_cv_cpp_def___x86_64__=no
17992 rm -f conftest*
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17996 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17997 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17998 CFLAGS="$CFLAGS -D__x86_64__"
17999 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18000 fi ;;
18001 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18002 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18003 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18004 $as_echo_n "(cached) " >&6
18005 else
18006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18008 #ifndef __sparc64__
18010 #endif
18011 _ACEOF
18012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18013 $EGREP "yes" >/dev/null 2>&1; then :
18014 ac_cv_cpp_def___sparc64__=yes
18015 else
18016 ac_cv_cpp_def___sparc64__=no
18018 rm -f conftest*
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18022 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18023 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18024 CFLAGS="$CFLAGS -D__sparc64__"
18025 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18026 fi ;;
18027 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18028 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18029 if ${ac_cv_cpp_def___sparc__+:} false; then :
18030 $as_echo_n "(cached) " >&6
18031 else
18032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18033 /* end confdefs.h. */
18034 #ifndef __sparc__
18036 #endif
18037 _ACEOF
18038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18039 $EGREP "yes" >/dev/null 2>&1; then :
18040 ac_cv_cpp_def___sparc__=yes
18041 else
18042 ac_cv_cpp_def___sparc__=no
18044 rm -f conftest*
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18048 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18049 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18050 CFLAGS="$CFLAGS -D__sparc__"
18051 LINTFLAGS="$LINTFLAGS -D__sparc__"
18052 fi ;;
18053 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18054 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18055 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18056 $as_echo_n "(cached) " >&6
18057 else
18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18060 #ifndef __powerpc64__
18062 #endif
18063 _ACEOF
18064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18065 $EGREP "yes" >/dev/null 2>&1; then :
18066 ac_cv_cpp_def___powerpc64__=yes
18067 else
18068 ac_cv_cpp_def___powerpc64__=no
18070 rm -f conftest*
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18074 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18075 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18076 CFLAGS="$CFLAGS -D__powerpc64__"
18077 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18078 fi ;;
18079 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18080 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18081 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18086 #ifndef __powerpc__
18088 #endif
18089 _ACEOF
18090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18091 $EGREP "yes" >/dev/null 2>&1; then :
18092 ac_cv_cpp_def___powerpc__=yes
18093 else
18094 ac_cv_cpp_def___powerpc__=no
18096 rm -f conftest*
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18100 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18101 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18102 CFLAGS="$CFLAGS -D__powerpc__"
18103 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18104 fi ;;
18105 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18106 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18107 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18108 $as_echo_n "(cached) " >&6
18109 else
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18112 #ifndef __aarch64__
18114 #endif
18115 _ACEOF
18116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18117 $EGREP "yes" >/dev/null 2>&1; then :
18118 ac_cv_cpp_def___aarch64__=yes
18119 else
18120 ac_cv_cpp_def___aarch64__=no
18122 rm -f conftest*
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18126 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18127 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18128 CFLAGS="$CFLAGS -D__aarch64__"
18129 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18130 fi ;;
18131 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18132 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18133 if ${ac_cv_cpp_def___arm__+:} false; then :
18134 $as_echo_n "(cached) " >&6
18135 else
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18138 #ifndef __arm__
18140 #endif
18141 _ACEOF
18142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18143 $EGREP "yes" >/dev/null 2>&1; then :
18144 ac_cv_cpp_def___arm__=yes
18145 else
18146 ac_cv_cpp_def___arm__=no
18148 rm -f conftest*
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18152 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18153 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18154 CFLAGS="$CFLAGS -D__arm__"
18155 LINTFLAGS="$LINTFLAGS -D__arm__"
18156 fi ;;
18157 esac
18159 case $host_vendor in
18160 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18161 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18162 if ${ac_cv_cpp_def___sun__+:} false; then :
18163 $as_echo_n "(cached) " >&6
18164 else
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18167 #ifndef __sun__
18169 #endif
18170 _ACEOF
18171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18172 $EGREP "yes" >/dev/null 2>&1; then :
18173 ac_cv_cpp_def___sun__=yes
18174 else
18175 ac_cv_cpp_def___sun__=no
18177 rm -f conftest*
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18181 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18182 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18183 CFLAGS="$CFLAGS -D__sun__"
18184 LINTFLAGS="$LINTFLAGS -D__sun__"
18185 fi ;;
18186 esac
18192 ac_config_commands="$ac_config_commands include/stamp-h"
18194 $as_echo_n "creating Makefile rules..." >&6
18196 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18197 SOCKET_LIBS = $SOCKET_LIBS
18198 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18199 IOKIT_LIBS = $IOKIT_LIBS
18200 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18201 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18202 CORESERVICES_LIBS = $CORESERVICES_LIBS
18203 APPKIT_LIBS = $APPKIT_LIBS
18204 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18205 SECURITY_LIBS = $SECURITY_LIBS
18206 COREAUDIO_LIBS = $COREAUDIO_LIBS
18207 OPENAL_LIBS = $OPENAL_LIBS
18208 OPENCL_LIBS = $OPENCL_LIBS
18209 QUICKTIME_LIBS = $QUICKTIME_LIBS
18210 CARBON_LIBS = $CARBON_LIBS
18211 PTHREAD_LIBS = $PTHREAD_LIBS
18212 X_CFLAGS = $X_CFLAGS
18213 X_PRE_LIBS = $X_PRE_LIBS
18214 X_LIBS = $X_LIBS
18215 X_EXTRA_LIBS = $X_EXTRA_LIBS
18216 PCAP_LIBS = $PCAP_LIBS
18217 XML2_CFLAGS = $XML2_CFLAGS
18218 XML2_LIBS = $XML2_LIBS
18219 XSLT_CFLAGS = $XSLT_CFLAGS
18220 XSLT_LIBS = $XSLT_LIBS
18221 DBUS_CFLAGS = $DBUS_CFLAGS
18222 DBUS_LIBS = $DBUS_LIBS
18223 HAL_CFLAGS = $HAL_CFLAGS
18224 HAL_LIBS = $HAL_LIBS
18225 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18226 GNUTLS_LIBS = $GNUTLS_LIBS
18227 SANE_CFLAGS = $SANE_CFLAGS
18228 SANE_LIBS = $SANE_LIBS
18229 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18230 GPHOTO2_LIBS = $GPHOTO2_LIBS
18231 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18232 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18233 RESOLV_LIBS = $RESOLV_LIBS
18234 LCMS2_CFLAGS = $LCMS2_CFLAGS
18235 LCMS2_LIBS = $LCMS2_LIBS
18236 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18237 FREETYPE_LIBS = $FREETYPE_LIBS
18238 Z_LIBS = $Z_LIBS
18239 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18240 PULSE_CFLAGS = $PULSE_CFLAGS
18241 PULSE_LIBS = $PULSE_LIBS
18242 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18243 GSTREAMER_LIBS = $GSTREAMER_LIBS
18244 ALSA_LIBS = $ALSA_LIBS
18245 OSS4_CFLAGS = $OSS4_CFLAGS
18246 UDEV_CFLAGS = $UDEV_CFLAGS
18247 UDEV_LIBS = $UDEV_LIBS
18248 CAPI20_CFLAGS = $CAPI20_CFLAGS
18249 CAPI20_LIBS = $CAPI20_LIBS
18250 CUPS_CFLAGS = $CUPS_CFLAGS
18251 CUPS_LIBS = $CUPS_LIBS
18252 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18253 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18254 KRB5_CFLAGS = $KRB5_CFLAGS
18255 KRB5_LIBS = $KRB5_LIBS
18256 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18257 GSSAPI_LIBS = $GSSAPI_LIBS
18258 JPEG_CFLAGS = $JPEG_CFLAGS
18259 JPEG_LIBS = $JPEG_LIBS
18260 PNG_CFLAGS = $PNG_CFLAGS
18261 PNG_LIBS = $PNG_LIBS
18262 TIFF_CFLAGS = $TIFF_CFLAGS
18263 TIFF_LIBS = $TIFF_LIBS
18264 MPG123_CFLAGS = $MPG123_CFLAGS
18265 MPG123_LIBS = $MPG123_LIBS
18266 KSTAT_LIBS = $KSTAT_LIBS
18267 PROCSTAT_LIBS = $PROCSTAT_LIBS
18268 NETAPI_CFLAGS = $NETAPI_CFLAGS
18269 NETAPI_LIBS = $NETAPI_LIBS
18270 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18271 DL_LIBS = $DL_LIBS
18272 POLL_LIBS = $POLL_LIBS
18273 RT_LIBS = $RT_LIBS
18274 LDAP_CFLAGS = $LDAP_CFLAGS
18275 LDAP_LIBS = $LDAP_LIBS
18280 wine_fn_append_rule "
18281 # Rules automatically generated by configure
18283 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18285 .INIT: Makefile
18286 .MAKEFILEDEPS:
18287 all: Makefile
18288 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18289 @./config.status Make.tmp Makefile
18290 depend: \$(MAKEDEP) dummy
18291 \$(MAKEDEP)"
18293 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18294 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18296 if test "x$enable_fonts" != xno; then
18297 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18298 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18299 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18300 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18301 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18302 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18304 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18305 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18306 ac_config_links="$ac_config_links wine:tools/winewrapper"
18307 wine_fn_config_symlink wine
18308 if test "x$enable_win64" != xno; then
18309 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18310 wine_fn_config_symlink wine64
18313 wine_fn_config_dll acledit enable_acledit
18314 wine_fn_config_dll aclui enable_aclui implib
18315 wine_fn_config_dll activeds enable_activeds implib
18316 wine_fn_config_dll actxprxy enable_actxprxy clean
18317 wine_fn_config_lib adsiid
18318 wine_fn_config_dll adsldp enable_adsldp clean
18319 wine_fn_config_dll adsldpc enable_adsldpc
18320 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18321 wine_fn_config_test dlls/advapi32/tests advapi32_test
18322 wine_fn_config_dll advpack enable_advpack implib
18323 wine_fn_config_test dlls/advpack/tests advpack_test
18324 wine_fn_config_dll amstream enable_amstream clean
18325 wine_fn_config_test dlls/amstream/tests amstream_test
18326 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18327 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18328 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18329 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18331 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18334 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18335 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18336 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18337 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18338 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18339 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18340 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18341 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18342 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18343 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18345 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18346 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18347 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18348 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18349 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18350 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18351 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18352 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18353 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18354 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18355 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18356 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18357 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18358 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18359 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18360 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18361 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18362 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18363 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18364 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18365 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18366 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18367 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18368 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18369 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18370 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18371 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18372 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18373 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18374 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18375 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18376 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18377 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18378 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18379 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18380 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18381 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18382 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18383 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18384 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18385 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18386 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18387 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18388 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18389 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18390 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18391 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18392 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18393 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18394 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18395 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18396 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18397 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18398 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18399 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18400 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18401 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18402 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18403 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18404 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18405 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18406 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18407 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18408 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18409 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18410 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18411 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18412 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18413 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18414 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18415 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18416 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18417 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18418 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18419 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18420 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18421 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18422 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18423 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18424 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18425 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18426 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18427 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18428 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18429 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18430 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18431 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18432 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18433 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18434 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18435 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18436 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18437 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18438 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18439 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18440 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18441 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18442 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18443 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18444 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18445 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18446 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18447 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18448 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18449 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18450 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18451 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18452 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18453 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18454 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18455 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18456 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18457 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18458 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18459 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18460 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18461 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18462 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18463 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18464 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18465 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18466 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18467 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18468 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18469 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18470 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18471 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18472 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18473 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18474 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18475 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18476 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18477 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18478 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18479 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18480 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18481 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18482 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18483 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18484 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18485 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18486 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18487 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18488 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18489 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18490 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18491 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18492 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18493 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18494 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18495 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18496 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18497 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18498 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18499 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18500 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18501 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18502 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18503 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18504 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18505 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18506 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18507 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18508 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18509 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18510 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18511 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18512 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18513 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18514 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18515 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18516 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18517 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18518 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18519 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18520 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18521 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18522 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18523 wine_fn_config_dll apphelp enable_apphelp
18524 wine_fn_config_test dlls/apphelp/tests apphelp_test
18525 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18526 wine_fn_config_dll atl enable_atl clean,implib
18527 wine_fn_config_test dlls/atl/tests atl_test
18528 wine_fn_config_dll atl100 enable_atl100 clean,implib
18529 wine_fn_config_test dlls/atl100/tests atl100_test
18530 wine_fn_config_dll atl110 enable_atl110 clean
18531 wine_fn_config_dll atl80 enable_atl80 clean,implib
18532 wine_fn_config_test dlls/atl80/tests atl80_test
18533 wine_fn_config_dll atl90 enable_atl90 clean
18534 wine_fn_config_dll authz enable_authz
18535 wine_fn_config_dll avicap32 enable_avicap32 implib
18536 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18537 wine_fn_config_test dlls/avifil32/tests avifil32_test
18538 wine_fn_config_dll avifile.dll16 enable_win16
18539 wine_fn_config_dll avrt enable_avrt implib
18540 wine_fn_config_dll bcrypt enable_bcrypt implib
18541 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18542 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18543 wine_fn_config_dll browseui enable_browseui clean
18544 wine_fn_config_test dlls/browseui/tests browseui_test
18545 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18546 wine_fn_config_dll cabinet enable_cabinet implib
18547 wine_fn_config_test dlls/cabinet/tests cabinet_test
18548 wine_fn_config_dll capi2032 enable_capi2032 implib
18549 wine_fn_config_dll cards enable_cards implib
18550 wine_fn_config_dll cdosys enable_cdosys
18551 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18552 wine_fn_config_dll clusapi enable_clusapi implib
18553 wine_fn_config_dll combase enable_combase
18554 wine_fn_config_test dlls/combase/tests combase_test
18555 wine_fn_config_dll comcat enable_comcat
18556 wine_fn_config_test dlls/comcat/tests comcat_test
18557 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18558 wine_fn_config_test dlls/comctl32/tests comctl32_test
18559 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18560 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18561 wine_fn_config_dll comm.drv16 enable_win16
18562 wine_fn_config_dll commdlg.dll16 enable_win16
18563 wine_fn_config_dll compobj.dll16 enable_win16
18564 wine_fn_config_dll compstui enable_compstui implib
18565 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18566 wine_fn_config_dll concrt140 enable_concrt140
18567 wine_fn_config_dll connect enable_connect
18568 wine_fn_config_dll credui enable_credui clean,implib
18569 wine_fn_config_test dlls/credui/tests credui_test
18570 wine_fn_config_dll crtdll enable_crtdll
18571 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18572 wine_fn_config_test dlls/crypt32/tests crypt32_test
18573 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18574 wine_fn_config_dll cryptdll enable_cryptdll implib
18575 wine_fn_config_dll cryptext enable_cryptext
18576 wine_fn_config_dll cryptnet enable_cryptnet implib
18577 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18578 wine_fn_config_dll cryptui enable_cryptui clean,implib
18579 wine_fn_config_test dlls/cryptui/tests cryptui_test
18580 wine_fn_config_dll ctapi32 enable_ctapi32
18581 wine_fn_config_dll ctl3d.dll16 enable_win16
18582 wine_fn_config_dll ctl3d32 enable_ctl3d32
18583 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18584 wine_fn_config_dll d2d1 enable_d2d1 implib
18585 wine_fn_config_test dlls/d2d1/tests d2d1_test
18586 wine_fn_config_dll d3d10 enable_d3d10 implib
18587 wine_fn_config_test dlls/d3d10/tests d3d10_test
18588 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18589 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18590 wine_fn_config_dll d3d10core enable_d3d10core implib
18591 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18592 wine_fn_config_dll d3d11 enable_d3d11 implib
18593 wine_fn_config_test dlls/d3d11/tests d3d11_test
18594 wine_fn_config_dll d3d12 enable_d3d12 implib
18595 wine_fn_config_test dlls/d3d12/tests d3d12_test
18596 wine_fn_config_dll d3d8 enable_d3d8 implib
18597 wine_fn_config_test dlls/d3d8/tests d3d8_test
18598 wine_fn_config_dll d3d9 enable_d3d9 implib
18599 wine_fn_config_test dlls/d3d9/tests d3d9_test
18600 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18601 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18602 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18603 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18604 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18605 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18606 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18607 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18608 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18609 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18610 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18611 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18612 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18613 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18614 wine_fn_config_dll d3dim enable_d3dim
18615 wine_fn_config_dll d3drm enable_d3drm implib
18616 wine_fn_config_test dlls/d3drm/tests d3drm_test
18617 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18618 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18619 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18620 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18621 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18622 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18623 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18624 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18625 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18626 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18627 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18628 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18629 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18630 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18631 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18632 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18633 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18634 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18635 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18636 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18637 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18638 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18639 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18640 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18641 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18642 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18643 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18644 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18645 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18646 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18647 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18648 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18649 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18650 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18651 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18652 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18653 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18654 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18655 wine_fn_config_dll davclnt enable_davclnt
18656 wine_fn_config_dll dbgeng enable_dbgeng implib
18657 wine_fn_config_dll dbghelp enable_dbghelp implib
18658 wine_fn_config_dll dciman32 enable_dciman32 implib
18659 wine_fn_config_dll ddeml.dll16 enable_win16
18660 wine_fn_config_dll ddraw enable_ddraw clean,implib
18661 wine_fn_config_test dlls/ddraw/tests ddraw_test
18662 wine_fn_config_dll ddrawex enable_ddrawex clean
18663 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18664 wine_fn_config_dll devenum enable_devenum clean
18665 wine_fn_config_test dlls/devenum/tests devenum_test
18666 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18667 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx clean
18668 wine_fn_config_dll difxapi enable_difxapi
18669 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18670 wine_fn_config_test dlls/dinput/tests dinput_test
18671 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18672 wine_fn_config_test dlls/dinput8/tests dinput8_test
18673 wine_fn_config_dll dispdib.dll16 enable_win16
18674 wine_fn_config_dll dispex enable_dispex clean
18675 wine_fn_config_test dlls/dispex/tests dispex_test
18676 wine_fn_config_dll display.drv16 enable_win16
18677 wine_fn_config_dll dmband enable_dmband clean
18678 wine_fn_config_test dlls/dmband/tests dmband_test
18679 wine_fn_config_dll dmcompos enable_dmcompos clean
18680 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18681 wine_fn_config_dll dmime enable_dmime clean
18682 wine_fn_config_test dlls/dmime/tests dmime_test
18683 wine_fn_config_dll dmloader enable_dmloader clean
18684 wine_fn_config_test dlls/dmloader/tests dmloader_test
18685 wine_fn_config_dll dmscript enable_dmscript clean
18686 wine_fn_config_test dlls/dmscript/tests dmscript_test
18687 wine_fn_config_dll dmstyle enable_dmstyle clean
18688 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18689 wine_fn_config_dll dmsynth enable_dmsynth clean
18690 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18691 wine_fn_config_dll dmusic enable_dmusic clean
18692 wine_fn_config_test dlls/dmusic/tests dmusic_test
18693 wine_fn_config_dll dmusic32 enable_dmusic32
18694 wine_fn_config_dll dnsapi enable_dnsapi implib
18695 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18696 wine_fn_config_dll dplay enable_dplay
18697 wine_fn_config_dll dplayx enable_dplayx clean,implib
18698 wine_fn_config_test dlls/dplayx/tests dplayx_test
18699 wine_fn_config_dll dpnaddr enable_dpnaddr
18700 wine_fn_config_dll dpnet enable_dpnet clean,implib
18701 wine_fn_config_test dlls/dpnet/tests dpnet_test
18702 wine_fn_config_dll dpnhpast enable_dpnhpast
18703 wine_fn_config_dll dpnlobby enable_dpnlobby
18704 wine_fn_config_dll dpvoice enable_dpvoice clean
18705 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18706 wine_fn_config_dll dpwsockx enable_dpwsockx
18707 wine_fn_config_dll drmclien enable_drmclien
18708 wine_fn_config_dll dsound enable_dsound clean,implib
18709 wine_fn_config_test dlls/dsound/tests dsound_test
18710 wine_fn_config_dll dsquery enable_dsquery clean
18711 wine_fn_config_dll dssenh enable_dssenh
18712 wine_fn_config_test dlls/dssenh/tests dssenh_test
18713 wine_fn_config_dll dswave enable_dswave clean
18714 wine_fn_config_test dlls/dswave/tests dswave_test
18715 wine_fn_config_dll dwmapi enable_dwmapi implib
18716 wine_fn_config_dll dwrite enable_dwrite implib
18717 wine_fn_config_test dlls/dwrite/tests dwrite_test
18718 wine_fn_config_dll dx8vb enable_dx8vb clean
18719 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18720 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18721 wine_fn_config_lib dxerr8
18722 wine_fn_config_lib dxerr9
18723 wine_fn_config_dll dxgi enable_dxgi implib
18724 wine_fn_config_test dlls/dxgi/tests dxgi_test
18725 wine_fn_config_lib dxguid
18726 wine_fn_config_dll dxva2 enable_dxva2
18727 wine_fn_config_dll esent enable_esent
18728 wine_fn_config_dll evr enable_evr clean
18729 wine_fn_config_test dlls/evr/tests evr_test
18730 wine_fn_config_dll explorerframe enable_explorerframe clean
18731 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18732 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18733 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18734 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18735 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18736 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18737 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18738 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18739 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18740 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18741 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18742 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18743 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18744 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18745 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18746 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18747 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18748 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18749 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18750 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
18751 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18752 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18753 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18754 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18755 wine_fn_config_dll faultrep enable_faultrep implib
18756 wine_fn_config_test dlls/faultrep/tests faultrep_test
18757 wine_fn_config_dll fltlib enable_fltlib
18758 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18759 wine_fn_config_dll fntcache enable_fntcache
18760 wine_fn_config_dll fontsub enable_fontsub
18761 wine_fn_config_dll fusion enable_fusion
18762 wine_fn_config_test dlls/fusion/tests fusion_test
18763 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18764 wine_fn_config_dll gameux enable_gameux clean
18765 wine_fn_config_test dlls/gameux/tests gameux_test
18766 wine_fn_config_dll gdi.exe16 enable_win16
18767 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18768 wine_fn_config_test dlls/gdi32/tests gdi32_test
18769 wine_fn_config_dll gdiplus enable_gdiplus implib
18770 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18771 wine_fn_config_dll glu32 enable_glu32 implib
18772 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18773 wine_fn_config_dll gpkcsp enable_gpkcsp
18774 wine_fn_config_dll hal enable_hal
18775 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18776 wine_fn_config_dll hid enable_hid implib
18777 wine_fn_config_test dlls/hid/tests hid_test
18778 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18779 wine_fn_config_dll hlink enable_hlink clean,implib
18780 wine_fn_config_test dlls/hlink/tests hlink_test
18781 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18782 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18783 wine_fn_config_dll httpapi enable_httpapi implib
18784 wine_fn_config_test dlls/httpapi/tests httpapi_test
18785 wine_fn_config_dll iccvid enable_iccvid clean
18786 wine_fn_config_dll icmp enable_icmp
18787 wine_fn_config_dll ieframe enable_ieframe clean,implib
18788 wine_fn_config_test dlls/ieframe/tests ieframe_test
18789 wine_fn_config_dll ieproxy enable_ieproxy clean
18790 wine_fn_config_dll ifsmgr.vxd enable_win16
18791 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18792 wine_fn_config_dll imagehlp enable_imagehlp implib
18793 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18794 wine_fn_config_dll imm.dll16 enable_win16
18795 wine_fn_config_dll imm32 enable_imm32 implib
18796 wine_fn_config_test dlls/imm32/tests imm32_test
18797 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18798 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18799 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18800 wine_fn_config_dll inetmib1 enable_inetmib1
18801 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18802 wine_fn_config_dll infosoft enable_infosoft clean
18803 wine_fn_config_test dlls/infosoft/tests infosoft_test
18804 wine_fn_config_dll initpki enable_initpki
18805 wine_fn_config_dll inkobj enable_inkobj
18806 wine_fn_config_dll inseng enable_inseng clean
18807 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18808 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18809 wine_fn_config_dll iprop enable_iprop
18810 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18811 wine_fn_config_dll itircl enable_itircl
18812 wine_fn_config_dll itss enable_itss clean
18813 wine_fn_config_test dlls/itss/tests itss_test
18814 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18815 wine_fn_config_dll jscript enable_jscript clean
18816 wine_fn_config_test dlls/jscript/tests jscript_test
18817 wine_fn_config_dll jsproxy enable_jsproxy implib
18818 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18819 wine_fn_config_dll kerberos enable_kerberos
18820 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18821 wine_fn_config_test dlls/kernel32/tests kernel32_test
18822 wine_fn_config_dll kernelbase enable_kernelbase
18823 wine_fn_config_dll keyboard.drv16 enable_win16
18824 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18825 wine_fn_config_dll ksuser enable_ksuser
18826 wine_fn_config_dll ktmw32 enable_ktmw32
18827 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18828 wine_fn_config_dll loadperf enable_loadperf implib
18829 wine_fn_config_dll localspl enable_localspl clean
18830 wine_fn_config_test dlls/localspl/tests localspl_test
18831 wine_fn_config_dll localui enable_localui clean
18832 wine_fn_config_test dlls/localui/tests localui_test
18833 wine_fn_config_dll lz32 enable_lz32 implib
18834 wine_fn_config_test dlls/lz32/tests lz32_test
18835 wine_fn_config_dll lzexpand.dll16 enable_win16
18836 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18837 wine_fn_config_test dlls/mapi32/tests mapi32_test
18838 wine_fn_config_dll mapistub enable_mapistub
18839 wine_fn_config_dll mciavi32 enable_mciavi32
18840 wine_fn_config_dll mcicda enable_mcicda
18841 wine_fn_config_dll mciqtz32 enable_mciqtz32
18842 wine_fn_config_dll mciseq enable_mciseq
18843 wine_fn_config_dll mciwave enable_mciwave
18844 wine_fn_config_dll mf enable_mf implib
18845 wine_fn_config_test dlls/mf/tests mf_test
18846 wine_fn_config_dll mf3216 enable_mf3216
18847 wine_fn_config_dll mfplat enable_mfplat implib
18848 wine_fn_config_test dlls/mfplat/tests mfplat_test
18849 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18850 wine_fn_config_lib mfuuid
18851 wine_fn_config_dll mgmtapi enable_mgmtapi
18852 wine_fn_config_dll midimap enable_midimap
18853 wine_fn_config_dll mlang enable_mlang clean,implib
18854 wine_fn_config_test dlls/mlang/tests mlang_test
18855 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18856 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18857 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18858 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18859 wine_fn_config_dll mmdevldr.vxd enable_win16
18860 wine_fn_config_dll mmsystem.dll16 enable_win16
18861 wine_fn_config_dll monodebg.vxd enable_win16
18862 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18863 wine_fn_config_dll mouse.drv16 enable_win16
18864 wine_fn_config_dll mpr enable_mpr clean,implib
18865 wine_fn_config_test dlls/mpr/tests mpr_test
18866 wine_fn_config_dll mprapi enable_mprapi implib
18867 wine_fn_config_dll msacm.dll16 enable_win16
18868 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18869 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18870 wine_fn_config_test dlls/msacm32/tests msacm32_test
18871 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18872 wine_fn_config_dll msasn1 enable_msasn1 implib
18873 wine_fn_config_dll mscat32 enable_mscat32
18874 wine_fn_config_dll mscms enable_mscms implib
18875 wine_fn_config_test dlls/mscms/tests mscms_test
18876 wine_fn_config_dll mscoree enable_mscoree clean
18877 wine_fn_config_test dlls/mscoree/tests mscoree_test
18878 wine_fn_config_dll msctf enable_msctf clean
18879 wine_fn_config_test dlls/msctf/tests msctf_test
18880 wine_fn_config_dll msctfp enable_msctfp clean
18881 wine_fn_config_dll msdaps enable_msdaps clean
18882 wine_fn_config_dll msdelta enable_msdelta
18883 wine_fn_config_dll msdmo enable_msdmo implib
18884 wine_fn_config_test dlls/msdmo/tests msdmo_test
18885 wine_fn_config_dll msdrm enable_msdrm
18886 wine_fn_config_dll msftedit enable_msftedit
18887 wine_fn_config_dll msg711.acm enable_msg711_acm
18888 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18889 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18890 wine_fn_config_dll mshtml enable_mshtml clean,implib
18891 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18892 wine_fn_config_dll msi enable_msi clean,implib
18893 wine_fn_config_test dlls/msi/tests msi_test
18894 wine_fn_config_dll msident enable_msident clean
18895 wine_fn_config_dll msimg32 enable_msimg32 implib
18896 wine_fn_config_dll msimsg enable_msimsg
18897 wine_fn_config_dll msimtf enable_msimtf clean
18898 wine_fn_config_dll msisip enable_msisip
18899 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18900 wine_fn_config_dll msls31 enable_msls31
18901 wine_fn_config_dll msnet32 enable_msnet32
18902 wine_fn_config_dll mspatcha enable_mspatcha implib
18903 wine_fn_config_dll msports enable_msports
18904 wine_fn_config_dll msrle32 enable_msrle32 clean
18905 wine_fn_config_test dlls/msrle32/tests msrle32_test
18906 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18907 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18908 wine_fn_config_dll mssign32 enable_mssign32
18909 wine_fn_config_dll mssip32 enable_mssip32
18910 wine_fn_config_dll mstask enable_mstask clean
18911 wine_fn_config_test dlls/mstask/tests mstask_test
18912 wine_fn_config_dll msvcirt enable_msvcirt
18913 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18914 wine_fn_config_dll msvcm80 enable_msvcm80
18915 wine_fn_config_dll msvcm90 enable_msvcm90
18916 wine_fn_config_dll msvcp100 enable_msvcp100
18917 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18918 wine_fn_config_dll msvcp110 enable_msvcp110
18919 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18920 wine_fn_config_dll msvcp120 enable_msvcp120
18921 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18922 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18923 wine_fn_config_dll msvcp140 enable_msvcp140
18924 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18925 wine_fn_config_dll msvcp60 enable_msvcp60
18926 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18927 wine_fn_config_dll msvcp70 enable_msvcp70
18928 wine_fn_config_dll msvcp71 enable_msvcp71
18929 wine_fn_config_dll msvcp80 enable_msvcp80
18930 wine_fn_config_dll msvcp90 enable_msvcp90
18931 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18932 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18933 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18934 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18935 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18936 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18937 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18938 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18939 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18940 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18941 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18942 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18943 wine_fn_config_dll msvcrt enable_msvcrt implib
18944 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18945 wine_fn_config_dll msvcrt20 enable_msvcrt20
18946 wine_fn_config_dll msvcrt40 enable_msvcrt40
18947 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18948 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18949 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18950 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18951 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18952 wine_fn_config_dll msvideo.dll16 enable_win16
18953 wine_fn_config_dll mswsock enable_mswsock implib
18954 wine_fn_config_dll msxml enable_msxml clean
18955 wine_fn_config_dll msxml2 enable_msxml2 clean
18956 wine_fn_config_dll msxml3 enable_msxml3 clean
18957 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18958 wine_fn_config_dll msxml4 enable_msxml4 clean
18959 wine_fn_config_dll msxml6 enable_msxml6 clean
18960 wine_fn_config_dll mtxdm enable_mtxdm
18961 wine_fn_config_dll ncrypt enable_ncrypt
18962 wine_fn_config_dll nddeapi enable_nddeapi implib
18963 wine_fn_config_dll ndis.sys enable_ndis_sys
18964 wine_fn_config_dll netapi32 enable_netapi32 implib
18965 wine_fn_config_test dlls/netapi32/tests netapi32_test
18966 wine_fn_config_dll netcfgx enable_netcfgx clean
18967 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18968 wine_fn_config_dll netprofm enable_netprofm clean
18969 wine_fn_config_test dlls/netprofm/tests netprofm_test
18970 wine_fn_config_dll newdev enable_newdev implib
18971 wine_fn_config_dll normaliz enable_normaliz implib
18972 wine_fn_config_dll npmshtml enable_npmshtml
18973 wine_fn_config_dll npptools enable_npptools
18974 wine_fn_config_dll ntdll enable_ntdll implib
18975 wine_fn_config_test dlls/ntdll/tests ntdll_test
18976 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18977 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18978 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18979 wine_fn_config_dll ntprint enable_ntprint
18980 wine_fn_config_test dlls/ntprint/tests ntprint_test
18981 wine_fn_config_dll objsel enable_objsel clean
18982 wine_fn_config_dll odbc32 enable_odbc32 implib
18983 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18984 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18985 wine_fn_config_dll odbccu32 enable_odbccu32
18986 wine_fn_config_dll ole2.dll16 enable_win16
18987 wine_fn_config_dll ole2conv.dll16 enable_win16
18988 wine_fn_config_dll ole2disp.dll16 enable_win16
18989 wine_fn_config_dll ole2nls.dll16 enable_win16
18990 wine_fn_config_dll ole2prox.dll16 enable_win16
18991 wine_fn_config_dll ole2thk.dll16 enable_win16
18992 wine_fn_config_dll ole32 enable_ole32 clean,implib
18993 wine_fn_config_test dlls/ole32/tests ole32_test
18994 wine_fn_config_dll oleacc enable_oleacc clean,implib
18995 wine_fn_config_test dlls/oleacc/tests oleacc_test
18996 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18997 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18998 wine_fn_config_dll olecli.dll16 enable_win16
18999 wine_fn_config_dll olecli32 enable_olecli32 implib
19000 wine_fn_config_dll oledb32 enable_oledb32 clean
19001 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
19002 wine_fn_config_dll oledlg enable_oledlg clean,implib
19003 wine_fn_config_test dlls/oledlg/tests oledlg_test
19004 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
19005 wine_fn_config_dll olesvr.dll16 enable_win16
19006 wine_fn_config_dll olesvr32 enable_olesvr32 implib
19007 wine_fn_config_dll olethk32 enable_olethk32
19008 wine_fn_config_dll openal32 enable_openal32
19009 wine_fn_config_dll opencl enable_opencl
19010 wine_fn_config_dll opengl32 enable_opengl32 implib
19011 wine_fn_config_test dlls/opengl32/tests opengl32_test
19012 wine_fn_config_dll packager enable_packager clean
19013 wine_fn_config_test dlls/packager/tests packager_test
19014 wine_fn_config_dll pdh enable_pdh implib
19015 wine_fn_config_test dlls/pdh/tests pdh_test
19016 wine_fn_config_dll photometadatahandler enable_photometadatahandler
19017 wine_fn_config_dll pidgen enable_pidgen
19018 wine_fn_config_dll powrprof enable_powrprof implib
19019 wine_fn_config_dll printui enable_printui
19020 wine_fn_config_dll prntvpt enable_prntvpt
19021 wine_fn_config_dll propsys enable_propsys clean,implib
19022 wine_fn_config_test dlls/propsys/tests propsys_test
19023 wine_fn_config_dll psapi enable_psapi implib
19024 wine_fn_config_test dlls/psapi/tests psapi_test
19025 wine_fn_config_dll pstorec enable_pstorec clean
19026 wine_fn_config_test dlls/pstorec/tests pstorec_test
19027 wine_fn_config_dll qcap enable_qcap
19028 wine_fn_config_test dlls/qcap/tests qcap_test
19029 wine_fn_config_dll qedit enable_qedit clean
19030 wine_fn_config_test dlls/qedit/tests qedit_test
19031 wine_fn_config_dll qmgr enable_qmgr clean
19032 wine_fn_config_test dlls/qmgr/tests qmgr_test
19033 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
19034 wine_fn_config_dll quartz enable_quartz clean,implib
19035 wine_fn_config_test dlls/quartz/tests quartz_test clean
19036 wine_fn_config_dll query enable_query
19037 wine_fn_config_dll rasapi16.dll16 enable_win16
19038 wine_fn_config_dll rasapi32 enable_rasapi32 implib
19039 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
19040 wine_fn_config_dll rasdlg enable_rasdlg implib
19041 wine_fn_config_dll regapi enable_regapi
19042 wine_fn_config_dll resutils enable_resutils implib
19043 wine_fn_config_dll riched20 enable_riched20 clean,implib
19044 wine_fn_config_test dlls/riched20/tests riched20_test
19045 wine_fn_config_dll riched32 enable_riched32
19046 wine_fn_config_test dlls/riched32/tests riched32_test
19047 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
19048 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
19049 wine_fn_config_dll rsabase enable_rsabase
19050 wine_fn_config_dll rsaenh enable_rsaenh implib
19051 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19052 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19053 wine_fn_config_dll rtutils enable_rtutils implib
19054 wine_fn_config_dll samlib enable_samlib
19055 wine_fn_config_dll sane.ds enable_sane_ds clean
19056 wine_fn_config_dll sapi enable_sapi clean
19057 wine_fn_config_test dlls/sapi/tests sapi_test
19058 wine_fn_config_dll scarddlg enable_scarddlg
19059 wine_fn_config_dll sccbase enable_sccbase
19060 wine_fn_config_dll schannel enable_schannel
19061 wine_fn_config_test dlls/schannel/tests schannel_test
19062 wine_fn_config_dll schedsvc enable_schedsvc clean
19063 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
19064 wine_fn_config_dll scrobj enable_scrobj clean
19065 wine_fn_config_dll scrrun enable_scrrun clean
19066 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
19067 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19068 wine_fn_config_dll secur32 enable_secur32 implib
19069 wine_fn_config_test dlls/secur32/tests secur32_test
19070 wine_fn_config_dll security enable_security
19071 wine_fn_config_dll sensapi enable_sensapi implib
19072 wine_fn_config_dll serialui enable_serialui clean
19073 wine_fn_config_test dlls/serialui/tests serialui_test
19074 wine_fn_config_dll setupapi enable_setupapi clean,implib
19075 wine_fn_config_test dlls/setupapi/tests setupapi_test
19076 wine_fn_config_dll setupx.dll16 enable_win16
19077 wine_fn_config_dll sfc enable_sfc implib
19078 wine_fn_config_dll sfc_os enable_sfc_os implib
19079 wine_fn_config_dll shcore enable_shcore
19080 wine_fn_config_dll shdoclc enable_shdoclc clean
19081 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
19082 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19083 wine_fn_config_dll shell.dll16 enable_win16
19084 wine_fn_config_dll shell32 enable_shell32 clean,implib
19085 wine_fn_config_test dlls/shell32/tests shell32_test
19086 wine_fn_config_dll shfolder enable_shfolder implib
19087 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
19088 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19089 wine_fn_config_dll slbcsp enable_slbcsp
19090 wine_fn_config_dll slc enable_slc implib
19091 wine_fn_config_test dlls/slc/tests slc_test
19092 wine_fn_config_dll snmpapi enable_snmpapi implib
19093 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19094 wine_fn_config_dll softpub enable_softpub
19095 wine_fn_config_dll sound.drv16 enable_win16
19096 wine_fn_config_dll spoolss enable_spoolss implib
19097 wine_fn_config_test dlls/spoolss/tests spoolss_test
19098 wine_fn_config_dll sspicli enable_sspicli
19099 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
19100 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
19101 wine_fn_config_dll sti enable_sti clean,implib
19102 wine_fn_config_test dlls/sti/tests sti_test
19103 wine_fn_config_dll storage.dll16 enable_win16
19104 wine_fn_config_dll stress.dll16 enable_win16
19105 wine_fn_config_lib strmbase
19106 wine_fn_config_lib strmiids
19107 wine_fn_config_dll svrapi enable_svrapi
19108 wine_fn_config_dll sxs enable_sxs implib
19109 wine_fn_config_test dlls/sxs/tests sxs_test
19110 wine_fn_config_dll system.drv16 enable_win16
19111 wine_fn_config_dll t2embed enable_t2embed implib
19112 wine_fn_config_test dlls/t2embed/tests t2embed_test
19113 wine_fn_config_dll tapi32 enable_tapi32 implib
19114 wine_fn_config_dll taskschd enable_taskschd clean
19115 wine_fn_config_test dlls/taskschd/tests taskschd_test
19116 wine_fn_config_dll tdh enable_tdh
19117 wine_fn_config_dll tdi.sys enable_tdi_sys
19118 wine_fn_config_dll toolhelp.dll16 enable_win16
19119 wine_fn_config_dll traffic enable_traffic
19120 wine_fn_config_dll twain.dll16 enable_win16
19121 wine_fn_config_dll twain_32 enable_twain_32 clean
19122 wine_fn_config_test dlls/twain_32/tests twain_32_test
19123 wine_fn_config_dll typelib.dll16 enable_win16
19124 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19125 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19126 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19127 wine_fn_config_dll uiribbon enable_uiribbon clean
19128 wine_fn_config_dll unicows enable_unicows implib
19129 wine_fn_config_dll updspapi enable_updspapi
19130 wine_fn_config_dll url enable_url implib
19131 wine_fn_config_dll urlmon enable_urlmon clean,implib
19132 wine_fn_config_test dlls/urlmon/tests urlmon_test
19133 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19134 wine_fn_config_dll user.exe16 enable_win16
19135 wine_fn_config_dll user32 enable_user32 clean,implib
19136 wine_fn_config_test dlls/user32/tests user32_test
19137 wine_fn_config_dll userenv enable_userenv implib
19138 wine_fn_config_test dlls/userenv/tests userenv_test
19139 wine_fn_config_dll usp10 enable_usp10 implib
19140 wine_fn_config_test dlls/usp10/tests usp10_test
19141 wine_fn_config_lib uuid
19142 wine_fn_config_dll uxtheme enable_uxtheme implib
19143 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19144 wine_fn_config_dll vbscript enable_vbscript clean
19145 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
19146 wine_fn_config_dll vcomp enable_vcomp
19147 wine_fn_config_test dlls/vcomp/tests vcomp_test
19148 wine_fn_config_dll vcomp100 enable_vcomp100
19149 wine_fn_config_dll vcomp110 enable_vcomp110
19150 wine_fn_config_dll vcomp120 enable_vcomp120
19151 wine_fn_config_dll vcomp140 enable_vcomp140
19152 wine_fn_config_dll vcomp90 enable_vcomp90
19153 wine_fn_config_dll vcruntime140 enable_vcruntime140
19154 wine_fn_config_dll vdhcp.vxd enable_win16
19155 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19156 wine_fn_config_dll ver.dll16 enable_win16
19157 wine_fn_config_dll version enable_version implib
19158 wine_fn_config_test dlls/version/tests version_test
19159 wine_fn_config_dll virtdisk enable_virtdisk
19160 wine_fn_config_dll vmm.vxd enable_win16
19161 wine_fn_config_dll vnbt.vxd enable_win16
19162 wine_fn_config_dll vnetbios.vxd enable_win16
19163 wine_fn_config_dll vssapi enable_vssapi
19164 wine_fn_config_dll vtdapi.vxd enable_win16
19165 wine_fn_config_dll vwin32.vxd enable_win16
19166 wine_fn_config_dll w32skrnl enable_win16
19167 wine_fn_config_dll w32sys.dll16 enable_win16
19168 wine_fn_config_dll wbemdisp enable_wbemdisp clean
19169 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19170 wine_fn_config_dll wbemprox enable_wbemprox clean
19171 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19172 wine_fn_config_dll wdscore enable_wdscore
19173 wine_fn_config_dll webservices enable_webservices implib
19174 wine_fn_config_test dlls/webservices/tests webservices_test
19175 wine_fn_config_dll wer enable_wer implib
19176 wine_fn_config_test dlls/wer/tests wer_test
19177 wine_fn_config_dll wevtapi enable_wevtapi
19178 wine_fn_config_dll wiaservc enable_wiaservc clean
19179 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19180 wine_fn_config_dll wimgapi enable_wimgapi
19181 wine_fn_config_dll win32s16.dll16 enable_win16
19182 wine_fn_config_dll win87em.dll16 enable_win16
19183 wine_fn_config_dll winaspi.dll16 enable_win16
19184 wine_fn_config_dll windebug.dll16 enable_win16
19185 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
19186 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19187 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19188 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19189 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19190 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
19191 wine_fn_config_dll winebus.sys enable_winebus_sys
19192 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19193 wine_fn_config_lib winecrt0
19194 wine_fn_config_dll wined3d enable_wined3d implib
19195 wine_fn_config_dll winegstreamer enable_winegstreamer
19196 wine_fn_config_dll winehid.sys enable_winehid_sys
19197 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19198 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19199 wine_fn_config_dll winemapi enable_winemapi
19200 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19201 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19202 wine_fn_config_dll wineps16.drv16 enable_win16
19203 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19204 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19205 wine_fn_config_dll winex11.drv enable_winex11_drv
19206 wine_fn_config_dll wing.dll16 enable_win16
19207 wine_fn_config_dll wing32 enable_wing32
19208 wine_fn_config_dll winhttp enable_winhttp clean,implib
19209 wine_fn_config_test dlls/winhttp/tests winhttp_test
19210 wine_fn_config_dll wininet enable_wininet clean,implib
19211 wine_fn_config_test dlls/wininet/tests wininet_test
19212 wine_fn_config_dll winmm enable_winmm clean,implib
19213 wine_fn_config_test dlls/winmm/tests winmm_test
19214 wine_fn_config_dll winnls.dll16 enable_win16
19215 wine_fn_config_dll winnls32 enable_winnls32 implib
19216 wine_fn_config_dll winscard enable_winscard implib
19217 wine_fn_config_dll winsock.dll16 enable_win16
19218 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19219 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19220 wine_fn_config_dll winsta enable_winsta
19221 wine_fn_config_dll wintab.dll16 enable_win16
19222 wine_fn_config_dll wintab32 enable_wintab32 implib
19223 wine_fn_config_test dlls/wintab32/tests wintab32_test
19224 wine_fn_config_dll wintrust enable_wintrust implib
19225 wine_fn_config_test dlls/wintrust/tests wintrust_test
19226 wine_fn_config_dll winusb enable_winusb
19227 wine_fn_config_dll wlanapi enable_wlanapi implib
19228 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19229 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19230 wine_fn_config_test dlls/wldap32/tests wldap32_test
19231 wine_fn_config_dll wmasf enable_wmasf
19232 wine_fn_config_dll wmi enable_wmi
19233 wine_fn_config_dll wmiutils enable_wmiutils clean
19234 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19235 wine_fn_config_dll wmp enable_wmp clean
19236 wine_fn_config_test dlls/wmp/tests wmp_test
19237 wine_fn_config_dll wmphoto enable_wmphoto clean
19238 wine_fn_config_dll wmvcore enable_wmvcore implib
19239 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19240 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19241 wine_fn_config_dll wow32 enable_win16 implib
19242 wine_fn_config_dll wpc enable_wpc clean
19243 wine_fn_config_test dlls/wpc/tests wpc_test
19244 wine_fn_config_dll wpcap enable_wpcap
19245 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19246 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19247 wine_fn_config_dll wsdapi enable_wsdapi implib
19248 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19249 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19250 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19251 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19252 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19253 wine_fn_config_dll wsock32 enable_wsock32 implib
19254 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19255 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19256 wine_fn_config_dll wuapi enable_wuapi clean
19257 wine_fn_config_dll wuaueng enable_wuaueng
19258 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19259 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19260 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19261 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19262 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19263 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19264 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19265 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19266 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19267 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19268 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19269 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19270 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19271 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19272 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19273 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19274 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19275 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19276 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19277 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19278 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19279 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19280 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19281 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19282 wine_fn_config_dll xinput1_1 enable_xinput1_1
19283 wine_fn_config_dll xinput1_2 enable_xinput1_2
19284 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19285 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19286 wine_fn_config_dll xinput1_4 enable_xinput1_4
19287 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19288 wine_fn_config_dll xmllite enable_xmllite implib
19289 wine_fn_config_test dlls/xmllite/tests xmllite_test
19290 wine_fn_config_dll xolehlp enable_xolehlp
19291 wine_fn_config_dll xpsprint enable_xpsprint
19292 wine_fn_config_dll xpssvcs enable_xpssvcs
19293 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19294 wine_fn_config_makefile include enable_include clean,install-dev
19295 wine_fn_config_makefile libs/port enable_libs_port
19296 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19297 wine_fn_config_makefile libs/wpp enable_libs_wpp
19298 wine_fn_config_makefile loader enable_loader clean,install-lib
19299 wine_fn_config_makefile po enable_po clean
19300 wine_fn_config_program arp enable_arp install
19301 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19302 wine_fn_config_program attrib enable_attrib clean,install
19303 wine_fn_config_program cabarc enable_cabarc install
19304 wine_fn_config_program cacls enable_cacls install
19305 wine_fn_config_program clock enable_clock clean,install
19306 wine_fn_config_program cmd enable_cmd clean,install
19307 wine_fn_config_test programs/cmd/tests cmd.exe_test
19308 wine_fn_config_program conhost enable_conhost install
19309 wine_fn_config_program control enable_control install
19310 wine_fn_config_program cscript enable_cscript clean,install
19311 wine_fn_config_program dpnsvr enable_dpnsvr install
19312 wine_fn_config_program dxdiag enable_dxdiag clean,install
19313 wine_fn_config_program eject enable_eject install
19314 wine_fn_config_program expand enable_expand install
19315 wine_fn_config_program explorer enable_explorer clean,install
19316 wine_fn_config_program extrac32 enable_extrac32 install
19317 wine_fn_config_program findstr enable_findstr install
19318 wine_fn_config_program fsutil enable_fsutil install
19319 wine_fn_config_program hh enable_hh install
19320 wine_fn_config_program hostname enable_hostname clean,install
19321 wine_fn_config_program icacls enable_icacls install
19322 wine_fn_config_program icinfo enable_icinfo install
19323 wine_fn_config_program iexplore enable_iexplore install
19324 wine_fn_config_program ipconfig enable_ipconfig clean,install
19325 wine_fn_config_program lodctr enable_lodctr install
19326 wine_fn_config_program mofcomp enable_mofcomp install
19327 wine_fn_config_program mshta enable_mshta install
19328 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19329 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19330 wine_fn_config_program net enable_net clean,install
19331 wine_fn_config_program netsh enable_netsh install
19332 wine_fn_config_program netstat enable_netstat clean,install
19333 wine_fn_config_program ngen enable_ngen install
19334 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19335 wine_fn_config_program oleview enable_oleview clean,install
19336 wine_fn_config_program ping enable_ping install
19337 wine_fn_config_program plugplay enable_plugplay install
19338 wine_fn_config_program powershell enable_powershell install
19339 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19340 wine_fn_config_program progman enable_progman clean,install
19341 wine_fn_config_program reg enable_reg clean,install
19342 wine_fn_config_test programs/reg/tests reg.exe_test
19343 wine_fn_config_program regasm enable_regasm install
19344 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19345 wine_fn_config_test programs/regedit/tests regedit.exe_test
19346 wine_fn_config_program regsvcs enable_regsvcs install
19347 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19348 wine_fn_config_program rpcss enable_rpcss clean,install
19349 wine_fn_config_program rundll.exe16 enable_win16 install
19350 wine_fn_config_program rundll32 enable_rundll32 install
19351 wine_fn_config_program sc enable_sc install
19352 wine_fn_config_program schtasks enable_schtasks install
19353 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19354 wine_fn_config_program sdbinst enable_sdbinst install
19355 wine_fn_config_program secedit enable_secedit install
19356 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19357 wine_fn_config_program services enable_services clean,install
19358 wine_fn_config_test programs/services/tests services.exe_test
19359 wine_fn_config_program shutdown enable_shutdown install
19360 wine_fn_config_program spoolsv enable_spoolsv install
19361 wine_fn_config_program start enable_start clean,install
19362 wine_fn_config_program subst enable_subst install
19363 wine_fn_config_program svchost enable_svchost install
19364 wine_fn_config_program systeminfo enable_systeminfo install
19365 wine_fn_config_program taskkill enable_taskkill clean,install
19366 wine_fn_config_program tasklist enable_tasklist install
19367 wine_fn_config_program taskmgr enable_taskmgr clean,install
19368 wine_fn_config_program termsv enable_termsv install
19369 wine_fn_config_program uninstaller enable_uninstaller clean,install
19370 wine_fn_config_program unlodctr enable_unlodctr install
19371 wine_fn_config_program view enable_view clean,install
19372 wine_fn_config_program wevtutil enable_wevtutil install
19373 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19374 wine_fn_config_program winebrowser enable_winebrowser install
19375 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19376 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19377 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19378 wine_fn_config_program winedevice enable_winedevice install
19379 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19380 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19381 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19382 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19383 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19384 wine_fn_config_program winetest enable_winetest clean
19385 wine_fn_config_program winevdm enable_win16 install
19386 wine_fn_config_program winhelp.exe16 enable_win16 install
19387 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19388 wine_fn_config_program winoldap.mod16 enable_win16 install
19389 wine_fn_config_program winver enable_winver install
19390 wine_fn_config_program wmic enable_wmic clean,install
19391 wine_fn_config_program wmplayer enable_wmplayer install
19392 wine_fn_config_program wordpad enable_wordpad clean,install
19393 wine_fn_config_program write enable_write clean,install
19394 wine_fn_config_program wscript enable_wscript clean,install
19395 wine_fn_config_test programs/wscript/tests wscript.exe_test
19396 wine_fn_config_program wusa enable_wusa install
19397 wine_fn_config_program xcopy enable_xcopy clean,install
19398 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19399 wine_fn_config_makefile server enable_server clean,install-lib
19400 wine_fn_config_tool tools clean
19401 wine_fn_config_tool tools/sfnt2fon clean
19402 wine_fn_config_tool tools/widl clean,install-dev
19403 wine_fn_config_tool tools/winebuild clean,install-dev
19404 wine_fn_config_tool tools/winedump clean,install-dev
19405 wine_fn_config_tool tools/winegcc clean,install-dev
19406 wine_fn_config_tool tools/winemaker clean,install-dev
19407 wine_fn_config_tool tools/wmc clean,install-dev
19408 wine_fn_config_tool tools/wrc clean,install-dev
19411 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19412 wine_fn_append_file CONFIGURE_TARGETS "tags"
19413 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19414 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19415 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19416 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19417 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19418 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19420 if test "x$enable_tools" != xno
19421 then
19422 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19423 ac_config_commands="$ac_config_commands tools/makedep"
19427 ac_config_commands="$ac_config_commands Makefile"
19430 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19434 if test "x$enable_maintainer_mode" = xyes
19435 then
19436 wine_fn_append_rule "configure: configure.ac aclocal.m4
19437 autoconf --warnings=all
19438 include/config.h.in: include/stamp-h.in
19439 include/stamp-h.in: configure.ac aclocal.m4
19440 autoheader --warnings=all
19441 @echo timestamp > \$@"
19444 if test "x$enable_tools" != xno
19445 then
19446 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19447 @./config.status tools/makedep
19448 Makefile: tools/makedep$ac_exeext"
19449 else
19450 wine_fn_append_rule "\$(MAKEDEP):
19451 @echo \"You need to run make in $TOOLSDIR first\" && false"
19454 if test -n "$with_wine64"
19455 then
19456 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19457 fonts server:
19458 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19459 $with_wine64/loader/wine:
19460 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19461 $with_wine64/loader/wine-preloader:
19462 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19463 clean::
19464 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19465 else
19466 WINELOADER_INSTALL="wine.inf"
19468 wine_fn_append_rule "install install-lib::
19469 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19470 .PHONY: l_intl.nls/uninstall
19471 l_intl.nls/uninstall::
19472 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19473 __uninstall__: l_intl.nls/uninstall"
19474 case $host_os in
19475 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19476 *) wine_fn_append_rule "install install-lib::
19477 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19478 uninstall::
19479 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19480 esac
19483 $as_echo " done" >&6
19484 cat >confcache <<\_ACEOF
19485 # This file is a shell script that caches the results of configure
19486 # tests run on this system so they can be shared between configure
19487 # scripts and configure runs, see configure's option --config-cache.
19488 # It is not useful on other systems. If it contains results you don't
19489 # want to keep, you may remove or edit it.
19491 # config.status only pays attention to the cache file if you give it
19492 # the --recheck option to rerun configure.
19494 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19495 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19496 # following values.
19498 _ACEOF
19500 # The following way of writing the cache mishandles newlines in values,
19501 # but we know of no workaround that is simple, portable, and efficient.
19502 # So, we kill variables containing newlines.
19503 # Ultrix sh set writes to stderr and can't be redirected directly,
19504 # and sets the high bit in the cache file unless we assign to the vars.
19506 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19507 eval ac_val=\$$ac_var
19508 case $ac_val in #(
19509 *${as_nl}*)
19510 case $ac_var in #(
19511 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19512 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19513 esac
19514 case $ac_var in #(
19515 _ | IFS | as_nl) ;; #(
19516 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19517 *) { eval $ac_var=; unset $ac_var;} ;;
19518 esac ;;
19519 esac
19520 done
19522 (set) 2>&1 |
19523 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19524 *${as_nl}ac_space=\ *)
19525 # `set' does not quote correctly, so add quotes: double-quote
19526 # substitution turns \\\\ into \\, and sed turns \\ into \.
19527 sed -n \
19528 "s/'/'\\\\''/g;
19529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19530 ;; #(
19532 # `set' quotes correctly as required by POSIX, so do not add quotes.
19533 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19535 esac |
19536 sort
19538 sed '
19539 /^ac_cv_env_/b end
19540 t clear
19541 :clear
19542 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19543 t end
19544 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19545 :end' >>confcache
19546 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19547 if test -w "$cache_file"; then
19548 if test "x$cache_file" != "x/dev/null"; then
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19550 $as_echo "$as_me: updating cache $cache_file" >&6;}
19551 if test ! -f "$cache_file" || test -h "$cache_file"; then
19552 cat confcache >"$cache_file"
19553 else
19554 case $cache_file in #(
19555 */* | ?:*)
19556 mv -f confcache "$cache_file"$$ &&
19557 mv -f "$cache_file"$$ "$cache_file" ;; #(
19559 mv -f confcache "$cache_file" ;;
19560 esac
19563 else
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19565 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19568 rm -f confcache
19570 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19571 # Let make expand exec_prefix.
19572 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19574 DEFS=-DHAVE_CONFIG_H
19576 ac_libobjs=
19577 ac_ltlibobjs=
19579 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19580 # 1. Remove the extension, and $U if already installed.
19581 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19582 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19583 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19584 # will be set to the directory where LIBOBJS objects are built.
19585 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19586 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19587 done
19588 LIBOBJS=$ac_libobjs
19590 LTLIBOBJS=$ac_ltlibobjs
19594 : "${CONFIG_STATUS=./config.status}"
19595 ac_write_fail=0
19596 ac_clean_files_save=$ac_clean_files
19597 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19599 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19600 as_write_fail=0
19601 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19602 #! $SHELL
19603 # Generated by $as_me.
19604 # Run this file to recreate the current configuration.
19605 # Compiler output produced by configure, useful for debugging
19606 # configure, is in config.log if it exists.
19608 debug=false
19609 ac_cs_recheck=false
19610 ac_cs_silent=false
19612 SHELL=\${CONFIG_SHELL-$SHELL}
19613 export SHELL
19614 _ASEOF
19615 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19616 ## -------------------- ##
19617 ## M4sh Initialization. ##
19618 ## -------------------- ##
19620 # Be more Bourne compatible
19621 DUALCASE=1; export DUALCASE # for MKS sh
19622 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19623 emulate sh
19624 NULLCMD=:
19625 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19626 # is contrary to our usage. Disable this feature.
19627 alias -g '${1+"$@"}'='"$@"'
19628 setopt NO_GLOB_SUBST
19629 else
19630 case `(set -o) 2>/dev/null` in #(
19631 *posix*) :
19632 set -o posix ;; #(
19633 *) :
19635 esac
19639 as_nl='
19641 export as_nl
19642 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19643 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19646 # Prefer a ksh shell builtin over an external printf program on Solaris,
19647 # but without wasting forks for bash or zsh.
19648 if test -z "$BASH_VERSION$ZSH_VERSION" \
19649 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19650 as_echo='print -r --'
19651 as_echo_n='print -rn --'
19652 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19653 as_echo='printf %s\n'
19654 as_echo_n='printf %s'
19655 else
19656 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19657 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19658 as_echo_n='/usr/ucb/echo -n'
19659 else
19660 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19661 as_echo_n_body='eval
19662 arg=$1;
19663 case $arg in #(
19664 *"$as_nl"*)
19665 expr "X$arg" : "X\\(.*\\)$as_nl";
19666 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19667 esac;
19668 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19670 export as_echo_n_body
19671 as_echo_n='sh -c $as_echo_n_body as_echo'
19673 export as_echo_body
19674 as_echo='sh -c $as_echo_body as_echo'
19677 # The user is always right.
19678 if test "${PATH_SEPARATOR+set}" != set; then
19679 PATH_SEPARATOR=:
19680 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19681 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19682 PATH_SEPARATOR=';'
19687 # IFS
19688 # We need space, tab and new line, in precisely that order. Quoting is
19689 # there to prevent editors from complaining about space-tab.
19690 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19691 # splitting by setting IFS to empty value.)
19692 IFS=" "" $as_nl"
19694 # Find who we are. Look in the path if we contain no directory separator.
19695 as_myself=
19696 case $0 in #((
19697 *[\\/]* ) as_myself=$0 ;;
19698 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19699 for as_dir in $PATH
19701 IFS=$as_save_IFS
19702 test -z "$as_dir" && as_dir=.
19703 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19704 done
19705 IFS=$as_save_IFS
19708 esac
19709 # We did not find ourselves, most probably we were run as `sh COMMAND'
19710 # in which case we are not to be found in the path.
19711 if test "x$as_myself" = x; then
19712 as_myself=$0
19714 if test ! -f "$as_myself"; then
19715 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19716 exit 1
19719 # Unset variables that we do not need and which cause bugs (e.g. in
19720 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19721 # suppresses any "Segmentation fault" message there. '((' could
19722 # trigger a bug in pdksh 5.2.14.
19723 for as_var in BASH_ENV ENV MAIL MAILPATH
19724 do eval test x\${$as_var+set} = xset \
19725 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19726 done
19727 PS1='$ '
19728 PS2='> '
19729 PS4='+ '
19731 # NLS nuisances.
19732 LC_ALL=C
19733 export LC_ALL
19734 LANGUAGE=C
19735 export LANGUAGE
19737 # CDPATH.
19738 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19741 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19742 # ----------------------------------------
19743 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19744 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19745 # script with STATUS, using 1 if that was 0.
19746 as_fn_error ()
19748 as_status=$1; test $as_status -eq 0 && as_status=1
19749 if test "$4"; then
19750 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19751 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19753 $as_echo "$as_me: error: $2" >&2
19754 as_fn_exit $as_status
19755 } # as_fn_error
19758 # as_fn_set_status STATUS
19759 # -----------------------
19760 # Set $? to STATUS, without forking.
19761 as_fn_set_status ()
19763 return $1
19764 } # as_fn_set_status
19766 # as_fn_exit STATUS
19767 # -----------------
19768 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19769 as_fn_exit ()
19771 set +e
19772 as_fn_set_status $1
19773 exit $1
19774 } # as_fn_exit
19776 # as_fn_unset VAR
19777 # ---------------
19778 # Portably unset VAR.
19779 as_fn_unset ()
19781 { eval $1=; unset $1;}
19783 as_unset=as_fn_unset
19784 # as_fn_append VAR VALUE
19785 # ----------------------
19786 # Append the text in VALUE to the end of the definition contained in VAR. Take
19787 # advantage of any shell optimizations that allow amortized linear growth over
19788 # repeated appends, instead of the typical quadratic growth present in naive
19789 # implementations.
19790 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19791 eval 'as_fn_append ()
19793 eval $1+=\$2
19795 else
19796 as_fn_append ()
19798 eval $1=\$$1\$2
19800 fi # as_fn_append
19802 # as_fn_arith ARG...
19803 # ------------------
19804 # Perform arithmetic evaluation on the ARGs, and store the result in the
19805 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19806 # must be portable across $(()) and expr.
19807 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19808 eval 'as_fn_arith ()
19810 as_val=$(( $* ))
19812 else
19813 as_fn_arith ()
19815 as_val=`expr "$@" || test $? -eq 1`
19817 fi # as_fn_arith
19820 if expr a : '\(a\)' >/dev/null 2>&1 &&
19821 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19822 as_expr=expr
19823 else
19824 as_expr=false
19827 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19828 as_basename=basename
19829 else
19830 as_basename=false
19833 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19834 as_dirname=dirname
19835 else
19836 as_dirname=false
19839 as_me=`$as_basename -- "$0" ||
19840 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19841 X"$0" : 'X\(//\)$' \| \
19842 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19843 $as_echo X/"$0" |
19844 sed '/^.*\/\([^/][^/]*\)\/*$/{
19845 s//\1/
19848 /^X\/\(\/\/\)$/{
19849 s//\1/
19852 /^X\/\(\/\).*/{
19853 s//\1/
19856 s/.*/./; q'`
19858 # Avoid depending upon Character Ranges.
19859 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19862 as_cr_digits='0123456789'
19863 as_cr_alnum=$as_cr_Letters$as_cr_digits
19865 ECHO_C= ECHO_N= ECHO_T=
19866 case `echo -n x` in #(((((
19867 -n*)
19868 case `echo 'xy\c'` in
19869 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19870 xy) ECHO_C='\c';;
19871 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19872 ECHO_T=' ';;
19873 esac;;
19875 ECHO_N='-n';;
19876 esac
19878 rm -f conf$$ conf$$.exe conf$$.file
19879 if test -d conf$$.dir; then
19880 rm -f conf$$.dir/conf$$.file
19881 else
19882 rm -f conf$$.dir
19883 mkdir conf$$.dir 2>/dev/null
19885 if (echo >conf$$.file) 2>/dev/null; then
19886 if ln -s conf$$.file conf$$ 2>/dev/null; then
19887 as_ln_s='ln -s'
19888 # ... but there are two gotchas:
19889 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19890 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19891 # In both cases, we have to default to `cp -pR'.
19892 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19893 as_ln_s='cp -pR'
19894 elif ln conf$$.file conf$$ 2>/dev/null; then
19895 as_ln_s=ln
19896 else
19897 as_ln_s='cp -pR'
19899 else
19900 as_ln_s='cp -pR'
19902 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19903 rmdir conf$$.dir 2>/dev/null
19906 # as_fn_mkdir_p
19907 # -------------
19908 # Create "$as_dir" as a directory, including parents if necessary.
19909 as_fn_mkdir_p ()
19912 case $as_dir in #(
19913 -*) as_dir=./$as_dir;;
19914 esac
19915 test -d "$as_dir" || eval $as_mkdir_p || {
19916 as_dirs=
19917 while :; do
19918 case $as_dir in #(
19919 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19920 *) as_qdir=$as_dir;;
19921 esac
19922 as_dirs="'$as_qdir' $as_dirs"
19923 as_dir=`$as_dirname -- "$as_dir" ||
19924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19925 X"$as_dir" : 'X\(//\)[^/]' \| \
19926 X"$as_dir" : 'X\(//\)$' \| \
19927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19928 $as_echo X"$as_dir" |
19929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19930 s//\1/
19933 /^X\(\/\/\)[^/].*/{
19934 s//\1/
19937 /^X\(\/\/\)$/{
19938 s//\1/
19941 /^X\(\/\).*/{
19942 s//\1/
19945 s/.*/./; q'`
19946 test -d "$as_dir" && break
19947 done
19948 test -z "$as_dirs" || eval "mkdir $as_dirs"
19949 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19952 } # as_fn_mkdir_p
19953 if mkdir -p . 2>/dev/null; then
19954 as_mkdir_p='mkdir -p "$as_dir"'
19955 else
19956 test -d ./-p && rmdir ./-p
19957 as_mkdir_p=false
19961 # as_fn_executable_p FILE
19962 # -----------------------
19963 # Test if FILE is an executable regular file.
19964 as_fn_executable_p ()
19966 test -f "$1" && test -x "$1"
19967 } # as_fn_executable_p
19968 as_test_x='test -x'
19969 as_executable_p=as_fn_executable_p
19971 # Sed expression to map a string onto a valid CPP name.
19972 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19974 # Sed expression to map a string onto a valid variable name.
19975 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19978 exec 6>&1
19979 ## ----------------------------------- ##
19980 ## Main body of $CONFIG_STATUS script. ##
19981 ## ----------------------------------- ##
19982 _ASEOF
19983 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19986 # Save the log message, to keep $0 and so on meaningful, and to
19987 # report actual input values of CONFIG_FILES etc. instead of their
19988 # values after options handling.
19989 ac_log="
19990 This file was extended by Wine $as_me 3.1, which was
19991 generated by GNU Autoconf 2.69. Invocation command line was
19993 CONFIG_FILES = $CONFIG_FILES
19994 CONFIG_HEADERS = $CONFIG_HEADERS
19995 CONFIG_LINKS = $CONFIG_LINKS
19996 CONFIG_COMMANDS = $CONFIG_COMMANDS
19997 $ $0 $@
19999 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20002 _ACEOF
20004 case $ac_config_files in *"
20005 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20006 esac
20008 case $ac_config_headers in *"
20009 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20010 esac
20013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20014 # Files that config.status was made for.
20015 config_files="$ac_config_files"
20016 config_headers="$ac_config_headers"
20017 config_links="$ac_config_links"
20018 config_commands="$ac_config_commands"
20020 _ACEOF
20022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20023 ac_cs_usage="\
20024 \`$as_me' instantiates files and other configuration actions
20025 from templates according to the current configuration. Unless the files
20026 and actions are specified as TAGs, all are instantiated by default.
20028 Usage: $0 [OPTION]... [TAG]...
20030 -h, --help print this help, then exit
20031 -V, --version print version number and configuration settings, then exit
20032 --config print configuration, then exit
20033 -q, --quiet, --silent
20034 do not print progress messages
20035 -d, --debug don't remove temporary files
20036 --recheck update $as_me by reconfiguring in the same conditions
20037 --file=FILE[:TEMPLATE]
20038 instantiate the configuration file FILE
20039 --header=FILE[:TEMPLATE]
20040 instantiate the configuration header FILE
20042 Configuration files:
20043 $config_files
20045 Configuration headers:
20046 $config_headers
20048 Configuration links:
20049 $config_links
20051 Configuration commands:
20052 $config_commands
20054 Report bugs to <wine-devel@winehq.org>.
20055 Wine home page: <https://www.winehq.org>."
20057 _ACEOF
20058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20059 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20060 ac_cs_version="\\
20061 Wine config.status 3.1
20062 configured by $0, generated by GNU Autoconf 2.69,
20063 with options \\"\$ac_cs_config\\"
20065 Copyright (C) 2012 Free Software Foundation, Inc.
20066 This config.status script is free software; the Free Software Foundation
20067 gives unlimited permission to copy, distribute and modify it."
20069 ac_pwd='$ac_pwd'
20070 srcdir='$srcdir'
20071 test -n "\$AWK" || AWK=awk
20072 _ACEOF
20074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20075 # The default lists apply if the user does not specify any file.
20076 ac_need_defaults=:
20077 while test $# != 0
20079 case $1 in
20080 --*=?*)
20081 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20082 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20083 ac_shift=:
20085 --*=)
20086 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20087 ac_optarg=
20088 ac_shift=:
20091 ac_option=$1
20092 ac_optarg=$2
20093 ac_shift=shift
20095 esac
20097 case $ac_option in
20098 # Handling of the options.
20099 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20100 ac_cs_recheck=: ;;
20101 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20102 $as_echo "$ac_cs_version"; exit ;;
20103 --config | --confi | --conf | --con | --co | --c )
20104 $as_echo "$ac_cs_config"; exit ;;
20105 --debug | --debu | --deb | --de | --d | -d )
20106 debug=: ;;
20107 --file | --fil | --fi | --f )
20108 $ac_shift
20109 case $ac_optarg in
20110 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20111 '') as_fn_error $? "missing file argument" ;;
20112 esac
20113 as_fn_append CONFIG_FILES " '$ac_optarg'"
20114 ac_need_defaults=false;;
20115 --header | --heade | --head | --hea )
20116 $ac_shift
20117 case $ac_optarg in
20118 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20119 esac
20120 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20121 ac_need_defaults=false;;
20122 --he | --h)
20123 # Conflict between --help and --header
20124 as_fn_error $? "ambiguous option: \`$1'
20125 Try \`$0 --help' for more information.";;
20126 --help | --hel | -h )
20127 $as_echo "$ac_cs_usage"; exit ;;
20128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20129 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20130 ac_cs_silent=: ;;
20132 # This is an error.
20133 -*) as_fn_error $? "unrecognized option: \`$1'
20134 Try \`$0 --help' for more information." ;;
20136 *) as_fn_append ac_config_targets " $1"
20137 ac_need_defaults=false ;;
20139 esac
20140 shift
20141 done
20143 ac_configure_extra_args=
20145 if $ac_cs_silent; then
20146 exec 6>/dev/null
20147 ac_configure_extra_args="$ac_configure_extra_args --silent"
20150 _ACEOF
20151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20152 if \$ac_cs_recheck; then
20153 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20154 shift
20155 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20156 CONFIG_SHELL='$SHELL'
20157 export CONFIG_SHELL
20158 exec "\$@"
20161 _ACEOF
20162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20163 exec 5>>config.log
20165 echo
20166 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20167 ## Running $as_me. ##
20168 _ASBOX
20169 $as_echo "$ac_log"
20170 } >&5
20172 _ACEOF
20173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20175 # INIT-COMMANDS
20177 wine_fn_output_makedep ()
20179 as_dir=tools; as_fn_mkdir_p
20180 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20182 wine_fn_output_makefile ()
20184 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20185 `cat $wine_rules_file`
20186 _WINE_EOF
20187 as_fn_error $? "could not create Makefile" "$LINENO" 5
20190 _ACEOF
20192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20194 # Handling of arguments.
20195 for ac_config_target in $ac_config_targets
20197 case $ac_config_target in
20198 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20199 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20200 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20201 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20202 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20203 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20204 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20205 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20206 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20207 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20208 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20209 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20210 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20212 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20213 esac
20214 done
20217 # If the user did not use the arguments to specify the items to instantiate,
20218 # then the envvar interface is used. Set only those that are not.
20219 # We use the long form for the default assignment because of an extremely
20220 # bizarre bug on SunOS 4.1.3.
20221 if $ac_need_defaults; then
20222 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20223 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20224 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20225 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20228 # Have a temporary directory for convenience. Make it in the build tree
20229 # simply because there is no reason against having it here, and in addition,
20230 # creating and moving files from /tmp can sometimes cause problems.
20231 # Hook for its removal unless debugging.
20232 # Note that there is a small window in which the directory will not be cleaned:
20233 # after its creation but before its name has been assigned to `$tmp'.
20234 $debug ||
20236 tmp= ac_tmp=
20237 trap 'exit_status=$?
20238 : "${ac_tmp:=$tmp}"
20239 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20241 trap 'as_fn_exit 1' 1 2 13 15
20243 # Create a (secure) tmp directory for tmp files.
20246 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20247 test -d "$tmp"
20248 } ||
20250 tmp=./conf$$-$RANDOM
20251 (umask 077 && mkdir "$tmp")
20252 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20253 ac_tmp=$tmp
20255 # Set up the scripts for CONFIG_FILES section.
20256 # No need to generate them if there are no CONFIG_FILES.
20257 # This happens for instance with `./config.status config.h'.
20258 if test -n "$CONFIG_FILES"; then
20261 ac_cr=`echo X | tr X '\015'`
20262 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20263 # But we know of no other shell where ac_cr would be empty at this
20264 # point, so we can use a bashism as a fallback.
20265 if test "x$ac_cr" = x; then
20266 eval ac_cr=\$\'\\r\'
20268 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20269 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20270 ac_cs_awk_cr='\\r'
20271 else
20272 ac_cs_awk_cr=$ac_cr
20275 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20276 _ACEOF
20280 echo "cat >conf$$subs.awk <<_ACEOF" &&
20281 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20282 echo "_ACEOF"
20283 } >conf$$subs.sh ||
20284 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20285 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20286 ac_delim='%!_!# '
20287 for ac_last_try in false false false false false :; do
20288 . ./conf$$subs.sh ||
20289 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20291 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20292 if test $ac_delim_n = $ac_delim_num; then
20293 break
20294 elif $ac_last_try; then
20295 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20296 else
20297 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20299 done
20300 rm -f conf$$subs.sh
20302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20303 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20304 _ACEOF
20305 sed -n '
20307 s/^/S["/; s/!.*/"]=/
20310 s/^[^!]*!//
20311 :repl
20312 t repl
20313 s/'"$ac_delim"'$//
20314 t delim
20317 s/\(.\{148\}\)..*/\1/
20318 t more1
20319 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20322 b repl
20323 :more1
20324 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20327 s/.\{148\}//
20328 t nl
20329 :delim
20331 s/\(.\{148\}\)..*/\1/
20332 t more2
20333 s/["\\]/\\&/g; s/^/"/; s/$/"/
20336 :more2
20337 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20340 s/.\{148\}//
20341 t delim
20342 ' <conf$$subs.awk | sed '
20343 /^[^""]/{
20345 s/\n//
20347 ' >>$CONFIG_STATUS || ac_write_fail=1
20348 rm -f conf$$subs.awk
20349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20350 _ACAWK
20351 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20352 for (key in S) S_is_set[key] = 1
20353 FS = "\a"
20357 line = $ 0
20358 nfields = split(line, field, "@")
20359 substed = 0
20360 len = length(field[1])
20361 for (i = 2; i < nfields; i++) {
20362 key = field[i]
20363 keylen = length(key)
20364 if (S_is_set[key]) {
20365 value = S[key]
20366 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20367 len += length(value) + length(field[++i])
20368 substed = 1
20369 } else
20370 len += 1 + keylen
20373 print line
20376 _ACAWK
20377 _ACEOF
20378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20379 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20380 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20381 else
20383 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20384 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20385 _ACEOF
20387 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20388 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20389 # trailing colons and then remove the whole line if VPATH becomes empty
20390 # (actually we leave an empty line to preserve line numbers).
20391 if test "x$srcdir" = x.; then
20392 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20394 s///
20395 s/^/:/
20396 s/[ ]*$/:/
20397 s/:\$(srcdir):/:/g
20398 s/:\${srcdir}:/:/g
20399 s/:@srcdir@:/:/g
20400 s/^:*//
20401 s/:*$//
20403 s/\(=[ ]*\).*/\1/
20405 s/\n//
20406 s/^[^=]*=[ ]*$//
20410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20411 fi # test -n "$CONFIG_FILES"
20413 # Set up the scripts for CONFIG_HEADERS section.
20414 # No need to generate them if there are no CONFIG_HEADERS.
20415 # This happens for instance with `./config.status Makefile'.
20416 if test -n "$CONFIG_HEADERS"; then
20417 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20418 BEGIN {
20419 _ACEOF
20421 # Transform confdefs.h into an awk script `defines.awk', embedded as
20422 # here-document in config.status, that substitutes the proper values into
20423 # config.h.in to produce config.h.
20425 # Create a delimiter string that does not exist in confdefs.h, to ease
20426 # handling of long lines.
20427 ac_delim='%!_!# '
20428 for ac_last_try in false false :; do
20429 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20430 if test -z "$ac_tt"; then
20431 break
20432 elif $ac_last_try; then
20433 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20434 else
20435 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20437 done
20439 # For the awk script, D is an array of macro values keyed by name,
20440 # likewise P contains macro parameters if any. Preserve backslash
20441 # newline sequences.
20443 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20444 sed -n '
20445 s/.\{148\}/&'"$ac_delim"'/g
20446 t rset
20447 :rset
20448 s/^[ ]*#[ ]*define[ ][ ]*/ /
20449 t def
20451 :def
20452 s/\\$//
20453 t bsnl
20454 s/["\\]/\\&/g
20455 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20456 D["\1"]=" \3"/p
20457 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20459 :bsnl
20460 s/["\\]/\\&/g
20461 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20462 D["\1"]=" \3\\\\\\n"\\/p
20463 t cont
20464 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20465 t cont
20467 :cont
20469 s/.\{148\}/&'"$ac_delim"'/g
20470 t clear
20471 :clear
20472 s/\\$//
20473 t bsnlc
20474 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20476 :bsnlc
20477 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20478 b cont
20479 ' <confdefs.h | sed '
20480 s/'"$ac_delim"'/"\\\
20481 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20484 for (key in D) D_is_set[key] = 1
20485 FS = "\a"
20487 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20488 line = \$ 0
20489 split(line, arg, " ")
20490 if (arg[1] == "#") {
20491 defundef = arg[2]
20492 mac1 = arg[3]
20493 } else {
20494 defundef = substr(arg[1], 2)
20495 mac1 = arg[2]
20497 split(mac1, mac2, "(") #)
20498 macro = mac2[1]
20499 prefix = substr(line, 1, index(line, defundef) - 1)
20500 if (D_is_set[macro]) {
20501 # Preserve the white space surrounding the "#".
20502 print prefix "define", macro P[macro] D[macro]
20503 next
20504 } else {
20505 # Replace #undef with comments. This is necessary, for example,
20506 # in the case of _POSIX_SOURCE, which is predefined and required
20507 # on some systems where configure will not decide to define it.
20508 if (defundef == "undef") {
20509 print "/*", prefix defundef, macro, "*/"
20510 next
20514 { print }
20515 _ACAWK
20516 _ACEOF
20517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20518 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20519 fi # test -n "$CONFIG_HEADERS"
20522 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20523 shift
20524 for ac_tag
20526 case $ac_tag in
20527 :[FHLC]) ac_mode=$ac_tag; continue;;
20528 esac
20529 case $ac_mode$ac_tag in
20530 :[FHL]*:*);;
20531 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20532 :[FH]-) ac_tag=-:-;;
20533 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20534 esac
20535 ac_save_IFS=$IFS
20536 IFS=:
20537 set x $ac_tag
20538 IFS=$ac_save_IFS
20539 shift
20540 ac_file=$1
20541 shift
20543 case $ac_mode in
20544 :L) ac_source=$1;;
20545 :[FH])
20546 ac_file_inputs=
20547 for ac_f
20549 case $ac_f in
20550 -) ac_f="$ac_tmp/stdin";;
20551 *) # Look for the file first in the build tree, then in the source tree
20552 # (if the path is not absolute). The absolute path cannot be DOS-style,
20553 # because $ac_f cannot contain `:'.
20554 test -f "$ac_f" ||
20555 case $ac_f in
20556 [\\/$]*) false;;
20557 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20558 esac ||
20559 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20560 esac
20561 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20562 as_fn_append ac_file_inputs " '$ac_f'"
20563 done
20565 # Let's still pretend it is `configure' which instantiates (i.e., don't
20566 # use $as_me), people would be surprised to read:
20567 # /* config.h. Generated by config.status. */
20568 configure_input='Generated from '`
20569 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20570 `' by configure.'
20571 if test x"$ac_file" != x-; then
20572 configure_input="$ac_file. $configure_input"
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20574 $as_echo "$as_me: creating $ac_file" >&6;}
20576 # Neutralize special characters interpreted by sed in replacement strings.
20577 case $configure_input in #(
20578 *\&* | *\|* | *\\* )
20579 ac_sed_conf_input=`$as_echo "$configure_input" |
20580 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20581 *) ac_sed_conf_input=$configure_input;;
20582 esac
20584 case $ac_tag in
20585 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20586 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20587 esac
20589 esac
20591 ac_dir=`$as_dirname -- "$ac_file" ||
20592 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20593 X"$ac_file" : 'X\(//\)[^/]' \| \
20594 X"$ac_file" : 'X\(//\)$' \| \
20595 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20596 $as_echo X"$ac_file" |
20597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20598 s//\1/
20601 /^X\(\/\/\)[^/].*/{
20602 s//\1/
20605 /^X\(\/\/\)$/{
20606 s//\1/
20609 /^X\(\/\).*/{
20610 s//\1/
20613 s/.*/./; q'`
20614 as_dir="$ac_dir"; as_fn_mkdir_p
20615 ac_builddir=.
20617 case "$ac_dir" in
20618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20620 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20621 # A ".." for each directory in $ac_dir_suffix.
20622 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20623 case $ac_top_builddir_sub in
20624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20626 esac ;;
20627 esac
20628 ac_abs_top_builddir=$ac_pwd
20629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20630 # for backward compatibility:
20631 ac_top_builddir=$ac_top_build_prefix
20633 case $srcdir in
20634 .) # We are building in place.
20635 ac_srcdir=.
20636 ac_top_srcdir=$ac_top_builddir_sub
20637 ac_abs_top_srcdir=$ac_pwd ;;
20638 [\\/]* | ?:[\\/]* ) # Absolute name.
20639 ac_srcdir=$srcdir$ac_dir_suffix;
20640 ac_top_srcdir=$srcdir
20641 ac_abs_top_srcdir=$srcdir ;;
20642 *) # Relative name.
20643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20644 ac_top_srcdir=$ac_top_build_prefix$srcdir
20645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20646 esac
20647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20650 case $ac_mode in
20653 # CONFIG_FILE
20656 _ACEOF
20658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20659 # If the template does not know about datarootdir, expand it.
20660 # FIXME: This hack should be removed a few years after 2.60.
20661 ac_datarootdir_hack=; ac_datarootdir_seen=
20662 ac_sed_dataroot='
20663 /datarootdir/ {
20667 /@datadir@/p
20668 /@docdir@/p
20669 /@infodir@/p
20670 /@localedir@/p
20671 /@mandir@/p'
20672 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20673 *datarootdir*) ac_datarootdir_seen=yes;;
20674 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20676 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20677 _ACEOF
20678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20679 ac_datarootdir_hack='
20680 s&@datadir@&$datadir&g
20681 s&@docdir@&$docdir&g
20682 s&@infodir@&$infodir&g
20683 s&@localedir@&$localedir&g
20684 s&@mandir@&$mandir&g
20685 s&\\\${datarootdir}&$datarootdir&g' ;;
20686 esac
20687 _ACEOF
20689 # Neutralize VPATH when `$srcdir' = `.'.
20690 # Shell code in configure.ac might set extrasub.
20691 # FIXME: do we really want to maintain this feature?
20692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20693 ac_sed_extra="$ac_vpsub
20694 $extrasub
20695 _ACEOF
20696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20699 s|@configure_input@|$ac_sed_conf_input|;t t
20700 s&@top_builddir@&$ac_top_builddir_sub&;t t
20701 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20702 s&@srcdir@&$ac_srcdir&;t t
20703 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20704 s&@top_srcdir@&$ac_top_srcdir&;t t
20705 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20706 s&@builddir@&$ac_builddir&;t t
20707 s&@abs_builddir@&$ac_abs_builddir&;t t
20708 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20709 $ac_datarootdir_hack
20711 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20712 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20714 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20715 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20716 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20717 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20719 which seems to be undefined. Please make sure it is defined" >&5
20720 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20721 which seems to be undefined. Please make sure it is defined" >&2;}
20723 rm -f "$ac_tmp/stdin"
20724 case $ac_file in
20725 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20726 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20727 esac \
20728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20732 # CONFIG_HEADER
20734 if test x"$ac_file" != x-; then
20736 $as_echo "/* $configure_input */" \
20737 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20738 } >"$ac_tmp/config.h" \
20739 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20740 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20741 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20742 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20743 else
20744 rm -f "$ac_file"
20745 mv "$ac_tmp/config.h" "$ac_file" \
20746 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20748 else
20749 $as_echo "/* $configure_input */" \
20750 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20751 || as_fn_error $? "could not create -" "$LINENO" 5
20756 # CONFIG_LINK
20759 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20761 else
20762 # Prefer the file from the source tree if names are identical.
20763 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20764 ac_source=$srcdir/$ac_source
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20768 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20770 if test ! -r "$ac_source"; then
20771 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20773 rm -f "$ac_file"
20775 # Try a relative symlink, then a hard link, then a copy.
20776 case $ac_source in
20777 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20778 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20779 esac
20780 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20781 ln "$ac_source" "$ac_file" 2>/dev/null ||
20782 cp -p "$ac_source" "$ac_file" ||
20783 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20786 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20787 $as_echo "$as_me: executing $ac_file commands" >&6;}
20789 esac
20792 case $ac_file$ac_mode in
20793 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20794 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20795 "Makefile":C) wine_fn_output_makefile Makefile ;;
20797 esac
20798 done # for ac_tag
20801 as_fn_exit 0
20802 _ACEOF
20803 ac_clean_files=$ac_clean_files_save
20805 test $ac_write_fail = 0 ||
20806 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20809 # configure is writing to config.log, and then calls config.status.
20810 # config.status does its own redirection, appending to config.log.
20811 # Unfortunately, on DOS this fails, as config.log is still kept open
20812 # by configure, so config.status won't be able to write to it; its
20813 # output is simply discarded. So we exec the FD to /dev/null,
20814 # effectively closing config.log, so it can be properly (re)opened and
20815 # appended to by config.status. When coming back to configure, we
20816 # need to make the FD available again.
20817 if test "$no_create" != yes; then
20818 ac_cs_success=:
20819 ac_config_status_args=
20820 test "$silent" = yes &&
20821 ac_config_status_args="$ac_config_status_args --quiet"
20822 exec 5>/dev/null
20823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20824 exec 5>>config.log
20825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20826 # would make configure fail if this is the last instruction.
20827 $ac_cs_success || as_fn_exit 1
20829 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20831 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20835 if test "$no_create" = "yes"
20836 then
20837 exit 0
20840 ac_save_IFS="$IFS"
20841 if test "x$wine_notices" != x; then
20842 echo >&6
20843 IFS="|"
20844 for msg in $wine_notices; do
20845 IFS="$ac_save_IFS"
20846 if ${msg:+false} :; then :
20848 else
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20850 $as_echo "$as_me: $msg" >&6;}
20852 done
20854 IFS="|"
20855 for msg in $wine_warnings; do
20856 IFS="$ac_save_IFS"
20857 if ${msg:+false} :; then :
20859 else
20860 echo >&2
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20862 $as_echo "$as_me: WARNING: $msg" >&2;}
20864 done
20865 IFS="$ac_save_IFS"
20867 $as_echo "
20868 $as_me: Finished. Do '${ac_make}' to compile Wine.
20869 " >&6