wined3d: Get rid of the WINED3D_SWAP_EFFECT_FLIP fixme in swapchain_gl_present().
[wine.git] / configure
blob57577dac66ce8eef4ed1f3403f3bafaccc363528
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_adsldpc
887 enable_advapi32
888 enable_advpack
889 enable_amstream
890 enable_api_ms_win_appmodel_identity_l1_1_0
891 enable_api_ms_win_appmodel_runtime_l1_1_1
892 enable_api_ms_win_appmodel_runtime_l1_1_2
893 enable_api_ms_win_core_apiquery_l1_1_0
894 enable_api_ms_win_core_appcompat_l1_1_1
895 enable_api_ms_win_core_appinit_l1_1_0
896 enable_api_ms_win_core_atoms_l1_1_0
897 enable_api_ms_win_core_bem_l1_1_0
898 enable_api_ms_win_core_com_l1_1_0
899 enable_api_ms_win_core_com_l1_1_1
900 enable_api_ms_win_core_com_private_l1_1_0
901 enable_api_ms_win_core_console_l1_1_0
902 enable_api_ms_win_core_console_l2_1_0
903 enable_api_ms_win_core_crt_l1_1_0
904 enable_api_ms_win_core_crt_l2_1_0
905 enable_api_ms_win_core_datetime_l1_1_0
906 enable_api_ms_win_core_datetime_l1_1_1
907 enable_api_ms_win_core_debug_l1_1_0
908 enable_api_ms_win_core_debug_l1_1_1
909 enable_api_ms_win_core_delayload_l1_1_0
910 enable_api_ms_win_core_delayload_l1_1_1
911 enable_api_ms_win_core_errorhandling_l1_1_0
912 enable_api_ms_win_core_errorhandling_l1_1_1
913 enable_api_ms_win_core_errorhandling_l1_1_2
914 enable_api_ms_win_core_errorhandling_l1_1_3
915 enable_api_ms_win_core_fibers_l1_1_0
916 enable_api_ms_win_core_fibers_l1_1_1
917 enable_api_ms_win_core_file_l1_1_0
918 enable_api_ms_win_core_file_l1_2_0
919 enable_api_ms_win_core_file_l1_2_1
920 enable_api_ms_win_core_file_l1_2_2
921 enable_api_ms_win_core_file_l2_1_0
922 enable_api_ms_win_core_file_l2_1_1
923 enable_api_ms_win_core_file_l2_1_2
924 enable_api_ms_win_core_handle_l1_1_0
925 enable_api_ms_win_core_heap_l1_1_0
926 enable_api_ms_win_core_heap_l1_2_0
927 enable_api_ms_win_core_heap_l2_1_0
928 enable_api_ms_win_core_heap_obsolete_l1_1_0
929 enable_api_ms_win_core_interlocked_l1_1_0
930 enable_api_ms_win_core_interlocked_l1_2_0
931 enable_api_ms_win_core_io_l1_1_0
932 enable_api_ms_win_core_io_l1_1_1
933 enable_api_ms_win_core_job_l1_1_0
934 enable_api_ms_win_core_job_l2_1_0
935 enable_api_ms_win_core_kernel32_legacy_l1_1_0
936 enable_api_ms_win_core_kernel32_legacy_l1_1_1
937 enable_api_ms_win_core_kernel32_private_l1_1_1
938 enable_api_ms_win_core_libraryloader_l1_1_0
939 enable_api_ms_win_core_libraryloader_l1_1_1
940 enable_api_ms_win_core_libraryloader_l1_2_0
941 enable_api_ms_win_core_libraryloader_l1_2_1
942 enable_api_ms_win_core_libraryloader_l1_2_2
943 enable_api_ms_win_core_localization_l1_1_0
944 enable_api_ms_win_core_localization_l1_2_0
945 enable_api_ms_win_core_localization_l1_2_1
946 enable_api_ms_win_core_localization_l2_1_0
947 enable_api_ms_win_core_localization_obsolete_l1_1_0
948 enable_api_ms_win_core_localization_obsolete_l1_2_0
949 enable_api_ms_win_core_localization_obsolete_l1_3_0
950 enable_api_ms_win_core_localization_private_l1_1_0
951 enable_api_ms_win_core_localregistry_l1_1_0
952 enable_api_ms_win_core_memory_l1_1_0
953 enable_api_ms_win_core_memory_l1_1_1
954 enable_api_ms_win_core_memory_l1_1_2
955 enable_api_ms_win_core_misc_l1_1_0
956 enable_api_ms_win_core_namedpipe_l1_1_0
957 enable_api_ms_win_core_namedpipe_l1_2_0
958 enable_api_ms_win_core_namespace_l1_1_0
959 enable_api_ms_win_core_normalization_l1_1_0
960 enable_api_ms_win_core_path_l1_1_0
961 enable_api_ms_win_core_privateprofile_l1_1_1
962 enable_api_ms_win_core_processenvironment_l1_1_0
963 enable_api_ms_win_core_processenvironment_l1_2_0
964 enable_api_ms_win_core_processthreads_l1_1_0
965 enable_api_ms_win_core_processthreads_l1_1_1
966 enable_api_ms_win_core_processthreads_l1_1_2
967 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
968 enable_api_ms_win_core_profile_l1_1_0
969 enable_api_ms_win_core_psapi_ansi_l1_1_0
970 enable_api_ms_win_core_psapi_l1_1_0
971 enable_api_ms_win_core_psapi_obsolete_l1_1_0
972 enable_api_ms_win_core_quirks_l1_1_0
973 enable_api_ms_win_core_realtime_l1_1_0
974 enable_api_ms_win_core_registry_l1_1_0
975 enable_api_ms_win_core_registry_l2_1_0
976 enable_api_ms_win_core_registryuserspecific_l1_1_0
977 enable_api_ms_win_core_rtlsupport_l1_1_0
978 enable_api_ms_win_core_rtlsupport_l1_2_0
979 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
980 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
981 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
982 enable_api_ms_win_core_shutdown_l1_1_0
983 enable_api_ms_win_core_sidebyside_l1_1_0
984 enable_api_ms_win_core_string_l1_1_0
985 enable_api_ms_win_core_string_l2_1_0
986 enable_api_ms_win_core_string_obsolete_l1_1_0
987 enable_api_ms_win_core_stringansi_l1_1_0
988 enable_api_ms_win_core_synch_ansi_l1_1_0
989 enable_api_ms_win_core_synch_l1_1_0
990 enable_api_ms_win_core_synch_l1_2_0
991 enable_api_ms_win_core_synch_l1_2_1
992 enable_api_ms_win_core_sysinfo_l1_1_0
993 enable_api_ms_win_core_sysinfo_l1_2_0
994 enable_api_ms_win_core_sysinfo_l1_2_1
995 enable_api_ms_win_core_threadpool_l1_1_0
996 enable_api_ms_win_core_threadpool_l1_2_0
997 enable_api_ms_win_core_threadpool_legacy_l1_1_0
998 enable_api_ms_win_core_threadpool_private_l1_1_0
999 enable_api_ms_win_core_timezone_l1_1_0
1000 enable_api_ms_win_core_toolhelp_l1_1_0
1001 enable_api_ms_win_core_url_l1_1_0
1002 enable_api_ms_win_core_util_l1_1_0
1003 enable_api_ms_win_core_version_l1_1_0
1004 enable_api_ms_win_core_version_l1_1_1
1005 enable_api_ms_win_core_version_private_l1_1_0
1006 enable_api_ms_win_core_versionansi_l1_1_0
1007 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1008 enable_api_ms_win_core_winrt_error_l1_1_0
1009 enable_api_ms_win_core_winrt_error_l1_1_1
1010 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1011 enable_api_ms_win_core_winrt_l1_1_0
1012 enable_api_ms_win_core_winrt_registration_l1_1_0
1013 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1014 enable_api_ms_win_core_winrt_string_l1_1_0
1015 enable_api_ms_win_core_wow64_l1_1_0
1016 enable_api_ms_win_core_wow64_l1_1_1
1017 enable_api_ms_win_core_xstate_l1_1_0
1018 enable_api_ms_win_core_xstate_l2_1_0
1019 enable_api_ms_win_crt_conio_l1_1_0
1020 enable_api_ms_win_crt_convert_l1_1_0
1021 enable_api_ms_win_crt_environment_l1_1_0
1022 enable_api_ms_win_crt_filesystem_l1_1_0
1023 enable_api_ms_win_crt_heap_l1_1_0
1024 enable_api_ms_win_crt_locale_l1_1_0
1025 enable_api_ms_win_crt_math_l1_1_0
1026 enable_api_ms_win_crt_multibyte_l1_1_0
1027 enable_api_ms_win_crt_private_l1_1_0
1028 enable_api_ms_win_crt_process_l1_1_0
1029 enable_api_ms_win_crt_runtime_l1_1_0
1030 enable_api_ms_win_crt_stdio_l1_1_0
1031 enable_api_ms_win_crt_string_l1_1_0
1032 enable_api_ms_win_crt_time_l1_1_0
1033 enable_api_ms_win_crt_utility_l1_1_0
1034 enable_api_ms_win_devices_config_l1_1_1
1035 enable_api_ms_win_devices_query_l1_1_1
1036 enable_api_ms_win_downlevel_advapi32_l1_1_0
1037 enable_api_ms_win_downlevel_advapi32_l2_1_0
1038 enable_api_ms_win_downlevel_normaliz_l1_1_0
1039 enable_api_ms_win_downlevel_ole32_l1_1_0
1040 enable_api_ms_win_downlevel_shell32_l1_1_0
1041 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1042 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1043 enable_api_ms_win_downlevel_user32_l1_1_0
1044 enable_api_ms_win_downlevel_version_l1_1_0
1045 enable_api_ms_win_dx_d3dkmt_l1_1_0
1046 enable_api_ms_win_eventing_classicprovider_l1_1_0
1047 enable_api_ms_win_eventing_consumer_l1_1_0
1048 enable_api_ms_win_eventing_controller_l1_1_0
1049 enable_api_ms_win_eventing_legacy_l1_1_0
1050 enable_api_ms_win_eventing_provider_l1_1_0
1051 enable_api_ms_win_eventlog_legacy_l1_1_0
1052 enable_api_ms_win_mm_joystick_l1_1_0
1053 enable_api_ms_win_mm_misc_l1_1_1
1054 enable_api_ms_win_mm_mme_l1_1_0
1055 enable_api_ms_win_mm_time_l1_1_0
1056 enable_api_ms_win_ntuser_dc_access_l1_1_0
1057 enable_api_ms_win_ntuser_rectangle_l1_1_0
1058 enable_api_ms_win_perf_legacy_l1_1_0
1059 enable_api_ms_win_power_base_l1_1_0
1060 enable_api_ms_win_power_setting_l1_1_0
1061 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1062 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1063 enable_api_ms_win_security_audit_l1_1_1
1064 enable_api_ms_win_security_base_l1_1_0
1065 enable_api_ms_win_security_base_l1_2_0
1066 enable_api_ms_win_security_base_private_l1_1_1
1067 enable_api_ms_win_security_credentials_l1_1_0
1068 enable_api_ms_win_security_grouppolicy_l1_1_0
1069 enable_api_ms_win_security_lsalookup_l1_1_0
1070 enable_api_ms_win_security_lsalookup_l1_1_1
1071 enable_api_ms_win_security_lsalookup_l2_1_0
1072 enable_api_ms_win_security_lsalookup_l2_1_1
1073 enable_api_ms_win_security_lsapolicy_l1_1_0
1074 enable_api_ms_win_security_provider_l1_1_0
1075 enable_api_ms_win_security_sddl_l1_1_0
1076 enable_api_ms_win_security_systemfunctions_l1_1_0
1077 enable_api_ms_win_service_core_l1_1_0
1078 enable_api_ms_win_service_core_l1_1_1
1079 enable_api_ms_win_service_management_l1_1_0
1080 enable_api_ms_win_service_management_l2_1_0
1081 enable_api_ms_win_service_private_l1_1_1
1082 enable_api_ms_win_service_winsvc_l1_1_0
1083 enable_api_ms_win_service_winsvc_l1_2_0
1084 enable_api_ms_win_shcore_scaling_l1_1_1
1085 enable_api_ms_win_shell_shellcom_l1_1_0
1086 enable_api_ms_win_shell_shellfolders_l1_1_0
1087 enable_apphelp
1088 enable_appwiz_cpl
1089 enable_atl
1090 enable_atl100
1091 enable_atl110
1092 enable_atl80
1093 enable_atl90
1094 enable_authz
1095 enable_avicap32
1096 enable_avifil32
1097 enable_avrt
1098 enable_bcrypt
1099 enable_bluetoothapis
1100 enable_browseui
1101 enable_bthprops_cpl
1102 enable_cabinet
1103 enable_capi2032
1104 enable_cards
1105 enable_cdosys
1106 enable_cfgmgr32
1107 enable_clusapi
1108 enable_combase
1109 enable_comcat
1110 enable_comctl32
1111 enable_comdlg32
1112 enable_compstui
1113 enable_comsvcs
1114 enable_concrt140
1115 enable_connect
1116 enable_credui
1117 enable_crtdll
1118 enable_crypt32
1119 enable_cryptdlg
1120 enable_cryptdll
1121 enable_cryptext
1122 enable_cryptnet
1123 enable_cryptui
1124 enable_ctapi32
1125 enable_ctl3d32
1126 enable_d2d1
1127 enable_d3d10
1128 enable_d3d10_1
1129 enable_d3d10core
1130 enable_d3d11
1131 enable_d3d8
1132 enable_d3d9
1133 enable_d3dcompiler_33
1134 enable_d3dcompiler_34
1135 enable_d3dcompiler_35
1136 enable_d3dcompiler_36
1137 enable_d3dcompiler_37
1138 enable_d3dcompiler_38
1139 enable_d3dcompiler_39
1140 enable_d3dcompiler_40
1141 enable_d3dcompiler_41
1142 enable_d3dcompiler_42
1143 enable_d3dcompiler_43
1144 enable_d3dcompiler_46
1145 enable_d3dcompiler_47
1146 enable_d3dim
1147 enable_d3drm
1148 enable_d3dx10_33
1149 enable_d3dx10_34
1150 enable_d3dx10_35
1151 enable_d3dx10_36
1152 enable_d3dx10_37
1153 enable_d3dx10_38
1154 enable_d3dx10_39
1155 enable_d3dx10_40
1156 enable_d3dx10_41
1157 enable_d3dx10_42
1158 enable_d3dx10_43
1159 enable_d3dx11_42
1160 enable_d3dx11_43
1161 enable_d3dx9_24
1162 enable_d3dx9_25
1163 enable_d3dx9_26
1164 enable_d3dx9_27
1165 enable_d3dx9_28
1166 enable_d3dx9_29
1167 enable_d3dx9_30
1168 enable_d3dx9_31
1169 enable_d3dx9_32
1170 enable_d3dx9_33
1171 enable_d3dx9_34
1172 enable_d3dx9_35
1173 enable_d3dx9_36
1174 enable_d3dx9_37
1175 enable_d3dx9_38
1176 enable_d3dx9_39
1177 enable_d3dx9_40
1178 enable_d3dx9_41
1179 enable_d3dx9_42
1180 enable_d3dx9_43
1181 enable_d3dxof
1182 enable_davclnt
1183 enable_dbgeng
1184 enable_dbghelp
1185 enable_dciman32
1186 enable_ddraw
1187 enable_ddrawex
1188 enable_devenum
1189 enable_dhcpcsvc
1190 enable_dhtmled_ocx
1191 enable_difxapi
1192 enable_dinput
1193 enable_dinput8
1194 enable_dispex
1195 enable_dmband
1196 enable_dmcompos
1197 enable_dmime
1198 enable_dmloader
1199 enable_dmscript
1200 enable_dmstyle
1201 enable_dmsynth
1202 enable_dmusic
1203 enable_dmusic32
1204 enable_dnsapi
1205 enable_dplay
1206 enable_dplayx
1207 enable_dpnaddr
1208 enable_dpnet
1209 enable_dpnhpast
1210 enable_dpnlobby
1211 enable_dpvoice
1212 enable_dpwsockx
1213 enable_drmclien
1214 enable_dsound
1215 enable_dsquery
1216 enable_dssenh
1217 enable_dswave
1218 enable_dwmapi
1219 enable_dwrite
1220 enable_dx8vb
1221 enable_dxdiagn
1222 enable_dxgi
1223 enable_dxva2
1224 enable_esent
1225 enable_evr
1226 enable_explorerframe
1227 enable_ext_ms_win_authz_context_l1_1_0
1228 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1229 enable_ext_ms_win_gdi_dc_create_l1_1_1
1230 enable_ext_ms_win_gdi_dc_l1_2_0
1231 enable_ext_ms_win_gdi_devcaps_l1_1_0
1232 enable_ext_ms_win_gdi_draw_l1_1_1
1233 enable_ext_ms_win_gdi_render_l1_1_0
1234 enable_ext_ms_win_kernel32_package_current_l1_1_0
1235 enable_ext_ms_win_kernel32_package_l1_1_1
1236 enable_ext_ms_win_ntuser_message_l1_1_1
1237 enable_ext_ms_win_ntuser_private_l1_1_1
1238 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1239 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1240 enable_ext_ms_win_ntuser_window_l1_1_1
1241 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1242 enable_ext_ms_win_ras_rasapi32_l1_1_0
1243 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1244 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1245 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1246 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1247 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1248 enable_ext_ms_win_security_credui_l1_1_0
1249 enable_ext_ms_win_security_cryptui_l1_1_0
1250 enable_faultrep
1251 enable_fltlib
1252 enable_fltmgr_sys
1253 enable_fntcache
1254 enable_fontsub
1255 enable_fusion
1256 enable_fwpuclnt
1257 enable_gameux
1258 enable_gdi32
1259 enable_gdiplus
1260 enable_glu32
1261 enable_gphoto2_ds
1262 enable_gpkcsp
1263 enable_hal
1264 enable_hhctrl_ocx
1265 enable_hid
1266 enable_hidclass_sys
1267 enable_hlink
1268 enable_hnetcfg
1269 enable_httpapi
1270 enable_iccvid
1271 enable_icmp
1272 enable_ieframe
1273 enable_ieproxy
1274 enable_imaadp32_acm
1275 enable_imagehlp
1276 enable_imm32
1277 enable_inetcomm
1278 enable_inetcpl_cpl
1279 enable_inetmib1
1280 enable_infosoft
1281 enable_initpki
1282 enable_inkobj
1283 enable_inseng
1284 enable_iphlpapi
1285 enable_iprop
1286 enable_irprops_cpl
1287 enable_itircl
1288 enable_itss
1289 enable_joy_cpl
1290 enable_jscript
1291 enable_jsproxy
1292 enable_kerberos
1293 enable_kernel32
1294 enable_kernelbase
1295 enable_ksuser
1296 enable_ktmw32
1297 enable_l3codeca_acm
1298 enable_loadperf
1299 enable_localspl
1300 enable_localui
1301 enable_lz32
1302 enable_mapi32
1303 enable_mapistub
1304 enable_mciavi32
1305 enable_mcicda
1306 enable_mciqtz32
1307 enable_mciseq
1308 enable_mciwave
1309 enable_mf
1310 enable_mf3216
1311 enable_mfplat
1312 enable_mfreadwrite
1313 enable_mgmtapi
1314 enable_midimap
1315 enable_mlang
1316 enable_mmcndmgr
1317 enable_mmdevapi
1318 enable_mountmgr_sys
1319 enable_mpr
1320 enable_mprapi
1321 enable_msacm32_drv
1322 enable_msacm32
1323 enable_msadp32_acm
1324 enable_msasn1
1325 enable_mscat32
1326 enable_mscms
1327 enable_mscoree
1328 enable_msctf
1329 enable_msctfp
1330 enable_msdaps
1331 enable_msdelta
1332 enable_msdmo
1333 enable_msdrm
1334 enable_msftedit
1335 enable_msg711_acm
1336 enable_msgsm32_acm
1337 enable_mshtml_tlb
1338 enable_mshtml
1339 enable_msi
1340 enable_msident
1341 enable_msimg32
1342 enable_msimsg
1343 enable_msimtf
1344 enable_msisip
1345 enable_msisys_ocx
1346 enable_msls31
1347 enable_msnet32
1348 enable_mspatcha
1349 enable_msports
1350 enable_msrle32
1351 enable_msscript_ocx
1352 enable_mssign32
1353 enable_mssip32
1354 enable_mstask
1355 enable_msvcirt
1356 enable_msvcm80
1357 enable_msvcm90
1358 enable_msvcp100
1359 enable_msvcp110
1360 enable_msvcp120
1361 enable_msvcp120_app
1362 enable_msvcp140
1363 enable_msvcp60
1364 enable_msvcp70
1365 enable_msvcp71
1366 enable_msvcp80
1367 enable_msvcp90
1368 enable_msvcr100
1369 enable_msvcr110
1370 enable_msvcr120
1371 enable_msvcr120_app
1372 enable_msvcr70
1373 enable_msvcr71
1374 enable_msvcr80
1375 enable_msvcr90
1376 enable_msvcrt
1377 enable_msvcrt20
1378 enable_msvcrt40
1379 enable_msvcrtd
1380 enable_msvfw32
1381 enable_msvidc32
1382 enable_mswsock
1383 enable_msxml
1384 enable_msxml2
1385 enable_msxml3
1386 enable_msxml4
1387 enable_msxml6
1388 enable_mtxdm
1389 enable_ncrypt
1390 enable_nddeapi
1391 enable_ndis_sys
1392 enable_netapi32
1393 enable_netcfgx
1394 enable_netprofm
1395 enable_newdev
1396 enable_normaliz
1397 enable_npmshtml
1398 enable_npptools
1399 enable_ntdll
1400 enable_ntdsapi
1401 enable_ntoskrnl_exe
1402 enable_ntprint
1403 enable_objsel
1404 enable_odbc32
1405 enable_odbccp32
1406 enable_odbccu32
1407 enable_ole32
1408 enable_oleacc
1409 enable_oleaut32
1410 enable_olecli32
1411 enable_oledb32
1412 enable_oledlg
1413 enable_olepro32
1414 enable_olesvr32
1415 enable_olethk32
1416 enable_openal32
1417 enable_opencl
1418 enable_opengl32
1419 enable_packager
1420 enable_pdh
1421 enable_photometadatahandler
1422 enable_pidgen
1423 enable_powrprof
1424 enable_printui
1425 enable_prntvpt
1426 enable_propsys
1427 enable_psapi
1428 enable_pstorec
1429 enable_qcap
1430 enable_qedit
1431 enable_qmgr
1432 enable_qmgrprxy
1433 enable_quartz
1434 enable_query
1435 enable_rasapi32
1436 enable_rasdlg
1437 enable_regapi
1438 enable_resutils
1439 enable_riched20
1440 enable_riched32
1441 enable_rpcrt4
1442 enable_rsabase
1443 enable_rsaenh
1444 enable_rstrtmgr
1445 enable_rtutils
1446 enable_samlib
1447 enable_sane_ds
1448 enable_sapi
1449 enable_scarddlg
1450 enable_sccbase
1451 enable_schannel
1452 enable_schedsvc
1453 enable_scrobj
1454 enable_scrrun
1455 enable_scsiport_sys
1456 enable_secur32
1457 enable_security
1458 enable_sensapi
1459 enable_serialui
1460 enable_setupapi
1461 enable_sfc
1462 enable_sfc_os
1463 enable_shcore
1464 enable_shdoclc
1465 enable_shdocvw
1466 enable_shell32
1467 enable_shfolder
1468 enable_shlwapi
1469 enable_slbcsp
1470 enable_slc
1471 enable_snmpapi
1472 enable_softpub
1473 enable_spoolss
1474 enable_sspicli
1475 enable_stdole2_tlb
1476 enable_stdole32_tlb
1477 enable_sti
1478 enable_svrapi
1479 enable_sxs
1480 enable_t2embed
1481 enable_tapi32
1482 enable_taskschd
1483 enable_tdh
1484 enable_tdi_sys
1485 enable_traffic
1486 enable_twain_32
1487 enable_ucrtbase
1488 enable_uiautomationcore
1489 enable_uiribbon
1490 enable_unicows
1491 enable_updspapi
1492 enable_url
1493 enable_urlmon
1494 enable_usbd_sys
1495 enable_user32
1496 enable_userenv
1497 enable_usp10
1498 enable_uxtheme
1499 enable_vbscript
1500 enable_vcomp
1501 enable_vcomp100
1502 enable_vcomp110
1503 enable_vcomp120
1504 enable_vcomp140
1505 enable_vcomp90
1506 enable_vcruntime140
1507 enable_vdmdbg
1508 enable_version
1509 enable_virtdisk
1510 enable_vssapi
1511 enable_wbemdisp
1512 enable_wbemprox
1513 enable_wdscore
1514 enable_webservices
1515 enable_wer
1516 enable_wevtapi
1517 enable_wiaservc
1518 enable_wimgapi
1519 enable_windowscodecs
1520 enable_windowscodecsext
1521 enable_winealsa_drv
1522 enable_wineandroid_drv
1523 enable_winebus_sys
1524 enable_winecoreaudio_drv
1525 enable_wined3d
1526 enable_winegstreamer
1527 enable_winehid_sys
1528 enable_winejoystick_drv
1529 enable_winemac_drv
1530 enable_winemapi
1531 enable_wineoss_drv
1532 enable_wineps_drv
1533 enable_winepulse_drv
1534 enable_wineqtdecoder
1535 enable_winex11_drv
1536 enable_wing32
1537 enable_winhttp
1538 enable_wininet
1539 enable_winmm
1540 enable_winnls32
1541 enable_winscard
1542 enable_winspool_drv
1543 enable_winsta
1544 enable_wintab32
1545 enable_wintrust
1546 enable_winusb
1547 enable_wlanapi
1548 enable_wldap32
1549 enable_wmasf
1550 enable_wmi
1551 enable_wmiutils
1552 enable_wmp
1553 enable_wmphoto
1554 enable_wmvcore
1555 enable_wnaspi32
1556 enable_wpc
1557 enable_wpcap
1558 enable_ws2_32
1559 enable_wsdapi
1560 enable_wshom_ocx
1561 enable_wsnmp32
1562 enable_wsock32
1563 enable_wtsapi32
1564 enable_wuapi
1565 enable_wuaueng
1566 enable_x3daudio1_0
1567 enable_x3daudio1_1
1568 enable_x3daudio1_2
1569 enable_x3daudio1_3
1570 enable_x3daudio1_4
1571 enable_x3daudio1_5
1572 enable_x3daudio1_6
1573 enable_x3daudio1_7
1574 enable_xapofx1_1
1575 enable_xapofx1_2
1576 enable_xapofx1_3
1577 enable_xapofx1_4
1578 enable_xapofx1_5
1579 enable_xaudio2_0
1580 enable_xaudio2_1
1581 enable_xaudio2_2
1582 enable_xaudio2_3
1583 enable_xaudio2_4
1584 enable_xaudio2_5
1585 enable_xaudio2_6
1586 enable_xaudio2_7
1587 enable_xaudio2_8
1588 enable_xaudio2_9
1589 enable_xinput1_1
1590 enable_xinput1_2
1591 enable_xinput1_3
1592 enable_xinput1_4
1593 enable_xinput9_1_0
1594 enable_xmllite
1595 enable_xolehlp
1596 enable_xpsprint
1597 enable_xpssvcs
1598 enable_fonts
1599 enable_include
1600 enable_libs_port
1601 enable_libs_wine
1602 enable_libs_wpp
1603 enable_loader
1604 enable_po
1605 enable_arp
1606 enable_aspnet_regiis
1607 enable_attrib
1608 enable_cabarc
1609 enable_cacls
1610 enable_clock
1611 enable_cmd
1612 enable_conhost
1613 enable_control
1614 enable_cscript
1615 enable_dpnsvr
1616 enable_dxdiag
1617 enable_eject
1618 enable_expand
1619 enable_explorer
1620 enable_extrac32
1621 enable_findstr
1622 enable_fsutil
1623 enable_hh
1624 enable_hostname
1625 enable_icacls
1626 enable_icinfo
1627 enable_iexplore
1628 enable_ipconfig
1629 enable_lodctr
1630 enable_mofcomp
1631 enable_mshta
1632 enable_msiexec
1633 enable_msinfo32
1634 enable_net
1635 enable_netsh
1636 enable_netstat
1637 enable_ngen
1638 enable_notepad
1639 enable_oleview
1640 enable_ping
1641 enable_plugplay
1642 enable_powershell
1643 enable_presentationfontcache
1644 enable_progman
1645 enable_reg
1646 enable_regasm
1647 enable_regedit
1648 enable_regsvcs
1649 enable_regsvr32
1650 enable_rpcss
1651 enable_rundll32
1652 enable_sc
1653 enable_schtasks
1654 enable_sdbinst
1655 enable_secedit
1656 enable_servicemodelreg
1657 enable_services
1658 enable_shutdown
1659 enable_spoolsv
1660 enable_start
1661 enable_subst
1662 enable_svchost
1663 enable_systeminfo
1664 enable_taskkill
1665 enable_tasklist
1666 enable_taskmgr
1667 enable_termsv
1668 enable_uninstaller
1669 enable_unlodctr
1670 enable_view
1671 enable_wevtutil
1672 enable_wineboot
1673 enable_winebrowser
1674 enable_winecfg
1675 enable_wineconsole
1676 enable_winedbg
1677 enable_winedevice
1678 enable_winefile
1679 enable_winemenubuilder
1680 enable_winemine
1681 enable_winemsibuilder
1682 enable_winepath
1683 enable_winetest
1684 enable_winhlp32
1685 enable_winver
1686 enable_wmic
1687 enable_wmplayer
1688 enable_wordpad
1689 enable_write
1690 enable_wscript
1691 enable_wusa
1692 enable_xcopy
1693 enable_server
1694 enable_tools
1696 ac_precious_vars='build_alias
1697 host_alias
1698 target_alias
1700 CFLAGS
1701 LDFLAGS
1702 LIBS
1703 CPPFLAGS
1705 CXXFLAGS
1708 XMKMF
1709 XML2_CFLAGS
1710 XML2_LIBS
1711 XSLT_CFLAGS
1712 XSLT_LIBS
1713 DBUS_CFLAGS
1714 DBUS_LIBS
1715 HAL_CFLAGS
1716 HAL_LIBS
1717 GNUTLS_CFLAGS
1718 GNUTLS_LIBS
1719 SANE_CFLAGS
1720 SANE_LIBS
1721 GPHOTO2_CFLAGS
1722 GPHOTO2_LIBS
1723 GPHOTO2_PORT_CFLAGS
1724 GPHOTO2_PORT_LIBS
1725 LCMS2_CFLAGS
1726 LCMS2_LIBS
1727 FREETYPE_CFLAGS
1728 FREETYPE_LIBS
1729 PULSE_CFLAGS
1730 PULSE_LIBS
1731 GSTREAMER_CFLAGS
1732 GSTREAMER_LIBS
1733 UDEV_CFLAGS
1734 UDEV_LIBS
1735 CAPI20_CFLAGS
1736 CAPI20_LIBS
1737 CUPS_CFLAGS
1738 CUPS_LIBS
1739 FONTCONFIG_CFLAGS
1740 FONTCONFIG_LIBS
1741 KRB5_CFLAGS
1742 KRB5_LIBS
1743 GSSAPI_CFLAGS
1744 GSSAPI_LIBS
1745 JPEG_CFLAGS
1746 JPEG_LIBS
1747 PNG_CFLAGS
1748 PNG_LIBS
1749 TIFF_CFLAGS
1750 TIFF_LIBS
1751 MPG123_CFLAGS
1752 MPG123_LIBS
1753 NETAPI_CFLAGS
1754 NETAPI_LIBS
1755 LDAP_CFLAGS
1756 LDAP_LIBS'
1759 # Initialize some variables set by options.
1760 ac_init_help=
1761 ac_init_version=false
1762 ac_unrecognized_opts=
1763 ac_unrecognized_sep=
1764 # The variables have the same names as the options, with
1765 # dashes changed to underlines.
1766 cache_file=/dev/null
1767 exec_prefix=NONE
1768 no_create=
1769 no_recursion=
1770 prefix=NONE
1771 program_prefix=NONE
1772 program_suffix=NONE
1773 program_transform_name=s,x,x,
1774 silent=
1775 site=
1776 srcdir=
1777 verbose=
1778 x_includes=NONE
1779 x_libraries=NONE
1781 # Installation directory options.
1782 # These are left unexpanded so users can "make install exec_prefix=/foo"
1783 # and all the variables that are supposed to be based on exec_prefix
1784 # by default will actually change.
1785 # Use braces instead of parens because sh, perl, etc. also accept them.
1786 # (The list follows the same order as the GNU Coding Standards.)
1787 bindir='${exec_prefix}/bin'
1788 sbindir='${exec_prefix}/sbin'
1789 libexecdir='${exec_prefix}/libexec'
1790 datarootdir='${prefix}/share'
1791 datadir='${datarootdir}'
1792 sysconfdir='${prefix}/etc'
1793 sharedstatedir='${prefix}/com'
1794 localstatedir='${prefix}/var'
1795 runstatedir='${localstatedir}/run'
1796 includedir='${prefix}/include'
1797 oldincludedir='/usr/include'
1798 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1799 infodir='${datarootdir}/info'
1800 htmldir='${docdir}'
1801 dvidir='${docdir}'
1802 pdfdir='${docdir}'
1803 psdir='${docdir}'
1804 libdir='${exec_prefix}/lib'
1805 localedir='${datarootdir}/locale'
1806 mandir='${datarootdir}/man'
1808 ac_prev=
1809 ac_dashdash=
1810 for ac_option
1812 # If the previous option needs an argument, assign it.
1813 if test -n "$ac_prev"; then
1814 eval $ac_prev=\$ac_option
1815 ac_prev=
1816 continue
1819 case $ac_option in
1820 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1821 *=) ac_optarg= ;;
1822 *) ac_optarg=yes ;;
1823 esac
1825 # Accept the important Cygnus configure options, so we can diagnose typos.
1827 case $ac_dashdash$ac_option in
1829 ac_dashdash=yes ;;
1831 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1832 ac_prev=bindir ;;
1833 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1834 bindir=$ac_optarg ;;
1836 -build | --build | --buil | --bui | --bu)
1837 ac_prev=build_alias ;;
1838 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1839 build_alias=$ac_optarg ;;
1841 -cache-file | --cache-file | --cache-fil | --cache-fi \
1842 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1843 ac_prev=cache_file ;;
1844 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1845 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1846 cache_file=$ac_optarg ;;
1848 --config-cache | -C)
1849 cache_file=config.cache ;;
1851 -datadir | --datadir | --datadi | --datad)
1852 ac_prev=datadir ;;
1853 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1854 datadir=$ac_optarg ;;
1856 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1857 | --dataroo | --dataro | --datar)
1858 ac_prev=datarootdir ;;
1859 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1860 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1861 datarootdir=$ac_optarg ;;
1863 -disable-* | --disable-*)
1864 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1865 # Reject names that are not valid shell variable names.
1866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1867 as_fn_error $? "invalid feature name: $ac_useropt"
1868 ac_useropt_orig=$ac_useropt
1869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1870 case $ac_user_opts in
1872 "enable_$ac_useropt"
1873 "*) ;;
1874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1875 ac_unrecognized_sep=', ';;
1876 esac
1877 eval enable_$ac_useropt=no ;;
1879 -docdir | --docdir | --docdi | --doc | --do)
1880 ac_prev=docdir ;;
1881 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1882 docdir=$ac_optarg ;;
1884 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1885 ac_prev=dvidir ;;
1886 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1887 dvidir=$ac_optarg ;;
1889 -enable-* | --enable-*)
1890 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1891 # Reject names that are not valid shell variable names.
1892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1893 as_fn_error $? "invalid feature name: $ac_useropt"
1894 ac_useropt_orig=$ac_useropt
1895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1896 case $ac_user_opts in
1898 "enable_$ac_useropt"
1899 "*) ;;
1900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1901 ac_unrecognized_sep=', ';;
1902 esac
1903 eval enable_$ac_useropt=\$ac_optarg ;;
1905 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1906 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1907 | --exec | --exe | --ex)
1908 ac_prev=exec_prefix ;;
1909 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1910 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1911 | --exec=* | --exe=* | --ex=*)
1912 exec_prefix=$ac_optarg ;;
1914 -gas | --gas | --ga | --g)
1915 # Obsolete; use --with-gas.
1916 with_gas=yes ;;
1918 -help | --help | --hel | --he | -h)
1919 ac_init_help=long ;;
1920 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1921 ac_init_help=recursive ;;
1922 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1923 ac_init_help=short ;;
1925 -host | --host | --hos | --ho)
1926 ac_prev=host_alias ;;
1927 -host=* | --host=* | --hos=* | --ho=*)
1928 host_alias=$ac_optarg ;;
1930 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1931 ac_prev=htmldir ;;
1932 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1933 | --ht=*)
1934 htmldir=$ac_optarg ;;
1936 -includedir | --includedir | --includedi | --included | --include \
1937 | --includ | --inclu | --incl | --inc)
1938 ac_prev=includedir ;;
1939 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1940 | --includ=* | --inclu=* | --incl=* | --inc=*)
1941 includedir=$ac_optarg ;;
1943 -infodir | --infodir | --infodi | --infod | --info | --inf)
1944 ac_prev=infodir ;;
1945 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1946 infodir=$ac_optarg ;;
1948 -libdir | --libdir | --libdi | --libd)
1949 ac_prev=libdir ;;
1950 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1951 libdir=$ac_optarg ;;
1953 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1954 | --libexe | --libex | --libe)
1955 ac_prev=libexecdir ;;
1956 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1957 | --libexe=* | --libex=* | --libe=*)
1958 libexecdir=$ac_optarg ;;
1960 -localedir | --localedir | --localedi | --localed | --locale)
1961 ac_prev=localedir ;;
1962 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1963 localedir=$ac_optarg ;;
1965 -localstatedir | --localstatedir | --localstatedi | --localstated \
1966 | --localstate | --localstat | --localsta | --localst | --locals)
1967 ac_prev=localstatedir ;;
1968 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1969 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1970 localstatedir=$ac_optarg ;;
1972 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1973 ac_prev=mandir ;;
1974 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1975 mandir=$ac_optarg ;;
1977 -nfp | --nfp | --nf)
1978 # Obsolete; use --without-fp.
1979 with_fp=no ;;
1981 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1982 | --no-cr | --no-c | -n)
1983 no_create=yes ;;
1985 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1986 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1987 no_recursion=yes ;;
1989 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1990 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1991 | --oldin | --oldi | --old | --ol | --o)
1992 ac_prev=oldincludedir ;;
1993 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1994 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1995 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1996 oldincludedir=$ac_optarg ;;
1998 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1999 ac_prev=prefix ;;
2000 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2001 prefix=$ac_optarg ;;
2003 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2004 | --program-pre | --program-pr | --program-p)
2005 ac_prev=program_prefix ;;
2006 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2007 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2008 program_prefix=$ac_optarg ;;
2010 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2011 | --program-suf | --program-su | --program-s)
2012 ac_prev=program_suffix ;;
2013 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2014 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2015 program_suffix=$ac_optarg ;;
2017 -program-transform-name | --program-transform-name \
2018 | --program-transform-nam | --program-transform-na \
2019 | --program-transform-n | --program-transform- \
2020 | --program-transform | --program-transfor \
2021 | --program-transfo | --program-transf \
2022 | --program-trans | --program-tran \
2023 | --progr-tra | --program-tr | --program-t)
2024 ac_prev=program_transform_name ;;
2025 -program-transform-name=* | --program-transform-name=* \
2026 | --program-transform-nam=* | --program-transform-na=* \
2027 | --program-transform-n=* | --program-transform-=* \
2028 | --program-transform=* | --program-transfor=* \
2029 | --program-transfo=* | --program-transf=* \
2030 | --program-trans=* | --program-tran=* \
2031 | --progr-tra=* | --program-tr=* | --program-t=*)
2032 program_transform_name=$ac_optarg ;;
2034 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2035 ac_prev=pdfdir ;;
2036 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2037 pdfdir=$ac_optarg ;;
2039 -psdir | --psdir | --psdi | --psd | --ps)
2040 ac_prev=psdir ;;
2041 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2042 psdir=$ac_optarg ;;
2044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2045 | -silent | --silent | --silen | --sile | --sil)
2046 silent=yes ;;
2048 -runstatedir | --runstatedir | --runstatedi | --runstated \
2049 | --runstate | --runstat | --runsta | --runst | --runs \
2050 | --run | --ru | --r)
2051 ac_prev=runstatedir ;;
2052 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2053 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2054 | --run=* | --ru=* | --r=*)
2055 runstatedir=$ac_optarg ;;
2057 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2058 ac_prev=sbindir ;;
2059 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2060 | --sbi=* | --sb=*)
2061 sbindir=$ac_optarg ;;
2063 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2064 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2065 | --sharedst | --shareds | --shared | --share | --shar \
2066 | --sha | --sh)
2067 ac_prev=sharedstatedir ;;
2068 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2069 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2070 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2071 | --sha=* | --sh=*)
2072 sharedstatedir=$ac_optarg ;;
2074 -site | --site | --sit)
2075 ac_prev=site ;;
2076 -site=* | --site=* | --sit=*)
2077 site=$ac_optarg ;;
2079 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2080 ac_prev=srcdir ;;
2081 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2082 srcdir=$ac_optarg ;;
2084 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2085 | --syscon | --sysco | --sysc | --sys | --sy)
2086 ac_prev=sysconfdir ;;
2087 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2088 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2089 sysconfdir=$ac_optarg ;;
2091 -target | --target | --targe | --targ | --tar | --ta | --t)
2092 ac_prev=target_alias ;;
2093 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2094 target_alias=$ac_optarg ;;
2096 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2097 verbose=yes ;;
2099 -version | --version | --versio | --versi | --vers | -V)
2100 ac_init_version=: ;;
2102 -with-* | --with-*)
2103 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2104 # Reject names that are not valid shell variable names.
2105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2106 as_fn_error $? "invalid package name: $ac_useropt"
2107 ac_useropt_orig=$ac_useropt
2108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2109 case $ac_user_opts in
2111 "with_$ac_useropt"
2112 "*) ;;
2113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2114 ac_unrecognized_sep=', ';;
2115 esac
2116 eval with_$ac_useropt=\$ac_optarg ;;
2118 -without-* | --without-*)
2119 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2120 # Reject names that are not valid shell variable names.
2121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2122 as_fn_error $? "invalid package name: $ac_useropt"
2123 ac_useropt_orig=$ac_useropt
2124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2125 case $ac_user_opts in
2127 "with_$ac_useropt"
2128 "*) ;;
2129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2130 ac_unrecognized_sep=', ';;
2131 esac
2132 eval with_$ac_useropt=no ;;
2134 --x)
2135 # Obsolete; use --with-x.
2136 with_x=yes ;;
2138 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2139 | --x-incl | --x-inc | --x-in | --x-i)
2140 ac_prev=x_includes ;;
2141 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2142 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2143 x_includes=$ac_optarg ;;
2145 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2146 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2147 ac_prev=x_libraries ;;
2148 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2149 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2150 x_libraries=$ac_optarg ;;
2152 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2153 Try \`$0 --help' for more information"
2156 *=*)
2157 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2158 # Reject names that are not valid shell variable names.
2159 case $ac_envvar in #(
2160 '' | [0-9]* | *[!_$as_cr_alnum]* )
2161 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2162 esac
2163 eval $ac_envvar=\$ac_optarg
2164 export $ac_envvar ;;
2167 # FIXME: should be removed in autoconf 3.0.
2168 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2171 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2174 esac
2175 done
2177 if test -n "$ac_prev"; then
2178 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2179 as_fn_error $? "missing argument to $ac_option"
2182 if test -n "$ac_unrecognized_opts"; then
2183 case $enable_option_checking in
2184 no) ;;
2185 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2187 esac
2190 # Check all directory arguments for consistency.
2191 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2192 datadir sysconfdir sharedstatedir localstatedir includedir \
2193 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2194 libdir localedir mandir runstatedir
2196 eval ac_val=\$$ac_var
2197 # Remove trailing slashes.
2198 case $ac_val in
2199 */ )
2200 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2201 eval $ac_var=\$ac_val;;
2202 esac
2203 # Be sure to have absolute directory names.
2204 case $ac_val in
2205 [\\/$]* | ?:[\\/]* ) continue;;
2206 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2207 esac
2208 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2209 done
2211 # There might be people who depend on the old broken behavior: `$host'
2212 # used to hold the argument of --host etc.
2213 # FIXME: To remove some day.
2214 build=$build_alias
2215 host=$host_alias
2216 target=$target_alias
2218 # FIXME: To remove some day.
2219 if test "x$host_alias" != x; then
2220 if test "x$build_alias" = x; then
2221 cross_compiling=maybe
2222 elif test "x$build_alias" != "x$host_alias"; then
2223 cross_compiling=yes
2227 ac_tool_prefix=
2228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2230 test "$silent" = yes && exec 6>/dev/null
2233 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2234 ac_ls_di=`ls -di .` &&
2235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2236 as_fn_error $? "working directory cannot be determined"
2237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2238 as_fn_error $? "pwd does not report name of working directory"
2241 # Find the source files, if location was not specified.
2242 if test -z "$srcdir"; then
2243 ac_srcdir_defaulted=yes
2244 # Try the directory containing this script, then the parent directory.
2245 ac_confdir=`$as_dirname -- "$as_myself" ||
2246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2247 X"$as_myself" : 'X\(//\)[^/]' \| \
2248 X"$as_myself" : 'X\(//\)$' \| \
2249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2250 $as_echo X"$as_myself" |
2251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2252 s//\1/
2255 /^X\(\/\/\)[^/].*/{
2256 s//\1/
2259 /^X\(\/\/\)$/{
2260 s//\1/
2263 /^X\(\/\).*/{
2264 s//\1/
2267 s/.*/./; q'`
2268 srcdir=$ac_confdir
2269 if test ! -r "$srcdir/$ac_unique_file"; then
2270 srcdir=..
2272 else
2273 ac_srcdir_defaulted=no
2275 if test ! -r "$srcdir/$ac_unique_file"; then
2276 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2277 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2279 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2280 ac_abs_confdir=`(
2281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2282 pwd)`
2283 # When building in place, set srcdir=.
2284 if test "$ac_abs_confdir" = "$ac_pwd"; then
2285 srcdir=.
2287 # Remove unnecessary trailing slashes from srcdir.
2288 # Double slashes in file names in object file debugging info
2289 # mess up M-x gdb in Emacs.
2290 case $srcdir in
2291 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2292 esac
2293 for ac_var in $ac_precious_vars; do
2294 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2295 eval ac_env_${ac_var}_value=\$${ac_var}
2296 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2297 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2298 done
2301 # Report the --help message.
2303 if test "$ac_init_help" = "long"; then
2304 # Omit some internal or obsolete options to make the list less imposing.
2305 # This message is too long to be a string in the A/UX 3.1 sh.
2306 cat <<_ACEOF
2307 \`configure' configures Wine 3.1 to adapt to many kinds of systems.
2309 Usage: $0 [OPTION]... [VAR=VALUE]...
2311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2312 VAR=VALUE. See below for descriptions of some of the useful variables.
2314 Defaults for the options are specified in brackets.
2316 Configuration:
2317 -h, --help display this help and exit
2318 --help=short display options specific to this package
2319 --help=recursive display the short help of all the included packages
2320 -V, --version display version information and exit
2321 -q, --quiet, --silent do not print \`checking ...' messages
2322 --cache-file=FILE cache test results in FILE [disabled]
2323 -C, --config-cache alias for \`--cache-file=config.cache'
2324 -n, --no-create do not create output files
2325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2327 Installation directories:
2328 --prefix=PREFIX install architecture-independent files in PREFIX
2329 [$ac_default_prefix]
2330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2331 [PREFIX]
2333 By default, \`make install' will install all the files in
2334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2336 for instance \`--prefix=\$HOME'.
2338 For better control, use the options below.
2340 Fine tuning of the installation directories:
2341 --bindir=DIR user executables [EPREFIX/bin]
2342 --sbindir=DIR system admin executables [EPREFIX/sbin]
2343 --libexecdir=DIR program executables [EPREFIX/libexec]
2344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2347 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2348 --libdir=DIR object code libraries [EPREFIX/lib]
2349 --includedir=DIR C header files [PREFIX/include]
2350 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2353 --infodir=DIR info documentation [DATAROOTDIR/info]
2354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2355 --mandir=DIR man documentation [DATAROOTDIR/man]
2356 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2357 --htmldir=DIR html documentation [DOCDIR]
2358 --dvidir=DIR dvi documentation [DOCDIR]
2359 --pdfdir=DIR pdf documentation [DOCDIR]
2360 --psdir=DIR ps documentation [DOCDIR]
2361 _ACEOF
2363 cat <<\_ACEOF
2365 X features:
2366 --x-includes=DIR X include files are in DIR
2367 --x-libraries=DIR X library files are in DIR
2369 System types:
2370 --build=BUILD configure for building on BUILD [guessed]
2371 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2372 _ACEOF
2375 if test -n "$ac_init_help"; then
2376 case $ac_init_help in
2377 short | recursive ) echo "Configuration of Wine 3.1:";;
2378 esac
2379 cat <<\_ACEOF
2381 Optional Features:
2382 --disable-option-checking ignore unrecognized --enable/--with options
2383 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2384 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2385 --disable-win16 do not include Win16 support
2386 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2387 binaries)
2388 --disable-tests do not build the regression tests
2389 --enable-maintainer-mode
2390 enable maintainer-specific build rules
2391 --disable-largefile omit support for large files
2393 Optional Packages:
2394 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2395 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2396 --without-alsa do not use the Alsa sound support
2397 --without-capi do not use CAPI (ISDN support)
2398 --without-cms do not use CMS (color management support)
2399 --without-coreaudio do not use the CoreAudio sound support
2400 --without-cups do not use CUPS
2401 --without-curses do not use (n)curses
2402 --without-dbus do not use DBus (dynamic device support)
2403 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2404 --without-fontconfig do not use fontconfig
2405 --without-freetype do not use the FreeType library
2406 --without-gettext do not use gettext
2407 --with-gettextpo use the GetTextPO library to rebuild po files
2408 --without-gphoto do not use gphoto (Digital Camera support)
2409 --without-glu do not use the GLU library
2410 --without-gnutls do not use GnuTLS (schannel support)
2411 --without-gsm do not use libgsm (GSM 06.10 codec support)
2412 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2413 --without-gstreamer do not use GStreamer (codecs support)
2414 --without-hal do not use HAL (dynamic device support)
2415 --without-jpeg do not use JPEG
2416 --without-krb5 do not use krb5 (Kerberos)
2417 --without-ldap do not use LDAP
2418 --without-mpg123 do not use the mpg123 library
2419 --without-netapi do not use the Samba NetAPI library
2420 --without-openal do not use OpenAL
2421 --without-opencl do not use OpenCL
2422 --without-opengl do not use OpenGL
2423 --without-osmesa do not use the OSMesa library
2424 --without-oss do not use the OSS sound support
2425 --without-pcap do not use the Packet Capture library
2426 --without-png do not use PNG
2427 --without-pthread do not use the pthread library
2428 --without-pulse do not use PulseAudio sound support
2429 --without-sane do not use SANE (scanner support)
2430 --without-tiff do not use TIFF
2431 --without-udev do not use udev (plug and play support)
2432 --without-v4l do not use v4l1 (v4l support)
2433 --without-xcomposite do not use the Xcomposite extension
2434 --without-xcursor do not use the Xcursor extension
2435 --without-xfixes do not use Xfixes for clipboard change notifications
2436 --without-xinerama do not use Xinerama (multi-monitor support)
2437 --without-xinput do not use the Xinput extension
2438 --without-xinput2 do not use the Xinput 2 extension
2439 --without-xml do not use XML
2440 --without-xrandr do not use Xrandr (resolution changes)
2441 --without-xrender do not use the Xrender extension
2442 --without-xshape do not use the Xshape extension
2443 --without-xshm do not use XShm (shared memory extension)
2444 --without-xslt do not use XSLT
2445 --without-xxf86vm do not use XFree video mode extension
2446 --without-zlib do not use Zlib (data compression)
2447 --with-wine-tools=DIR use Wine tools from directory DIR
2448 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2449 --with-x use the X Window System
2451 Some influential environment variables:
2452 CC C compiler command
2453 CFLAGS C compiler flags
2454 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2455 nonstandard directory <lib dir>
2456 LIBS libraries to pass to the linker, e.g. -l<library>
2457 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2458 you have headers in a nonstandard directory <include dir>
2459 CXX C++ compiler command
2460 CXXFLAGS C++ compiler flags
2461 CPP C preprocessor
2462 XMKMF Path to xmkmf, Makefile generator for X Window System
2463 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2464 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2465 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2466 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2467 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2468 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2469 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2470 HAL_LIBS Linker flags for hal, overriding pkg-config
2471 GNUTLS_CFLAGS
2472 C compiler flags for gnutls, overriding pkg-config
2473 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2474 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2475 SANE_LIBS Linker flags for libsane, overriding pkg-config
2476 GPHOTO2_CFLAGS
2477 C compiler flags for libgphoto2, overriding pkg-config
2478 GPHOTO2_LIBS
2479 Linker flags for libgphoto2, overriding pkg-config
2480 GPHOTO2_PORT_CFLAGS
2481 C compiler flags for libgphoto2_port, overriding pkg-config
2482 GPHOTO2_PORT_LIBS
2483 Linker flags for libgphoto2_port, overriding pkg-config
2484 LCMS2_CFLAGS
2485 C compiler flags for lcms2, overriding pkg-config
2486 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2487 FREETYPE_CFLAGS
2488 C compiler flags for freetype2, overriding pkg-config
2489 FREETYPE_LIBS
2490 Linker flags for freetype2, overriding pkg-config
2491 PULSE_CFLAGS
2492 C compiler flags for libpulse, overriding pkg-config
2493 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2494 GSTREAMER_CFLAGS
2495 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2496 gstreamer-audio-1.0, overriding pkg-config
2497 GSTREAMER_LIBS
2498 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2499 gstreamer-audio-1.0, overriding pkg-config
2500 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2501 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2502 CAPI20_CFLAGS
2503 C compiler flags for capi20, overriding pkg-config
2504 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2505 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2506 CUPS_LIBS Linker flags for cups, overriding pkg-config
2507 FONTCONFIG_CFLAGS
2508 C compiler flags for fontconfig, overriding pkg-config
2509 FONTCONFIG_LIBS
2510 Linker flags for fontconfig, overriding pkg-config
2511 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2512 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2513 GSSAPI_CFLAGS
2514 C compiler flags for krb5-gssapi, overriding pkg-config
2515 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2516 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2517 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2518 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2519 PNG_LIBS Linker flags for libpng, overriding pkg-config
2520 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2521 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2522 MPG123_CFLAGS
2523 C compiler flags for libmpg123, overriding pkg-config
2524 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2525 NETAPI_CFLAGS
2526 C compiler flags for netapi, overriding pkg-config
2527 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2528 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2529 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2531 Use these variables to override the choices made by `configure' or to help
2532 it to find libraries and programs with nonstandard names/locations.
2534 Report bugs to <wine-devel@winehq.org>.
2535 Wine home page: <https://www.winehq.org>.
2536 _ACEOF
2537 ac_status=$?
2540 if test "$ac_init_help" = "recursive"; then
2541 # If there are subdirs, report their specific --help.
2542 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2543 test -d "$ac_dir" ||
2544 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2545 continue
2546 ac_builddir=.
2548 case "$ac_dir" in
2549 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2551 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2552 # A ".." for each directory in $ac_dir_suffix.
2553 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2554 case $ac_top_builddir_sub in
2555 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2556 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2557 esac ;;
2558 esac
2559 ac_abs_top_builddir=$ac_pwd
2560 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2561 # for backward compatibility:
2562 ac_top_builddir=$ac_top_build_prefix
2564 case $srcdir in
2565 .) # We are building in place.
2566 ac_srcdir=.
2567 ac_top_srcdir=$ac_top_builddir_sub
2568 ac_abs_top_srcdir=$ac_pwd ;;
2569 [\\/]* | ?:[\\/]* ) # Absolute name.
2570 ac_srcdir=$srcdir$ac_dir_suffix;
2571 ac_top_srcdir=$srcdir
2572 ac_abs_top_srcdir=$srcdir ;;
2573 *) # Relative name.
2574 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2575 ac_top_srcdir=$ac_top_build_prefix$srcdir
2576 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2577 esac
2578 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2580 cd "$ac_dir" || { ac_status=$?; continue; }
2581 # Check for guested configure.
2582 if test -f "$ac_srcdir/configure.gnu"; then
2583 echo &&
2584 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2585 elif test -f "$ac_srcdir/configure"; then
2586 echo &&
2587 $SHELL "$ac_srcdir/configure" --help=recursive
2588 else
2589 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2590 fi || ac_status=$?
2591 cd "$ac_pwd" || { ac_status=$?; break; }
2592 done
2595 test -n "$ac_init_help" && exit $ac_status
2596 if $ac_init_version; then
2597 cat <<\_ACEOF
2598 Wine configure 3.1
2599 generated by GNU Autoconf 2.69
2601 Copyright (C) 2012 Free Software Foundation, Inc.
2602 This configure script is free software; the Free Software Foundation
2603 gives unlimited permission to copy, distribute and modify it.
2604 _ACEOF
2605 exit
2608 ## ------------------------ ##
2609 ## Autoconf initialization. ##
2610 ## ------------------------ ##
2612 # ac_fn_c_try_compile LINENO
2613 # --------------------------
2614 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2615 ac_fn_c_try_compile ()
2617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 rm -f conftest.$ac_objext
2619 if { { ac_try="$ac_compile"
2620 case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_compile") 2>conftest.err
2627 ac_status=$?
2628 if test -s conftest.err; then
2629 grep -v '^ *+' conftest.err >conftest.er1
2630 cat conftest.er1 >&5
2631 mv -f conftest.er1 conftest.err
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; } && {
2635 test -z "$ac_c_werror_flag" ||
2636 test ! -s conftest.err
2637 } && test -s conftest.$ac_objext; then :
2638 ac_retval=0
2639 else
2640 $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2643 ac_retval=1
2645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2646 as_fn_set_status $ac_retval
2648 } # ac_fn_c_try_compile
2650 # ac_fn_cxx_try_compile LINENO
2651 # ----------------------------
2652 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2653 ac_fn_cxx_try_compile ()
2655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2656 rm -f conftest.$ac_objext
2657 if { { ac_try="$ac_compile"
2658 case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2663 $as_echo "$ac_try_echo"; } >&5
2664 (eval "$ac_compile") 2>conftest.err
2665 ac_status=$?
2666 if test -s conftest.err; then
2667 grep -v '^ *+' conftest.err >conftest.er1
2668 cat conftest.er1 >&5
2669 mv -f conftest.er1 conftest.err
2671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2672 test $ac_status = 0; } && {
2673 test -z "$ac_cxx_werror_flag" ||
2674 test ! -s conftest.err
2675 } && test -s conftest.$ac_objext; then :
2676 ac_retval=0
2677 else
2678 $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2681 ac_retval=1
2683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2684 as_fn_set_status $ac_retval
2686 } # ac_fn_cxx_try_compile
2688 # ac_fn_c_try_link LINENO
2689 # -----------------------
2690 # Try to link conftest.$ac_ext, and return whether this succeeded.
2691 ac_fn_c_try_link ()
2693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2694 rm -f conftest.$ac_objext conftest$ac_exeext
2695 if { { ac_try="$ac_link"
2696 case "(($ac_try" in
2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2699 esac
2700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2701 $as_echo "$ac_try_echo"; } >&5
2702 (eval "$ac_link") 2>conftest.err
2703 ac_status=$?
2704 if test -s conftest.err; then
2705 grep -v '^ *+' conftest.err >conftest.er1
2706 cat conftest.er1 >&5
2707 mv -f conftest.er1 conftest.err
2709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2710 test $ac_status = 0; } && {
2711 test -z "$ac_c_werror_flag" ||
2712 test ! -s conftest.err
2713 } && test -s conftest$ac_exeext && {
2714 test "$cross_compiling" = yes ||
2715 test -x conftest$ac_exeext
2716 }; then :
2717 ac_retval=0
2718 else
2719 $as_echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.$ac_ext >&5
2722 ac_retval=1
2724 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2725 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2726 # interfere with the next link command; also delete a directory that is
2727 # left behind by Apple's compiler. We do this before executing the actions.
2728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2730 as_fn_set_status $ac_retval
2732 } # ac_fn_c_try_link
2734 # ac_fn_c_try_cpp LINENO
2735 # ----------------------
2736 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2737 ac_fn_c_try_cpp ()
2739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2740 if { { ac_try="$ac_cpp conftest.$ac_ext"
2741 case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744 esac
2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2748 ac_status=$?
2749 if test -s conftest.err; then
2750 grep -v '^ *+' conftest.err >conftest.er1
2751 cat conftest.er1 >&5
2752 mv -f conftest.er1 conftest.err
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; } > conftest.i && {
2756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2757 test ! -s conftest.err
2758 }; then :
2759 ac_retval=0
2760 else
2761 $as_echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2764 ac_retval=1
2766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767 as_fn_set_status $ac_retval
2769 } # ac_fn_c_try_cpp
2771 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2772 # -------------------------------------------------------
2773 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2774 # the include files in INCLUDES and setting the cache variable VAR
2775 # accordingly.
2776 ac_fn_c_check_header_mongrel ()
2778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2779 if eval \${$3+:} false; then :
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2781 $as_echo_n "checking for $2... " >&6; }
2782 if eval \${$3+:} false; then :
2783 $as_echo_n "(cached) " >&6
2785 eval ac_res=\$$3
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2787 $as_echo "$ac_res" >&6; }
2788 else
2789 # Is the header compilable?
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2791 $as_echo_n "checking $2 usability... " >&6; }
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2795 #include <$2>
2796 _ACEOF
2797 if ac_fn_c_try_compile "$LINENO"; then :
2798 ac_header_compiler=yes
2799 else
2800 ac_header_compiler=no
2802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2804 $as_echo "$ac_header_compiler" >&6; }
2806 # Is the header present?
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2808 $as_echo_n "checking $2 presence... " >&6; }
2809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2811 #include <$2>
2812 _ACEOF
2813 if ac_fn_c_try_cpp "$LINENO"; then :
2814 ac_header_preproc=yes
2815 else
2816 ac_header_preproc=no
2818 rm -f conftest.err conftest.i conftest.$ac_ext
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2820 $as_echo "$ac_header_preproc" >&6; }
2822 # So? What about this header?
2823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2824 yes:no: )
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2826 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2828 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2830 no:yes:* )
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2832 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2834 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2836 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2838 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2840 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2841 ( $as_echo "## ------------------------------------ ##
2842 ## Report this to wine-devel@winehq.org ##
2843 ## ------------------------------------ ##"
2844 ) | sed "s/^/$as_me: WARNING: /" >&2
2846 esac
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2848 $as_echo_n "checking for $2... " >&6; }
2849 if eval \${$3+:} false; then :
2850 $as_echo_n "(cached) " >&6
2851 else
2852 eval "$3=\$ac_header_compiler"
2854 eval ac_res=\$$3
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2856 $as_echo "$ac_res" >&6; }
2858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2860 } # ac_fn_c_check_header_mongrel
2862 # ac_fn_c_try_run LINENO
2863 # ----------------------
2864 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2865 # that executables *can* be run.
2866 ac_fn_c_try_run ()
2868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2869 if { { ac_try="$ac_link"
2870 case "(($ac_try" in
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2873 esac
2874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2875 $as_echo "$ac_try_echo"; } >&5
2876 (eval "$ac_link") 2>&5
2877 ac_status=$?
2878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2880 { { case "(($ac_try" in
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2883 esac
2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2885 $as_echo "$ac_try_echo"; } >&5
2886 (eval "$ac_try") 2>&5
2887 ac_status=$?
2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2889 test $ac_status = 0; }; }; then :
2890 ac_retval=0
2891 else
2892 $as_echo "$as_me: program exited with status $ac_status" >&5
2893 $as_echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2896 ac_retval=$ac_status
2898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 as_fn_set_status $ac_retval
2902 } # ac_fn_c_try_run
2904 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2905 # -------------------------------------------------------
2906 # Tests whether HEADER exists and can be compiled using the include files in
2907 # INCLUDES, setting the cache variable VAR accordingly.
2908 ac_fn_c_check_header_compile ()
2910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2912 $as_echo_n "checking for $2... " >&6; }
2913 if eval \${$3+:} false; then :
2914 $as_echo_n "(cached) " >&6
2915 else
2916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2917 /* end confdefs.h. */
2919 #include <$2>
2920 _ACEOF
2921 if ac_fn_c_try_compile "$LINENO"; then :
2922 eval "$3=yes"
2923 else
2924 eval "$3=no"
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 eval ac_res=\$$3
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 $as_echo "$ac_res" >&6; }
2931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2933 } # ac_fn_c_check_header_compile
2935 # ac_fn_c_check_func LINENO FUNC VAR
2936 # ----------------------------------
2937 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2938 ac_fn_c_check_func ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2942 $as_echo_n "checking for $2... " >&6; }
2943 if eval \${$3+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2948 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2950 #define $2 innocuous_$2
2952 /* System header to define __stub macros and hopefully few prototypes,
2953 which can conflict with char $2 (); below.
2954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2955 <limits.h> exists even on freestanding compilers. */
2957 #ifdef __STDC__
2958 # include <limits.h>
2959 #else
2960 # include <assert.h>
2961 #endif
2963 #undef $2
2965 /* Override any GCC internal prototype to avoid an error.
2966 Use char because int might match the return type of a GCC
2967 builtin and then its argument prototype would still apply. */
2968 #ifdef __cplusplus
2969 extern "C"
2970 #endif
2971 char $2 ();
2972 /* The GNU C library defines this for functions which it implements
2973 to always fail with ENOSYS. Some functions are actually named
2974 something starting with __ and the normal name is an alias. */
2975 #if defined __stub_$2 || defined __stub___$2
2976 choke me
2977 #endif
2980 main ()
2982 return $2 ();
2984 return 0;
2986 _ACEOF
2987 if ac_fn_c_try_link "$LINENO"; then :
2988 eval "$3=yes"
2989 else
2990 eval "$3=no"
2992 rm -f core conftest.err conftest.$ac_objext \
2993 conftest$ac_exeext conftest.$ac_ext
2995 eval ac_res=\$$3
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2997 $as_echo "$ac_res" >&6; }
2998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3000 } # ac_fn_c_check_func
3002 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3003 # ----------------------------------------------------
3004 # Tries to find if the field MEMBER exists in type AGGR, after including
3005 # INCLUDES, setting cache variable VAR accordingly.
3006 ac_fn_c_check_member ()
3008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3010 $as_echo_n "checking for $2.$3... " >&6; }
3011 if eval \${$4+:} false; then :
3012 $as_echo_n "(cached) " >&6
3013 else
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3018 main ()
3020 static $2 ac_aggr;
3021 if (ac_aggr.$3)
3022 return 0;
3024 return 0;
3026 _ACEOF
3027 if ac_fn_c_try_compile "$LINENO"; then :
3028 eval "$4=yes"
3029 else
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3034 main ()
3036 static $2 ac_aggr;
3037 if (sizeof ac_aggr.$3)
3038 return 0;
3040 return 0;
3042 _ACEOF
3043 if ac_fn_c_try_compile "$LINENO"; then :
3044 eval "$4=yes"
3045 else
3046 eval "$4=no"
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 eval ac_res=\$$4
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3054 $as_echo "$ac_res" >&6; }
3055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3057 } # ac_fn_c_check_member
3059 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3060 # -------------------------------------------
3061 # Tests whether TYPE exists after having included INCLUDES, setting cache
3062 # variable VAR accordingly.
3063 ac_fn_c_check_type ()
3065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3067 $as_echo_n "checking for $2... " >&6; }
3068 if eval \${$3+:} false; then :
3069 $as_echo_n "(cached) " >&6
3070 else
3071 eval "$3=no"
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3076 main ()
3078 if (sizeof ($2))
3079 return 0;
3081 return 0;
3083 _ACEOF
3084 if ac_fn_c_try_compile "$LINENO"; then :
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3089 main ()
3091 if (sizeof (($2)))
3092 return 0;
3094 return 0;
3096 _ACEOF
3097 if ac_fn_c_try_compile "$LINENO"; then :
3099 else
3100 eval "$3=yes"
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 eval ac_res=\$$3
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3108 $as_echo "$ac_res" >&6; }
3109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3111 } # ac_fn_c_check_type
3112 cat >config.log <<_ACEOF
3113 This file contains any messages produced by compilers while
3114 running configure, to aid debugging if configure makes a mistake.
3116 It was created by Wine $as_me 3.1, which was
3117 generated by GNU Autoconf 2.69. Invocation command line was
3119 $ $0 $@
3121 _ACEOF
3122 exec 5>>config.log
3124 cat <<_ASUNAME
3125 ## --------- ##
3126 ## Platform. ##
3127 ## --------- ##
3129 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3130 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3131 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3132 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3133 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3135 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3136 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3138 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3139 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3140 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3141 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3142 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3143 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3144 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3146 _ASUNAME
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH
3151 IFS=$as_save_IFS
3152 test -z "$as_dir" && as_dir=.
3153 $as_echo "PATH: $as_dir"
3154 done
3155 IFS=$as_save_IFS
3157 } >&5
3159 cat >&5 <<_ACEOF
3162 ## ----------- ##
3163 ## Core tests. ##
3164 ## ----------- ##
3166 _ACEOF
3169 # Keep a trace of the command line.
3170 # Strip out --no-create and --no-recursion so they do not pile up.
3171 # Strip out --silent because we don't want to record it for future runs.
3172 # Also quote any args containing shell meta-characters.
3173 # Make two passes to allow for proper duplicate-argument suppression.
3174 ac_configure_args=
3175 ac_configure_args0=
3176 ac_configure_args1=
3177 ac_must_keep_next=false
3178 for ac_pass in 1 2
3180 for ac_arg
3182 case $ac_arg in
3183 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3185 | -silent | --silent | --silen | --sile | --sil)
3186 continue ;;
3187 *\'*)
3188 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3189 esac
3190 case $ac_pass in
3191 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3193 as_fn_append ac_configure_args1 " '$ac_arg'"
3194 if test $ac_must_keep_next = true; then
3195 ac_must_keep_next=false # Got value, back to normal.
3196 else
3197 case $ac_arg in
3198 *=* | --config-cache | -C | -disable-* | --disable-* \
3199 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3200 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3201 | -with-* | --with-* | -without-* | --without-* | --x)
3202 case "$ac_configure_args0 " in
3203 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3204 esac
3206 -* ) ac_must_keep_next=true ;;
3207 esac
3209 as_fn_append ac_configure_args " '$ac_arg'"
3211 esac
3212 done
3213 done
3214 { ac_configure_args0=; unset ac_configure_args0;}
3215 { ac_configure_args1=; unset ac_configure_args1;}
3217 # When interrupted or exit'd, cleanup temporary files, and complete
3218 # config.log. We remove comments because anyway the quotes in there
3219 # would cause problems or look ugly.
3220 # WARNING: Use '\'' to represent an apostrophe within the trap.
3221 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3222 trap 'exit_status=$?
3223 # Save into config.log some information that might help in debugging.
3225 echo
3227 $as_echo "## ---------------- ##
3228 ## Cache variables. ##
3229 ## ---------------- ##"
3230 echo
3231 # The following way of writing the cache mishandles newlines in values,
3233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3234 eval ac_val=\$$ac_var
3235 case $ac_val in #(
3236 *${as_nl}*)
3237 case $ac_var in #(
3238 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3239 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3240 esac
3241 case $ac_var in #(
3242 _ | IFS | as_nl) ;; #(
3243 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3244 *) { eval $ac_var=; unset $ac_var;} ;;
3245 esac ;;
3246 esac
3247 done
3248 (set) 2>&1 |
3249 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3250 *${as_nl}ac_space=\ *)
3251 sed -n \
3252 "s/'\''/'\''\\\\'\'''\''/g;
3253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3254 ;; #(
3256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3258 esac |
3259 sort
3261 echo
3263 $as_echo "## ----------------- ##
3264 ## Output variables. ##
3265 ## ----------------- ##"
3266 echo
3267 for ac_var in $ac_subst_vars
3269 eval ac_val=\$$ac_var
3270 case $ac_val in
3271 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3272 esac
3273 $as_echo "$ac_var='\''$ac_val'\''"
3274 done | sort
3275 echo
3277 if test -n "$ac_subst_files"; then
3278 $as_echo "## ------------------- ##
3279 ## File substitutions. ##
3280 ## ------------------- ##"
3281 echo
3282 for ac_var in $ac_subst_files
3284 eval ac_val=\$$ac_var
3285 case $ac_val in
3286 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3287 esac
3288 $as_echo "$ac_var='\''$ac_val'\''"
3289 done | sort
3290 echo
3293 if test -s confdefs.h; then
3294 $as_echo "## ----------- ##
3295 ## confdefs.h. ##
3296 ## ----------- ##"
3297 echo
3298 cat confdefs.h
3299 echo
3301 test "$ac_signal" != 0 &&
3302 $as_echo "$as_me: caught signal $ac_signal"
3303 $as_echo "$as_me: exit $exit_status"
3304 } >&5
3305 rm -f core *.core core.conftest.* &&
3306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3307 exit $exit_status
3309 for ac_signal in 1 2 13 15; do
3310 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3311 done
3312 ac_signal=0
3314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3315 rm -f -r conftest* confdefs.h
3317 $as_echo "/* confdefs.h */" > confdefs.h
3319 # Predefined preprocessor variables.
3321 cat >>confdefs.h <<_ACEOF
3322 #define PACKAGE_NAME "$PACKAGE_NAME"
3323 _ACEOF
3325 cat >>confdefs.h <<_ACEOF
3326 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3327 _ACEOF
3329 cat >>confdefs.h <<_ACEOF
3330 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3331 _ACEOF
3333 cat >>confdefs.h <<_ACEOF
3334 #define PACKAGE_STRING "$PACKAGE_STRING"
3335 _ACEOF
3337 cat >>confdefs.h <<_ACEOF
3338 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3339 _ACEOF
3341 cat >>confdefs.h <<_ACEOF
3342 #define PACKAGE_URL "$PACKAGE_URL"
3343 _ACEOF
3346 # Let the site file select an alternate cache file if it wants to.
3347 # Prefer an explicitly selected file to automatically selected ones.
3348 ac_site_file1=NONE
3349 ac_site_file2=NONE
3350 if test -n "$CONFIG_SITE"; then
3351 # We do not want a PATH search for config.site.
3352 case $CONFIG_SITE in #((
3353 -*) ac_site_file1=./$CONFIG_SITE;;
3354 */*) ac_site_file1=$CONFIG_SITE;;
3355 *) ac_site_file1=./$CONFIG_SITE;;
3356 esac
3357 elif test "x$prefix" != xNONE; then
3358 ac_site_file1=$prefix/share/config.site
3359 ac_site_file2=$prefix/etc/config.site
3360 else
3361 ac_site_file1=$ac_default_prefix/share/config.site
3362 ac_site_file2=$ac_default_prefix/etc/config.site
3364 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3366 test "x$ac_site_file" = xNONE && continue
3367 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3369 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3370 sed 's/^/| /' "$ac_site_file" >&5
3371 . "$ac_site_file" \
3372 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374 as_fn_error $? "failed to load site script $ac_site_file
3375 See \`config.log' for more details" "$LINENO" 5; }
3377 done
3379 if test -r "$cache_file"; then
3380 # Some versions of bash will fail to source /dev/null (special files
3381 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3382 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3384 $as_echo "$as_me: loading cache $cache_file" >&6;}
3385 case $cache_file in
3386 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3387 *) . "./$cache_file";;
3388 esac
3390 else
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3392 $as_echo "$as_me: creating cache $cache_file" >&6;}
3393 >$cache_file
3396 # Check that the precious variables saved in the cache have kept the same
3397 # value.
3398 ac_cache_corrupted=false
3399 for ac_var in $ac_precious_vars; do
3400 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3401 eval ac_new_set=\$ac_env_${ac_var}_set
3402 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3403 eval ac_new_val=\$ac_env_${ac_var}_value
3404 case $ac_old_set,$ac_new_set in
3405 set,)
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3407 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3408 ac_cache_corrupted=: ;;
3409 ,set)
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3411 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3412 ac_cache_corrupted=: ;;
3413 ,);;
3415 if test "x$ac_old_val" != "x$ac_new_val"; then
3416 # differences in whitespace do not lead to failure.
3417 ac_old_val_w=`echo x $ac_old_val`
3418 ac_new_val_w=`echo x $ac_new_val`
3419 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3421 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3422 ac_cache_corrupted=:
3423 else
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3425 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3426 eval $ac_var=\$ac_old_val
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3429 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3431 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3432 fi;;
3433 esac
3434 # Pass precious variables to config.status.
3435 if test "$ac_new_set" = set; then
3436 case $ac_new_val in
3437 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3438 *) ac_arg=$ac_var=$ac_new_val ;;
3439 esac
3440 case " $ac_configure_args " in
3441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3442 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3443 esac
3445 done
3446 if $ac_cache_corrupted; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3450 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3451 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3453 ## -------------------- ##
3454 ## Main body of script. ##
3455 ## -------------------- ##
3457 ac_ext=c
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3465 ac_config_headers="$ac_config_headers include/config.h"
3467 ac_aux_dir=
3468 for ac_dir in tools "$srcdir"/tools; do
3469 if test -f "$ac_dir/install-sh"; then
3470 ac_aux_dir=$ac_dir
3471 ac_install_sh="$ac_aux_dir/install-sh -c"
3472 break
3473 elif test -f "$ac_dir/install.sh"; then
3474 ac_aux_dir=$ac_dir
3475 ac_install_sh="$ac_aux_dir/install.sh -c"
3476 break
3477 elif test -f "$ac_dir/shtool"; then
3478 ac_aux_dir=$ac_dir
3479 ac_install_sh="$ac_aux_dir/shtool install -c"
3480 break
3482 done
3483 if test -z "$ac_aux_dir"; then
3484 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3487 # These three variables are undocumented and unsupported,
3488 # and are intended to be withdrawn in a future Autoconf release.
3489 # They can cause serious problems if a builder's source tree is in a directory
3490 # whose full name contains unusual characters.
3491 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3492 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3493 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3497 libwine_version="1.0"
3501 # Check whether --enable-win16 was given.
3502 if test "${enable_win16+set}" = set; then :
3503 enableval=$enable_win16;
3506 # Check whether --enable-win64 was given.
3507 if test "${enable_win64+set}" = set; then :
3508 enableval=$enable_win64;
3511 # Check whether --enable-tests was given.
3512 if test "${enable_tests+set}" = set; then :
3513 enableval=$enable_tests;
3516 # Check whether --enable-maintainer-mode was given.
3517 if test "${enable_maintainer_mode+set}" = set; then :
3518 enableval=$enable_maintainer_mode;
3523 # Check whether --with-alsa was given.
3524 if test "${with_alsa+set}" = set; then :
3525 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3529 # Check whether --with-capi was given.
3530 if test "${with_capi+set}" = set; then :
3531 withval=$with_capi;
3535 # Check whether --with-cms was given.
3536 if test "${with_cms+set}" = set; then :
3537 withval=$with_cms;
3541 # Check whether --with-coreaudio was given.
3542 if test "${with_coreaudio+set}" = set; then :
3543 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3547 # Check whether --with-cups was given.
3548 if test "${with_cups+set}" = set; then :
3549 withval=$with_cups;
3553 # Check whether --with-curses was given.
3554 if test "${with_curses+set}" = set; then :
3555 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3559 # Check whether --with-dbus was given.
3560 if test "${with_dbus+set}" = set; then :
3561 withval=$with_dbus;
3565 # Check whether --with-float-abi was given.
3566 if test "${with_float_abi+set}" = set; then :
3567 withval=$with_float_abi;
3571 # Check whether --with-fontconfig was given.
3572 if test "${with_fontconfig+set}" = set; then :
3573 withval=$with_fontconfig;
3577 # Check whether --with-freetype was given.
3578 if test "${with_freetype+set}" = set; then :
3579 withval=$with_freetype;
3583 # Check whether --with-gettext was given.
3584 if test "${with_gettext+set}" = set; then :
3585 withval=$with_gettext;
3589 # Check whether --with-gettextpo was given.
3590 if test "${with_gettextpo+set}" = set; then :
3591 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3595 # Check whether --with-gphoto was given.
3596 if test "${with_gphoto+set}" = set; then :
3597 withval=$with_gphoto;
3601 # Check whether --with-glu was given.
3602 if test "${with_glu+set}" = set; then :
3603 withval=$with_glu;
3607 # Check whether --with-gnutls was given.
3608 if test "${with_gnutls+set}" = set; then :
3609 withval=$with_gnutls;
3613 # Check whether --with-gsm was given.
3614 if test "${with_gsm+set}" = set; then :
3615 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3619 # Check whether --with-gssapi was given.
3620 if test "${with_gssapi+set}" = set; then :
3621 withval=$with_gssapi;
3625 # Check whether --with-gstreamer was given.
3626 if test "${with_gstreamer+set}" = set; then :
3627 withval=$with_gstreamer;
3631 # Check whether --with-hal was given.
3632 if test "${with_hal+set}" = set; then :
3633 withval=$with_hal;
3637 # Check whether --with-jpeg was given.
3638 if test "${with_jpeg+set}" = set; then :
3639 withval=$with_jpeg;
3643 # Check whether --with-krb5 was given.
3644 if test "${with_krb5+set}" = set; then :
3645 withval=$with_krb5;
3649 # Check whether --with-ldap was given.
3650 if test "${with_ldap+set}" = set; then :
3651 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3655 # Check whether --with-mpg123 was given.
3656 if test "${with_mpg123+set}" = set; then :
3657 withval=$with_mpg123;
3661 # Check whether --with-netapi was given.
3662 if test "${with_netapi+set}" = set; then :
3663 withval=$with_netapi;
3667 # Check whether --with-openal was given.
3668 if test "${with_openal+set}" = set; then :
3669 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3673 # Check whether --with-opencl was given.
3674 if test "${with_opencl+set}" = set; then :
3675 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3679 # Check whether --with-opengl was given.
3680 if test "${with_opengl+set}" = set; then :
3681 withval=$with_opengl;
3685 # Check whether --with-osmesa was given.
3686 if test "${with_osmesa+set}" = set; then :
3687 withval=$with_osmesa;
3691 # Check whether --with-oss was given.
3692 if test "${with_oss+set}" = set; then :
3693 withval=$with_oss;
3697 # Check whether --with-pcap was given.
3698 if test "${with_pcap+set}" = set; then :
3699 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3703 # Check whether --with-png was given.
3704 if test "${with_png+set}" = set; then :
3705 withval=$with_png;
3709 # Check whether --with-pthread was given.
3710 if test "${with_pthread+set}" = set; then :
3711 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3715 # Check whether --with-pulse was given.
3716 if test "${with_pulse+set}" = set; then :
3717 withval=$with_pulse;
3721 # Check whether --with-sane was given.
3722 if test "${with_sane+set}" = set; then :
3723 withval=$with_sane;
3727 # Check whether --with-tiff was given.
3728 if test "${with_tiff+set}" = set; then :
3729 withval=$with_tiff;
3733 # Check whether --with-udev was given.
3734 if test "${with_udev+set}" = set; then :
3735 withval=$with_udev;
3739 # Check whether --with-v4l was given.
3740 if test "${with_v4l+set}" = set; then :
3741 withval=$with_v4l;
3745 # Check whether --with-xcomposite was given.
3746 if test "${with_xcomposite+set}" = set; then :
3747 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3751 # Check whether --with-xcursor was given.
3752 if test "${with_xcursor+set}" = set; then :
3753 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3757 # Check whether --with-xfixes was given.
3758 if test "${with_xfixes+set}" = set; then :
3759 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3763 # Check whether --with-xinerama was given.
3764 if test "${with_xinerama+set}" = set; then :
3765 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3769 # Check whether --with-xinput was given.
3770 if test "${with_xinput+set}" = set; then :
3771 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3775 # Check whether --with-xinput2 was given.
3776 if test "${with_xinput2+set}" = set; then :
3777 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3781 # Check whether --with-xml was given.
3782 if test "${with_xml+set}" = set; then :
3783 withval=$with_xml;
3787 # Check whether --with-xrandr was given.
3788 if test "${with_xrandr+set}" = set; then :
3789 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3793 # Check whether --with-xrender was given.
3794 if test "${with_xrender+set}" = set; then :
3795 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3799 # Check whether --with-xshape was given.
3800 if test "${with_xshape+set}" = set; then :
3801 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3805 # Check whether --with-xshm was given.
3806 if test "${with_xshm+set}" = set; then :
3807 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3811 # Check whether --with-xslt was given.
3812 if test "${with_xslt+set}" = set; then :
3813 withval=$with_xslt;
3817 # Check whether --with-xxf86vm was given.
3818 if test "${with_xxf86vm+set}" = set; then :
3819 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
3823 # Check whether --with-zlib was given.
3824 if test "${with_zlib+set}" = set; then :
3825 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3830 # Check whether --with-wine-tools was given.
3831 if test "${with_wine_tools+set}" = set; then :
3832 withval=$with_wine_tools;
3836 # Check whether --with-wine64 was given.
3837 if test "${with_wine64+set}" = set; then :
3838 withval=$with_wine64;
3842 # Make sure we can run config.sub.
3843 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3844 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3847 $as_echo_n "checking build system type... " >&6; }
3848 if ${ac_cv_build+:} false; then :
3849 $as_echo_n "(cached) " >&6
3850 else
3851 ac_build_alias=$build_alias
3852 test "x$ac_build_alias" = x &&
3853 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3854 test "x$ac_build_alias" = x &&
3855 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3856 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3857 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3861 $as_echo "$ac_cv_build" >&6; }
3862 case $ac_cv_build in
3863 *-*-*) ;;
3864 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3865 esac
3866 build=$ac_cv_build
3867 ac_save_IFS=$IFS; IFS='-'
3868 set x $ac_cv_build
3869 shift
3870 build_cpu=$1
3871 build_vendor=$2
3872 shift; shift
3873 # Remember, the first character of IFS is used to create $*,
3874 # except with old shells:
3875 build_os=$*
3876 IFS=$ac_save_IFS
3877 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3881 $as_echo_n "checking host system type... " >&6; }
3882 if ${ac_cv_host+:} false; then :
3883 $as_echo_n "(cached) " >&6
3884 else
3885 if test "x$host_alias" = x; then
3886 ac_cv_host=$ac_cv_build
3887 else
3888 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3889 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3894 $as_echo "$ac_cv_host" >&6; }
3895 case $ac_cv_host in
3896 *-*-*) ;;
3897 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3898 esac
3899 host=$ac_cv_host
3900 ac_save_IFS=$IFS; IFS='-'
3901 set x $ac_cv_host
3902 shift
3903 host_cpu=$1
3904 host_vendor=$2
3905 shift; shift
3906 # Remember, the first character of IFS is used to create $*,
3907 # except with old shells:
3908 host_os=$*
3909 IFS=$ac_save_IFS
3910 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3914 case "$srcdir" in
3915 .) ;;
3916 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3917 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3918 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3919 fi ;;
3920 esac
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3924 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3925 set x ${MAKE-make}
3926 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3927 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3928 $as_echo_n "(cached) " >&6
3929 else
3930 cat >conftest.make <<\_ACEOF
3931 SHELL = /bin/sh
3932 all:
3933 @echo '@@@%%%=$(MAKE)=@@@%%%'
3934 _ACEOF
3935 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3937 *@@@%%%=?*=@@@%%%*)
3938 eval ac_cv_prog_make_${ac_make}_set=yes;;
3940 eval ac_cv_prog_make_${ac_make}_set=no;;
3941 esac
3942 rm -f conftest.make
3944 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3946 $as_echo "yes" >&6; }
3947 SET_MAKE=
3948 else
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3951 SET_MAKE="MAKE=${MAKE-make}"
3954 ac_ext=c
3955 ac_cpp='$CPP $CPPFLAGS'
3956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 if test -n "$ac_tool_prefix"; then
3960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3963 $as_echo_n "checking for $ac_word... " >&6; }
3964 if ${ac_cv_prog_CC+:} false; then :
3965 $as_echo_n "(cached) " >&6
3966 else
3967 if test -n "$CC"; then
3968 ac_cv_prog_CC="$CC" # Let the user override the test.
3969 else
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971 for as_dir in $PATH
3973 IFS=$as_save_IFS
3974 test -z "$as_dir" && as_dir=.
3975 for ac_exec_ext in '' $ac_executable_extensions; do
3976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 break 2
3981 done
3982 done
3983 IFS=$as_save_IFS
3987 CC=$ac_cv_prog_CC
3988 if test -n "$CC"; then
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3990 $as_echo "$CC" >&6; }
3991 else
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3998 if test -z "$ac_cv_prog_CC"; then
3999 ac_ct_CC=$CC
4000 # Extract the first word of "gcc", so it can be a program name with args.
4001 set dummy gcc; ac_word=$2
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4003 $as_echo_n "checking for $ac_word... " >&6; }
4004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4005 $as_echo_n "(cached) " >&6
4006 else
4007 if test -n "$ac_ct_CC"; then
4008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4009 else
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 for as_dir in $PATH
4013 IFS=$as_save_IFS
4014 test -z "$as_dir" && as_dir=.
4015 for ac_exec_ext in '' $ac_executable_extensions; do
4016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4017 ac_cv_prog_ac_ct_CC="gcc"
4018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 break 2
4021 done
4022 done
4023 IFS=$as_save_IFS
4027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4028 if test -n "$ac_ct_CC"; then
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4030 $as_echo "$ac_ct_CC" >&6; }
4031 else
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4036 if test "x$ac_ct_CC" = x; then
4037 CC=""
4038 else
4039 case $cross_compiling:$ac_tool_warned in
4040 yes:)
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4043 ac_tool_warned=yes ;;
4044 esac
4045 CC=$ac_ct_CC
4047 else
4048 CC="$ac_cv_prog_CC"
4051 if test -z "$CC"; then
4052 if test -n "$ac_tool_prefix"; then
4053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4054 set dummy ${ac_tool_prefix}cc; ac_word=$2
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056 $as_echo_n "checking for $ac_word... " >&6; }
4057 if ${ac_cv_prog_CC+:} false; then :
4058 $as_echo_n "(cached) " >&6
4059 else
4060 if test -n "$CC"; then
4061 ac_cv_prog_CC="$CC" # Let the user override the test.
4062 else
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 ac_cv_prog_CC="${ac_tool_prefix}cc"
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4072 break 2
4074 done
4075 done
4076 IFS=$as_save_IFS
4080 CC=$ac_cv_prog_CC
4081 if test -n "$CC"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4083 $as_echo "$CC" >&6; }
4084 else
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4092 if test -z "$CC"; then
4093 # Extract the first word of "cc", so it can be a program name with args.
4094 set dummy cc; ac_word=$2
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096 $as_echo_n "checking for $ac_word... " >&6; }
4097 if ${ac_cv_prog_CC+:} false; then :
4098 $as_echo_n "(cached) " >&6
4099 else
4100 if test -n "$CC"; then
4101 ac_cv_prog_CC="$CC" # Let the user override the test.
4102 else
4103 ac_prog_rejected=no
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 for as_dir in $PATH
4107 IFS=$as_save_IFS
4108 test -z "$as_dir" && as_dir=.
4109 for ac_exec_ext in '' $ac_executable_extensions; do
4110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4111 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4112 ac_prog_rejected=yes
4113 continue
4115 ac_cv_prog_CC="cc"
4116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 break 2
4119 done
4120 done
4121 IFS=$as_save_IFS
4123 if test $ac_prog_rejected = yes; then
4124 # We found a bogon in the path, so make sure we never use it.
4125 set dummy $ac_cv_prog_CC
4126 shift
4127 if test $# != 0; then
4128 # We chose a different compiler from the bogus one.
4129 # However, it has the same basename, so the bogon will be chosen
4130 # first if we set CC to just the basename; use the full file name.
4131 shift
4132 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4137 CC=$ac_cv_prog_CC
4138 if test -n "$CC"; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4140 $as_echo "$CC" >&6; }
4141 else
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 $as_echo "no" >&6; }
4148 if test -z "$CC"; then
4149 if test -n "$ac_tool_prefix"; then
4150 for ac_prog in cl.exe
4152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155 $as_echo_n "checking for $ac_word... " >&6; }
4156 if ${ac_cv_prog_CC+:} false; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 if test -n "$CC"; then
4160 ac_cv_prog_CC="$CC" # Let the user override the test.
4161 else
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 for as_dir in $PATH
4165 IFS=$as_save_IFS
4166 test -z "$as_dir" && as_dir=.
4167 for ac_exec_ext in '' $ac_executable_extensions; do
4168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4169 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 break 2
4173 done
4174 done
4175 IFS=$as_save_IFS
4179 CC=$ac_cv_prog_CC
4180 if test -n "$CC"; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4182 $as_echo "$CC" >&6; }
4183 else
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4189 test -n "$CC" && break
4190 done
4192 if test -z "$CC"; then
4193 ac_ct_CC=$CC
4194 for ac_prog in cl.exe
4196 # Extract the first word of "$ac_prog", so it can be a program name with args.
4197 set dummy $ac_prog; ac_word=$2
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4199 $as_echo_n "checking for $ac_word... " >&6; }
4200 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4201 $as_echo_n "(cached) " >&6
4202 else
4203 if test -n "$ac_ct_CC"; then
4204 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4205 else
4206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207 for as_dir in $PATH
4209 IFS=$as_save_IFS
4210 test -z "$as_dir" && as_dir=.
4211 for ac_exec_ext in '' $ac_executable_extensions; do
4212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4213 ac_cv_prog_ac_ct_CC="$ac_prog"
4214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 break 2
4217 done
4218 done
4219 IFS=$as_save_IFS
4223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4224 if test -n "$ac_ct_CC"; then
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4226 $as_echo "$ac_ct_CC" >&6; }
4227 else
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4233 test -n "$ac_ct_CC" && break
4234 done
4236 if test "x$ac_ct_CC" = x; then
4237 CC=""
4238 else
4239 case $cross_compiling:$ac_tool_warned in
4240 yes:)
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4243 ac_tool_warned=yes ;;
4244 esac
4245 CC=$ac_ct_CC
4252 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254 as_fn_error $? "no acceptable C compiler found in \$PATH
4255 See \`config.log' for more details" "$LINENO" 5; }
4257 # Provide some information about the compiler.
4258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4259 set X $ac_compile
4260 ac_compiler=$2
4261 for ac_option in --version -v -V -qversion; do
4262 { { ac_try="$ac_compiler $ac_option >&5"
4263 case "(($ac_try" in
4264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4266 esac
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
4269 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4270 ac_status=$?
4271 if test -s conftest.err; then
4272 sed '10a\
4273 ... rest of stderr output deleted ...
4274 10q' conftest.err >conftest.er1
4275 cat conftest.er1 >&5
4277 rm -f conftest.er1 conftest.err
4278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 test $ac_status = 0; }
4280 done
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4286 main ()
4290 return 0;
4292 _ACEOF
4293 ac_clean_files_save=$ac_clean_files
4294 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4295 # Try to create an executable without -o first, disregard a.out.
4296 # It will help us diagnose broken compilers, and finding out an intuition
4297 # of exeext.
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4299 $as_echo_n "checking whether the C compiler works... " >&6; }
4300 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4302 # The possible output files:
4303 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4305 ac_rmfiles=
4306 for ac_file in $ac_files
4308 case $ac_file in
4309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4310 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4311 esac
4312 done
4313 rm -f $ac_rmfiles
4315 if { { ac_try="$ac_link_default"
4316 case "(($ac_try" in
4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4319 esac
4320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4321 $as_echo "$ac_try_echo"; } >&5
4322 (eval "$ac_link_default") 2>&5
4323 ac_status=$?
4324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4325 test $ac_status = 0; }; then :
4326 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4327 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4328 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4329 # so that the user can short-circuit this test for compilers unknown to
4330 # Autoconf.
4331 for ac_file in $ac_files ''
4333 test -f "$ac_file" || continue
4334 case $ac_file in
4335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4337 [ab].out )
4338 # We found the default executable, but exeext='' is most
4339 # certainly right.
4340 break;;
4341 *.* )
4342 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4343 then :; else
4344 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4346 # We set ac_cv_exeext here because the later test for it is not
4347 # safe: cross compilers may not add the suffix if given an `-o'
4348 # argument, so we may need to know it at that point already.
4349 # Even if this section looks crufty: it has the advantage of
4350 # actually working.
4351 break;;
4353 break;;
4354 esac
4355 done
4356 test "$ac_cv_exeext" = no && ac_cv_exeext=
4358 else
4359 ac_file=''
4361 if test -z "$ac_file"; then :
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4364 $as_echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.$ac_ext >&5
4367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4369 as_fn_error 77 "C compiler cannot create executables
4370 See \`config.log' for more details" "$LINENO" 5; }
4371 else
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4373 $as_echo "yes" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4376 $as_echo_n "checking for C compiler default output file name... " >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4378 $as_echo "$ac_file" >&6; }
4379 ac_exeext=$ac_cv_exeext
4381 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4382 ac_clean_files=$ac_clean_files_save
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4384 $as_echo_n "checking for suffix of executables... " >&6; }
4385 if { { ac_try="$ac_link"
4386 case "(($ac_try" in
4387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388 *) ac_try_echo=$ac_try;;
4389 esac
4390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4391 $as_echo "$ac_try_echo"; } >&5
4392 (eval "$ac_link") 2>&5
4393 ac_status=$?
4394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4395 test $ac_status = 0; }; then :
4396 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4397 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4398 # work properly (i.e., refer to `conftest.exe'), while it won't with
4399 # `rm'.
4400 for ac_file in conftest.exe conftest conftest.*; do
4401 test -f "$ac_file" || continue
4402 case $ac_file in
4403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4404 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4405 break;;
4406 * ) break;;
4407 esac
4408 done
4409 else
4410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4412 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4413 See \`config.log' for more details" "$LINENO" 5; }
4415 rm -f conftest conftest$ac_cv_exeext
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4417 $as_echo "$ac_cv_exeext" >&6; }
4419 rm -f conftest.$ac_ext
4420 EXEEXT=$ac_cv_exeext
4421 ac_exeext=$EXEEXT
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4424 #include <stdio.h>
4426 main ()
4428 FILE *f = fopen ("conftest.out", "w");
4429 return ferror (f) || fclose (f) != 0;
4432 return 0;
4434 _ACEOF
4435 ac_clean_files="$ac_clean_files conftest.out"
4436 # Check that the compiler produces executables we can run. If not, either
4437 # the compiler is broken, or we cross compile.
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4439 $as_echo_n "checking whether we are cross compiling... " >&6; }
4440 if test "$cross_compiling" != yes; then
4441 { { ac_try="$ac_link"
4442 case "(($ac_try" in
4443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4445 esac
4446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4447 $as_echo "$ac_try_echo"; } >&5
4448 (eval "$ac_link") 2>&5
4449 ac_status=$?
4450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4451 test $ac_status = 0; }
4452 if { ac_try='./conftest$ac_cv_exeext'
4453 { { case "(($ac_try" in
4454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4456 esac
4457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4458 $as_echo "$ac_try_echo"; } >&5
4459 (eval "$ac_try") 2>&5
4460 ac_status=$?
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }; }; then
4463 cross_compiling=no
4464 else
4465 if test "$cross_compiling" = maybe; then
4466 cross_compiling=yes
4467 else
4468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4470 as_fn_error $? "cannot run C compiled programs.
4471 If you meant to cross compile, use \`--host'.
4472 See \`config.log' for more details" "$LINENO" 5; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4477 $as_echo "$cross_compiling" >&6; }
4479 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4480 ac_clean_files=$ac_clean_files_save
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4482 $as_echo_n "checking for suffix of object files... " >&6; }
4483 if ${ac_cv_objext+:} false; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4494 return 0;
4496 _ACEOF
4497 rm -f conftest.o conftest.obj
4498 if { { ac_try="$ac_compile"
4499 case "(($ac_try" in
4500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4501 *) ac_try_echo=$ac_try;;
4502 esac
4503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4504 $as_echo "$ac_try_echo"; } >&5
4505 (eval "$ac_compile") 2>&5
4506 ac_status=$?
4507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4508 test $ac_status = 0; }; then :
4509 for ac_file in conftest.o conftest.obj conftest.*; do
4510 test -f "$ac_file" || continue;
4511 case $ac_file in
4512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4513 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4514 break;;
4515 esac
4516 done
4517 else
4518 $as_echo "$as_me: failed program was:" >&5
4519 sed 's/^/| /' conftest.$ac_ext >&5
4521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4523 as_fn_error $? "cannot compute suffix of object files: cannot compile
4524 See \`config.log' for more details" "$LINENO" 5; }
4526 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4529 $as_echo "$ac_cv_objext" >&6; }
4530 OBJEXT=$ac_cv_objext
4531 ac_objext=$OBJEXT
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4533 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4534 if ${ac_cv_c_compiler_gnu+:} false; then :
4535 $as_echo_n "(cached) " >&6
4536 else
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4541 main ()
4543 #ifndef __GNUC__
4544 choke me
4545 #endif
4548 return 0;
4550 _ACEOF
4551 if ac_fn_c_try_compile "$LINENO"; then :
4552 ac_compiler_gnu=yes
4553 else
4554 ac_compiler_gnu=no
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4561 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4562 if test $ac_compiler_gnu = yes; then
4563 GCC=yes
4564 else
4565 GCC=
4567 ac_test_CFLAGS=${CFLAGS+set}
4568 ac_save_CFLAGS=$CFLAGS
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4570 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4571 if ${ac_cv_prog_cc_g+:} false; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 ac_save_c_werror_flag=$ac_c_werror_flag
4575 ac_c_werror_flag=yes
4576 ac_cv_prog_cc_g=no
4577 CFLAGS="-g"
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4586 return 0;
4588 _ACEOF
4589 if ac_fn_c_try_compile "$LINENO"; then :
4590 ac_cv_prog_cc_g=yes
4591 else
4592 CFLAGS=""
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4597 main ()
4601 return 0;
4603 _ACEOF
4604 if ac_fn_c_try_compile "$LINENO"; then :
4606 else
4607 ac_c_werror_flag=$ac_save_c_werror_flag
4608 CFLAGS="-g"
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4613 main ()
4617 return 0;
4619 _ACEOF
4620 if ac_fn_c_try_compile "$LINENO"; then :
4621 ac_cv_prog_cc_g=yes
4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4628 ac_c_werror_flag=$ac_save_c_werror_flag
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4631 $as_echo "$ac_cv_prog_cc_g" >&6; }
4632 if test "$ac_test_CFLAGS" = set; then
4633 CFLAGS=$ac_save_CFLAGS
4634 elif test $ac_cv_prog_cc_g = yes; then
4635 if test "$GCC" = yes; then
4636 CFLAGS="-g -O2"
4637 else
4638 CFLAGS="-g"
4640 else
4641 if test "$GCC" = yes; then
4642 CFLAGS="-O2"
4643 else
4644 CFLAGS=
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4648 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4649 if ${ac_cv_prog_cc_c89+:} false; then :
4650 $as_echo_n "(cached) " >&6
4651 else
4652 ac_cv_prog_cc_c89=no
4653 ac_save_CC=$CC
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4656 #include <stdarg.h>
4657 #include <stdio.h>
4658 struct stat;
4659 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4660 struct buf { int x; };
4661 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4662 static char *e (p, i)
4663 char **p;
4664 int i;
4666 return p[i];
4668 static char *f (char * (*g) (char **, int), char **p, ...)
4670 char *s;
4671 va_list v;
4672 va_start (v,p);
4673 s = g (p, va_arg (v,int));
4674 va_end (v);
4675 return s;
4678 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4679 function prototypes and stuff, but not '\xHH' hex character constants.
4680 These don't provoke an error unfortunately, instead are silently treated
4681 as 'x'. The following induces an error, until -std is added to get
4682 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4683 array size at least. It's necessary to write '\x00'==0 to get something
4684 that's true only with -std. */
4685 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4687 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4688 inside strings and character constants. */
4689 #define FOO(x) 'x'
4690 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4692 int test (int i, double x);
4693 struct s1 {int (*f) (int a);};
4694 struct s2 {int (*f) (double a);};
4695 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4696 int argc;
4697 char **argv;
4699 main ()
4701 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4703 return 0;
4705 _ACEOF
4706 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4707 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4709 CC="$ac_save_CC $ac_arg"
4710 if ac_fn_c_try_compile "$LINENO"; then :
4711 ac_cv_prog_cc_c89=$ac_arg
4713 rm -f core conftest.err conftest.$ac_objext
4714 test "x$ac_cv_prog_cc_c89" != "xno" && break
4715 done
4716 rm -f conftest.$ac_ext
4717 CC=$ac_save_CC
4720 # AC_CACHE_VAL
4721 case "x$ac_cv_prog_cc_c89" in
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4724 $as_echo "none needed" >&6; } ;;
4725 xno)
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4727 $as_echo "unsupported" >&6; } ;;
4729 CC="$CC $ac_cv_prog_cc_c89"
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4731 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4732 esac
4733 if test "x$ac_cv_prog_cc_c89" != xno; then :
4737 ac_ext=c
4738 ac_cpp='$CPP $CPPFLAGS'
4739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743 ac_ext=cpp
4744 ac_cpp='$CXXCPP $CPPFLAGS'
4745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4748 if test -z "$CXX"; then
4749 if test -n "$CCC"; then
4750 CXX=$CCC
4751 else
4752 if test -n "$ac_tool_prefix"; then
4753 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 $as_echo_n "checking for $ac_word... " >&6; }
4759 if ${ac_cv_prog_CXX+:} false; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 if test -n "$CXX"; then
4763 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4764 else
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH
4768 IFS=$as_save_IFS
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4772 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 break 2
4776 done
4777 done
4778 IFS=$as_save_IFS
4782 CXX=$ac_cv_prog_CXX
4783 if test -n "$CXX"; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4785 $as_echo "$CXX" >&6; }
4786 else
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4792 test -n "$CXX" && break
4793 done
4795 if test -z "$CXX"; then
4796 ac_ct_CXX=$CXX
4797 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4799 # Extract the first word of "$ac_prog", so it can be a program name with args.
4800 set dummy $ac_prog; ac_word=$2
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4802 $as_echo_n "checking for $ac_word... " >&6; }
4803 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 if test -n "$ac_ct_CXX"; then
4807 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4808 else
4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4810 for as_dir in $PATH
4812 IFS=$as_save_IFS
4813 test -z "$as_dir" && as_dir=.
4814 for ac_exec_ext in '' $ac_executable_extensions; do
4815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4816 ac_cv_prog_ac_ct_CXX="$ac_prog"
4817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 break 2
4820 done
4821 done
4822 IFS=$as_save_IFS
4826 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4827 if test -n "$ac_ct_CXX"; then
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4829 $as_echo "$ac_ct_CXX" >&6; }
4830 else
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 $as_echo "no" >&6; }
4836 test -n "$ac_ct_CXX" && break
4837 done
4839 if test "x$ac_ct_CXX" = x; then
4840 CXX="g++"
4841 else
4842 case $cross_compiling:$ac_tool_warned in
4843 yes:)
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4846 ac_tool_warned=yes ;;
4847 esac
4848 CXX=$ac_ct_CXX
4854 # Provide some information about the compiler.
4855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4856 set X $ac_compile
4857 ac_compiler=$2
4858 for ac_option in --version -v -V -qversion; do
4859 { { ac_try="$ac_compiler $ac_option >&5"
4860 case "(($ac_try" in
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4863 esac
4864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4865 $as_echo "$ac_try_echo"; } >&5
4866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4867 ac_status=$?
4868 if test -s conftest.err; then
4869 sed '10a\
4870 ... rest of stderr output deleted ...
4871 10q' conftest.err >conftest.er1
4872 cat conftest.er1 >&5
4874 rm -f conftest.er1 conftest.err
4875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4876 test $ac_status = 0; }
4877 done
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4880 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4881 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4882 $as_echo_n "(cached) " >&6
4883 else
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4888 main ()
4890 #ifndef __GNUC__
4891 choke me
4892 #endif
4895 return 0;
4897 _ACEOF
4898 if ac_fn_cxx_try_compile "$LINENO"; then :
4899 ac_compiler_gnu=yes
4900 else
4901 ac_compiler_gnu=no
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4908 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4909 if test $ac_compiler_gnu = yes; then
4910 GXX=yes
4911 else
4912 GXX=
4914 ac_test_CXXFLAGS=${CXXFLAGS+set}
4915 ac_save_CXXFLAGS=$CXXFLAGS
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4917 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4918 if ${ac_cv_prog_cxx_g+:} false; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4922 ac_cxx_werror_flag=yes
4923 ac_cv_prog_cxx_g=no
4924 CXXFLAGS="-g"
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4929 main ()
4933 return 0;
4935 _ACEOF
4936 if ac_fn_cxx_try_compile "$LINENO"; then :
4937 ac_cv_prog_cxx_g=yes
4938 else
4939 CXXFLAGS=""
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4944 main ()
4948 return 0;
4950 _ACEOF
4951 if ac_fn_cxx_try_compile "$LINENO"; then :
4953 else
4954 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4955 CXXFLAGS="-g"
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4964 return 0;
4966 _ACEOF
4967 if ac_fn_cxx_try_compile "$LINENO"; then :
4968 ac_cv_prog_cxx_g=yes
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4978 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4979 if test "$ac_test_CXXFLAGS" = set; then
4980 CXXFLAGS=$ac_save_CXXFLAGS
4981 elif test $ac_cv_prog_cxx_g = yes; then
4982 if test "$GXX" = yes; then
4983 CXXFLAGS="-g -O2"
4984 else
4985 CXXFLAGS="-g"
4987 else
4988 if test "$GXX" = yes; then
4989 CXXFLAGS="-O2"
4990 else
4991 CXXFLAGS=
4994 ac_ext=c
4995 ac_cpp='$CPP $CPPFLAGS'
4996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5000 if test -n "$ac_tool_prefix"; then
5001 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5002 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5004 $as_echo_n "checking for $ac_word... " >&6; }
5005 if ${ac_cv_prog_CPPBIN+:} false; then :
5006 $as_echo_n "(cached) " >&6
5007 else
5008 if test -n "$CPPBIN"; then
5009 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5010 else
5011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012 for as_dir in $PATH
5014 IFS=$as_save_IFS
5015 test -z "$as_dir" && as_dir=.
5016 for ac_exec_ext in '' $ac_executable_extensions; do
5017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 break 2
5022 done
5023 done
5024 IFS=$as_save_IFS
5028 CPPBIN=$ac_cv_prog_CPPBIN
5029 if test -n "$CPPBIN"; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5031 $as_echo "$CPPBIN" >&6; }
5032 else
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 $as_echo "no" >&6; }
5039 if test -z "$ac_cv_prog_CPPBIN"; then
5040 ac_ct_CPPBIN=$CPPBIN
5041 # Extract the first word of "cpp", so it can be a program name with args.
5042 set dummy cpp; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5046 $as_echo_n "(cached) " >&6
5047 else
5048 if test -n "$ac_ct_CPPBIN"; then
5049 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5050 else
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5054 IFS=$as_save_IFS
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_prog_ac_ct_CPPBIN="cpp"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 break 2
5062 done
5063 done
5064 IFS=$as_save_IFS
5068 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5069 if test -n "$ac_ct_CPPBIN"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5071 $as_echo "$ac_ct_CPPBIN" >&6; }
5072 else
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5077 if test "x$ac_ct_CPPBIN" = x; then
5078 CPPBIN="cpp"
5079 else
5080 case $cross_compiling:$ac_tool_warned in
5081 yes:)
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5084 ac_tool_warned=yes ;;
5085 esac
5086 CPPBIN=$ac_ct_CPPBIN
5088 else
5089 CPPBIN="$ac_cv_prog_CPPBIN"
5093 cat >>confdefs.h <<_ACEOF
5094 #define EXEEXT "$ac_exeext"
5095 _ACEOF
5097 if test -n "$ac_tool_prefix"; then
5098 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5099 set dummy ${ac_tool_prefix}ld; ac_word=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if ${ac_cv_prog_LD+:} false; then :
5103 $as_echo_n "(cached) " >&6
5104 else
5105 if test -n "$LD"; then
5106 ac_cv_prog_LD="$LD" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_LD="${ac_tool_prefix}ld"
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 LD=$ac_cv_prog_LD
5126 if test -n "$LD"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5128 $as_echo "$LD" >&6; }
5129 else
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5136 if test -z "$ac_cv_prog_LD"; then
5137 ac_ct_LD=$LD
5138 # Extract the first word of "ld", so it can be a program name with args.
5139 set dummy ld; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5143 $as_echo_n "(cached) " >&6
5144 else
5145 if test -n "$ac_ct_LD"; then
5146 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5151 IFS=$as_save_IFS
5152 test -z "$as_dir" && as_dir=.
5153 for ac_exec_ext in '' $ac_executable_extensions; do
5154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5155 ac_cv_prog_ac_ct_LD="ld"
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 break 2
5159 done
5160 done
5161 IFS=$as_save_IFS
5165 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5166 if test -n "$ac_ct_LD"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5168 $as_echo "$ac_ct_LD" >&6; }
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5174 if test "x$ac_ct_LD" = x; then
5175 LD=""
5176 else
5177 case $cross_compiling:$ac_tool_warned in
5178 yes:)
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5181 ac_tool_warned=yes ;;
5182 esac
5183 LD=$ac_ct_LD
5185 else
5186 LD="$ac_cv_prog_LD"
5190 case $host in
5191 *-darwin*)
5192 with_fontconfig=${with_fontconfig:-no}
5194 *-mingw32*|*-cygwin*)
5195 enable_win16=${enable_win16:-no}
5196 CFLAGS="$CFLAGS -D_WIN32"
5198 esac
5200 case $host in
5201 x86_64*|amd64*)
5202 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5203 then
5204 CC="$CC -m32"
5205 CXX="$CXX -m32"
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5207 $as_echo_n "checking whether $CC works... " >&6; }
5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5210 /* end confdefs.h. */
5213 main ()
5217 return 0;
5219 _ACEOF
5220 if ac_fn_c_try_link "$LINENO"; then :
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5222 $as_echo "yes" >&6; }
5223 else
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5225 $as_echo "no" >&6; }
5226 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5228 rm -f core conftest.err conftest.$ac_objext \
5229 conftest$ac_exeext conftest.$ac_ext
5230 host_cpu="i386"
5231 notice_platform="32-bit "
5232 TARGETFLAGS="-m32"
5234 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5235 export PKG_CONFIG_PATH
5236 enable_win16=${enable_win16:-yes}
5237 else
5238 if test "x${GCC}" = "xyes"
5239 then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5241 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5244 #include <stdarg.h>
5246 main ()
5248 void func(__builtin_ms_va_list *args);
5250 return 0;
5252 _ACEOF
5253 if ac_fn_c_try_compile "$LINENO"; then :
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5255 $as_echo "yes" >&6; }
5256 else
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5259 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5263 CC="$CC -m64"
5264 CXX="$CXX -m64"
5265 host_cpu="x86_64"
5266 notice_platform="64-bit "
5267 TARGETFLAGS="-m64"
5271 arm*)
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5273 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5276 int ac_test(int i) { return i; }
5278 main ()
5280 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5282 return 0;
5284 _ACEOF
5285 if ac_fn_c_try_link "$LINENO"; then :
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5287 $as_echo "yes" >&6; }
5288 else
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5291 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5293 rm -f core conftest.err conftest.$ac_objext \
5294 conftest$ac_exeext conftest.$ac_ext
5295 case $with_float_abi in
5296 soft|softfp|hard)
5297 float_abi=$with_float_abi ;;
5299 case $host_os in
5300 *eabihf)
5301 float_abi=hard ;;
5303 float_abi=softfp
5304 saved_CFLAGS=$CFLAGS
5305 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5307 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5312 main ()
5314 asm("vmrs r2,fpscr");
5316 return 0;
5318 _ACEOF
5319 if ac_fn_c_try_link "$LINENO"; then :
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5321 $as_echo "yes" >&6; }
5322 else
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5325 float_abi=soft
5326 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5328 rm -f core conftest.err conftest.$ac_objext \
5329 conftest$ac_exeext conftest.$ac_ext
5330 CFLAGS=$saved_CFLAGS
5331 esac
5333 esac
5334 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5335 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5338 i[3456789]86*)
5339 enable_win16=${enable_win16:-yes}
5341 esac
5343 enable_win16=${enable_win16:-no}
5344 enable_win64=${enable_win64:-no}
5346 enable_winetest=${enable_winetest:-$enable_tests}
5348 if test -n "$with_wine64"
5349 then
5350 if test "x$enable_win64" = "xyes"
5351 then
5352 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5353 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5355 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5356 You should create a separate build directory and run configure from there." "$LINENO" 5
5357 enable_fonts=${enable_fonts:-no}
5358 enable_server=${enable_server:-no}
5359 elif test "x$enable_win64" = "xyes"
5360 then
5361 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5365 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5366 if ${wine_cv_toolsdir+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 wine_cv_toolsdir="$with_wine_tools"
5370 if test -z "$with_wine_tools"; then
5371 if test "$cross_compiling" = "yes"; then
5372 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5373 elif test -n "$with_wine64"; then
5374 wine_cv_toolsdir="$with_wine64"
5377 if test -z "$wine_cv_toolsdir"; then
5378 wine_makedep=tools/makedep
5379 wine_cv_toolsdir="\$(top_builddir)"
5380 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5381 wine_makedep=$wine_cv_toolsdir/tools/makedep
5382 case "$wine_cv_toolsdir" in
5383 /*) ;;
5384 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5385 esac
5386 enable_tools=${enable_tools:-no}
5387 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5388 else
5389 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5393 $as_echo "$wine_cv_toolsdir" >&6; }
5394 TOOLSDIR=$wine_cv_toolsdir
5396 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5397 then
5398 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5402 for ac_prog in flex
5404 # Extract the first word of "$ac_prog", so it can be a program name with args.
5405 set dummy $ac_prog; ac_word=$2
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5407 $as_echo_n "checking for $ac_word... " >&6; }
5408 if ${ac_cv_prog_FLEX+:} false; then :
5409 $as_echo_n "(cached) " >&6
5410 else
5411 if test -n "$FLEX"; then
5412 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5413 else
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $PATH
5417 IFS=$as_save_IFS
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_prog_FLEX="$ac_prog"
5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 break 2
5425 done
5426 done
5427 IFS=$as_save_IFS
5431 FLEX=$ac_cv_prog_FLEX
5432 if test -n "$FLEX"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5434 $as_echo "$FLEX" >&6; }
5435 else
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5437 $as_echo "no" >&6; }
5441 test -n "$FLEX" && break
5442 done
5443 test -n "$FLEX" || FLEX="none"
5445 if test "$FLEX" = "none"
5446 then
5447 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5450 $as_echo_n "checking whether flex is recent enough... " >&6; }
5451 cat >conftest.l <<EOF
5452 %top{
5453 #include "prediluvian.h"
5457 if $FLEX -t conftest.l >/dev/null 2>&5
5458 then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5460 $as_echo "yes" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5464 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5467 for ac_prog in bison
5469 # Extract the first word of "$ac_prog", so it can be a program name with args.
5470 set dummy $ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_BISON+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$BISON"; then
5477 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_BISON="$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 BISON=$ac_cv_prog_BISON
5497 if test -n "$BISON"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5499 $as_echo "$BISON" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506 test -n "$BISON" && break
5507 done
5508 test -n "$BISON" || BISON="none"
5510 if test "$BISON" = "none"
5511 then
5512 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5515 if test -n "$ac_tool_prefix"; then
5516 for ac_prog in ar gar
5518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_AR+:} false; then :
5523 $as_echo_n "(cached) " >&6
5524 else
5525 if test -n "$AR"; then
5526 ac_cv_prog_AR="$AR" # Let the user override the test.
5527 else
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 for as_dir in $PATH
5531 IFS=$as_save_IFS
5532 test -z "$as_dir" && as_dir=.
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 break 2
5539 done
5540 done
5541 IFS=$as_save_IFS
5545 AR=$ac_cv_prog_AR
5546 if test -n "$AR"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5548 $as_echo "$AR" >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5555 test -n "$AR" && break
5556 done
5558 if test -z "$AR"; then
5559 ac_ct_AR=$AR
5560 for ac_prog in ar gar
5562 # Extract the first word of "$ac_prog", so it can be a program name with args.
5563 set dummy $ac_prog; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 if test -n "$ac_ct_AR"; then
5570 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_ac_ct_AR="$ac_prog"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5590 if test -n "$ac_ct_AR"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5592 $as_echo "$ac_ct_AR" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5599 test -n "$ac_ct_AR" && break
5600 done
5602 if test "x$ac_ct_AR" = x; then
5603 AR="ar"
5604 else
5605 case $cross_compiling:$ac_tool_warned in
5606 yes:)
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5609 ac_tool_warned=yes ;;
5610 esac
5611 AR=$ac_ct_AR
5615 if test -n "$ac_tool_prefix"; then
5616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5617 set dummy ${ac_tool_prefix}strip; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_STRIP+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if test -n "$STRIP"; then
5624 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5625 else
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5629 IFS=$as_save_IFS
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 break 2
5637 done
5638 done
5639 IFS=$as_save_IFS
5643 STRIP=$ac_cv_prog_STRIP
5644 if test -n "$STRIP"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5646 $as_echo "$STRIP" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5654 if test -z "$ac_cv_prog_STRIP"; then
5655 ac_ct_STRIP=$STRIP
5656 # Extract the first word of "strip", so it can be a program name with args.
5657 set dummy strip; ac_word=$2
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659 $as_echo_n "checking for $ac_word... " >&6; }
5660 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 if test -n "$ac_ct_STRIP"; then
5664 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5665 else
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 for as_dir in $PATH
5669 IFS=$as_save_IFS
5670 test -z "$as_dir" && as_dir=.
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_ac_ct_STRIP="strip"
5674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675 break 2
5677 done
5678 done
5679 IFS=$as_save_IFS
5683 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5684 if test -n "$ac_ct_STRIP"; then
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5686 $as_echo "$ac_ct_STRIP" >&6; }
5687 else
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }
5692 if test "x$ac_ct_STRIP" = x; then
5693 STRIP="strip"
5694 else
5695 case $cross_compiling:$ac_tool_warned in
5696 yes:)
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5699 ac_tool_warned=yes ;;
5700 esac
5701 STRIP=$ac_ct_STRIP
5703 else
5704 STRIP="$ac_cv_prog_STRIP"
5707 ARFLAGS=rc
5709 if test -n "$ac_tool_prefix"; then
5710 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5711 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_RANLIB+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 if test -n "$RANLIB"; then
5718 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5733 IFS=$as_save_IFS
5737 RANLIB=$ac_cv_prog_RANLIB
5738 if test -n "$RANLIB"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5740 $as_echo "$RANLIB" >&6; }
5741 else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5748 if test -z "$ac_cv_prog_RANLIB"; then
5749 ac_ct_RANLIB=$RANLIB
5750 # Extract the first word of "ranlib", so it can be a program name with args.
5751 set dummy ranlib; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5755 $as_echo_n "(cached) " >&6
5756 else
5757 if test -n "$ac_ct_RANLIB"; then
5758 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5759 else
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5763 IFS=$as_save_IFS
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_prog_ac_ct_RANLIB="ranlib"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 break 2
5771 done
5772 done
5773 IFS=$as_save_IFS
5777 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5778 if test -n "$ac_ct_RANLIB"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5780 $as_echo "$ac_ct_RANLIB" >&6; }
5781 else
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5786 if test "x$ac_ct_RANLIB" = x; then
5787 RANLIB=":"
5788 else
5789 case $cross_compiling:$ac_tool_warned in
5790 yes:)
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5793 ac_tool_warned=yes ;;
5794 esac
5795 RANLIB=$ac_ct_RANLIB
5797 else
5798 RANLIB="$ac_cv_prog_RANLIB"
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5802 $as_echo_n "checking whether ln -s works... " >&6; }
5803 LN_S=$as_ln_s
5804 if test "$LN_S" = "ln -s"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5806 $as_echo "yes" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5809 $as_echo "no, using $LN_S" >&6; }
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5813 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5814 if ${ac_cv_path_GREP+:} false; then :
5815 $as_echo_n "(cached) " >&6
5816 else
5817 if test -z "$GREP"; then
5818 ac_path_GREP_found=false
5819 # Loop through the user's path and test for each of PROGNAME-LIST
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_prog in grep ggrep; do
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5828 as_fn_executable_p "$ac_path_GREP" || continue
5829 # Check for GNU ac_path_GREP and select it if it is found.
5830 # Check for GNU $ac_path_GREP
5831 case `"$ac_path_GREP" --version 2>&1` in
5832 *GNU*)
5833 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5835 ac_count=0
5836 $as_echo_n 0123456789 >"conftest.in"
5837 while :
5839 cat "conftest.in" "conftest.in" >"conftest.tmp"
5840 mv "conftest.tmp" "conftest.in"
5841 cp "conftest.in" "conftest.nl"
5842 $as_echo 'GREP' >> "conftest.nl"
5843 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5844 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5845 as_fn_arith $ac_count + 1 && ac_count=$as_val
5846 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5847 # Best one so far, save it but keep looking for a better one
5848 ac_cv_path_GREP="$ac_path_GREP"
5849 ac_path_GREP_max=$ac_count
5851 # 10*(2^10) chars as input seems more than enough
5852 test $ac_count -gt 10 && break
5853 done
5854 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5855 esac
5857 $ac_path_GREP_found && break 3
5858 done
5859 done
5860 done
5861 IFS=$as_save_IFS
5862 if test -z "$ac_cv_path_GREP"; then
5863 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5865 else
5866 ac_cv_path_GREP=$GREP
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5871 $as_echo "$ac_cv_path_GREP" >&6; }
5872 GREP="$ac_cv_path_GREP"
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5876 $as_echo_n "checking for egrep... " >&6; }
5877 if ${ac_cv_path_EGREP+:} false; then :
5878 $as_echo_n "(cached) " >&6
5879 else
5880 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5881 then ac_cv_path_EGREP="$GREP -E"
5882 else
5883 if test -z "$EGREP"; then
5884 ac_path_EGREP_found=false
5885 # Loop through the user's path and test for each of PROGNAME-LIST
5886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5889 IFS=$as_save_IFS
5890 test -z "$as_dir" && as_dir=.
5891 for ac_prog in egrep; do
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5894 as_fn_executable_p "$ac_path_EGREP" || continue
5895 # Check for GNU ac_path_EGREP and select it if it is found.
5896 # Check for GNU $ac_path_EGREP
5897 case `"$ac_path_EGREP" --version 2>&1` in
5898 *GNU*)
5899 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5901 ac_count=0
5902 $as_echo_n 0123456789 >"conftest.in"
5903 while :
5905 cat "conftest.in" "conftest.in" >"conftest.tmp"
5906 mv "conftest.tmp" "conftest.in"
5907 cp "conftest.in" "conftest.nl"
5908 $as_echo 'EGREP' >> "conftest.nl"
5909 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5910 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5911 as_fn_arith $ac_count + 1 && ac_count=$as_val
5912 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5913 # Best one so far, save it but keep looking for a better one
5914 ac_cv_path_EGREP="$ac_path_EGREP"
5915 ac_path_EGREP_max=$ac_count
5917 # 10*(2^10) chars as input seems more than enough
5918 test $ac_count -gt 10 && break
5919 done
5920 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5921 esac
5923 $ac_path_EGREP_found && break 3
5924 done
5925 done
5926 done
5927 IFS=$as_save_IFS
5928 if test -z "$ac_cv_path_EGREP"; then
5929 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5931 else
5932 ac_cv_path_EGREP=$EGREP
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5938 $as_echo "$ac_cv_path_EGREP" >&6; }
5939 EGREP="$ac_cv_path_EGREP"
5942 # Extract the first word of "ldconfig", so it can be a program name with args.
5943 set dummy ldconfig; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_path_LDCONFIG+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
5949 case $LDCONFIG in
5950 [\\/]* | ?:[\\/]*)
5951 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in /sbin /usr/sbin $PATH
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 break 2
5965 done
5966 done
5967 IFS=$as_save_IFS
5969 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5971 esac
5973 LDCONFIG=$ac_cv_path_LDCONFIG
5974 if test -n "$LDCONFIG"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5976 $as_echo "$LDCONFIG" >&6; }
5977 else
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5983 for ac_prog in msgfmt
5985 # Extract the first word of "$ac_prog", so it can be a program name with args.
5986 set dummy $ac_prog; ac_word=$2
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 $as_echo_n "checking for $ac_word... " >&6; }
5989 if ${ac_cv_prog_MSGFMT+:} false; then :
5990 $as_echo_n "(cached) " >&6
5991 else
5992 if test -n "$MSGFMT"; then
5993 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5994 else
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996 for as_dir in $PATH
5998 IFS=$as_save_IFS
5999 test -z "$as_dir" && as_dir=.
6000 for ac_exec_ext in '' $ac_executable_extensions; do
6001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6002 ac_cv_prog_MSGFMT="$ac_prog"
6003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004 break 2
6006 done
6007 done
6008 IFS=$as_save_IFS
6012 MSGFMT=$ac_cv_prog_MSGFMT
6013 if test -n "$MSGFMT"; then
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6015 $as_echo "$MSGFMT" >&6; }
6016 else
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6018 $as_echo "no" >&6; }
6022 test -n "$MSGFMT" && break
6023 done
6024 test -n "$MSGFMT" || MSGFMT="false"
6026 if ${ac_tool_prefix+:} false; then :
6027 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6028 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030 $as_echo_n "checking for $ac_word... " >&6; }
6031 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6032 $as_echo_n "(cached) " >&6
6033 else
6034 if test -n "$PKG_CONFIG"; then
6035 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6036 else
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 for as_dir in $PATH
6040 IFS=$as_save_IFS
6041 test -z "$as_dir" && as_dir=.
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6044 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 break 2
6048 done
6049 done
6050 IFS=$as_save_IFS
6054 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6055 if test -n "$PKG_CONFIG"; then
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6057 $as_echo "$PKG_CONFIG" >&6; }
6058 else
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6060 $as_echo "no" >&6; }
6065 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6066 if test "x$cross_compiling" = xyes; then :
6068 else
6069 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6070 # Extract the first word of "pkg-config", so it can be a program name with args.
6071 set dummy pkg-config; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 if test -n "$PKG_CONFIG"; then
6078 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_PKG_CONFIG="pkg-config"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6098 if test -n "$PKG_CONFIG"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6100 $as_echo "$PKG_CONFIG" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6108 else
6109 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6112 if test "x$enable_maintainer_mode" != "xyes"
6113 then
6114 FONTFORGE=""
6115 RSVG=""
6116 CONVERT=""
6117 ICOTOOL=""
6118 else
6119 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6120 for ac_prog in fontforge
6122 # Extract the first word of "$ac_prog", so it can be a program name with args.
6123 set dummy $ac_prog; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_FONTFORGE+:} false; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 if test -n "$FONTFORGE"; then
6130 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_FONTFORGE="$ac_prog"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 break 2
6143 done
6144 done
6145 IFS=$as_save_IFS
6149 FONTFORGE=$ac_cv_prog_FONTFORGE
6150 if test -n "$FONTFORGE"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6152 $as_echo "$FONTFORGE" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6159 test -n "$FONTFORGE" && break
6160 done
6161 test -n "$FONTFORGE" || FONTFORGE="false"
6163 for ac_prog in rsvg-convert rsvg
6165 # Extract the first word of "$ac_prog", so it can be a program name with args.
6166 set dummy $ac_prog; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_RSVG+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$RSVG"; then
6173 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_RSVG="$ac_prog"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 RSVG=$ac_cv_prog_RSVG
6193 if test -n "$RSVG"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6195 $as_echo "$RSVG" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6202 test -n "$RSVG" && break
6203 done
6204 test -n "$RSVG" || RSVG="false"
6206 for ac_prog in convert
6208 # Extract the first word of "$ac_prog", so it can be a program name with args.
6209 set dummy $ac_prog; ac_word=$2
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6211 $as_echo_n "checking for $ac_word... " >&6; }
6212 if ${ac_cv_prog_CONVERT+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 if test -n "$CONVERT"; then
6216 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6217 else
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 for as_dir in $PATH
6221 IFS=$as_save_IFS
6222 test -z "$as_dir" && as_dir=.
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6225 ac_cv_prog_CONVERT="$ac_prog"
6226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 break 2
6229 done
6230 done
6231 IFS=$as_save_IFS
6235 CONVERT=$ac_cv_prog_CONVERT
6236 if test -n "$CONVERT"; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6238 $as_echo "$CONVERT" >&6; }
6239 else
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6241 $as_echo "no" >&6; }
6245 test -n "$CONVERT" && break
6246 done
6247 test -n "$CONVERT" || CONVERT="false"
6249 for ac_prog in icotool
6251 # Extract the first word of "$ac_prog", so it can be a program name with args.
6252 set dummy $ac_prog; ac_word=$2
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254 $as_echo_n "checking for $ac_word... " >&6; }
6255 if ${ac_cv_prog_ICOTOOL+:} false; then :
6256 $as_echo_n "(cached) " >&6
6257 else
6258 if test -n "$ICOTOOL"; then
6259 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6260 else
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in $PATH
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268 ac_cv_prog_ICOTOOL="$ac_prog"
6269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 break 2
6272 done
6273 done
6274 IFS=$as_save_IFS
6278 ICOTOOL=$ac_cv_prog_ICOTOOL
6279 if test -n "$ICOTOOL"; then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6281 $as_echo "$ICOTOOL" >&6; }
6282 else
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6284 $as_echo "no" >&6; }
6288 test -n "$ICOTOOL" && break
6289 done
6290 test -n "$ICOTOOL" || ICOTOOL="false"
6292 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6293 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6295 if test "$CONVERT" = false
6296 then
6297 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6298 else
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6300 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6301 convert_version=`convert --version | head -n1`
6302 if test "x$convert_version" != "x"
6303 then
6304 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6305 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6306 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6307 then
6308 CONVERT=false
6311 if test "$CONVERT" = false
6312 then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6314 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6315 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6316 else
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6318 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6322 if test "$ICOTOOL" = false
6323 then
6324 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6325 else
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6327 $as_echo_n "checking for recent enough icotool... " >&6; }
6328 icotool_version=`icotool --version | head -n1`
6329 if test "x$icotool_version" != "x"
6330 then
6331 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6332 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6333 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6334 then
6335 ICOTOOL=false
6336 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6339 if test "$ICOTOOL" = false
6340 then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6342 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6343 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6344 else
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6346 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6350 with_gettext=yes
6351 with_gettextpo=yes
6352 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6355 test "x$with_gettext" != xno || MSGFMT=false
6356 if test "$MSGFMT" != "false"
6357 then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6359 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6360 cat >conftest.po <<EOF
6361 # comment
6362 msgctxt "ctxt"
6363 msgid "id"
6364 msgstr "str"
6366 if $MSGFMT -o /dev/null conftest.po 2>&5
6367 then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6369 $as_echo "yes" >&6; }
6370 else
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6373 MSGFMT=false
6376 if test "$MSGFMT" = false; then :
6377 case "x$with_gettext" in
6378 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6379 xno) ;;
6380 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6381 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6382 esac
6383 enable_po=${enable_po:-no}
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6388 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6389 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 ac_check_lib_save_LIBS=$LIBS
6393 LIBS="-li386 $LIBS"
6394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6397 /* Override any GCC internal prototype to avoid an error.
6398 Use char because int might match the return type of a GCC
6399 builtin and then its argument prototype would still apply. */
6400 #ifdef __cplusplus
6401 extern "C"
6402 #endif
6403 char i386_set_ldt ();
6405 main ()
6407 return i386_set_ldt ();
6409 return 0;
6411 _ACEOF
6412 if ac_fn_c_try_link "$LINENO"; then :
6413 ac_cv_lib_i386_i386_set_ldt=yes
6414 else
6415 ac_cv_lib_i386_i386_set_ldt=no
6417 rm -f core conftest.err conftest.$ac_objext \
6418 conftest$ac_exeext conftest.$ac_ext
6419 LIBS=$ac_check_lib_save_LIBS
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6422 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6423 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6424 cat >>confdefs.h <<_ACEOF
6425 #define HAVE_LIBI386 1
6426 _ACEOF
6428 LIBS="-li386 $LIBS"
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6433 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6434 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6435 $as_echo_n "(cached) " >&6
6436 else
6437 ac_check_lib_save_LIBS=$LIBS
6438 LIBS="-lossaudio $LIBS"
6439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6442 /* Override any GCC internal prototype to avoid an error.
6443 Use char because int might match the return type of a GCC
6444 builtin and then its argument prototype would still apply. */
6445 #ifdef __cplusplus
6446 extern "C"
6447 #endif
6448 char _oss_ioctl ();
6450 main ()
6452 return _oss_ioctl ();
6454 return 0;
6456 _ACEOF
6457 if ac_fn_c_try_link "$LINENO"; then :
6458 ac_cv_lib_ossaudio__oss_ioctl=yes
6459 else
6460 ac_cv_lib_ossaudio__oss_ioctl=no
6462 rm -f core conftest.err conftest.$ac_objext \
6463 conftest$ac_exeext conftest.$ac_ext
6464 LIBS=$ac_check_lib_save_LIBS
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6467 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6468 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6469 cat >>confdefs.h <<_ACEOF
6470 #define HAVE_LIBOSSAUDIO 1
6471 _ACEOF
6473 LIBS="-lossaudio $LIBS"
6478 OPENGL_LIBS=""
6482 # Check whether --enable-largefile was given.
6483 if test "${enable_largefile+set}" = set; then :
6484 enableval=$enable_largefile;
6487 if test "$enable_largefile" != no; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6490 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6491 if ${ac_cv_sys_largefile_CC+:} false; then :
6492 $as_echo_n "(cached) " >&6
6493 else
6494 ac_cv_sys_largefile_CC=no
6495 if test "$GCC" != yes; then
6496 ac_save_CC=$CC
6497 while :; do
6498 # IRIX 6.2 and later do not support large files by default,
6499 # so use the C compiler's -n32 option if that helps.
6500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6502 #include <sys/types.h>
6503 /* Check that off_t can represent 2**63 - 1 correctly.
6504 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6505 since some C++ compilers masquerading as C compilers
6506 incorrectly reject 9223372036854775807. */
6507 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6508 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6509 && LARGE_OFF_T % 2147483647 == 1)
6510 ? 1 : -1];
6512 main ()
6516 return 0;
6518 _ACEOF
6519 if ac_fn_c_try_compile "$LINENO"; then :
6520 break
6522 rm -f core conftest.err conftest.$ac_objext
6523 CC="$CC -n32"
6524 if ac_fn_c_try_compile "$LINENO"; then :
6525 ac_cv_sys_largefile_CC=' -n32'; break
6527 rm -f core conftest.err conftest.$ac_objext
6528 break
6529 done
6530 CC=$ac_save_CC
6531 rm -f conftest.$ac_ext
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6535 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6536 if test "$ac_cv_sys_largefile_CC" != no; then
6537 CC=$CC$ac_cv_sys_largefile_CC
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6541 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6542 if ${ac_cv_sys_file_offset_bits+:} false; then :
6543 $as_echo_n "(cached) " >&6
6544 else
6545 while :; do
6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6547 /* end confdefs.h. */
6548 #include <sys/types.h>
6549 /* Check that off_t can represent 2**63 - 1 correctly.
6550 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6551 since some C++ compilers masquerading as C compilers
6552 incorrectly reject 9223372036854775807. */
6553 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6554 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6555 && LARGE_OFF_T % 2147483647 == 1)
6556 ? 1 : -1];
6558 main ()
6562 return 0;
6564 _ACEOF
6565 if ac_fn_c_try_compile "$LINENO"; then :
6566 ac_cv_sys_file_offset_bits=no; break
6568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #define _FILE_OFFSET_BITS 64
6572 #include <sys/types.h>
6573 /* Check that off_t can represent 2**63 - 1 correctly.
6574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6575 since some C++ compilers masquerading as C compilers
6576 incorrectly reject 9223372036854775807. */
6577 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6578 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6579 && LARGE_OFF_T % 2147483647 == 1)
6580 ? 1 : -1];
6582 main ()
6586 return 0;
6588 _ACEOF
6589 if ac_fn_c_try_compile "$LINENO"; then :
6590 ac_cv_sys_file_offset_bits=64; break
6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6593 ac_cv_sys_file_offset_bits=unknown
6594 break
6595 done
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6598 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6599 case $ac_cv_sys_file_offset_bits in #(
6600 no | unknown) ;;
6602 cat >>confdefs.h <<_ACEOF
6603 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6604 _ACEOF
6606 esac
6607 rm -rf conftest*
6608 if test $ac_cv_sys_file_offset_bits = unknown; then
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6610 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6611 if ${ac_cv_sys_large_files+:} false; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 while :; do
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 #include <sys/types.h>
6618 /* Check that off_t can represent 2**63 - 1 correctly.
6619 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6620 since some C++ compilers masquerading as C compilers
6621 incorrectly reject 9223372036854775807. */
6622 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6623 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6624 && LARGE_OFF_T % 2147483647 == 1)
6625 ? 1 : -1];
6627 main ()
6631 return 0;
6633 _ACEOF
6634 if ac_fn_c_try_compile "$LINENO"; then :
6635 ac_cv_sys_large_files=no; break
6637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6640 #define _LARGE_FILES 1
6641 #include <sys/types.h>
6642 /* Check that off_t can represent 2**63 - 1 correctly.
6643 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6644 since some C++ compilers masquerading as C compilers
6645 incorrectly reject 9223372036854775807. */
6646 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6647 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6648 && LARGE_OFF_T % 2147483647 == 1)
6649 ? 1 : -1];
6651 main ()
6655 return 0;
6657 _ACEOF
6658 if ac_fn_c_try_compile "$LINENO"; then :
6659 ac_cv_sys_large_files=1; break
6661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6662 ac_cv_sys_large_files=unknown
6663 break
6664 done
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6667 $as_echo "$ac_cv_sys_large_files" >&6; }
6668 case $ac_cv_sys_large_files in #(
6669 no | unknown) ;;
6671 cat >>confdefs.h <<_ACEOF
6672 #define _LARGE_FILES $ac_cv_sys_large_files
6673 _ACEOF
6675 esac
6676 rm -rf conftest*
6683 ac_ext=c
6684 ac_cpp='$CPP $CPPFLAGS'
6685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6689 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6690 # On Suns, sometimes $CPP names a directory.
6691 if test -n "$CPP" && test -d "$CPP"; then
6692 CPP=
6694 if test -z "$CPP"; then
6695 if ${ac_cv_prog_CPP+:} false; then :
6696 $as_echo_n "(cached) " >&6
6697 else
6698 # Double quotes because CPP needs to be expanded
6699 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6701 ac_preproc_ok=false
6702 for ac_c_preproc_warn_flag in '' yes
6704 # Use a header file that comes with gcc, so configuring glibc
6705 # with a fresh cross-compiler works.
6706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6707 # <limits.h> exists even on freestanding compilers.
6708 # On the NeXT, cc -E runs the code through the compiler's parser,
6709 # not just through cpp. "Syntax error" is here to catch this case.
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #ifdef __STDC__
6713 # include <limits.h>
6714 #else
6715 # include <assert.h>
6716 #endif
6717 Syntax error
6718 _ACEOF
6719 if ac_fn_c_try_cpp "$LINENO"; then :
6721 else
6722 # Broken: fails on valid input.
6723 continue
6725 rm -f conftest.err conftest.i conftest.$ac_ext
6727 # OK, works on sane cases. Now check whether nonexistent headers
6728 # can be detected and how.
6729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6731 #include <ac_nonexistent.h>
6732 _ACEOF
6733 if ac_fn_c_try_cpp "$LINENO"; then :
6734 # Broken: success on invalid input.
6735 continue
6736 else
6737 # Passes both tests.
6738 ac_preproc_ok=:
6739 break
6741 rm -f conftest.err conftest.i conftest.$ac_ext
6743 done
6744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6745 rm -f conftest.i conftest.err conftest.$ac_ext
6746 if $ac_preproc_ok; then :
6747 break
6750 done
6751 ac_cv_prog_CPP=$CPP
6754 CPP=$ac_cv_prog_CPP
6755 else
6756 ac_cv_prog_CPP=$CPP
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6759 $as_echo "$CPP" >&6; }
6760 ac_preproc_ok=false
6761 for ac_c_preproc_warn_flag in '' yes
6763 # Use a header file that comes with gcc, so configuring glibc
6764 # with a fresh cross-compiler works.
6765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6766 # <limits.h> exists even on freestanding compilers.
6767 # On the NeXT, cc -E runs the code through the compiler's parser,
6768 # not just through cpp. "Syntax error" is here to catch this case.
6769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6771 #ifdef __STDC__
6772 # include <limits.h>
6773 #else
6774 # include <assert.h>
6775 #endif
6776 Syntax error
6777 _ACEOF
6778 if ac_fn_c_try_cpp "$LINENO"; then :
6780 else
6781 # Broken: fails on valid input.
6782 continue
6784 rm -f conftest.err conftest.i conftest.$ac_ext
6786 # OK, works on sane cases. Now check whether nonexistent headers
6787 # can be detected and how.
6788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6789 /* end confdefs.h. */
6790 #include <ac_nonexistent.h>
6791 _ACEOF
6792 if ac_fn_c_try_cpp "$LINENO"; then :
6793 # Broken: success on invalid input.
6794 continue
6795 else
6796 # Passes both tests.
6797 ac_preproc_ok=:
6798 break
6800 rm -f conftest.err conftest.i conftest.$ac_ext
6802 done
6803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6804 rm -f conftest.i conftest.err conftest.$ac_ext
6805 if $ac_preproc_ok; then :
6807 else
6808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6810 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6811 See \`config.log' for more details" "$LINENO" 5; }
6814 ac_ext=c
6815 ac_cpp='$CPP $CPPFLAGS'
6816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6822 $as_echo_n "checking for ANSI C header files... " >&6; }
6823 if ${ac_cv_header_stdc+:} false; then :
6824 $as_echo_n "(cached) " >&6
6825 else
6826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h. */
6828 #include <stdlib.h>
6829 #include <stdarg.h>
6830 #include <string.h>
6831 #include <float.h>
6834 main ()
6838 return 0;
6840 _ACEOF
6841 if ac_fn_c_try_compile "$LINENO"; then :
6842 ac_cv_header_stdc=yes
6843 else
6844 ac_cv_header_stdc=no
6846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6848 if test $ac_cv_header_stdc = yes; then
6849 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6852 #include <string.h>
6854 _ACEOF
6855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856 $EGREP "memchr" >/dev/null 2>&1; then :
6858 else
6859 ac_cv_header_stdc=no
6861 rm -f conftest*
6865 if test $ac_cv_header_stdc = yes; then
6866 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6868 /* end confdefs.h. */
6869 #include <stdlib.h>
6871 _ACEOF
6872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6873 $EGREP "free" >/dev/null 2>&1; then :
6875 else
6876 ac_cv_header_stdc=no
6878 rm -f conftest*
6882 if test $ac_cv_header_stdc = yes; then
6883 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6884 if test "$cross_compiling" = yes; then :
6886 else
6887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6888 /* end confdefs.h. */
6889 #include <ctype.h>
6890 #include <stdlib.h>
6891 #if ((' ' & 0x0FF) == 0x020)
6892 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6893 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6894 #else
6895 # define ISLOWER(c) \
6896 (('a' <= (c) && (c) <= 'i') \
6897 || ('j' <= (c) && (c) <= 'r') \
6898 || ('s' <= (c) && (c) <= 'z'))
6899 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6900 #endif
6902 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6904 main ()
6906 int i;
6907 for (i = 0; i < 256; i++)
6908 if (XOR (islower (i), ISLOWER (i))
6909 || toupper (i) != TOUPPER (i))
6910 return 2;
6911 return 0;
6913 _ACEOF
6914 if ac_fn_c_try_run "$LINENO"; then :
6916 else
6917 ac_cv_header_stdc=no
6919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6920 conftest.$ac_objext conftest.beam conftest.$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6926 $as_echo "$ac_cv_header_stdc" >&6; }
6927 if test $ac_cv_header_stdc = yes; then
6929 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6933 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6934 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6935 inttypes.h stdint.h unistd.h
6936 do :
6937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6940 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6941 cat >>confdefs.h <<_ACEOF
6942 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6943 _ACEOF
6947 done
6950 for ac_header in \
6951 AL/al.h \
6952 ApplicationServices/ApplicationServices.h \
6953 AudioToolbox/AudioConverter.h \
6954 AudioUnit/AudioUnit.h \
6955 AudioUnit/AudioComponent.h \
6956 CL/cl.h \
6957 Carbon/Carbon.h \
6958 CommonCrypto/CommonCryptor.h \
6959 CoreAudio/CoreAudio.h \
6960 CoreServices/CoreServices.h \
6961 DiskArbitration/DiskArbitration.h \
6962 EGL/egl.h \
6963 IOKit/IOKitLib.h \
6964 IOKit/hid/IOHIDLib.h \
6965 OpenAL/al.h \
6966 OpenCL/opencl.h \
6967 QuickTime/ImageCompression.h \
6968 Security/Security.h \
6969 alias.h \
6970 alsa/asoundlib.h \
6971 arpa/inet.h \
6972 arpa/nameser.h \
6973 asm/types.h \
6974 asm/user.h \
6975 curses.h \
6976 direct.h \
6977 dirent.h \
6978 dlfcn.h \
6979 elf.h \
6980 float.h \
6981 fnmatch.h \
6982 getopt.h \
6983 gettext-po.h \
6984 grp.h \
6985 gsm.h \
6986 gsm/gsm.h \
6987 ieeefp.h \
6988 inet/mib2.h \
6989 io.h \
6990 kstat.h \
6991 libproc.h \
6992 link.h \
6993 linux/cdrom.h \
6994 linux/compiler.h \
6995 linux/filter.h \
6996 linux/hdreg.h \
6997 linux/hidraw.h \
6998 linux/input.h \
6999 linux/ioctl.h \
7000 linux/joystick.h \
7001 linux/major.h \
7002 linux/param.h \
7003 linux/serial.h \
7004 linux/types.h \
7005 linux/ucdrom.h \
7006 lwp.h \
7007 mach-o/nlist.h \
7008 mach-o/loader.h \
7009 mach/mach.h \
7010 mach/machine.h \
7011 machine/cpu.h \
7012 machine/limits.h \
7013 machine/sysarch.h \
7014 mntent.h \
7015 ncurses.h \
7016 netdb.h \
7017 netinet/in.h \
7018 netinet/in_systm.h \
7019 netinet/tcp.h \
7020 netinet/tcp_fsm.h \
7021 pcap/pcap.h \
7022 poll.h \
7023 port.h \
7024 process.h \
7025 pthread.h \
7026 pwd.h \
7027 sched.h \
7028 scsi/scsi.h \
7029 scsi/scsi_ioctl.h \
7030 scsi/sg.h \
7031 stdbool.h \
7032 stdint.h \
7033 stropts.h \
7034 sys/asoundlib.h \
7035 sys/attr.h \
7036 sys/auxv.h \
7037 sys/cdio.h \
7038 sys/elf32.h \
7039 sys/epoll.h \
7040 sys/event.h \
7041 sys/exec_elf.h \
7042 sys/filio.h \
7043 sys/inotify.h \
7044 sys/ioctl.h \
7045 sys/ipc.h \
7046 sys/limits.h \
7047 sys/link.h \
7048 sys/mman.h \
7049 sys/modem.h \
7050 sys/msg.h \
7051 sys/mtio.h \
7052 sys/param.h \
7053 sys/poll.h \
7054 sys/prctl.h \
7055 sys/protosw.h \
7056 sys/ptrace.h \
7057 sys/queue.h \
7058 sys/resource.h \
7059 sys/scsiio.h \
7060 sys/shm.h \
7061 sys/signal.h \
7062 sys/socket.h \
7063 sys/socketvar.h \
7064 sys/sockio.h \
7065 sys/statvfs.h \
7066 sys/strtio.h \
7067 sys/syscall.h \
7068 sys/sysinfo.h \
7069 sys/tihdr.h \
7070 sys/time.h \
7071 sys/timeout.h \
7072 sys/times.h \
7073 sys/uio.h \
7074 sys/user.h \
7075 sys/utsname.h \
7076 sys/vnode.h \
7077 sys/wait.h \
7078 syscall.h \
7079 termios.h \
7080 unistd.h \
7081 utime.h \
7082 valgrind/memcheck.h \
7083 valgrind/valgrind.h \
7084 zlib.h
7086 do :
7087 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7089 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7090 cat >>confdefs.h <<_ACEOF
7091 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7092 _ACEOF
7096 done
7098 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7099 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7101 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7106 if test $ac_cv_header_sys_mkdev_h = no; then
7107 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7108 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7110 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7117 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7118 if ${ac_cv_header_stat_broken+:} false; then :
7119 $as_echo_n "(cached) " >&6
7120 else
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #include <sys/types.h>
7124 #include <sys/stat.h>
7126 #if defined S_ISBLK && defined S_IFDIR
7127 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7128 #endif
7130 #if defined S_ISBLK && defined S_IFCHR
7131 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7132 #endif
7134 #if defined S_ISLNK && defined S_IFREG
7135 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7136 #endif
7138 #if defined S_ISSOCK && defined S_IFREG
7139 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7140 #endif
7142 _ACEOF
7143 if ac_fn_c_try_compile "$LINENO"; then :
7144 ac_cv_header_stat_broken=no
7145 else
7146 ac_cv_header_stat_broken=yes
7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7151 $as_echo "$ac_cv_header_stat_broken" >&6; }
7152 if test $ac_cv_header_stat_broken = yes; then
7154 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7160 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7161 do :
7162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7163 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7164 #ifdef HAVE_SYS_PARAM_H
7165 # include <sys/param.h>
7166 #endif
7168 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7169 cat >>confdefs.h <<_ACEOF
7170 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7171 _ACEOF
7175 done
7178 for ac_header in \
7179 netinet/ip.h \
7180 net/if.h \
7181 net/if_arp.h \
7182 net/if_dl.h \
7183 net/if_types.h \
7184 net/route.h \
7185 netinet/if_ether.h \
7186 netinet/if_inarp.h \
7187 netinet/in_pcb.h \
7188 netinet/ip_icmp.h \
7189 netinet/ip_var.h \
7190 netinet/udp.h \
7191 netipx/ipx.h \
7192 sys/un.h \
7194 do :
7195 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7196 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7197 #ifdef HAVE_SYS_SOCKET_H
7198 # include <sys/socket.h>
7199 #endif
7200 #ifdef HAVE_SYS_SOCKETVAR_H
7201 # include <sys/socketvar.h>
7202 #endif
7203 #ifdef HAVE_NET_ROUTE_H
7204 # include <net/route.h>
7205 #endif
7206 #ifdef HAVE_NETINET_IN_H
7207 # include <netinet/in.h>
7208 #endif
7209 #ifdef HAVE_NETINET_IN_SYSTM_H
7210 # include <netinet/in_systm.h>
7211 #endif
7212 #ifdef HAVE_NET_IF_H
7213 # include <net/if.h>
7214 #endif
7215 #ifdef HAVE_NETINET_IP_H
7216 # include <netinet/ip.h>
7217 #endif
7219 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7220 cat >>confdefs.h <<_ACEOF
7221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7222 _ACEOF
7226 done
7229 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7230 do :
7231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7233 #ifdef HAVE_ALIAS_H
7234 # include <alias.h>
7235 #endif
7236 #ifdef HAVE_SYS_SOCKET_H
7237 # include <sys/socket.h>
7238 #endif
7239 #ifdef HAVE_SYS_SOCKETVAR_H
7240 # include <sys/socketvar.h>
7241 #endif
7242 #ifdef HAVE_SYS_TIMEOUT_H
7243 # include <sys/timeout.h>
7244 #endif
7245 #ifdef HAVE_NETINET_IN_H
7246 # include <netinet/in.h>
7247 #endif
7248 #ifdef HAVE_NETINET_IN_SYSTM_H
7249 # include <netinet/in_systm.h>
7250 #endif
7251 #ifdef HAVE_NETINET_IP_H
7252 # include <netinet/ip.h>
7253 #endif
7254 #ifdef HAVE_NETINET_IP_VAR_H
7255 # include <netinet/ip_var.h>
7256 #endif
7257 #ifdef HAVE_NETINET_IP_ICMP_H
7258 # include <netinet/ip_icmp.h>
7259 #endif
7260 #ifdef HAVE_NETINET_UDP_H
7261 # include <netinet/udp.h>
7262 #endif
7263 #ifdef HAVE_NETINET_TCP_H
7264 # include <netinet/tcp.h>
7265 #endif
7266 #ifdef HAVE_NETINET_TCP_TIMER_H
7267 #include <netinet/tcp_timer.h>
7268 #endif
7270 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7271 cat >>confdefs.h <<_ACEOF
7272 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 _ACEOF
7277 done
7280 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7281 do :
7282 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7283 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7284 #ifdef HAVE_ASM_TYPES_H
7285 # include <asm/types.h>
7286 #endif
7287 #ifdef HAVE_SYS_SOCKET_H
7288 # include <sys/socket.h>
7289 #endif
7290 #ifdef HAVE_LINUX_TYPES_H
7291 # include <linux/types.h>
7292 #endif
7294 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7295 cat >>confdefs.h <<_ACEOF
7296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7297 _ACEOF
7301 done
7304 for ac_header in mach-o/dyld_images.h
7305 do :
7306 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7307 # include <stdbool.h>
7308 #endif
7309 #ifdef HAVE_STDINT_H
7310 # include <stdint.h>
7311 #endif
7313 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7314 cat >>confdefs.h <<_ACEOF
7315 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7316 _ACEOF
7320 done
7323 for ac_header in resolv.h
7324 do :
7325 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7326 #ifdef HAVE_SYS_SOCKET_H
7327 # include <sys/socket.h>
7328 #endif
7329 #ifdef HAVE_NETINET_IN_H
7330 # include <netinet/in.h>
7331 #endif
7332 #ifdef HAVE_ARPA_NAMESER_H
7333 # include <arpa/nameser.h>
7334 #endif
7336 if test "x$ac_cv_header_resolv_h" = xyes; then :
7337 cat >>confdefs.h <<_ACEOF
7338 #define HAVE_RESOLV_H 1
7339 _ACEOF
7343 done
7346 for ac_header in ifaddrs.h
7347 do :
7348 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7350 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7351 cat >>confdefs.h <<_ACEOF
7352 #define HAVE_IFADDRS_H 1
7353 _ACEOF
7357 done
7360 for ac_header in sys/ucontext.h
7361 do :
7362 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7364 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7365 cat >>confdefs.h <<_ACEOF
7366 #define HAVE_SYS_UCONTEXT_H 1
7367 _ACEOF
7371 done
7374 for ac_header in sys/thr.h
7375 do :
7376 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7377 #ifdef HAVE_SYS_UCONTEXT_H
7378 #include <sys/ucontext.h>
7379 #endif
7381 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7382 cat >>confdefs.h <<_ACEOF
7383 #define HAVE_SYS_THR_H 1
7384 _ACEOF
7388 done
7391 for ac_header in pthread_np.h
7392 do :
7393 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7394 #include <pthread.h>
7395 #endif
7397 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7398 cat >>confdefs.h <<_ACEOF
7399 #define HAVE_PTHREAD_NP_H 1
7400 _ACEOF
7404 done
7407 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7408 do :
7409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7410 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7411 #include <sys/time.h>
7412 #endif
7413 #include <sys/types.h>
7414 #ifdef HAVE_ASM_TYPES_H
7415 #include <asm/types.h>
7416 #endif
7418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7419 cat >>confdefs.h <<_ACEOF
7420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7421 _ACEOF
7425 done
7428 for ac_header in libprocstat.h
7429 do :
7430 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7431 #include <sys/param.h>
7432 #endif
7433 #ifdef HAVE_SYS_QUEUE_H
7434 #include <sys/queue.h>
7435 #endif
7436 #ifdef HAVE_SYS_SOCKET_H
7437 #include <sys/socket.h>
7438 #endif
7440 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7441 cat >>confdefs.h <<_ACEOF
7442 #define HAVE_LIBPROCSTAT_H 1
7443 _ACEOF
7447 done
7451 dlldir="\${libdir}/wine"
7453 DLLFLAGS="-D_REENTRANT"
7455 LDRPATH_INSTALL=""
7457 LDRPATH_LOCAL=""
7459 LDEXECFLAGS=""
7461 WINELOADER_LDFLAGS=""
7463 LIBEXT="so"
7464 DLLEXT=".so"
7465 IMPLIBEXT="def"
7466 # Extract the first word of "ldd", so it can be a program name with args.
7467 set dummy ldd; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if ${ac_cv_path_LDD+:} false; then :
7471 $as_echo_n "(cached) " >&6
7472 else
7473 case $LDD in
7474 [\\/]* | ?:[\\/]*)
7475 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 as_dummy="/sbin:/usr/sbin:$PATH"
7480 for as_dir in $as_dummy
7482 IFS=$as_save_IFS
7483 test -z "$as_dir" && as_dir=.
7484 for ac_exec_ext in '' $ac_executable_extensions; do
7485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7486 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7488 break 2
7490 done
7491 done
7492 IFS=$as_save_IFS
7494 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7496 esac
7498 LDD=$ac_cv_path_LDD
7499 if test -n "$LDD"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7501 $as_echo "$LDD" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7508 if test -n "$ac_tool_prefix"; then
7509 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7510 set dummy ${ac_tool_prefix}otool; ac_word=$2
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512 $as_echo_n "checking for $ac_word... " >&6; }
7513 if ${ac_cv_prog_OTOOL+:} false; then :
7514 $as_echo_n "(cached) " >&6
7515 else
7516 if test -n "$OTOOL"; then
7517 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7518 else
7519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 for as_dir in $PATH
7522 IFS=$as_save_IFS
7523 test -z "$as_dir" && as_dir=.
7524 for ac_exec_ext in '' $ac_executable_extensions; do
7525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528 break 2
7530 done
7531 done
7532 IFS=$as_save_IFS
7536 OTOOL=$ac_cv_prog_OTOOL
7537 if test -n "$OTOOL"; then
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7539 $as_echo "$OTOOL" >&6; }
7540 else
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7542 $as_echo "no" >&6; }
7547 if test -z "$ac_cv_prog_OTOOL"; then
7548 ac_ct_OTOOL=$OTOOL
7549 # Extract the first word of "otool", so it can be a program name with args.
7550 set dummy otool; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 if test -n "$ac_ct_OTOOL"; then
7557 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7562 IFS=$as_save_IFS
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7566 ac_cv_prog_ac_ct_OTOOL="otool"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 break 2
7570 done
7571 done
7572 IFS=$as_save_IFS
7576 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7577 if test -n "$ac_ct_OTOOL"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7579 $as_echo "$ac_ct_OTOOL" >&6; }
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7585 if test "x$ac_ct_OTOOL" = x; then
7586 OTOOL="otool"
7587 else
7588 case $cross_compiling:$ac_tool_warned in
7589 yes:)
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7592 ac_tool_warned=yes ;;
7593 esac
7594 OTOOL=$ac_ct_OTOOL
7596 else
7597 OTOOL="$ac_cv_prog_OTOOL"
7600 if test -n "$ac_tool_prefix"; then
7601 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7602 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7604 $as_echo_n "checking for $ac_word... " >&6; }
7605 if ${ac_cv_prog_READELF+:} false; then :
7606 $as_echo_n "(cached) " >&6
7607 else
7608 if test -n "$READELF"; then
7609 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7610 else
7611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7612 for as_dir in $PATH
7614 IFS=$as_save_IFS
7615 test -z "$as_dir" && as_dir=.
7616 for ac_exec_ext in '' $ac_executable_extensions; do
7617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7618 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7620 break 2
7622 done
7623 done
7624 IFS=$as_save_IFS
7628 READELF=$ac_cv_prog_READELF
7629 if test -n "$READELF"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7631 $as_echo "$READELF" >&6; }
7632 else
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7634 $as_echo "no" >&6; }
7639 if test -z "$ac_cv_prog_READELF"; then
7640 ac_ct_READELF=$READELF
7641 # Extract the first word of "readelf", so it can be a program name with args.
7642 set dummy readelf; ac_word=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7646 $as_echo_n "(cached) " >&6
7647 else
7648 if test -n "$ac_ct_READELF"; then
7649 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7650 else
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 for as_dir in $PATH
7654 IFS=$as_save_IFS
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7658 ac_cv_prog_ac_ct_READELF="readelf"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 break 2
7662 done
7663 done
7664 IFS=$as_save_IFS
7668 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7669 if test -n "$ac_ct_READELF"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7671 $as_echo "$ac_ct_READELF" >&6; }
7672 else
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7677 if test "x$ac_ct_READELF" = x; then
7678 READELF="true"
7679 else
7680 case $cross_compiling:$ac_tool_warned in
7681 yes:)
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7684 ac_tool_warned=yes ;;
7685 esac
7686 READELF=$ac_ct_READELF
7688 else
7689 READELF="$ac_cv_prog_READELF"
7692 wine_rules_file=conf$$rules.make
7693 rm -f $wine_rules_file
7694 SUBDIRS=""
7696 DISABLED_SUBDIRS=""
7698 CONFIGURE_TARGETS=""
7700 ALL_TEST_RESOURCES=""
7703 wine_fn_append_file ()
7705 as_fn_append $1 " \\$as_nl $2"
7708 wine_fn_append_rule ()
7710 $as_echo "$1" >>$wine_rules_file
7713 wine_fn_has_flag ()
7715 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7718 wine_fn_all_rules ()
7720 wine_fn_append_file SUBDIRS $ac_dir
7721 wine_fn_append_rule \
7722 "all: $ac_dir
7723 .PHONY: $ac_dir
7724 $ac_dir: dummy
7725 @cd $ac_dir && \$(MAKE)"
7728 wine_fn_install_rules ()
7730 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7732 wine_fn_append_rule \
7733 ".PHONY: $ac_dir/install $ac_dir/uninstall
7734 $ac_dir/install:: $ac_dir
7735 @cd $ac_dir && \$(MAKE) install
7736 $ac_dir/uninstall::
7737 @cd $ac_dir && \$(MAKE) uninstall
7738 install:: $ac_dir/install
7739 __uninstall__: $ac_dir/uninstall"
7741 if wine_fn_has_flag install-lib
7742 then
7743 wine_fn_append_rule \
7744 ".PHONY: $ac_dir/install-lib
7745 $ac_dir/install-lib:: $ac_dir
7746 @cd $ac_dir && \$(MAKE) install-lib
7747 install-lib:: $ac_dir/install-lib"
7750 if wine_fn_has_flag install-dev
7751 then
7752 wine_fn_append_rule \
7753 ".PHONY: $ac_dir/install-dev
7754 $ac_dir/install-dev:: $ac_dir
7755 @cd $ac_dir && \$(MAKE) install-dev
7756 install-dev:: $ac_dir/install-dev"
7760 wine_fn_clean_rules ()
7762 ac_clean=$@
7764 if wine_fn_has_flag clean
7765 then
7766 wine_fn_append_rule \
7767 "$ac_dir/clean: dummy
7768 @cd $ac_dir && \$(MAKE) clean"
7769 else
7770 wine_fn_append_rule \
7771 "$ac_dir/clean: dummy
7772 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7774 wine_fn_append_rule \
7775 "__clean__: $ac_dir/clean
7776 .PHONY: $ac_dir/clean"
7779 wine_fn_disabled_rules ()
7781 ac_clean=$@
7783 wine_fn_append_file SUBDIRS $ac_dir
7784 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7785 wine_fn_append_rule \
7786 "__clean__: $ac_dir/clean
7787 .PHONY: $ac_dir/clean
7788 $ac_dir/clean: dummy
7789 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7792 wine_fn_config_makefile ()
7794 ac_dir=$1
7795 ac_enable=$2
7796 ac_flags=$3
7798 case $ac_dir in
7799 fonts|server) test -z "$with_wine64" || return ;;
7800 esac
7801 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7802 wine_fn_disabled_rules; return
7804 wine_fn_all_rules
7805 wine_fn_install_rules
7806 wine_fn_clean_rules
7809 wine_fn_config_lib ()
7811 ac_name=$1
7812 ac_flags=$2
7813 ac_dir=dlls/$ac_name
7814 ac_deps="include"
7816 if test "x$enable_tools" = xno; then :
7818 else
7819 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7821 wine_fn_all_rules
7822 wine_fn_clean_rules
7824 wine_fn_append_rule \
7825 ".PHONY: $ac_dir/install $ac_dir/uninstall
7826 $ac_dir/install:: $ac_dir
7827 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7828 $ac_dir/uninstall::
7829 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7830 install install-dev:: $ac_dir/install
7831 __uninstall__: $ac_dir/uninstall
7832 __builddeps__: $ac_dir
7833 $ac_dir: $ac_deps"
7836 wine_fn_config_dll ()
7838 ac_name=$1
7839 ac_dir=dlls/$ac_name
7840 ac_enable=$2
7841 ac_flags=$3
7842 ac_implib=${4:-$ac_name}
7843 ac_file=$ac_dir/lib$ac_implib
7844 ac_dll=$ac_name
7845 ac_deps="include"
7846 ac_implibflags=""
7848 if test "x$enable_tools" = xno; then :
7850 else
7851 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7853 case $ac_name in
7854 *.*16) ac_implibflags=" -m16" ;;
7855 *.*) ;;
7856 *) ac_dll=$ac_dll.dll ;;
7857 esac
7859 ac_clean=
7860 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7861 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7863 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7864 if test "$ac_enable" != enable_win16
7865 then
7866 wine_fn_clean_rules $ac_clean
7867 wine_fn_append_file SUBDIRS $ac_dir
7868 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7869 else
7870 wine_fn_disabled_rules $ac_clean
7871 return
7873 else
7874 wine_fn_all_rules
7875 wine_fn_clean_rules $ac_clean
7876 wine_fn_append_rule \
7877 "$ac_dir: __builddeps__
7878 manpages htmlpages sgmlpages xmlpages::
7879 @cd $ac_dir && \$(MAKE) \$@
7880 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7881 install install-lib:: $ac_dir/install-lib
7882 __uninstall__: $ac_dir/uninstall"
7883 if test -n "$DLLEXT"
7884 then
7885 wine_fn_append_rule \
7886 "$ac_dir/install-lib:: $ac_dir
7887 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7888 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7889 $ac_dir/uninstall::
7890 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7891 else
7892 wine_fn_append_rule \
7893 "$ac_dir/install-lib:: $ac_dir
7894 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7895 $ac_dir/uninstall::
7896 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7900 if wine_fn_has_flag staticimplib
7901 then
7902 wine_fn_append_rule \
7903 "__builddeps__: $ac_file.a
7904 $ac_file.a $ac_file.cross.a: $ac_deps
7905 $ac_file.a: dummy
7906 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7907 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7908 $ac_dir/install-dev:: $ac_file.a
7909 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7910 $ac_dir/uninstall::
7911 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7912 install install-dev:: $ac_dir/install-dev
7913 __uninstall__: $ac_dir/uninstall"
7915 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7916 then
7917 wine_fn_append_rule \
7918 "__builddeps__: $ac_file.cross.a
7919 $ac_file.cross.a: dummy
7920 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7923 elif wine_fn_has_flag implib
7924 then
7925 wine_fn_append_rule \
7926 "__builddeps__: $ac_file.$IMPLIBEXT
7927 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7928 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7929 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7930 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7931 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7932 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7933 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7934 $ac_dir/uninstall::
7935 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7936 install install-dev:: $ac_dir/install-dev
7937 __uninstall__: $ac_dir/uninstall"
7938 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7939 then
7940 wine_fn_append_rule \
7941 "__builddeps__: $ac_file.cross.a
7942 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7943 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7948 wine_fn_config_program ()
7950 ac_name=$1
7951 ac_dir=programs/$ac_name
7952 ac_enable=$2
7953 ac_flags=$3
7954 ac_program=$ac_name
7956 case $ac_name in
7957 *.*) ;;
7958 *) ac_program=$ac_program.exe ;;
7959 esac
7961 ac_clean=
7962 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7963 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7965 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7966 wine_fn_disabled_rules $ac_clean; return
7969 wine_fn_all_rules
7970 wine_fn_clean_rules $ac_clean
7971 wine_fn_append_rule "$ac_dir: __builddeps__"
7973 wine_fn_has_flag install || return
7974 wine_fn_append_rule \
7975 ".PHONY: $ac_dir/install $ac_dir/uninstall
7976 install install-lib:: $ac_dir/install
7977 __uninstall__: $ac_dir/uninstall"
7979 if test -n "$DLLEXT"
7980 then
7981 wine_fn_append_rule \
7982 "$ac_dir/install:: $ac_dir
7983 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7984 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7985 $ac_dir/uninstall::
7986 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7988 if test -z "$with_wine64" && wine_fn_has_flag installbin
7989 then
7990 wine_fn_append_rule \
7991 "$ac_dir/install:: __tooldeps__
7992 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7993 $ac_dir/uninstall::
7994 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7996 else
7997 wine_fn_append_rule \
7998 "$ac_dir/install:: $ac_dir
7999 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
8000 $ac_dir/uninstall::
8001 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
8004 if test -z "$with_wine64" && wine_fn_has_flag manpage
8005 then
8006 wine_fn_append_rule \
8007 "$ac_dir/install:: $ac_dir
8008 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
8009 $ac_dir/uninstall::
8010 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8014 wine_fn_config_test ()
8016 ac_dir=$1
8017 ac_name=$2
8018 ac_flags=$3
8020 ac_clean=
8021 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8022 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8024 if test "x$enable_tests" = xno; then :
8025 wine_fn_disabled_rules $ac_clean; return
8028 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8029 wine_fn_all_rules
8030 wine_fn_clean_rules $ac_clean
8032 wine_fn_append_rule \
8033 "$ac_dir: __builddeps__
8034 programs/winetest: $ac_dir
8035 check test: $ac_dir/test
8036 .PHONY: $ac_dir/test
8037 $ac_dir/test: dummy
8038 @cd $ac_dir && \$(MAKE) test
8039 testclean::
8040 \$(RM) $ac_dir/*.ok"
8042 if test -n "$CROSSTARGET"
8043 then
8044 wine_fn_append_rule \
8045 "crosstest: $ac_dir/crosstest
8046 .PHONY: $ac_dir/crosstest
8047 $ac_dir/crosstest: __builddeps__ dummy
8048 @cd $ac_dir && \$(MAKE) crosstest"
8052 wine_fn_config_tool ()
8054 ac_dir=$1
8055 ac_flags=$2
8056 if test "x$enable_tools" = xno; then :
8057 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8060 wine_fn_all_rules
8061 wine_fn_install_rules
8062 wine_fn_clean_rules
8064 wine_fn_append_rule "__tooldeps__: $ac_dir"
8065 wine_fn_append_rule "$ac_dir: libs/port"
8066 case $ac_dir in
8067 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8068 esac
8071 wine_fn_config_symlink ()
8073 ac_linkdir=
8074 if test "x$1" = "x-d"
8075 then
8076 ac_linkdir=$2
8077 shift; shift
8079 ac_links=$@
8080 wine_fn_append_rule \
8081 "$ac_links:
8082 @./config.status \$@"
8083 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8084 test -n "$ac_linkdir" || return
8085 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8088 wine_binary="wine"
8089 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8090 WINELOADER_PROGRAMS="$wine_binary"
8092 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8094 case $host_os in
8095 cygwin*|mingw32*)
8096 if test -n "$ac_tool_prefix"; then
8097 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8098 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100 $as_echo_n "checking for $ac_word... " >&6; }
8101 if ${ac_cv_prog_DLLTOOL+:} false; then :
8102 $as_echo_n "(cached) " >&6
8103 else
8104 if test -n "$DLLTOOL"; then
8105 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8106 else
8107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8108 for as_dir in $PATH
8110 IFS=$as_save_IFS
8111 test -z "$as_dir" && as_dir=.
8112 for ac_exec_ext in '' $ac_executable_extensions; do
8113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8114 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8116 break 2
8118 done
8119 done
8120 IFS=$as_save_IFS
8124 DLLTOOL=$ac_cv_prog_DLLTOOL
8125 if test -n "$DLLTOOL"; then
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8127 $as_echo "$DLLTOOL" >&6; }
8128 else
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8130 $as_echo "no" >&6; }
8135 if test -z "$ac_cv_prog_DLLTOOL"; then
8136 ac_ct_DLLTOOL=$DLLTOOL
8137 # Extract the first word of "dlltool", so it can be a program name with args.
8138 set dummy dlltool; ac_word=$2
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8140 $as_echo_n "checking for $ac_word... " >&6; }
8141 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 if test -n "$ac_ct_DLLTOOL"; then
8145 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8146 else
8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8148 for as_dir in $PATH
8150 IFS=$as_save_IFS
8151 test -z "$as_dir" && as_dir=.
8152 for ac_exec_ext in '' $ac_executable_extensions; do
8153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8154 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8156 break 2
8158 done
8159 done
8160 IFS=$as_save_IFS
8164 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8165 if test -n "$ac_ct_DLLTOOL"; then
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8167 $as_echo "$ac_ct_DLLTOOL" >&6; }
8168 else
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170 $as_echo "no" >&6; }
8173 if test "x$ac_ct_DLLTOOL" = x; then
8174 DLLTOOL="false"
8175 else
8176 case $cross_compiling:$ac_tool_warned in
8177 yes:)
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8180 ac_tool_warned=yes ;;
8181 esac
8182 DLLTOOL=$ac_ct_DLLTOOL
8184 else
8185 DLLTOOL="$ac_cv_prog_DLLTOOL"
8188 LIBEXT="dll"
8189 DLLEXT=""
8190 IMPLIBEXT="a"
8191 enable_iphlpapi=${enable_iphlpapi:-no}
8192 enable_kernel32=${enable_kernel32:-no}
8193 enable_msvcrt=${enable_msvcrt:-no}
8194 enable_ntdll=${enable_ntdll:-no}
8195 enable_ws2_32=${enable_ws2_32:-no}
8196 enable_loader=${enable_loader:-no}
8197 enable_server=${enable_server:-no}
8198 with_x=${with_x:-no}
8199 with_pthread=${with_pthread:-no}
8201 crtlibs=""
8202 case $host_os in
8203 mingw32*)
8204 crtlibs="-lmsvcrt"
8205 SOCKET_LIBS="-lws2_32"
8207 esac
8209 LIBWINE_SHAREDLIB="libwine.dll"
8211 LIBWINE_IMPORTLIB="libwine.a"
8213 LIBWINE_INSTALL_LIB="libwine.dll"
8215 LIBWINE_INSTALL_DEV="libwine.a"
8217 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8219 LIBWINE_DEPENDS="wine.def"
8223 darwin*|macosx*)
8224 for ac_header in libunwind.h
8225 do :
8226 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8228 cat >>confdefs.h <<_ACEOF
8229 #define HAVE_LIBUNWIND_H 1
8230 _ACEOF
8234 done
8236 LIBEXT="dylib"
8237 DLLFLAGS="$DLLFLAGS -fPIC"
8238 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8239 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8240 COREFOUNDATION_LIBS="-framework CoreFoundation"
8242 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8244 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8246 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8248 CORESERVICES_LIBS="-framework CoreServices"
8250 APPKIT_LIBS="-framework AppKit"
8252 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8254 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8255 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 ac_wine_try_cflags_saved=$CFLAGS
8259 CFLAGS="$CFLAGS -Wl,-no_pie"
8260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 int main(int argc, char **argv) { return 0; }
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 ac_cv_cflags__Wl__no_pie=yes
8266 else
8267 ac_cv_cflags__Wl__no_pie=no
8269 rm -f core conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 CFLAGS=$ac_wine_try_cflags_saved
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8274 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8275 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8276 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8278 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8279 then
8280 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8283 if test "$ac_cv_header_Security_Security_h" = "yes"
8284 then
8285 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8287 ac_save_LIBS="$LIBS"
8288 LIBS="$LIBS $SECURITY_LIBS"
8289 for ac_func in SSLCopyPeerCertificates
8290 do :
8291 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8292 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8293 cat >>confdefs.h <<_ACEOF
8294 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8295 _ACEOF
8298 done
8300 LIBS="$ac_save_LIBS"
8301 with_gnutls=${with_gnutls:-no}
8303 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8304 then
8305 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8306 then
8307 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8309 else
8310 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8313 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8314 ac_save_LIBS="$LIBS"
8315 LIBS="$LIBS $COREAUDIO_LIBS"
8316 for ac_func in AUGraphAddNode
8317 do :
8318 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8319 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8320 cat >>confdefs.h <<_ACEOF
8321 #define HAVE_AUGRAPHADDNODE 1
8322 _ACEOF
8325 done
8327 LIBS="$ac_save_LIBS"
8329 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8330 then
8331 OPENAL_LIBS="-framework OpenAL"
8334 cat >>confdefs.h <<_ACEOF
8335 #define HAVE_OPENAL 1
8336 _ACEOF
8338 ac_cv_lib_openal=yes
8340 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8341 then
8342 OPENCL_LIBS="-framework OpenCL"
8344 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8346 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8347 then
8348 ac_save_LIBS="$LIBS"
8349 LIBS="$LIBS $IOKIT_LIBS"
8350 for ac_func in IOHIDManagerCreate
8351 do :
8352 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8353 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8354 cat >>confdefs.h <<_ACEOF
8355 #define HAVE_IOHIDMANAGERCREATE 1
8356 _ACEOF
8359 done
8361 LIBS="$ac_save_LIBS"
8363 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8364 then
8365 ac_save_LIBS="$LIBS"
8366 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8368 $as_echo_n "checking for the QuickTime framework... " >&6; }
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 #include <QuickTime/ImageCompression.h>
8373 main ()
8375 CodecManagerVersion(NULL);
8377 return 0;
8379 _ACEOF
8380 if ac_fn_c_try_link "$LINENO"; then :
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8382 $as_echo "yes" >&6; }
8383 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8385 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8389 ac_cv_header_QuickTime_ImageCompression_h=no
8391 rm -f core conftest.err conftest.$ac_objext \
8392 conftest$ac_exeext conftest.$ac_ext
8393 LIBS="$ac_save_LIBS"
8395 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8396 then
8397 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8399 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8400 then
8401 CARBON_LIBS="-framework Carbon"
8405 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8406 then
8407 ac_save_LIBS="$LIBS"
8408 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8409 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8410 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8411 enable_winemac_drv=${enable_winemac_drv:-yes}
8414 LIBS="$ac_save_LIBS"
8417 if test "x$enable_win16" = "xyes"
8418 then
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8420 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8421 if test "$cross_compiling" = yes; then :
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8423 $as_echo "cross-compiling, assuming yes" >&6; }
8424 else
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8427 asm(".text\n"
8428 "bad:\tnop;nop\n"
8429 "good:\tnop;nop\n\t"
8430 ".globl _testfunc\n"
8431 "_testfunc:\tcallw good");
8432 extern void testfunc();
8434 main ()
8436 unsigned short *p = (unsigned short *)testfunc;
8437 return p[0] != 0xe866 || p[1] != 0xfffa
8439 return 0;
8441 _ACEOF
8442 if ac_fn_c_try_run "$LINENO"; then :
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8444 $as_echo "yes" >&6; }
8445 else
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8448 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
8450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8451 conftest.$ac_objext conftest.beam conftest.$ac_ext
8456 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8458 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8460 LIBWINE_INSTALL_DEV="libwine.dylib"
8462 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8464 WINELOADER_DEPENDS="wine_info.plist"
8468 linux-android*)
8469 DLLFLAGS="$DLLFLAGS -fPIC"
8470 LDEXECFLAGS="-Wl,-pie"
8471 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8473 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8474 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8482 _ACEOF
8483 if ac_fn_c_try_link "$LINENO"; then :
8484 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8485 else
8486 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 CFLAGS=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8493 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8494 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8495 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8497 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8499 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8500 if eval \${$as_ac_var+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 int main(int argc, char **argv) { return 0; }
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 eval "$as_ac_var=yes"
8511 else
8512 eval "$as_ac_var=no"
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 eval ac_res=\$$as_ac_var
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8520 $as_echo "$ac_res" >&6; }
8521 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8522 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8523 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8524 else
8525 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8528 if eval \${$as_ac_var+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 eval "$as_ac_var=yes"
8539 else
8540 eval "$as_ac_var=no"
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 eval ac_res=\$$as_ac_var
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8548 $as_echo "$ac_res" >&6; }
8549 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8550 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8551 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8555 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8556 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 ac_cv_cflags__Wl___enable_new_dtags=yes
8567 else
8568 ac_cv_cflags__Wl___enable_new_dtags=no
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8575 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8576 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8577 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8580 LIBWINE_SHAREDLIB="libwine.so"
8582 LIBWINE_INSTALL_LIB="libwine.so"
8584 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8588 $as_echo_n "checking for -lEGL... " >&6; }
8589 if ${ac_cv_lib_soname_EGL+:} false; then :
8590 $as_echo_n "(cached) " >&6
8591 else
8592 ac_check_soname_save_LIBS=$LIBS
8593 LIBS="-lEGL $LIBS"
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8597 /* Override any GCC internal prototype to avoid an error.
8598 Use char because int might match the return type of a GCC
8599 builtin and then its argument prototype would still apply. */
8600 #ifdef __cplusplus
8601 extern "C"
8602 #endif
8603 char eglGetProcAddress ();
8605 main ()
8607 return eglGetProcAddress ();
8609 return 0;
8611 _ACEOF
8612 if ac_fn_c_try_link "$LINENO"; then :
8613 case "$LIBEXT" in
8614 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8615 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'` ;;
8616 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8617 if ${ac_cv_lib_soname_EGL:+false} :; then :
8618 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8619 fi ;;
8620 esac
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 LIBS=$ac_check_soname_save_LIBS
8626 if ${ac_cv_lib_soname_EGL:+false} :; then :
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8628 $as_echo "not found" >&6; }
8630 else
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8632 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8634 cat >>confdefs.h <<_ACEOF
8635 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8636 _ACEOF
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8641 $as_echo_n "checking for -lGLESv2... " >&6; }
8642 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 ac_check_soname_save_LIBS=$LIBS
8646 LIBS="-lGLESv2 $LIBS"
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8650 /* Override any GCC internal prototype to avoid an error.
8651 Use char because int might match the return type of a GCC
8652 builtin and then its argument prototype would still apply. */
8653 #ifdef __cplusplus
8654 extern "C"
8655 #endif
8656 char glFlush ();
8658 main ()
8660 return glFlush ();
8662 return 0;
8664 _ACEOF
8665 if ac_fn_c_try_link "$LINENO"; then :
8666 case "$LIBEXT" in
8667 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8668 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'` ;;
8669 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8670 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8671 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8672 fi ;;
8673 esac
8675 rm -f core conftest.err conftest.$ac_objext \
8676 conftest$ac_exeext conftest.$ac_ext
8677 LIBS=$ac_check_soname_save_LIBS
8679 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8681 $as_echo "not found" >&6; }
8683 else
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8685 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8687 cat >>confdefs.h <<_ACEOF
8688 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8689 _ACEOF
8694 if test "x$exec_prefix" = xNONE
8695 then
8696 case $host_cpu in
8697 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8698 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8699 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8700 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8701 esac
8706 DLLFLAGS="$DLLFLAGS -fPIC"
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8708 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8709 if ${ac_cv_c_dll_gnuelf+:} false; then :
8710 $as_echo_n "(cached) " >&6
8711 else
8712 ac_wine_try_cflags_saved=$CFLAGS
8713 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 void myfunc() {}
8717 _ACEOF
8718 if ac_fn_c_try_link "$LINENO"; then :
8719 ac_cv_c_dll_gnuelf="yes"
8720 else
8721 ac_cv_c_dll_gnuelf="no"
8723 rm -f core conftest.err conftest.$ac_objext \
8724 conftest$ac_exeext conftest.$ac_ext
8725 CFLAGS=$ac_wine_try_cflags_saved
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8728 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8729 if test "$ac_cv_c_dll_gnuelf" = "yes"
8730 then
8731 LIBWINE_LDFLAGS="-shared"
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8733 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8734 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8735 $as_echo_n "(cached) " >&6
8736 else
8737 ac_wine_try_cflags_saved=$CFLAGS
8738 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8741 int main(int argc, char **argv) { return 0; }
8742 _ACEOF
8743 if ac_fn_c_try_link "$LINENO"; then :
8744 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8745 else
8746 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8748 rm -f core conftest.err conftest.$ac_objext \
8749 conftest$ac_exeext conftest.$ac_ext
8750 CFLAGS=$ac_wine_try_cflags_saved
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8753 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8754 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8755 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8756 else
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8758 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8759 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8760 $as_echo_n "(cached) " >&6
8761 else
8762 ac_wine_try_cflags_saved=$CFLAGS
8763 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 int main(int argc, char **argv) { return 0; }
8767 _ACEOF
8768 if ac_fn_c_try_link "$LINENO"; then :
8769 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8770 else
8771 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8773 rm -f core conftest.err conftest.$ac_objext \
8774 conftest$ac_exeext conftest.$ac_ext
8775 CFLAGS=$ac_wine_try_cflags_saved
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8778 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8779 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8780 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8784 echo '{ global: *; };' >conftest.map
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8786 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8787 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 ac_wine_try_cflags_saved=$CFLAGS
8791 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 int main(int argc, char **argv) { return 0; }
8795 _ACEOF
8796 if ac_fn_c_try_link "$LINENO"; then :
8797 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8798 else
8799 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8801 rm -f core conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8806 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8807 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8808 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8810 rm -f conftest.map
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8813 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8814 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 int main(int argc, char **argv) { return 0; }
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8825 else
8826 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8833 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8834 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8835 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8838 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8840 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8841 if eval \${$as_ac_var+:} false; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 ac_wine_try_cflags_saved=$CFLAGS
8845 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8848 int main(int argc, char **argv) { return 0; }
8849 _ACEOF
8850 if ac_fn_c_try_link "$LINENO"; then :
8851 eval "$as_ac_var=yes"
8852 else
8853 eval "$as_ac_var=no"
8855 rm -f core conftest.err conftest.$ac_objext \
8856 conftest$ac_exeext conftest.$ac_ext
8857 CFLAGS=$ac_wine_try_cflags_saved
8859 eval ac_res=\$$as_ac_var
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8861 $as_echo "$ac_res" >&6; }
8862 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8863 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8864 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8865 else
8866 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8868 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8869 if eval \${$as_ac_var+:} false; then :
8870 $as_echo_n "(cached) " >&6
8871 else
8872 ac_wine_try_cflags_saved=$CFLAGS
8873 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8876 int main(int argc, char **argv) { return 0; }
8877 _ACEOF
8878 if ac_fn_c_try_link "$LINENO"; then :
8879 eval "$as_ac_var=yes"
8880 else
8881 eval "$as_ac_var=no"
8883 rm -f core conftest.err conftest.$ac_objext \
8884 conftest$ac_exeext conftest.$ac_ext
8885 CFLAGS=$ac_wine_try_cflags_saved
8887 eval ac_res=\$$as_ac_var
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8889 $as_echo "$ac_res" >&6; }
8890 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8891 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8892 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8897 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8898 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8899 $as_echo_n "(cached) " >&6
8900 else
8901 ac_wine_try_cflags_saved=$CFLAGS
8902 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8905 int main(int argc, char **argv) { return 0; }
8906 _ACEOF
8907 if ac_fn_c_try_link "$LINENO"; then :
8908 ac_cv_cflags__Wl___enable_new_dtags=yes
8909 else
8910 ac_cv_cflags__Wl___enable_new_dtags=no
8912 rm -f core conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 CFLAGS=$ac_wine_try_cflags_saved
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8917 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8918 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8919 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8922 case $host_cpu in
8923 *i[3456789]86* | x86_64 | *aarch64*)
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8925 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8926 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8927 $as_echo_n "(cached) " >&6
8928 else
8929 ac_wine_try_cflags_saved=$CFLAGS
8930 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8933 int main(int argc, char **argv) { return 0; }
8934 _ACEOF
8935 if ac_fn_c_try_link "$LINENO"; then :
8936 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8937 else
8938 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8940 rm -f core conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8942 CFLAGS=$ac_wine_try_cflags_saved
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8945 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8946 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8947 case $host_os in
8948 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8949 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8950 esac
8951 else
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8953 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8954 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 ac_wine_try_cflags_saved=$CFLAGS
8958 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8961 int main(int argc, char **argv) { return 0; }
8962 _ACEOF
8963 if ac_fn_c_try_link "$LINENO"; then :
8964 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8965 else
8966 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8968 rm -f core conftest.err conftest.$ac_objext \
8969 conftest$ac_exeext conftest.$ac_ext
8970 CFLAGS=$ac_wine_try_cflags_saved
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8973 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8974 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8975 case $host_os in
8976 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8977 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8978 esac
8980 # Extract the first word of "prelink", so it can be a program name with args.
8981 set dummy prelink; ac_word=$2
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8983 $as_echo_n "checking for $ac_word... " >&6; }
8984 if ${ac_cv_path_PRELINK+:} false; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 case $PRELINK in
8988 [\\/]* | ?:[\\/]*)
8989 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8993 for as_dir in /sbin /usr/sbin $PATH
8995 IFS=$as_save_IFS
8996 test -z "$as_dir" && as_dir=.
8997 for ac_exec_ext in '' $ac_executable_extensions; do
8998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8999 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9001 break 2
9003 done
9004 done
9005 IFS=$as_save_IFS
9007 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9009 esac
9011 PRELINK=$ac_cv_path_PRELINK
9012 if test -n "$PRELINK"; then
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9014 $as_echo "$PRELINK" >&6; }
9015 else
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9017 $as_echo "no" >&6; }
9021 if test "x$PRELINK" = xfalse
9022 then
9023 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9027 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9028 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9029 $as_echo_n "(cached) " >&6
9030 else
9031 ac_wine_try_cflags_saved=$CFLAGS
9032 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h. */
9035 int main(int argc, char **argv) { return 0; }
9036 _ACEOF
9037 if ac_fn_c_try_link "$LINENO"; then :
9038 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9039 else
9040 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9042 rm -f core conftest.err conftest.$ac_objext \
9043 conftest$ac_exeext conftest.$ac_ext
9044 CFLAGS=$ac_wine_try_cflags_saved
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9047 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9048 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9049 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9052 esac
9054 else
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9056 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9057 if ${ac_cv_c_dll_unixware+:} false; then :
9058 $as_echo_n "(cached) " >&6
9059 else
9060 ac_wine_try_cflags_saved=$CFLAGS
9061 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9063 /* end confdefs.h. */
9064 void myfunc() {}
9065 _ACEOF
9066 if ac_fn_c_try_link "$LINENO"; then :
9067 ac_cv_c_dll_unixware="yes"
9068 else
9069 ac_cv_c_dll_unixware="no"
9071 rm -f core conftest.err conftest.$ac_objext \
9072 conftest$ac_exeext conftest.$ac_ext
9073 CFLAGS=$ac_wine_try_cflags_saved
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9076 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9077 if test "$ac_cv_c_dll_unixware" = "yes"
9078 then
9079 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9082 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9084 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9086 LIBWINE_INSTALL_DEV="libwine.so"
9088 LIBWINE_DEPENDS="wine.map"
9091 esac
9093 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9094 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9095 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9096 enable_winemac_drv=${enable_winemac_drv:-no}
9097 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9099 CROSSTARGET=""
9101 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9102 then
9103 case "$host_cpu" in
9104 arm*)
9105 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9106 i[3456789]86*)
9107 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
9108 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9109 mingw32-gcc" ;;
9110 x86_64)
9111 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
9112 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9114 ac_prefix_list="" ;;
9115 esac
9116 for ac_prog in $ac_prefix_list
9118 # Extract the first word of "$ac_prog", so it can be a program name with args.
9119 set dummy $ac_prog; ac_word=$2
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9121 $as_echo_n "checking for $ac_word... " >&6; }
9122 if ${ac_cv_prog_CROSSCC+:} false; then :
9123 $as_echo_n "(cached) " >&6
9124 else
9125 if test -n "$CROSSCC"; then
9126 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9127 else
9128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9129 for as_dir in $PATH
9131 IFS=$as_save_IFS
9132 test -z "$as_dir" && as_dir=.
9133 for ac_exec_ext in '' $ac_executable_extensions; do
9134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9135 ac_cv_prog_CROSSCC="$ac_prog"
9136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9137 break 2
9139 done
9140 done
9141 IFS=$as_save_IFS
9145 CROSSCC=$ac_cv_prog_CROSSCC
9146 if test -n "$CROSSCC"; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9148 $as_echo "$CROSSCC" >&6; }
9149 else
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9151 $as_echo "no" >&6; }
9155 test -n "$CROSSCC" && break
9156 done
9157 test -n "$CROSSCC" || CROSSCC="false"
9159 if test "$CROSSCC" != "false"
9160 then
9161 ac_save_CC="$CC"
9162 CC="$CROSSCC"
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9164 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9166 /* end confdefs.h. */
9169 main ()
9173 return 0;
9175 _ACEOF
9176 if ac_fn_c_try_compile "$LINENO"; then :
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9178 $as_echo "yes" >&6; }
9179 set x $CROSSCC
9180 shift
9181 while test $# -ge 1
9183 case "$1" in
9184 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9185 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9186 esac
9187 shift
9188 done
9189 else
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9191 $as_echo "no" >&6; }
9193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9194 CC="$ac_save_CC"
9195 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9201 if test "$ac_cv_header_pthread_h" = "yes"
9202 then
9203 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9204 if test "x$ac_cv_func_pthread_create" = xyes; then :
9206 else
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9208 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9209 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 ac_check_lib_save_LIBS=$LIBS
9213 LIBS="-lpthread $LIBS"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char pthread_create ();
9225 main ()
9227 return pthread_create ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 ac_cv_lib_pthread_pthread_create=yes
9234 else
9235 ac_cv_lib_pthread_pthread_create=no
9237 rm -f core conftest.err conftest.$ac_objext \
9238 conftest$ac_exeext conftest.$ac_ext
9239 LIBS=$ac_check_lib_save_LIBS
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9242 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9243 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9244 PTHREAD_LIBS="-lpthread"
9251 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9252 case "x$with_pthread" in
9253 xno) ;;
9254 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9255 Wine cannot support threads without libpthread.
9256 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9257 esac
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9263 $as_echo_n "checking for X... " >&6; }
9266 # Check whether --with-x was given.
9267 if test "${with_x+set}" = set; then :
9268 withval=$with_x;
9271 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9272 if test "x$with_x" = xno; then
9273 # The user explicitly disabled X.
9274 have_x=disabled
9275 else
9276 case $x_includes,$x_libraries in #(
9277 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9278 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9279 $as_echo_n "(cached) " >&6
9280 else
9281 # One or both of the vars are not set, and there is no cached value.
9282 ac_x_includes=no ac_x_libraries=no
9283 rm -f -r conftest.dir
9284 if mkdir conftest.dir; then
9285 cd conftest.dir
9286 cat >Imakefile <<'_ACEOF'
9287 incroot:
9288 @echo incroot='${INCROOT}'
9289 usrlibdir:
9290 @echo usrlibdir='${USRLIBDIR}'
9291 libdir:
9292 @echo libdir='${LIBDIR}'
9293 _ACEOF
9294 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9295 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9296 for ac_var in incroot usrlibdir libdir; do
9297 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9298 done
9299 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9300 for ac_extension in a so sl dylib la dll; do
9301 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9302 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9303 ac_im_usrlibdir=$ac_im_libdir; break
9305 done
9306 # Screen out bogus values from the imake configuration. They are
9307 # bogus both because they are the default anyway, and because
9308 # using them would break gcc on systems where it needs fixed includes.
9309 case $ac_im_incroot in
9310 /usr/include) ac_x_includes= ;;
9311 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9312 esac
9313 case $ac_im_usrlibdir in
9314 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9315 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9316 esac
9318 cd ..
9319 rm -f -r conftest.dir
9322 # Standard set of common directories for X headers.
9323 # Check X11 before X11Rn because it is often a symlink to the current release.
9324 ac_x_header_dirs='
9325 /usr/X11/include
9326 /usr/X11R7/include
9327 /usr/X11R6/include
9328 /usr/X11R5/include
9329 /usr/X11R4/include
9331 /usr/include/X11
9332 /usr/include/X11R7
9333 /usr/include/X11R6
9334 /usr/include/X11R5
9335 /usr/include/X11R4
9337 /usr/local/X11/include
9338 /usr/local/X11R7/include
9339 /usr/local/X11R6/include
9340 /usr/local/X11R5/include
9341 /usr/local/X11R4/include
9343 /usr/local/include/X11
9344 /usr/local/include/X11R7
9345 /usr/local/include/X11R6
9346 /usr/local/include/X11R5
9347 /usr/local/include/X11R4
9349 /usr/X386/include
9350 /usr/x386/include
9351 /usr/XFree86/include/X11
9353 /usr/include
9354 /usr/local/include
9355 /usr/unsupported/include
9356 /usr/athena/include
9357 /usr/local/x11r5/include
9358 /usr/lpp/Xamples/include
9360 /usr/openwin/include
9361 /usr/openwin/share/include'
9363 if test "$ac_x_includes" = no; then
9364 # Guess where to find include files, by looking for Xlib.h.
9365 # First, try using that file with no special directory specified.
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9368 #include <X11/Xlib.h>
9369 _ACEOF
9370 if ac_fn_c_try_cpp "$LINENO"; then :
9371 # We can compile using X headers with no special include directory.
9372 ac_x_includes=
9373 else
9374 for ac_dir in $ac_x_header_dirs; do
9375 if test -r "$ac_dir/X11/Xlib.h"; then
9376 ac_x_includes=$ac_dir
9377 break
9379 done
9381 rm -f conftest.err conftest.i conftest.$ac_ext
9382 fi # $ac_x_includes = no
9384 if test "$ac_x_libraries" = no; then
9385 # Check for the libraries.
9386 # See if we find them without any special options.
9387 # Don't add to $LIBS permanently.
9388 ac_save_LIBS=$LIBS
9389 LIBS="-lX11 $LIBS"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9392 #include <X11/Xlib.h>
9394 main ()
9396 XrmInitialize ()
9398 return 0;
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 LIBS=$ac_save_LIBS
9403 # We can link X programs with no special library path.
9404 ac_x_libraries=
9405 else
9406 LIBS=$ac_save_LIBS
9407 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9409 # Don't even attempt the hair of trying to link an X program!
9410 for ac_extension in a so sl dylib la dll; do
9411 if test -r "$ac_dir/libX11.$ac_extension"; then
9412 ac_x_libraries=$ac_dir
9413 break 2
9415 done
9416 done
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 fi # $ac_x_libraries = no
9422 case $ac_x_includes,$ac_x_libraries in #(
9423 no,* | *,no | *\'*)
9424 # Didn't find X, or a directory has "'" in its name.
9425 ac_cv_have_x="have_x=no";; #(
9427 # Record where we found X for the cache.
9428 ac_cv_have_x="have_x=yes\
9429 ac_x_includes='$ac_x_includes'\
9430 ac_x_libraries='$ac_x_libraries'"
9431 esac
9433 ;; #(
9434 *) have_x=yes;;
9435 esac
9436 eval "$ac_cv_have_x"
9437 fi # $with_x != no
9439 if test "$have_x" != yes; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9441 $as_echo "$have_x" >&6; }
9442 no_x=yes
9443 else
9444 # If each of the values was on the command line, it overrides each guess.
9445 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9446 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9447 # Update the cache value to reflect the command line values.
9448 ac_cv_have_x="have_x=yes\
9449 ac_x_includes='$x_includes'\
9450 ac_x_libraries='$x_libraries'"
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9452 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9455 if test "$no_x" = yes; then
9456 # Not all programs may use this symbol, but it does not hurt to define it.
9458 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9460 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9461 else
9462 if test -n "$x_includes"; then
9463 X_CFLAGS="$X_CFLAGS -I$x_includes"
9466 # It would also be nice to do this for all -L options, not just this one.
9467 if test -n "$x_libraries"; then
9468 X_LIBS="$X_LIBS -L$x_libraries"
9469 # For Solaris; some versions of Sun CC require a space after -R and
9470 # others require no space. Words are not sufficient . . . .
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9472 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9473 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9474 ac_xsave_c_werror_flag=$ac_c_werror_flag
9475 ac_c_werror_flag=yes
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9480 main ()
9484 return 0;
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9489 $as_echo "no" >&6; }
9490 X_LIBS="$X_LIBS -R$x_libraries"
9491 else
9492 LIBS="$ac_xsave_LIBS -R $x_libraries"
9493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9497 main ()
9501 return 0;
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9506 $as_echo "yes" >&6; }
9507 X_LIBS="$X_LIBS -R $x_libraries"
9508 else
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9510 $as_echo "neither works" >&6; }
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9515 rm -f core conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 ac_c_werror_flag=$ac_xsave_c_werror_flag
9518 LIBS=$ac_xsave_LIBS
9521 # Check for system-dependent libraries X programs must link with.
9522 # Do this before checking for the system-independent R6 libraries
9523 # (-lICE), since we may need -lsocket or whatever for X linking.
9525 if test "$ISC" = yes; then
9526 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9527 else
9528 # Martyn Johnson says this is needed for Ultrix, if the X
9529 # libraries were built with DECnet support. And Karl Berry says
9530 # the Alpha needs dnet_stub (dnet does not exist).
9531 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9535 /* Override any GCC internal prototype to avoid an error.
9536 Use char because int might match the return type of a GCC
9537 builtin and then its argument prototype would still apply. */
9538 #ifdef __cplusplus
9539 extern "C"
9540 #endif
9541 char XOpenDisplay ();
9543 main ()
9545 return XOpenDisplay ();
9547 return 0;
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9552 else
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9554 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9555 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9556 $as_echo_n "(cached) " >&6
9557 else
9558 ac_check_lib_save_LIBS=$LIBS
9559 LIBS="-ldnet $LIBS"
9560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9566 #ifdef __cplusplus
9567 extern "C"
9568 #endif
9569 char dnet_ntoa ();
9571 main ()
9573 return dnet_ntoa ();
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_lib_dnet_dnet_ntoa=yes
9580 else
9581 ac_cv_lib_dnet_dnet_ntoa=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 LIBS=$ac_check_lib_save_LIBS
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9588 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9589 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9590 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9593 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9595 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9596 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-ldnet_stub $LIBS"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9607 #ifdef __cplusplus
9608 extern "C"
9609 #endif
9610 char dnet_ntoa ();
9612 main ()
9614 return dnet_ntoa ();
9616 return 0;
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9621 else
9622 ac_cv_lib_dnet_stub_dnet_ntoa=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9629 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9630 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9631 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS="$ac_xsave_LIBS"
9640 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9641 # to get the SysV transport functions.
9642 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9643 # needs -lnsl.
9644 # The nsl library prevents programs from opening the X display
9645 # on Irix 5.2, according to T.E. Dickey.
9646 # The functions gethostbyname, getservbyname, and inet_addr are
9647 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9648 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9649 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9653 if test $ac_cv_func_gethostbyname = no; then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9655 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9656 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 ac_check_lib_save_LIBS=$LIBS
9660 LIBS="-lnsl $LIBS"
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9664 /* Override any GCC internal prototype to avoid an error.
9665 Use char because int might match the return type of a GCC
9666 builtin and then its argument prototype would still apply. */
9667 #ifdef __cplusplus
9668 extern "C"
9669 #endif
9670 char gethostbyname ();
9672 main ()
9674 return gethostbyname ();
9676 return 0;
9678 _ACEOF
9679 if ac_fn_c_try_link "$LINENO"; then :
9680 ac_cv_lib_nsl_gethostbyname=yes
9681 else
9682 ac_cv_lib_nsl_gethostbyname=no
9684 rm -f core conftest.err conftest.$ac_objext \
9685 conftest$ac_exeext conftest.$ac_ext
9686 LIBS=$ac_check_lib_save_LIBS
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9689 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9690 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9691 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9694 if test $ac_cv_lib_nsl_gethostbyname = no; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9696 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9697 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9698 $as_echo_n "(cached) " >&6
9699 else
9700 ac_check_lib_save_LIBS=$LIBS
9701 LIBS="-lbsd $LIBS"
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9708 #ifdef __cplusplus
9709 extern "C"
9710 #endif
9711 char gethostbyname ();
9713 main ()
9715 return gethostbyname ();
9717 return 0;
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 ac_cv_lib_bsd_gethostbyname=yes
9722 else
9723 ac_cv_lib_bsd_gethostbyname=no
9725 rm -f core conftest.err conftest.$ac_objext \
9726 conftest$ac_exeext conftest.$ac_ext
9727 LIBS=$ac_check_lib_save_LIBS
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9730 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9731 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9732 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9738 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9739 # socket/setsockopt and other routines are undefined under SCO ODT
9740 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9741 # on later versions), says Simon Leinen: it contains gethostby*
9742 # variants that don't use the name server (or something). -lsocket
9743 # must be given before -lnsl if both are needed. We assume that
9744 # if connect needs -lnsl, so does gethostbyname.
9745 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9746 if test "x$ac_cv_func_connect" = xyes; then :
9750 if test $ac_cv_func_connect = no; then
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9752 $as_echo_n "checking for connect in -lsocket... " >&6; }
9753 if ${ac_cv_lib_socket_connect+:} false; then :
9754 $as_echo_n "(cached) " >&6
9755 else
9756 ac_check_lib_save_LIBS=$LIBS
9757 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9761 /* Override any GCC internal prototype to avoid an error.
9762 Use char because int might match the return type of a GCC
9763 builtin and then its argument prototype would still apply. */
9764 #ifdef __cplusplus
9765 extern "C"
9766 #endif
9767 char connect ();
9769 main ()
9771 return connect ();
9773 return 0;
9775 _ACEOF
9776 if ac_fn_c_try_link "$LINENO"; then :
9777 ac_cv_lib_socket_connect=yes
9778 else
9779 ac_cv_lib_socket_connect=no
9781 rm -f core conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 LIBS=$ac_check_lib_save_LIBS
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9786 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9787 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9788 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9793 # Guillermo Gomez says -lposix is necessary on A/UX.
9794 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9795 if test "x$ac_cv_func_remove" = xyes; then :
9799 if test $ac_cv_func_remove = no; then
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9801 $as_echo_n "checking for remove in -lposix... " >&6; }
9802 if ${ac_cv_lib_posix_remove+:} false; then :
9803 $as_echo_n "(cached) " >&6
9804 else
9805 ac_check_lib_save_LIBS=$LIBS
9806 LIBS="-lposix $LIBS"
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9810 /* Override any GCC internal prototype to avoid an error.
9811 Use char because int might match the return type of a GCC
9812 builtin and then its argument prototype would still apply. */
9813 #ifdef __cplusplus
9814 extern "C"
9815 #endif
9816 char remove ();
9818 main ()
9820 return remove ();
9822 return 0;
9824 _ACEOF
9825 if ac_fn_c_try_link "$LINENO"; then :
9826 ac_cv_lib_posix_remove=yes
9827 else
9828 ac_cv_lib_posix_remove=no
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 LIBS=$ac_check_lib_save_LIBS
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9835 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9836 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9837 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9842 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9843 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9844 if test "x$ac_cv_func_shmat" = xyes; then :
9848 if test $ac_cv_func_shmat = no; then
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9850 $as_echo_n "checking for shmat in -lipc... " >&6; }
9851 if ${ac_cv_lib_ipc_shmat+:} false; then :
9852 $as_echo_n "(cached) " >&6
9853 else
9854 ac_check_lib_save_LIBS=$LIBS
9855 LIBS="-lipc $LIBS"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9862 #ifdef __cplusplus
9863 extern "C"
9864 #endif
9865 char shmat ();
9867 main ()
9869 return shmat ();
9871 return 0;
9873 _ACEOF
9874 if ac_fn_c_try_link "$LINENO"; then :
9875 ac_cv_lib_ipc_shmat=yes
9876 else
9877 ac_cv_lib_ipc_shmat=no
9879 rm -f core conftest.err conftest.$ac_objext \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_lib_save_LIBS
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9884 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9885 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9886 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9892 # Check for libraries that X11R6 Xt/Xaw programs need.
9893 ac_save_LDFLAGS=$LDFLAGS
9894 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9895 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9896 # check for ICE first), but we must link in the order -lSM -lICE or
9897 # we get undefined symbols. So assume we have SM if we have ICE.
9898 # These have to be linked with before -lX11, unlike the other
9899 # libraries we check for below, so use a different variable.
9900 # John Interrante, Karl Berry
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9902 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9903 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9904 $as_echo_n "(cached) " >&6
9905 else
9906 ac_check_lib_save_LIBS=$LIBS
9907 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9911 /* Override any GCC internal prototype to avoid an error.
9912 Use char because int might match the return type of a GCC
9913 builtin and then its argument prototype would still apply. */
9914 #ifdef __cplusplus
9915 extern "C"
9916 #endif
9917 char IceConnectionNumber ();
9919 main ()
9921 return IceConnectionNumber ();
9923 return 0;
9925 _ACEOF
9926 if ac_fn_c_try_link "$LINENO"; then :
9927 ac_cv_lib_ICE_IceConnectionNumber=yes
9928 else
9929 ac_cv_lib_ICE_IceConnectionNumber=no
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 LIBS=$ac_check_lib_save_LIBS
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9936 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9937 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9938 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9941 LDFLAGS=$ac_save_LDFLAGS
9946 if test "$have_x" = "yes"
9947 then
9948 ac_save_CPPFLAGS="$CPPFLAGS"
9949 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9952 $as_echo_n "checking for -lX11... " >&6; }
9953 if ${ac_cv_lib_soname_X11+:} false; then :
9954 $as_echo_n "(cached) " >&6
9955 else
9956 ac_check_soname_save_LIBS=$LIBS
9957 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9961 /* Override any GCC internal prototype to avoid an error.
9962 Use char because int might match the return type of a GCC
9963 builtin and then its argument prototype would still apply. */
9964 #ifdef __cplusplus
9965 extern "C"
9966 #endif
9967 char XCreateWindow ();
9969 main ()
9971 return XCreateWindow ();
9973 return 0;
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 case "$LIBEXT" in
9978 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9979 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'` ;;
9980 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9981 if ${ac_cv_lib_soname_X11:+false} :; then :
9982 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9983 fi ;;
9984 esac
9986 rm -f core conftest.err conftest.$ac_objext \
9987 conftest$ac_exeext conftest.$ac_ext
9988 LIBS=$ac_check_soname_save_LIBS
9990 if ${ac_cv_lib_soname_X11:+false} :; then :
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9992 $as_echo "not found" >&6; }
9994 else
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9996 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9998 cat >>confdefs.h <<_ACEOF
9999 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10000 _ACEOF
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10005 $as_echo_n "checking for -lXext... " >&6; }
10006 if ${ac_cv_lib_soname_Xext+:} false; then :
10007 $as_echo_n "(cached) " >&6
10008 else
10009 ac_check_soname_save_LIBS=$LIBS
10010 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10017 #ifdef __cplusplus
10018 extern "C"
10019 #endif
10020 char XextCreateExtension ();
10022 main ()
10024 return XextCreateExtension ();
10026 return 0;
10028 _ACEOF
10029 if ac_fn_c_try_link "$LINENO"; then :
10030 case "$LIBEXT" in
10031 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10032 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'` ;;
10033 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10034 if ${ac_cv_lib_soname_Xext:+false} :; then :
10035 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10036 fi ;;
10037 esac
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 LIBS=$ac_check_soname_save_LIBS
10043 if ${ac_cv_lib_soname_Xext:+false} :; then :
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10045 $as_echo "not found" >&6; }
10047 else
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10049 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10051 cat >>confdefs.h <<_ACEOF
10052 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10053 _ACEOF
10055 X_LIBS="$X_LIBS -lXext"
10057 X_LIBS="$X_LIBS -lX11"
10059 for ac_header in X11/Xlib.h \
10060 X11/XKBlib.h \
10061 X11/Xutil.h \
10062 X11/Xcursor/Xcursor.h \
10063 X11/extensions/shape.h \
10064 X11/extensions/XInput.h \
10065 X11/extensions/XInput2.h \
10066 X11/extensions/XShm.h \
10067 X11/extensions/Xcomposite.h \
10068 X11/extensions/Xfixes.h \
10069 X11/extensions/Xinerama.h \
10070 X11/extensions/Xrandr.h \
10071 X11/extensions/Xrender.h \
10072 X11/extensions/xf86vmode.h \
10073 X11/extensions/xf86vmproto.h
10074 do :
10075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10076 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10077 # include <X11/Xlib.h>
10078 #endif
10079 #ifdef HAVE_X11_XUTIL_H
10080 # include <X11/Xutil.h>
10081 #endif
10083 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10084 cat >>confdefs.h <<_ACEOF
10085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10086 _ACEOF
10090 done
10093 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10094 then
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10096 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10097 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10098 $as_echo_n "(cached) " >&6
10099 else
10100 ac_check_lib_save_LIBS=$LIBS
10101 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10105 /* Override any GCC internal prototype to avoid an error.
10106 Use char because int might match the return type of a GCC
10107 builtin and then its argument prototype would still apply. */
10108 #ifdef __cplusplus
10109 extern "C"
10110 #endif
10111 char XkbQueryExtension ();
10113 main ()
10115 return XkbQueryExtension ();
10117 return 0;
10119 _ACEOF
10120 if ac_fn_c_try_link "$LINENO"; then :
10121 ac_cv_lib_X11_XkbQueryExtension=yes
10122 else
10123 ac_cv_lib_X11_XkbQueryExtension=no
10125 rm -f core conftest.err conftest.$ac_objext \
10126 conftest$ac_exeext conftest.$ac_ext
10127 LIBS=$ac_check_lib_save_LIBS
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10130 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10131 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10133 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10139 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10140 then
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10142 $as_echo_n "checking for -lXcursor... " >&6; }
10143 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_check_soname_save_LIBS=$LIBS
10147 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10154 #ifdef __cplusplus
10155 extern "C"
10156 #endif
10157 char XcursorImageLoadCursor ();
10159 main ()
10161 return XcursorImageLoadCursor ();
10163 return 0;
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 case "$LIBEXT" in
10168 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10169 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'` ;;
10170 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10171 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10172 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10173 fi ;;
10174 esac
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 LIBS=$ac_check_soname_save_LIBS
10180 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10182 $as_echo "not found" >&6; }
10184 else
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10186 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10188 cat >>confdefs.h <<_ACEOF
10189 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10190 _ACEOF
10195 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10196 case "x$with_xcursor" in
10197 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10198 xno) ;;
10199 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10200 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10201 esac
10205 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10206 then
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10208 $as_echo_n "checking for -lXi... " >&6; }
10209 if ${ac_cv_lib_soname_Xi+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_check_soname_save_LIBS=$LIBS
10213 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10217 /* Override any GCC internal prototype to avoid an error.
10218 Use char because int might match the return type of a GCC
10219 builtin and then its argument prototype would still apply. */
10220 #ifdef __cplusplus
10221 extern "C"
10222 #endif
10223 char XOpenDevice ();
10225 main ()
10227 return XOpenDevice ();
10229 return 0;
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 case "$LIBEXT" in
10234 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10235 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'` ;;
10236 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10237 if ${ac_cv_lib_soname_Xi:+false} :; then :
10238 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10239 fi ;;
10240 esac
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_soname_save_LIBS
10246 if ${ac_cv_lib_soname_Xi:+false} :; then :
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10248 $as_echo "not found" >&6; }
10250 else
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10252 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10254 cat >>confdefs.h <<_ACEOF
10255 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10256 _ACEOF
10261 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10262 case "x$with_xinput" in
10263 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10264 xno) ;;
10265 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10266 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10267 esac
10271 if test "x$ac_cv_lib_soname_Xi" != x
10272 then
10273 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10274 case "x$with_xinput2" in
10275 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10276 xno) ;;
10277 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10278 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10279 esac
10284 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10285 then
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10287 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10288 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10289 $as_echo_n "(cached) " >&6
10290 else
10291 ac_check_lib_save_LIBS=$LIBS
10292 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10296 /* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10299 #ifdef __cplusplus
10300 extern "C"
10301 #endif
10302 char XShmQueryExtension ();
10304 main ()
10306 return XShmQueryExtension ();
10308 return 0;
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 ac_cv_lib_Xext_XShmQueryExtension=yes
10313 else
10314 ac_cv_lib_Xext_XShmQueryExtension=no
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 LIBS=$ac_check_lib_save_LIBS
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10321 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10322 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10324 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10329 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10330 case "x$with_xshm" in
10331 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10332 xno) ;;
10333 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10334 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10335 esac
10339 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10340 then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10342 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10343 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_check_lib_save_LIBS=$LIBS
10347 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10351 /* Override any GCC internal prototype to avoid an error.
10352 Use char because int might match the return type of a GCC
10353 builtin and then its argument prototype would still apply. */
10354 #ifdef __cplusplus
10355 extern "C"
10356 #endif
10357 char XShapeQueryExtension ();
10359 main ()
10361 return XShapeQueryExtension ();
10363 return 0;
10365 _ACEOF
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 ac_cv_lib_Xext_XShapeQueryExtension=yes
10368 else
10369 ac_cv_lib_Xext_XShapeQueryExtension=no
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_lib_save_LIBS
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10376 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10377 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10379 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10384 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10385 case "x$with_xshape" in
10386 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10387 xno) ;;
10388 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10389 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10390 esac
10394 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10395 then
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10397 $as_echo_n "checking for -lXxf86vm... " >&6; }
10398 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10399 $as_echo_n "(cached) " >&6
10400 else
10401 ac_check_soname_save_LIBS=$LIBS
10402 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10406 /* Override any GCC internal prototype to avoid an error.
10407 Use char because int might match the return type of a GCC
10408 builtin and then its argument prototype would still apply. */
10409 #ifdef __cplusplus
10410 extern "C"
10411 #endif
10412 char XF86VidModeQueryExtension ();
10414 main ()
10416 return XF86VidModeQueryExtension ();
10418 return 0;
10420 _ACEOF
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 case "$LIBEXT" in
10423 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10424 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'` ;;
10425 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10426 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10427 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10428 fi ;;
10429 esac
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 LIBS=$ac_check_soname_save_LIBS
10435 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10437 $as_echo "not found" >&6; }
10439 else
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10441 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10443 cat >>confdefs.h <<_ACEOF
10444 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10445 _ACEOF
10450 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10451 case "x$with_xxf86vm" in
10452 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10453 xno) ;;
10454 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10455 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10456 esac
10460 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10461 then
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10463 $as_echo_n "checking for -lXrender... " >&6; }
10464 if ${ac_cv_lib_soname_Xrender+:} false; then :
10465 $as_echo_n "(cached) " >&6
10466 else
10467 ac_check_soname_save_LIBS=$LIBS
10468 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10472 /* Override any GCC internal prototype to avoid an error.
10473 Use char because int might match the return type of a GCC
10474 builtin and then its argument prototype would still apply. */
10475 #ifdef __cplusplus
10476 extern "C"
10477 #endif
10478 char XRenderQueryExtension ();
10480 main ()
10482 return XRenderQueryExtension ();
10484 return 0;
10486 _ACEOF
10487 if ac_fn_c_try_link "$LINENO"; then :
10488 case "$LIBEXT" in
10489 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10490 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'` ;;
10491 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10492 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10493 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10494 fi ;;
10495 esac
10497 rm -f core conftest.err conftest.$ac_objext \
10498 conftest$ac_exeext conftest.$ac_ext
10499 LIBS=$ac_check_soname_save_LIBS
10501 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10503 $as_echo "not found" >&6; }
10505 else
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10507 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10509 cat >>confdefs.h <<_ACEOF
10510 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10511 _ACEOF
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10514 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10515 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_check_lib_save_LIBS=$LIBS
10519 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char XRenderSetPictureTransform ();
10531 main ()
10533 return XRenderSetPictureTransform ();
10535 return 0;
10537 _ACEOF
10538 if ac_fn_c_try_link "$LINENO"; then :
10539 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10540 else
10541 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_lib_save_LIBS
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10548 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10549 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10551 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10556 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10557 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10558 $as_echo_n "(cached) " >&6
10559 else
10560 ac_check_lib_save_LIBS=$LIBS
10561 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10565 /* Override any GCC internal prototype to avoid an error.
10566 Use char because int might match the return type of a GCC
10567 builtin and then its argument prototype would still apply. */
10568 #ifdef __cplusplus
10569 extern "C"
10570 #endif
10571 char XRenderCreateLinearGradient ();
10573 main ()
10575 return XRenderCreateLinearGradient ();
10577 return 0;
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10582 else
10583 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10585 rm -f core conftest.err conftest.$ac_objext \
10586 conftest$ac_exeext conftest.$ac_ext
10587 LIBS=$ac_check_lib_save_LIBS
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10590 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10591 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10593 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10600 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10601 case "x$with_xrender" in
10602 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10603 xno) ;;
10604 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10605 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10606 esac
10610 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10611 then
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10614 #include <X11/Xlib.h>
10615 #include <X11/extensions/Xrandr.h>
10617 main ()
10619 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10621 return 0;
10623 _ACEOF
10624 if ac_fn_c_try_compile "$LINENO"; then :
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10626 $as_echo_n "checking for -lXrandr... " >&6; }
10627 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10628 $as_echo_n "(cached) " >&6
10629 else
10630 ac_check_soname_save_LIBS=$LIBS
10631 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10635 /* Override any GCC internal prototype to avoid an error.
10636 Use char because int might match the return type of a GCC
10637 builtin and then its argument prototype would still apply. */
10638 #ifdef __cplusplus
10639 extern "C"
10640 #endif
10641 char XRRQueryExtension ();
10643 main ()
10645 return XRRQueryExtension ();
10647 return 0;
10649 _ACEOF
10650 if ac_fn_c_try_link "$LINENO"; then :
10651 case "$LIBEXT" in
10652 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10653 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'` ;;
10654 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10655 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10656 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10657 fi ;;
10658 esac
10660 rm -f core conftest.err conftest.$ac_objext \
10661 conftest$ac_exeext conftest.$ac_ext
10662 LIBS=$ac_check_soname_save_LIBS
10664 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10666 $as_echo "not found" >&6; }
10668 else
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10670 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10672 cat >>confdefs.h <<_ACEOF
10673 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10674 _ACEOF
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10678 #include <X11/Xlib.h>
10679 #include <X11/extensions/Xrandr.h>
10681 main ()
10683 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10685 return 0;
10687 _ACEOF
10688 if ac_fn_c_try_compile "$LINENO"; then :
10690 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10698 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10699 case "x$with_xrandr" in
10700 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10701 xno) ;;
10702 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10703 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10704 esac
10708 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10709 then
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10712 #include <X11/Xlib.h>
10713 #include <X11/extensions/Xfixes.h>
10715 main ()
10717 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10719 return 0;
10721 _ACEOF
10722 if ac_fn_c_try_compile "$LINENO"; then :
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10724 $as_echo_n "checking for -lXfixes... " >&6; }
10725 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10726 $as_echo_n "(cached) " >&6
10727 else
10728 ac_check_soname_save_LIBS=$LIBS
10729 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10733 /* Override any GCC internal prototype to avoid an error.
10734 Use char because int might match the return type of a GCC
10735 builtin and then its argument prototype would still apply. */
10736 #ifdef __cplusplus
10737 extern "C"
10738 #endif
10739 char XFixesQueryVersion ();
10741 main ()
10743 return XFixesQueryVersion ();
10745 return 0;
10747 _ACEOF
10748 if ac_fn_c_try_link "$LINENO"; then :
10749 case "$LIBEXT" in
10750 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10751 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'` ;;
10752 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10753 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10754 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10755 fi ;;
10756 esac
10758 rm -f core conftest.err conftest.$ac_objext \
10759 conftest$ac_exeext conftest.$ac_ext
10760 LIBS=$ac_check_soname_save_LIBS
10762 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10764 $as_echo "not found" >&6; }
10766 else
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10768 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10770 cat >>confdefs.h <<_ACEOF
10771 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10772 _ACEOF
10777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10779 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10780 case "x$with_xfixes" in
10781 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10782 xno) ;;
10783 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10784 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10785 esac
10789 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10790 then
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10793 #include <X11/Xlib.h>
10794 #include <X11/extensions/Xinerama.h>
10796 main ()
10798 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10800 return 0;
10802 _ACEOF
10803 if ac_fn_c_try_compile "$LINENO"; then :
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10805 $as_echo_n "checking for -lXinerama... " >&6; }
10806 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10807 $as_echo_n "(cached) " >&6
10808 else
10809 ac_check_soname_save_LIBS=$LIBS
10810 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10817 #ifdef __cplusplus
10818 extern "C"
10819 #endif
10820 char XineramaQueryScreens ();
10822 main ()
10824 return XineramaQueryScreens ();
10826 return 0;
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"; then :
10830 case "$LIBEXT" in
10831 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10832 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'` ;;
10833 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10834 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10835 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10836 fi ;;
10837 esac
10839 rm -f core conftest.err conftest.$ac_objext \
10840 conftest$ac_exeext conftest.$ac_ext
10841 LIBS=$ac_check_soname_save_LIBS
10843 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10845 $as_echo "not found" >&6; }
10847 else
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10849 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10851 cat >>confdefs.h <<_ACEOF
10852 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10853 _ACEOF
10858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10860 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10861 case "x$with_xinerama" in
10862 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10863 xno) ;;
10864 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10865 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10866 esac
10870 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10871 then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10873 $as_echo_n "checking for -lXcomposite... " >&6; }
10874 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 ac_check_soname_save_LIBS=$LIBS
10878 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char XCompositeRedirectWindow ();
10890 main ()
10892 return XCompositeRedirectWindow ();
10894 return 0;
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"; then :
10898 case "$LIBEXT" in
10899 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10900 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'` ;;
10901 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10902 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10903 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10904 fi ;;
10905 esac
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_soname_save_LIBS
10911 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10913 $as_echo "not found" >&6; }
10915 else
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10917 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10919 cat >>confdefs.h <<_ACEOF
10920 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10921 _ACEOF
10926 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10927 case "x$with_xcomposite" in
10928 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10929 xno) ;;
10930 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10931 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10932 esac
10936 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10937 #include <X11/Xlib.h>
10938 #endif
10940 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10942 cat >>confdefs.h <<_ACEOF
10943 #define HAVE_XICCALLBACK_CALLBACK 1
10944 _ACEOF
10948 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10949 #include <X11/Xlib.h>
10950 #endif
10952 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10954 cat >>confdefs.h <<_ACEOF
10955 #define HAVE_XEVENT_XCOOKIE 1
10956 _ACEOF
10963 opengl_msg=""
10964 if test "x$with_opengl" != "xno"
10965 then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10967 $as_echo_n "checking for -lGL... " >&6; }
10968 if ${ac_cv_lib_soname_GL+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 ac_check_soname_save_LIBS=$LIBS
10972 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10979 #ifdef __cplusplus
10980 extern "C"
10981 #endif
10982 char glXCreateContext ();
10984 main ()
10986 return glXCreateContext ();
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 case "$LIBEXT" in
10993 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10994 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'` ;;
10995 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10996 if ${ac_cv_lib_soname_GL:+false} :; then :
10997 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10998 fi ;;
10999 esac
11001 rm -f core conftest.err conftest.$ac_objext \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_soname_save_LIBS
11005 if ${ac_cv_lib_soname_GL:+false} :; then :
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11007 $as_echo "not found" >&6; }
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11009 $as_echo_n "checking for -lGL... " >&6; }
11010 if ${ac_cv_lib_soname_GL+:} false; then :
11011 $as_echo_n "(cached) " >&6
11012 else
11013 ac_check_soname_save_LIBS=$LIBS
11014 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"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char glXCreateContext ();
11026 main ()
11028 return glXCreateContext ();
11030 return 0;
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"; then :
11034 case "$LIBEXT" in
11035 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11036 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'` ;;
11037 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11038 if ${ac_cv_lib_soname_GL:+false} :; then :
11039 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11040 fi ;;
11041 esac
11043 rm -f core conftest.err conftest.$ac_objext \
11044 conftest$ac_exeext conftest.$ac_ext
11045 LIBS=$ac_check_soname_save_LIBS
11047 if ${ac_cv_lib_soname_GL:+false} :; then :
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11049 $as_echo "not found" >&6; }
11050 if test -f /usr/X11R6/lib/libGL.a
11051 then
11052 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11053 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11054 else
11055 opengl_msg="No OpenGL library found on this system."
11057 else
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11059 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11061 cat >>confdefs.h <<_ACEOF
11062 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11063 _ACEOF
11065 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"
11067 else
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11069 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11071 cat >>confdefs.h <<_ACEOF
11072 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11073 _ACEOF
11075 OPENGL_LIBS="-lGL"
11077 if test "x$with_glu" != "xno"
11078 then
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11080 $as_echo_n "checking for -lGLU... " >&6; }
11081 if ${ac_cv_lib_soname_GLU+:} false; then :
11082 $as_echo_n "(cached) " >&6
11083 else
11084 ac_check_soname_save_LIBS=$LIBS
11085 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11089 /* Override any GCC internal prototype to avoid an error.
11090 Use char because int might match the return type of a GCC
11091 builtin and then its argument prototype would still apply. */
11092 #ifdef __cplusplus
11093 extern "C"
11094 #endif
11095 char gluLookAt ();
11097 main ()
11099 return gluLookAt ();
11101 return 0;
11103 _ACEOF
11104 if ac_fn_c_try_link "$LINENO"; then :
11105 case "$LIBEXT" in
11106 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11107 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'` ;;
11108 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11109 if ${ac_cv_lib_soname_GLU:+false} :; then :
11110 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11111 fi ;;
11112 esac
11114 rm -f core conftest.err conftest.$ac_objext \
11115 conftest$ac_exeext conftest.$ac_ext
11116 LIBS=$ac_check_soname_save_LIBS
11118 if ${ac_cv_lib_soname_GLU:+false} :; then :
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11120 $as_echo "not found" >&6; }
11122 else
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11124 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11126 cat >>confdefs.h <<_ACEOF
11127 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11128 _ACEOF
11132 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11133 case "x$with_glu" in
11134 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11135 xno) ;;
11136 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11137 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11138 esac
11143 if test "x$with_osmesa" != "xno"
11144 then
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11146 $as_echo_n "checking for -lOSMesa... " >&6; }
11147 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11148 $as_echo_n "(cached) " >&6
11149 else
11150 ac_check_soname_save_LIBS=$LIBS
11151 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11155 /* Override any GCC internal prototype to avoid an error.
11156 Use char because int might match the return type of a GCC
11157 builtin and then its argument prototype would still apply. */
11158 #ifdef __cplusplus
11159 extern "C"
11160 #endif
11161 char OSMesaGetProcAddress ();
11163 main ()
11165 return OSMesaGetProcAddress ();
11167 return 0;
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"; then :
11171 case "$LIBEXT" in
11172 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11173 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'` ;;
11174 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11175 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11176 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11177 fi ;;
11178 esac
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_soname_save_LIBS
11184 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11186 $as_echo "not found" >&6; }
11188 else
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11190 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11192 cat >>confdefs.h <<_ACEOF
11193 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11194 _ACEOF
11198 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11199 case "x$with_osmesa" in
11200 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11201 xno) ;;
11202 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11203 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11204 esac
11209 if test -n "$opengl_msg"; then :
11210 case "x$with_opengl" in
11211 x) as_fn_append wine_warnings "|$opengl_msg
11212 OpenGL and Direct3D won't be supported." ;;
11213 xno) ;;
11214 *) as_fn_error $? "$opengl_msg
11215 OpenGL and Direct3D won't be supported.
11216 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11217 esac
11221 CPPFLAGS="$ac_save_CPPFLAGS"
11222 else
11223 X_CFLAGS=""
11224 X_LIBS=""
11227 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11228 then
11229 if test "x$X_LIBS" = "x"; then :
11230 case "x$with_x" in
11231 xno) ;;
11232 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11233 without X support, which probably isn't what you want. You will need
11234 to install ${notice_platform}development packages of Xlib at the very least.
11235 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11236 esac
11237 enable_winex11_drv=${enable_winex11_drv:-no}
11239 else
11240 if test "x$X_LIBS" = "x"; then :
11241 case "x$with_x" in
11242 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11243 xno) ;;
11244 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11245 This is an error since --with-x was requested." "$LINENO" 5 ;;
11246 esac
11247 enable_winex11_drv=${enable_winex11_drv:-no}
11251 if test "$ac_cv_header_CL_cl_h" = "yes"
11252 then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11254 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11255 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11256 $as_echo_n "(cached) " >&6
11257 else
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lOpenCL $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char clGetPlatformInfo ();
11271 main ()
11273 return clGetPlatformInfo ();
11275 return 0;
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11280 else
11281 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11283 rm -f core conftest.err conftest.$ac_objext \
11284 conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11288 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11289 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11290 OPENCL_LIBS="-lOpenCL"
11295 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11296 case "x$with_opencl" in
11297 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11298 xno) ;;
11299 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11300 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11301 esac
11302 enable_opencl=${enable_opencl:-no}
11305 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11306 then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11308 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11309 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11310 $as_echo_n "(cached) " >&6
11311 else
11312 ac_check_lib_save_LIBS=$LIBS
11313 LIBS="-lpcap $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char pcap_create ();
11325 main ()
11327 return pcap_create ();
11329 return 0;
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 ac_cv_lib_pcap_pcap_create=yes
11334 else
11335 ac_cv_lib_pcap_pcap_create=no
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11342 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11343 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11344 PCAP_LIBS="-lpcap"
11349 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11350 case "x$with_pcap" in
11351 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11352 xno) ;;
11353 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11354 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11355 esac
11356 enable_wpcap=${enable_wpcap:-no}
11360 if test "x$with_xml" != "xno"
11361 then
11362 if ${XML2_CFLAGS:+false} :; then :
11363 if ${PKG_CONFIG+:} false; then :
11364 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11367 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11368 if ${XML2_LIBS:+false} :; then :
11369 if ${PKG_CONFIG+:} false; then :
11370 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11373 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11374 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11375 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11376 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11377 ac_save_CPPFLAGS=$CPPFLAGS
11378 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11379 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11380 do :
11381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11384 cat >>confdefs.h <<_ACEOF
11385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11386 _ACEOF
11390 done
11392 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
11393 then
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11395 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11396 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_lib_save_LIBS=$LIBS
11400 LIBS="-lxml2 $XML2_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char xmlParseMemory ();
11412 main ()
11414 return xmlParseMemory ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_xml2_xmlParseMemory=yes
11421 else
11422 ac_cv_lib_xml2_xmlParseMemory=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11429 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11430 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11432 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11434 else
11435 XML2_LIBS=""
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11439 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11440 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_lib_save_LIBS=$LIBS
11444 LIBS="-lxml2 $XML2_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char xmlReadMemory ();
11456 main ()
11458 return xmlReadMemory ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 ac_cv_lib_xml2_xmlReadMemory=yes
11465 else
11466 ac_cv_lib_xml2_xmlReadMemory=no
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_lib_save_LIBS
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11473 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11474 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11476 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11481 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11482 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 ac_check_lib_save_LIBS=$LIBS
11486 LIBS="-lxml2 $XML2_LIBS $LIBS"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11493 #ifdef __cplusplus
11494 extern "C"
11495 #endif
11496 char xmlNewDocPI ();
11498 main ()
11500 return xmlNewDocPI ();
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 ac_cv_lib_xml2_xmlNewDocPI=yes
11507 else
11508 ac_cv_lib_xml2_xmlNewDocPI=no
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_lib_save_LIBS
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11515 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11516 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11518 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11523 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11524 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11525 $as_echo_n "(cached) " >&6
11526 else
11527 ac_check_lib_save_LIBS=$LIBS
11528 LIBS="-lxml2 $XML2_LIBS $LIBS"
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char xmlSchemaSetParserStructuredErrors ();
11540 main ()
11542 return xmlSchemaSetParserStructuredErrors ();
11544 return 0;
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"; then :
11548 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11549 else
11550 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11552 rm -f core conftest.err conftest.$ac_objext \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11557 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11558 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11560 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11565 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11566 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11567 $as_echo_n "(cached) " >&6
11568 else
11569 ac_check_lib_save_LIBS=$LIBS
11570 LIBS="-lxml2 $XML2_LIBS $LIBS"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11574 /* Override any GCC internal prototype to avoid an error.
11575 Use char because int might match the return type of a GCC
11576 builtin and then its argument prototype would still apply. */
11577 #ifdef __cplusplus
11578 extern "C"
11579 #endif
11580 char xmlSchemaSetValidStructuredErrors ();
11582 main ()
11584 return xmlSchemaSetValidStructuredErrors ();
11586 return 0;
11588 _ACEOF
11589 if ac_fn_c_try_link "$LINENO"; then :
11590 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11591 else
11592 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11594 rm -f core conftest.err conftest.$ac_objext \
11595 conftest$ac_exeext conftest.$ac_ext
11596 LIBS=$ac_check_lib_save_LIBS
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11599 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11600 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11602 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11607 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11608 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11609 $as_echo_n "(cached) " >&6
11610 else
11611 ac_check_lib_save_LIBS=$LIBS
11612 LIBS="-lxml2 $XML2_LIBS $LIBS"
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11619 #ifdef __cplusplus
11620 extern "C"
11621 #endif
11622 char xmlFirstElementChild ();
11624 main ()
11626 return xmlFirstElementChild ();
11628 return 0;
11630 _ACEOF
11631 if ac_fn_c_try_link "$LINENO"; then :
11632 ac_cv_lib_xml2_xmlFirstElementChild=yes
11633 else
11634 ac_cv_lib_xml2_xmlFirstElementChild=no
11636 rm -f core conftest.err conftest.$ac_objext \
11637 conftest$ac_exeext conftest.$ac_ext
11638 LIBS=$ac_check_lib_save_LIBS
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11641 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11642 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11644 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11648 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11650 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11652 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11656 else
11657 XML2_CFLAGS=""
11658 XML2_LIBS=""
11660 CPPFLAGS=$ac_save_CPPFLAGS
11661 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11662 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11665 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11666 case "x$with_xml" in
11667 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11668 xno) ;;
11669 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11670 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11671 esac
11675 if test "x$with_xslt" != "xno"
11676 then
11677 if ${XSLT_CFLAGS:+false} :; then :
11678 if ${PKG_CONFIG+:} false; then :
11679 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11682 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11683 if ${XSLT_LIBS:+false} :; then :
11684 if ${PKG_CONFIG+:} false; then :
11685 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11688 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11689 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11690 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11691 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11692 ac_save_CPPFLAGS=$CPPFLAGS
11693 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11694 for ac_header in libxslt/pattern.h libxslt/transform.h
11695 do :
11696 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11697 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11698 # include <libxslt/pattern.h>
11699 #endif
11701 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11702 cat >>confdefs.h <<_ACEOF
11703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11704 _ACEOF
11708 done
11710 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11711 then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11713 $as_echo_n "checking for -lxslt... " >&6; }
11714 if ${ac_cv_lib_soname_xslt+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_soname_save_LIBS=$LIBS
11718 LIBS="-lxslt $XSLT_LIBS $LIBS"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char xsltCompilePattern ();
11730 main ()
11732 return xsltCompilePattern ();
11734 return 0;
11736 _ACEOF
11737 if ac_fn_c_try_link "$LINENO"; then :
11738 case "$LIBEXT" in
11739 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11740 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'` ;;
11741 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11742 if ${ac_cv_lib_soname_xslt:+false} :; then :
11743 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11744 fi ;;
11745 esac
11747 rm -f core conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11749 LIBS=$ac_check_soname_save_LIBS
11751 if ${ac_cv_lib_soname_xslt:+false} :; then :
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11753 $as_echo "not found" >&6; }
11755 else
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11757 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11759 cat >>confdefs.h <<_ACEOF
11760 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11761 _ACEOF
11765 else
11766 XSLT_CFLAGS=""
11768 CPPFLAGS=$ac_save_CPPFLAGS
11769 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11770 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11773 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11774 case "x$with_xslt" in
11775 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11776 xno) ;;
11777 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11778 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11779 esac
11783 if test "x$with_dbus" != "xno"
11784 then
11785 if ${DBUS_CFLAGS:+false} :; then :
11786 if ${PKG_CONFIG+:} false; then :
11787 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11791 if ${DBUS_LIBS:+false} :; then :
11792 if ${PKG_CONFIG+:} false; then :
11793 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11798 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11799 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11800 ac_save_CPPFLAGS=$CPPFLAGS
11801 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11802 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11803 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11805 $as_echo_n "checking for -ldbus-1... " >&6; }
11806 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_check_soname_save_LIBS=$LIBS
11810 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11817 #ifdef __cplusplus
11818 extern "C"
11819 #endif
11820 char dbus_connection_close ();
11822 main ()
11824 return dbus_connection_close ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 case "$LIBEXT" in
11831 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11832 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'` ;;
11833 *) 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'`
11834 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11835 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11836 fi ;;
11837 esac
11839 rm -f core conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_soname_save_LIBS
11843 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11845 $as_echo "not found" >&6; }
11846 DBUS_CFLAGS=""
11847 else
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11849 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11851 cat >>confdefs.h <<_ACEOF
11852 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11853 _ACEOF
11857 else
11858 DBUS_CFLAGS=""
11862 CPPFLAGS=$ac_save_CPPFLAGS
11863 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11864 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11867 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11868 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11869 case "x$with_dbus" in
11870 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11871 xno) ;;
11872 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11873 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11874 esac
11878 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11879 then
11880 if ${HAL_CFLAGS:+false} :; then :
11881 if ${PKG_CONFIG+:} false; then :
11882 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11886 if ${HAL_LIBS:+false} :; then :
11887 if ${PKG_CONFIG+:} false; then :
11888 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11892 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11893 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11894 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11895 ac_save_CPPFLAGS=$CPPFLAGS
11896 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11897 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11898 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11900 $as_echo_n "checking for -lhal... " >&6; }
11901 if ${ac_cv_lib_soname_hal+:} false; then :
11902 $as_echo_n "(cached) " >&6
11903 else
11904 ac_check_soname_save_LIBS=$LIBS
11905 LIBS="-lhal $HAL_LIBS $LIBS"
11906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11912 #ifdef __cplusplus
11913 extern "C"
11914 #endif
11915 char libhal_ctx_new ();
11917 main ()
11919 return libhal_ctx_new ();
11921 return 0;
11923 _ACEOF
11924 if ac_fn_c_try_link "$LINENO"; then :
11925 case "$LIBEXT" in
11926 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11927 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'` ;;
11928 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11929 if ${ac_cv_lib_soname_hal:+false} :; then :
11930 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11931 fi ;;
11932 esac
11934 rm -f core conftest.err conftest.$ac_objext \
11935 conftest$ac_exeext conftest.$ac_ext
11936 LIBS=$ac_check_soname_save_LIBS
11938 if ${ac_cv_lib_soname_hal:+false} :; then :
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11940 $as_echo "not found" >&6; }
11941 HAL_CFLAGS=""
11942 else
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11944 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11946 cat >>confdefs.h <<_ACEOF
11947 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11948 _ACEOF
11952 else
11953 HAL_CFLAGS=""
11957 CPPFLAGS=$ac_save_CPPFLAGS
11958 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11959 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11961 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11962 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11963 case "x$with_hal" in
11964 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11965 xno) ;;
11966 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11967 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11968 esac
11973 if test "x$with_gnutls" != "xno"
11974 then
11975 if ${GNUTLS_CFLAGS:+false} :; then :
11976 if ${PKG_CONFIG+:} false; then :
11977 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11981 if ${GNUTLS_LIBS:+false} :; then :
11982 if ${PKG_CONFIG+:} false; then :
11983 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11988 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11989 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11990 ac_save_CPPFLAGS=$CPPFLAGS
11991 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11992 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11993 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11996 #include <gnutls/gnutls.h>
11997 #include <gnutls/crypto.h>
11999 main ()
12001 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12003 return 0;
12005 _ACEOF
12006 if ac_fn_c_try_compile "$LINENO"; then :
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12008 $as_echo_n "checking for -lgnutls... " >&6; }
12009 if ${ac_cv_lib_soname_gnutls+:} false; then :
12010 $as_echo_n "(cached) " >&6
12011 else
12012 ac_check_soname_save_LIBS=$LIBS
12013 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12020 #ifdef __cplusplus
12021 extern "C"
12022 #endif
12023 char gnutls_global_init ();
12025 main ()
12027 return gnutls_global_init ();
12029 return 0;
12031 _ACEOF
12032 if ac_fn_c_try_link "$LINENO"; then :
12033 case "$LIBEXT" in
12034 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12035 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'` ;;
12036 *) 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'`
12037 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12038 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'`
12039 fi ;;
12040 esac
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_soname_save_LIBS
12046 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12048 $as_echo "not found" >&6; }
12049 GNUTLS_CFLAGS=""
12050 else
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12052 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12054 cat >>confdefs.h <<_ACEOF
12055 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12056 _ACEOF
12060 ac_wine_check_funcs_save_LIBS="$LIBS"
12061 LIBS="$LIBS $GNUTLS_LIBS"
12062 for ac_func in gnutls_cipher_init
12063 do :
12064 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12065 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12066 cat >>confdefs.h <<_ACEOF
12067 #define HAVE_GNUTLS_CIPHER_INIT 1
12068 _ACEOF
12070 else
12071 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12073 done
12075 LIBS="$ac_wine_check_funcs_save_LIBS"
12077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12078 else
12079 GNUTLS_CFLAGS=""
12083 CPPFLAGS=$ac_save_CPPFLAGS
12084 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12085 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12088 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12089 case "x$with_gnutls" in
12090 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12091 xno) ;;
12092 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12093 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12094 esac
12098 CURSES_LIBS=""
12099 if test "$ac_cv_header_ncurses_h" = "yes"
12100 then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12102 $as_echo_n "checking for -lncurses... " >&6; }
12103 if ${ac_cv_lib_soname_ncurses+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_soname_save_LIBS=$LIBS
12107 LIBS="-lncurses $LIBS"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12114 #ifdef __cplusplus
12115 extern "C"
12116 #endif
12117 char waddch ();
12119 main ()
12121 return waddch ();
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"; then :
12127 case "$LIBEXT" in
12128 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12129 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'` ;;
12130 *) 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'`
12131 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12132 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12133 fi ;;
12134 esac
12136 rm -f core conftest.err conftest.$ac_objext \
12137 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_soname_save_LIBS
12140 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12142 $as_echo "not found" >&6; }
12144 else
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12146 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12148 cat >>confdefs.h <<_ACEOF
12149 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12150 _ACEOF
12152 CURSES_LIBS="-lncurses"
12154 elif test "$ac_cv_header_curses_h" = "yes"
12155 then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12157 $as_echo_n "checking for -lcurses... " >&6; }
12158 if ${ac_cv_lib_soname_curses+:} false; then :
12159 $as_echo_n "(cached) " >&6
12160 else
12161 ac_check_soname_save_LIBS=$LIBS
12162 LIBS="-lcurses $LIBS"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12169 #ifdef __cplusplus
12170 extern "C"
12171 #endif
12172 char waddch ();
12174 main ()
12176 return waddch ();
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"; then :
12182 case "$LIBEXT" in
12183 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12184 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'` ;;
12185 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12186 if ${ac_cv_lib_soname_curses:+false} :; then :
12187 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12188 fi ;;
12189 esac
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_soname_save_LIBS
12195 if ${ac_cv_lib_soname_curses:+false} :; then :
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12197 $as_echo "not found" >&6; }
12199 else
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12201 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12203 cat >>confdefs.h <<_ACEOF
12204 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12205 _ACEOF
12207 CURSES_LIBS="-lcurses"
12210 ac_save_LIBS="$LIBS"
12211 LIBS="$LIBS $CURSES_LIBS"
12212 for ac_func in mousemask
12213 do :
12214 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12215 if test "x$ac_cv_func_mousemask" = xyes; then :
12216 cat >>confdefs.h <<_ACEOF
12217 #define HAVE_MOUSEMASK 1
12218 _ACEOF
12221 done
12223 LIBS="$ac_save_LIBS"
12224 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12225 case "x$with_curses" in
12226 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12227 xno) ;;
12228 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12229 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12230 esac
12234 if test "x$with_sane" != "xno"
12235 then
12236 if ${SANE_CFLAGS:+false} :; then :
12237 if ${PKG_CONFIG+:} false; then :
12238 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12241 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12242 if ${SANE_LIBS:+false} :; then :
12243 if ${PKG_CONFIG+:} false; then :
12244 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12247 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12249 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12250 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12251 ac_save_CPPFLAGS=$CPPFLAGS
12252 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12253 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12254 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12256 $as_echo_n "checking for -lsane... " >&6; }
12257 if ${ac_cv_lib_soname_sane+:} false; then :
12258 $as_echo_n "(cached) " >&6
12259 else
12260 ac_check_soname_save_LIBS=$LIBS
12261 LIBS="-lsane $SANE_LIBS $LIBS"
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12268 #ifdef __cplusplus
12269 extern "C"
12270 #endif
12271 char sane_init ();
12273 main ()
12275 return sane_init ();
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_link "$LINENO"; then :
12281 case "$LIBEXT" in
12282 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12283 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'` ;;
12284 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12285 if ${ac_cv_lib_soname_sane:+false} :; then :
12286 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12287 fi ;;
12288 esac
12290 rm -f core conftest.err conftest.$ac_objext \
12291 conftest$ac_exeext conftest.$ac_ext
12292 LIBS=$ac_check_soname_save_LIBS
12294 if ${ac_cv_lib_soname_sane:+false} :; then :
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12296 $as_echo "not found" >&6; }
12297 SANE_CFLAGS=""
12298 else
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12300 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12302 cat >>confdefs.h <<_ACEOF
12303 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12304 _ACEOF
12308 else
12309 SANE_CFLAGS=""
12313 CPPFLAGS=$ac_save_CPPFLAGS
12314 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12315 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12318 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12319 case "x$with_sane" in
12320 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12321 xno) ;;
12322 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12323 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12324 esac
12328 if test "x$with_v4l" != "xno"
12329 then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12331 $as_echo_n "checking for -lv4l1... " >&6; }
12332 if ${ac_cv_lib_soname_v4l1+:} false; then :
12333 $as_echo_n "(cached) " >&6
12334 else
12335 ac_check_soname_save_LIBS=$LIBS
12336 LIBS="-lv4l1 $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12343 #ifdef __cplusplus
12344 extern "C"
12345 #endif
12346 char v4l1_open ();
12348 main ()
12350 return v4l1_open ();
12352 return 0;
12354 _ACEOF
12355 if ac_fn_c_try_link "$LINENO"; then :
12356 case "$LIBEXT" in
12357 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12358 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'` ;;
12359 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12360 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12361 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12362 fi ;;
12363 esac
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LIBS=$ac_check_soname_save_LIBS
12369 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12371 $as_echo "not found" >&6; }
12373 else
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12375 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12377 cat >>confdefs.h <<_ACEOF
12378 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12379 _ACEOF
12384 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12385 case "x$with_v4l" in
12386 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12387 xno) ;;
12388 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12389 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12390 esac
12394 if test "x$with_gphoto" != "xno"
12395 then
12396 if ${GPHOTO2_CFLAGS:+false} :; then :
12397 if ${PKG_CONFIG+:} false; then :
12398 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12401 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12402 if ${GPHOTO2_LIBS:+false} :; then :
12403 if ${PKG_CONFIG+:} false; then :
12404 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12407 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12408 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12409 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12410 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12411 ac_save_CPPFLAGS=$CPPFLAGS
12412 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12413 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12414 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12416 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12417 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12418 $as_echo_n "(cached) " >&6
12419 else
12420 ac_check_lib_save_LIBS=$LIBS
12421 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 char gp_camera_new ();
12433 main ()
12435 return gp_camera_new ();
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 ac_cv_lib_gphoto2_gp_camera_new=yes
12442 else
12443 ac_cv_lib_gphoto2_gp_camera_new=no
12445 rm -f core conftest.err conftest.$ac_objext \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_lib_save_LIBS
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12450 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12451 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12453 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12455 else
12456 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12459 else
12460 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12464 CPPFLAGS=$ac_save_CPPFLAGS
12465 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12466 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12468 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12469 if ${PKG_CONFIG+:} false; then :
12470 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12473 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12474 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12475 if ${PKG_CONFIG+:} false; then :
12476 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12479 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12480 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12481 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12482 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12483 ac_save_CPPFLAGS=$CPPFLAGS
12484 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12485 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12486 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12488 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12489 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 ac_check_lib_save_LIBS=$LIBS
12493 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12500 #ifdef __cplusplus
12501 extern "C"
12502 #endif
12503 char gp_port_info_list_new ();
12505 main ()
12507 return gp_port_info_list_new ();
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12514 else
12515 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 LIBS=$ac_check_lib_save_LIBS
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12522 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12523 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12525 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12527 else
12528 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12531 else
12532 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12536 CPPFLAGS=$ac_save_CPPFLAGS
12537 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12538 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12541 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12542 case "x$with_gphoto" in
12543 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12544 xno) ;;
12545 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12546 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12547 esac
12550 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12551 case "x$with_gphoto" in
12552 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12553 xno) ;;
12554 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12555 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12556 esac
12561 if test "$ac_cv_header_resolv_h" = "yes"
12562 then
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12564 $as_echo_n "checking for resolver library... " >&6; }
12565 if ${ac_cv_have_resolv+:} false; then :
12566 $as_echo_n "(cached) " >&6
12567 else
12568 ac_save_LIBS="$LIBS"
12569 for lib in '' -lresolv
12571 LIBS="$lib $ac_save_LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12574 #ifdef HAVE_NETINET_IN_H
12575 #include <netinet/in.h>
12576 #endif
12577 #include <resolv.h>
12579 main ()
12581 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12583 return 0;
12585 _ACEOF
12586 if ac_fn_c_try_link "$LINENO"; then :
12587 ac_cv_have_resolv=${lib:-"none required"}
12588 else
12589 ac_cv_have_resolv="not found"
12591 rm -f core conftest.err conftest.$ac_objext \
12592 conftest$ac_exeext conftest.$ac_ext
12593 test "x$ac_cv_have_resolv" = "xnot found" || break
12594 done
12595 LIBS="$ac_save_LIBS"
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12598 $as_echo "$ac_cv_have_resolv" >&6; }
12600 case "$ac_cv_have_resolv" in
12601 "not found") ;;
12602 "none required")
12604 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12607 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12609 RESOLV_LIBS=$ac_cv_have_resolv
12611 esac
12614 if test "x$with_cms" != "xno"
12615 then
12616 if ${LCMS2_CFLAGS:+false} :; then :
12617 if ${PKG_CONFIG+:} false; then :
12618 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12622 if ${LCMS2_LIBS:+false} :; then :
12623 if ${PKG_CONFIG+:} false; then :
12624 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12628 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12629 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12630 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12631 ac_save_CPPFLAGS=$CPPFLAGS
12632 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12633 for ac_header in lcms2.h
12634 do :
12635 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12636 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12637 cat >>confdefs.h <<_ACEOF
12638 #define HAVE_LCMS2_H 1
12639 _ACEOF
12643 done
12645 if test "$ac_cv_header_lcms2_h" = "yes"
12646 then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12648 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12649 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12650 $as_echo_n "(cached) " >&6
12651 else
12652 ac_check_lib_save_LIBS=$LIBS
12653 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12660 #ifdef __cplusplus
12661 extern "C"
12662 #endif
12663 char cmsOpenProfileFromFile ();
12665 main ()
12667 return cmsOpenProfileFromFile ();
12669 return 0;
12671 _ACEOF
12672 if ac_fn_c_try_link "$LINENO"; then :
12673 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12674 else
12675 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12677 rm -f core conftest.err conftest.$ac_objext \
12678 conftest$ac_exeext conftest.$ac_ext
12679 LIBS=$ac_check_lib_save_LIBS
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12682 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12683 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12685 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12687 else
12688 LCMS2_LIBS=""
12691 else
12692 LCMS2_CFLAGS=""
12693 LCMS2_LIBS=""
12695 CPPFLAGS=$ac_save_CPPFLAGS
12696 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12697 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12700 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12701 case "x$with_cms" in
12702 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12703 xno) ;;
12704 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12705 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12706 esac
12710 if test "x$with_freetype" != "xno"
12711 then
12712 if ${FREETYPE_CFLAGS:+false} :; then :
12713 if ${PKG_CONFIG+:} false; then :
12714 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12717 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12718 if ${FREETYPE_LIBS:+false} :; then :
12719 if ${PKG_CONFIG+:} false; then :
12720 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12723 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12724 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12725 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12726 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12727 ac_save_CPPFLAGS=$CPPFLAGS
12728 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12729 for ac_header in ft2build.h
12730 do :
12731 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12732 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12733 cat >>confdefs.h <<_ACEOF
12734 #define HAVE_FT2BUILD_H 1
12735 _ACEOF
12739 done
12741 if test "$ac_cv_header_ft2build_h" = "yes"
12742 then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12744 $as_echo_n "checking for -lfreetype... " >&6; }
12745 if ${ac_cv_lib_soname_freetype+:} false; then :
12746 $as_echo_n "(cached) " >&6
12747 else
12748 ac_check_soname_save_LIBS=$LIBS
12749 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 /* Override any GCC internal prototype to avoid an error.
12754 Use char because int might match the return type of a GCC
12755 builtin and then its argument prototype would still apply. */
12756 #ifdef __cplusplus
12757 extern "C"
12758 #endif
12759 char FT_Init_FreeType ();
12761 main ()
12763 return FT_Init_FreeType ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"; then :
12769 case "$LIBEXT" in
12770 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12771 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'` ;;
12772 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12773 if ${ac_cv_lib_soname_freetype:+false} :; then :
12774 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12775 fi ;;
12776 esac
12778 rm -f core conftest.err conftest.$ac_objext \
12779 conftest$ac_exeext conftest.$ac_ext
12780 LIBS=$ac_check_soname_save_LIBS
12782 if ${ac_cv_lib_soname_freetype:+false} :; then :
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12784 $as_echo "not found" >&6; }
12785 FREETYPE_LIBS=""
12786 else
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12788 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12790 cat >>confdefs.h <<_ACEOF
12791 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12792 _ACEOF
12795 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12797 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12798 #include FT_MODULE_H
12800 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12802 cat >>confdefs.h <<_ACEOF
12803 #define HAVE_FT_TRUETYPEENGINETYPE 1
12804 _ACEOF
12810 else
12811 FREETYPE_CFLAGS=""
12812 FREETYPE_LIBS=""
12814 CPPFLAGS=$ac_save_CPPFLAGS
12815 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12816 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12819 if test "x$ac_cv_lib_soname_freetype" = x; then :
12820 case "x$with_freetype" in
12821 xno) ;;
12822 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12823 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12824 esac
12825 enable_fonts=${enable_fonts:-no}
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12829 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12830 if ${ac_cv_c_ppdev+:} false; then :
12831 $as_echo_n "(cached) " >&6
12832 else
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12835 #ifdef HAVE_SYS_IOCTL_H
12836 # include <sys/ioctl.h>
12837 #endif
12838 #include <linux/ppdev.h>
12840 main ()
12842 ioctl (1,PPCLAIM,0)
12844 return 0;
12846 _ACEOF
12847 if ac_fn_c_try_compile "$LINENO"; then :
12848 ac_cv_c_ppdev="yes"
12849 else
12850 ac_cv_c_ppdev="no"
12852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12855 $as_echo "$ac_cv_c_ppdev" >&6; }
12856 if test "$ac_cv_c_ppdev" = "yes"
12857 then
12859 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12863 ac_wine_check_funcs_save_LIBS="$LIBS"
12864 LIBS="$LIBS $PTHREAD_LIBS"
12865 for ac_func in \
12866 pthread_attr_get_np \
12867 pthread_getattr_np \
12868 pthread_getthreadid_np \
12869 pthread_get_stackaddr_np \
12870 pthread_get_stacksize_np
12871 do :
12872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12874 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12875 cat >>confdefs.h <<_ACEOF
12876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12877 _ACEOF
12880 done
12882 LIBS="$ac_wine_check_funcs_save_LIBS"
12884 if test "$ac_cv_header_zlib_h" = "yes"
12885 then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12887 $as_echo_n "checking for inflate in -lz... " >&6; }
12888 if ${ac_cv_lib_z_inflate+:} false; then :
12889 $as_echo_n "(cached) " >&6
12890 else
12891 ac_check_lib_save_LIBS=$LIBS
12892 LIBS="-lz $LIBS"
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12899 #ifdef __cplusplus
12900 extern "C"
12901 #endif
12902 char inflate ();
12904 main ()
12906 return inflate ();
12908 return 0;
12910 _ACEOF
12911 if ac_fn_c_try_link "$LINENO"; then :
12912 ac_cv_lib_z_inflate=yes
12913 else
12914 ac_cv_lib_z_inflate=no
12916 rm -f core conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12918 LIBS=$ac_check_lib_save_LIBS
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12921 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12922 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12924 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12926 Z_LIBS="-lz"
12931 if test "x$Z_LIBS" = "x"; then :
12932 case "x$with_zlib" in
12933 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12934 xno) ;;
12935 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12936 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12937 esac
12941 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12942 then
12943 if test "$ac_cv_header_gettext_po_h" = "yes"
12944 then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12946 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12947 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12948 $as_echo_n "(cached) " >&6
12949 else
12950 ac_check_lib_save_LIBS=$LIBS
12951 LIBS="-lgettextpo $LIBS"
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 /* Override any GCC internal prototype to avoid an error.
12956 Use char because int might match the return type of a GCC
12957 builtin and then its argument prototype would still apply. */
12958 #ifdef __cplusplus
12959 extern "C"
12960 #endif
12961 char po_message_msgctxt ();
12963 main ()
12965 return po_message_msgctxt ();
12967 return 0;
12969 _ACEOF
12970 if ac_fn_c_try_link "$LINENO"; then :
12971 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12972 else
12973 ac_cv_lib_gettextpo_po_message_msgctxt=no
12975 rm -f core conftest.err conftest.$ac_objext \
12976 conftest$ac_exeext conftest.$ac_ext
12977 LIBS=$ac_check_lib_save_LIBS
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12980 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12981 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12983 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12985 GETTEXTPO_LIBS="-lgettextpo"
12990 if test "x$GETTEXTPO_LIBS" = "x"; then :
12991 case "x$with_gettextpo" in
12992 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12993 xno) ;;
12994 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12995 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12996 esac
12999 if test "$srcdir" != .; then :
13000 case "x$with_gettextpo" in
13001 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13002 xno) ;;
13003 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13004 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13005 esac
13010 if test "x$with_pulse" != "xno";
13011 then
13012 if ${PULSE_CFLAGS:+false} :; then :
13013 if ${PKG_CONFIG+:} false; then :
13014 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13018 if ${PULSE_LIBS:+false} :; then :
13019 if ${PKG_CONFIG+:} false; then :
13020 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13025 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13026 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13027 ac_save_CPPFLAGS=$CPPFLAGS
13028 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13029 for ac_header in pulse/pulseaudio.h
13030 do :
13031 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13032 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13033 cat >>confdefs.h <<_ACEOF
13034 #define HAVE_PULSE_PULSEAUDIO_H 1
13035 _ACEOF
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13037 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13038 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13039 $as_echo_n "(cached) " >&6
13040 else
13041 ac_check_lib_save_LIBS=$LIBS
13042 LIBS="-lpulse $PULSE_LIBS $LIBS"
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 /* Override any GCC internal prototype to avoid an error.
13047 Use char because int might match the return type of a GCC
13048 builtin and then its argument prototype would still apply. */
13049 #ifdef __cplusplus
13050 extern "C"
13051 #endif
13052 char pa_stream_is_corked ();
13054 main ()
13056 return pa_stream_is_corked ();
13058 return 0;
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"; then :
13062 ac_cv_lib_pulse_pa_stream_is_corked=yes
13063 else
13064 ac_cv_lib_pulse_pa_stream_is_corked=no
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13068 LIBS=$ac_check_lib_save_LIBS
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13071 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13072 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13074 else
13075 PULSE_LIBS=""
13078 else
13079 PULSE_LIBS=""
13082 done
13084 CPPFLAGS=$ac_save_CPPFLAGS
13085 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13086 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13089 if test -z "$PULSE_LIBS"; then :
13090 case "x$with_pulse" in
13091 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13092 xno) ;;
13093 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13094 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13095 esac
13096 enable_winepulse_drv=${enable_winepulse_drv:-no}
13099 if test "x$with_gstreamer" != "xno"
13100 then
13101 if ${GSTREAMER_CFLAGS:+false} :; then :
13102 if ${PKG_CONFIG+:} false; then :
13103 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13107 if ${GSTREAMER_LIBS:+false} :; then :
13108 if ${PKG_CONFIG+:} false; then :
13109 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13114 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13115 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13116 ac_save_CPPFLAGS=$CPPFLAGS
13117 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13118 ac_gst_incl=""
13119 for i in $GSTREAMER_CFLAGS
13121 case "$i" in
13122 -I*) ac_gst_incl="$ac_gst_incl $i";;
13123 esac
13124 done
13125 GSTREAMER_CFLAGS=$ac_gst_incl
13126 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13127 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13128 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13130 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13132 /* end confdefs.h. */
13133 #include <gst/gst.h>
13135 main ()
13137 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13139 return 0;
13141 _ACEOF
13142 if ac_fn_c_try_compile "$LINENO"; then :
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13144 $as_echo "yes" >&6; }
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13146 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13147 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13148 $as_echo_n "(cached) " >&6
13149 else
13150 ac_check_lib_save_LIBS=$LIBS
13151 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 #ifdef __cplusplus
13159 extern "C"
13160 #endif
13161 char gst_pad_new ();
13163 main ()
13165 return gst_pad_new ();
13167 return 0;
13169 _ACEOF
13170 if ac_fn_c_try_link "$LINENO"; then :
13171 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13172 else
13173 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13175 rm -f core conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_lib_save_LIBS
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13180 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13181 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13185 else
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187 $as_echo "no" >&6; }
13188 ac_glib2_broken=yes
13189 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13195 CPPFLAGS=$ac_save_CPPFLAGS
13196 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13197 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13200 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 :
13201 case "x$with_gstreamer" in
13202 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13203 xno) ;;
13204 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13205 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13206 esac
13209 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13211 ALSA_LIBS=""
13213 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13214 then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13216 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13217 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13218 $as_echo_n "(cached) " >&6
13219 else
13220 ac_check_lib_save_LIBS=$LIBS
13221 LIBS="-lasound $LIBS"
13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13223 /* end confdefs.h. */
13225 /* Override any GCC internal prototype to avoid an error.
13226 Use char because int might match the return type of a GCC
13227 builtin and then its argument prototype would still apply. */
13228 #ifdef __cplusplus
13229 extern "C"
13230 #endif
13231 char snd_pcm_hw_params_get_access_mask ();
13233 main ()
13235 return snd_pcm_hw_params_get_access_mask ();
13237 return 0;
13239 _ACEOF
13240 if ac_fn_c_try_link "$LINENO"; then :
13241 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13242 else
13243 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13245 rm -f core conftest.err conftest.$ac_objext \
13246 conftest$ac_exeext conftest.$ac_ext
13247 LIBS=$ac_check_lib_save_LIBS
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13250 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13251 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13254 #ifdef HAVE_ALSA_ASOUNDLIB_H
13255 #include <alsa/asoundlib.h>
13256 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13257 #include <sys/asoundlib.h>
13258 #endif
13260 main ()
13262 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13264 return 0;
13266 _ACEOF
13267 if ac_fn_c_try_compile "$LINENO"; then :
13268 ALSA_LIBS="-lasound"
13270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13274 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13276 if test "x$with_oss" != xno
13277 then
13278 ac_save_CPPFLAGS="$CPPFLAGS"
13279 if test -f /etc/oss.conf
13280 then
13281 . /etc/oss.conf
13283 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13284 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13285 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13286 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13287 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13289 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13291 cat >>confdefs.h <<_ACEOF
13292 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13293 _ACEOF
13295 OSS4_CFLAGS="$ac_oss_incl"
13302 CPPFLAGS="$ac_save_CPPFLAGS"
13304 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13305 case "x$with_oss" in
13306 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13307 xno) ;;
13308 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13309 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13310 esac
13311 enable_wineoss_drv=${enable_wineoss_drv:-no}
13314 if test "x$with_udev" != "xno"
13315 then
13316 if ${UDEV_CFLAGS:+false} :; then :
13317 if ${PKG_CONFIG+:} false; then :
13318 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13322 if ${UDEV_LIBS:+false} :; then :
13323 if ${PKG_CONFIG+:} false; then :
13324 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13328 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13329 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13330 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13331 ac_save_CPPFLAGS=$CPPFLAGS
13332 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13333 for ac_header in libudev.h
13334 do :
13335 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13336 if test "x$ac_cv_header_libudev_h" = xyes; then :
13337 cat >>confdefs.h <<_ACEOF
13338 #define HAVE_LIBUDEV_H 1
13339 _ACEOF
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13341 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13342 if ${ac_cv_lib_udev_udev_new+:} false; then :
13343 $as_echo_n "(cached) " >&6
13344 else
13345 ac_check_lib_save_LIBS=$LIBS
13346 LIBS="-ludev $UDEV_LIBS $LIBS"
13347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13353 #ifdef __cplusplus
13354 extern "C"
13355 #endif
13356 char udev_new ();
13358 main ()
13360 return udev_new ();
13362 return 0;
13364 _ACEOF
13365 if ac_fn_c_try_link "$LINENO"; then :
13366 ac_cv_lib_udev_udev_new=yes
13367 else
13368 ac_cv_lib_udev_udev_new=no
13370 rm -f core conftest.err conftest.$ac_objext \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13375 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13376 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13378 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13380 else
13381 UDEV_LIBS=""
13384 else
13385 UDEV_LIBS=""
13388 done
13390 CPPFLAGS=$ac_save_CPPFLAGS
13391 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13392 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13395 if test "x$UDEV_LIBS" = "x"; then :
13396 case "x$with_udev" in
13397 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13398 xno) ;;
13399 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13400 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13401 esac
13405 if test "x$with_capi" != "xno"
13406 then
13407 if ${CAPI20_CFLAGS:+false} :; then :
13408 if ${PKG_CONFIG+:} false; then :
13409 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13413 if ${CAPI20_LIBS:+false} :; then :
13414 if ${PKG_CONFIG+:} false; then :
13415 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13420 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13421 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13422 ac_save_CPPFLAGS=$CPPFLAGS
13423 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13424 for ac_header in capi20.h linux/capi.h
13425 do :
13426 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13427 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13429 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13430 cat >>confdefs.h <<_ACEOF
13431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13432 _ACEOF
13436 done
13438 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13439 then
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13441 $as_echo_n "checking for -lcapi20... " >&6; }
13442 if ${ac_cv_lib_soname_capi20+:} false; then :
13443 $as_echo_n "(cached) " >&6
13444 else
13445 ac_check_soname_save_LIBS=$LIBS
13446 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 /* Override any GCC internal prototype to avoid an error.
13451 Use char because int might match the return type of a GCC
13452 builtin and then its argument prototype would still apply. */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 char capi20_register ();
13458 main ()
13460 return capi20_register ();
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_link "$LINENO"; then :
13466 case "$LIBEXT" in
13467 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13468 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'` ;;
13469 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13470 if ${ac_cv_lib_soname_capi20:+false} :; then :
13471 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13472 fi ;;
13473 esac
13475 rm -f core conftest.err conftest.$ac_objext \
13476 conftest$ac_exeext conftest.$ac_ext
13477 LIBS=$ac_check_soname_save_LIBS
13479 if ${ac_cv_lib_soname_capi20:+false} :; then :
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13481 $as_echo "not found" >&6; }
13483 else
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13485 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13487 cat >>confdefs.h <<_ACEOF
13488 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13489 _ACEOF
13494 CPPFLAGS=$ac_save_CPPFLAGS
13495 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13496 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13499 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13500 case "x$with_capi" in
13501 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13502 xno) ;;
13503 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13504 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13505 esac
13509 if test "x$with_cups" != "xno"
13510 then
13511 if ${CUPS_CFLAGS:+false} :; then :
13512 if ${PKG_CONFIG+:} false; then :
13513 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13516 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13517 if ${CUPS_LIBS:+false} :; then :
13518 if ${PKG_CONFIG+:} false; then :
13519 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13522 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13523 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13524 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13525 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13526 ac_save_CPPFLAGS=$CPPFLAGS
13527 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13528 for ac_header in cups/cups.h cups/ppd.h
13529 do :
13530 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13531 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13532 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13533 cat >>confdefs.h <<_ACEOF
13534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13535 _ACEOF
13539 done
13541 if test "$ac_cv_header_cups_cups_h" = "yes"
13542 then
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13544 $as_echo_n "checking for -lcups... " >&6; }
13545 if ${ac_cv_lib_soname_cups+:} false; then :
13546 $as_echo_n "(cached) " >&6
13547 else
13548 ac_check_soname_save_LIBS=$LIBS
13549 LIBS="-lcups $CUPS_LIBS $LIBS"
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13556 #ifdef __cplusplus
13557 extern "C"
13558 #endif
13559 char cupsGetDefault ();
13561 main ()
13563 return cupsGetDefault ();
13565 return 0;
13567 _ACEOF
13568 if ac_fn_c_try_link "$LINENO"; then :
13569 case "$LIBEXT" in
13570 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13571 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'` ;;
13572 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13573 if ${ac_cv_lib_soname_cups:+false} :; then :
13574 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13575 fi ;;
13576 esac
13578 rm -f core conftest.err conftest.$ac_objext \
13579 conftest$ac_exeext conftest.$ac_ext
13580 LIBS=$ac_check_soname_save_LIBS
13582 if ${ac_cv_lib_soname_cups:+false} :; then :
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13584 $as_echo "not found" >&6; }
13585 CUPS_LIBS=""
13586 else
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13588 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13590 cat >>confdefs.h <<_ACEOF
13591 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13592 _ACEOF
13596 else
13597 CUPS_CFLAGS=""
13598 CUPS_LIBS=""
13600 CPPFLAGS=$ac_save_CPPFLAGS
13601 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13602 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13605 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13606 case "x$with_cups" in
13607 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13608 xno) ;;
13609 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13610 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13611 esac
13615 if test "x$with_fontconfig" != "xno"
13616 then
13617 if ${FONTCONFIG_CFLAGS:+false} :; then :
13618 if ${PKG_CONFIG+:} false; then :
13619 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13622 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13623 if ${FONTCONFIG_LIBS:+false} :; then :
13624 if ${PKG_CONFIG+:} false; then :
13625 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13628 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13630 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13631 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13632 ac_save_CPPFLAGS=$CPPFLAGS
13633 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13634 for ac_header in fontconfig/fontconfig.h
13635 do :
13636 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13637 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13638 cat >>confdefs.h <<_ACEOF
13639 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13640 _ACEOF
13644 done
13646 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13647 then
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13649 $as_echo_n "checking for -lfontconfig... " >&6; }
13650 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13651 $as_echo_n "(cached) " >&6
13652 else
13653 ac_check_soname_save_LIBS=$LIBS
13654 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13658 /* Override any GCC internal prototype to avoid an error.
13659 Use char because int might match the return type of a GCC
13660 builtin and then its argument prototype would still apply. */
13661 #ifdef __cplusplus
13662 extern "C"
13663 #endif
13664 char FcInit ();
13666 main ()
13668 return FcInit ();
13670 return 0;
13672 _ACEOF
13673 if ac_fn_c_try_link "$LINENO"; then :
13674 case "$LIBEXT" in
13675 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13676 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'` ;;
13677 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13678 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13679 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13680 fi ;;
13681 esac
13683 rm -f core conftest.err conftest.$ac_objext \
13684 conftest$ac_exeext conftest.$ac_ext
13685 LIBS=$ac_check_soname_save_LIBS
13687 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13689 $as_echo "not found" >&6; }
13690 FONTCONFIG_CFLAGS=""
13691 else
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13693 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13695 cat >>confdefs.h <<_ACEOF
13696 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13697 _ACEOF
13701 else
13702 FONTCONFIG_CFLAGS=""
13704 CPPFLAGS=$ac_save_CPPFLAGS
13705 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13706 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13709 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13710 case "x$with_fontconfig" in
13711 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13712 xno) ;;
13713 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13714 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13715 esac
13719 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13720 then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13722 $as_echo_n "checking for -lgsm... " >&6; }
13723 if ${ac_cv_lib_soname_gsm+:} false; then :
13724 $as_echo_n "(cached) " >&6
13725 else
13726 ac_check_soname_save_LIBS=$LIBS
13727 LIBS="-lgsm $LIBS"
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13731 /* Override any GCC internal prototype to avoid an error.
13732 Use char because int might match the return type of a GCC
13733 builtin and then its argument prototype would still apply. */
13734 #ifdef __cplusplus
13735 extern "C"
13736 #endif
13737 char gsm_create ();
13739 main ()
13741 return gsm_create ();
13743 return 0;
13745 _ACEOF
13746 if ac_fn_c_try_link "$LINENO"; then :
13747 case "$LIBEXT" in
13748 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13749 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'` ;;
13750 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13751 if ${ac_cv_lib_soname_gsm:+false} :; then :
13752 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13753 fi ;;
13754 esac
13756 rm -f core conftest.err conftest.$ac_objext \
13757 conftest$ac_exeext conftest.$ac_ext
13758 LIBS=$ac_check_soname_save_LIBS
13760 if ${ac_cv_lib_soname_gsm:+false} :; then :
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13762 $as_echo "not found" >&6; }
13764 else
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13766 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13768 cat >>confdefs.h <<_ACEOF
13769 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13770 _ACEOF
13775 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13776 case "x$with_gsm" in
13777 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13778 xno) ;;
13779 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13780 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13781 esac
13785 if test "x$with_krb5" != "xno"
13786 then
13787 if ${KRB5_CFLAGS:+false} :; then :
13788 if ${PKG_CONFIG+:} false; then :
13789 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13792 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13793 if ${KRB5_LIBS:+false} :; then :
13794 if ${PKG_CONFIG+:} false; then :
13795 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13798 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13800 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13801 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13802 ac_save_CPPFLAGS=$CPPFLAGS
13803 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13804 for ac_header in krb5/krb5.h
13805 do :
13806 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13807 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_KRB5_KRB5_H 1
13810 _ACEOF
13814 done
13816 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13817 then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13819 $as_echo_n "checking for -lkrb5... " >&6; }
13820 if ${ac_cv_lib_soname_krb5+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_check_soname_save_LIBS=$LIBS
13824 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 char krb5_init_context ();
13836 main ()
13838 return krb5_init_context ();
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 case "$LIBEXT" in
13845 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13846 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'` ;;
13847 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13848 if ${ac_cv_lib_soname_krb5:+false} :; then :
13849 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13850 fi ;;
13851 esac
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 LIBS=$ac_check_soname_save_LIBS
13857 if ${ac_cv_lib_soname_krb5:+false} :; then :
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13859 $as_echo "not found" >&6; }
13860 KRB5_CFLAGS=""
13861 else
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13863 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13865 cat >>confdefs.h <<_ACEOF
13866 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13867 _ACEOF
13871 else
13872 KRB5_CFLAGS=""
13874 CPPFLAGS=$ac_save_CPPFLAGS
13875 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13876 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13879 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13880 case "x$with_krb5" in
13881 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13882 xno) ;;
13883 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13884 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13885 esac
13889 if test "x$with_gssapi" != "xno"
13890 then
13891 if ${GSSAPI_CFLAGS:+false} :; then :
13892 if ${PKG_CONFIG+:} false; then :
13893 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13896 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13897 if ${GSSAPI_LIBS:+false} :; then :
13898 if ${PKG_CONFIG+:} false; then :
13899 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13902 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13904 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13905 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13906 ac_save_CPPFLAGS=$CPPFLAGS
13907 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13908 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13909 do :
13910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13911 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13912 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13913 cat >>confdefs.h <<_ACEOF
13914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13915 _ACEOF
13919 done
13921 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13922 then
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13924 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13925 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13926 $as_echo_n "(cached) " >&6
13927 else
13928 ac_check_soname_save_LIBS=$LIBS
13929 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13933 /* Override any GCC internal prototype to avoid an error.
13934 Use char because int might match the return type of a GCC
13935 builtin and then its argument prototype would still apply. */
13936 #ifdef __cplusplus
13937 extern "C"
13938 #endif
13939 char gss_init_sec_context ();
13941 main ()
13943 return gss_init_sec_context ();
13945 return 0;
13947 _ACEOF
13948 if ac_fn_c_try_link "$LINENO"; then :
13949 case "$LIBEXT" in
13950 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13951 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'` ;;
13952 *) 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'`
13953 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13954 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13955 fi ;;
13956 esac
13958 rm -f core conftest.err conftest.$ac_objext \
13959 conftest$ac_exeext conftest.$ac_ext
13960 LIBS=$ac_check_soname_save_LIBS
13962 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13964 $as_echo "not found" >&6; }
13965 GSSAPI_CFLAGS=""
13966 else
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13968 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13970 cat >>confdefs.h <<_ACEOF
13971 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13972 _ACEOF
13976 else
13977 GSSAPI_CFLAGS=""
13979 CPPFLAGS=$ac_save_CPPFLAGS
13980 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13981 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13984 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13985 case "x$with_gssapi" in
13986 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13987 xno) ;;
13988 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13989 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13990 esac
13994 if test "x$with_jpeg" != "xno"
13995 then
13996 if ${JPEG_CFLAGS:+false} :; then :
13997 if ${PKG_CONFIG+:} false; then :
13998 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14002 if ${JPEG_LIBS:+false} :; then :
14003 if ${PKG_CONFIG+:} false; then :
14004 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14009 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14010 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14011 ac_save_CPPFLAGS=$CPPFLAGS
14012 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14013 for ac_header in jpeglib.h
14014 do :
14015 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14016 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14017 cat >>confdefs.h <<_ACEOF
14018 #define HAVE_JPEGLIB_H 1
14019 _ACEOF
14023 done
14025 if test "$ac_cv_header_jpeglib_h" = "yes"
14026 then
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14028 $as_echo_n "checking for -ljpeg... " >&6; }
14029 if ${ac_cv_lib_soname_jpeg+:} false; then :
14030 $as_echo_n "(cached) " >&6
14031 else
14032 ac_check_soname_save_LIBS=$LIBS
14033 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14037 /* Override any GCC internal prototype to avoid an error.
14038 Use char because int might match the return type of a GCC
14039 builtin and then its argument prototype would still apply. */
14040 #ifdef __cplusplus
14041 extern "C"
14042 #endif
14043 char jpeg_start_decompress ();
14045 main ()
14047 return jpeg_start_decompress ();
14049 return 0;
14051 _ACEOF
14052 if ac_fn_c_try_link "$LINENO"; then :
14053 case "$LIBEXT" in
14054 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14055 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'` ;;
14056 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14057 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14058 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14059 fi ;;
14060 esac
14062 rm -f core conftest.err conftest.$ac_objext \
14063 conftest$ac_exeext conftest.$ac_ext
14064 LIBS=$ac_check_soname_save_LIBS
14066 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14068 $as_echo "not found" >&6; }
14069 JPEG_CFLAGS=""
14070 else
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14072 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14074 cat >>confdefs.h <<_ACEOF
14075 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14076 _ACEOF
14080 else
14081 JPEG_CFLAGS=""
14083 CPPFLAGS=$ac_save_CPPFLAGS
14084 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14085 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14088 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14089 case "x$with_jpeg" in
14090 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14091 xno) ;;
14092 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14093 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14094 esac
14098 if test "x$with_png" != "xno"
14099 then
14100 if ${PNG_CFLAGS:+false} :; then :
14101 if ${PKG_CONFIG+:} false; then :
14102 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14105 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14106 if ${PNG_LIBS:+false} :; then :
14107 if ${PKG_CONFIG+:} false; then :
14108 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14111 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14113 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14114 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14115 ac_save_CPPFLAGS=$CPPFLAGS
14116 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14117 for ac_header in png.h
14118 do :
14119 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14120 if test "x$ac_cv_header_png_h" = xyes; then :
14121 cat >>confdefs.h <<_ACEOF
14122 #define HAVE_PNG_H 1
14123 _ACEOF
14127 done
14129 if test "$ac_cv_header_png_h" = "yes"
14130 then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14132 $as_echo_n "checking for -lpng... " >&6; }
14133 if ${ac_cv_lib_soname_png+:} false; then :
14134 $as_echo_n "(cached) " >&6
14135 else
14136 ac_check_soname_save_LIBS=$LIBS
14137 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14141 /* Override any GCC internal prototype to avoid an error.
14142 Use char because int might match the return type of a GCC
14143 builtin and then its argument prototype would still apply. */
14144 #ifdef __cplusplus
14145 extern "C"
14146 #endif
14147 char png_create_read_struct ();
14149 main ()
14151 return png_create_read_struct ();
14153 return 0;
14155 _ACEOF
14156 if ac_fn_c_try_link "$LINENO"; then :
14157 case "$LIBEXT" in
14158 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14159 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'` ;;
14160 *) 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'`
14161 if ${ac_cv_lib_soname_png:+false} :; then :
14162 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14163 fi ;;
14164 esac
14166 rm -f core conftest.err conftest.$ac_objext \
14167 conftest$ac_exeext conftest.$ac_ext
14168 LIBS=$ac_check_soname_save_LIBS
14170 if ${ac_cv_lib_soname_png:+false} :; then :
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14172 $as_echo "not found" >&6; }
14173 PNG_CFLAGS=""
14174 else
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14176 $as_echo "$ac_cv_lib_soname_png" >&6; }
14178 cat >>confdefs.h <<_ACEOF
14179 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14180 _ACEOF
14184 else
14185 PNG_CFLAGS=""
14187 CPPFLAGS=$ac_save_CPPFLAGS
14188 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14189 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14192 if test "x$ac_cv_lib_soname_png" = "x"; then :
14193 case "x$with_png" in
14194 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14195 xno) ;;
14196 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14197 This is an error since --with-png was requested." "$LINENO" 5 ;;
14198 esac
14202 if test "x$with_tiff" != "xno"
14203 then
14204 if ${TIFF_CFLAGS:+false} :; then :
14205 if ${PKG_CONFIG+:} false; then :
14206 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14210 if ${TIFF_LIBS:+false} :; then :
14211 if ${PKG_CONFIG+:} false; then :
14212 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14217 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14218 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14219 ac_save_CPPFLAGS=$CPPFLAGS
14220 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14221 for ac_header in tiffio.h
14222 do :
14223 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14224 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14225 cat >>confdefs.h <<_ACEOF
14226 #define HAVE_TIFFIO_H 1
14227 _ACEOF
14231 done
14233 if test "$ac_cv_header_tiffio_h" = "yes"
14234 then
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14236 $as_echo_n "checking for -ltiff... " >&6; }
14237 if ${ac_cv_lib_soname_tiff+:} false; then :
14238 $as_echo_n "(cached) " >&6
14239 else
14240 ac_check_soname_save_LIBS=$LIBS
14241 LIBS="-ltiff $TIFF_LIBS $LIBS"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14245 /* Override any GCC internal prototype to avoid an error.
14246 Use char because int might match the return type of a GCC
14247 builtin and then its argument prototype would still apply. */
14248 #ifdef __cplusplus
14249 extern "C"
14250 #endif
14251 char TIFFClientOpen ();
14253 main ()
14255 return TIFFClientOpen ();
14257 return 0;
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"; then :
14261 case "$LIBEXT" in
14262 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14263 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'` ;;
14264 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14265 if ${ac_cv_lib_soname_tiff:+false} :; then :
14266 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14267 fi ;;
14268 esac
14270 rm -f core conftest.err conftest.$ac_objext \
14271 conftest$ac_exeext conftest.$ac_ext
14272 LIBS=$ac_check_soname_save_LIBS
14274 if ${ac_cv_lib_soname_tiff:+false} :; then :
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14276 $as_echo "not found" >&6; }
14278 else
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14280 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14282 cat >>confdefs.h <<_ACEOF
14283 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14284 _ACEOF
14289 CPPFLAGS=$ac_save_CPPFLAGS
14290 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14291 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14294 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14295 case "x$with_tiff" in
14296 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14297 xno) ;;
14298 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14299 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14300 esac
14304 if test "x$with_mpg123" != "xno"
14305 then
14306 if ${MPG123_CFLAGS:+false} :; then :
14307 if ${PKG_CONFIG+:} false; then :
14308 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14312 if ${MPG123_LIBS:+false} :; then :
14313 if ${PKG_CONFIG+:} false; then :
14314 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14318 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14319 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14320 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14321 ac_save_CPPFLAGS=$CPPFLAGS
14322 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14323 for ac_header in mpg123.h
14324 do :
14325 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14326 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14327 cat >>confdefs.h <<_ACEOF
14328 #define HAVE_MPG123_H 1
14329 _ACEOF
14333 done
14335 if test "$ac_cv_header_mpg123_h" = "yes"
14336 then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14338 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14339 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_check_lib_save_LIBS=$LIBS
14343 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14350 #ifdef __cplusplus
14351 extern "C"
14352 #endif
14353 char mpg123_feed ();
14355 main ()
14357 return mpg123_feed ();
14359 return 0;
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"; then :
14363 ac_cv_lib_mpg123_mpg123_feed=yes
14364 else
14365 ac_cv_lib_mpg123_mpg123_feed=no
14367 rm -f core conftest.err conftest.$ac_objext \
14368 conftest$ac_exeext conftest.$ac_ext
14369 LIBS=$ac_check_lib_save_LIBS
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14372 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14373 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14375 else
14376 MPG123_LIBS=""
14379 else
14380 MPG123_CFLAGS=""
14381 MPG123_LIBS=""
14383 CPPFLAGS=$ac_save_CPPFLAGS
14384 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14385 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14388 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14389 case "x$with_mpg123" in
14390 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14391 xno) ;;
14392 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14393 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14394 esac
14395 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14398 if test "$ac_cv_header_AL_al_h" = "yes"
14399 then
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14401 $as_echo_n "checking for -lopenal... " >&6; }
14402 if ${ac_cv_lib_soname_openal+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 ac_check_soname_save_LIBS=$LIBS
14406 LIBS="-lopenal $LIBS"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14410 /* Override any GCC internal prototype to avoid an error.
14411 Use char because int might match the return type of a GCC
14412 builtin and then its argument prototype would still apply. */
14413 #ifdef __cplusplus
14414 extern "C"
14415 #endif
14416 char alGetSource3i ();
14418 main ()
14420 return alGetSource3i ();
14422 return 0;
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 case "$LIBEXT" in
14427 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14428 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'` ;;
14429 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14430 if ${ac_cv_lib_soname_openal:+false} :; then :
14431 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14432 fi ;;
14433 esac
14435 rm -f core conftest.err conftest.$ac_objext \
14436 conftest$ac_exeext conftest.$ac_ext
14437 LIBS=$ac_check_soname_save_LIBS
14439 if ${ac_cv_lib_soname_openal:+false} :; then :
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14441 $as_echo "not found" >&6; }
14443 else
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14445 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14447 cat >>confdefs.h <<_ACEOF
14448 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14449 _ACEOF
14451 OPENAL_LIBS="-lopenal"
14453 ac_cv_lib_openal=yes
14455 cat >>confdefs.h <<_ACEOF
14456 #define HAVE_OPENAL 1
14457 _ACEOF
14461 if test "x$ac_cv_lib_openal" != xyes; then :
14462 case "x$with_openal" in
14463 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14464 xno) ;;
14465 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14466 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14467 esac
14468 enable_openal32=${enable_openal32:-no}
14471 if test "x$ac_cv_lib_openal" = xyes
14472 then
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14474 $as_echo_n "checking for openal-soft... " >&6; }
14475 if ${ac_cv_have_openalsoft+:} false; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14480 #include <AL/al.h>
14481 #include <AL/alc.h>
14482 #include <AL/alext.h>
14483 LPALCRENDERSAMPLESSOFT x;
14485 main ()
14489 return 0;
14491 _ACEOF
14492 if ac_fn_c_try_compile "$LINENO"; then :
14493 ac_cv_have_openalsoft=yes
14494 else
14495 ac_cv_have_openalsoft=no
14497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14500 $as_echo "$ac_cv_have_openalsoft" >&6; }
14502 if test "x$ac_cv_have_openalsoft" != xyes
14503 then
14504 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14505 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14506 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14507 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14508 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14509 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14510 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14511 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14512 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14513 enable_xapofx1_1=${enable_xapofx1_1:-no}
14514 enable_xapofx1_2=${enable_xapofx1_2:-no}
14515 enable_xapofx1_3=${enable_xapofx1_3:-no}
14516 enable_xapofx1_4=${enable_xapofx1_4:-no}
14517 enable_xapofx1_5=${enable_xapofx1_5:-no}
14518 enable_xaudio2_0=${enable_xaudio2_0:-no}
14519 enable_xaudio2_1=${enable_xaudio2_1:-no}
14520 enable_xaudio2_2=${enable_xaudio2_2:-no}
14521 enable_xaudio2_3=${enable_xaudio2_3:-no}
14522 enable_xaudio2_4=${enable_xaudio2_4:-no}
14523 enable_xaudio2_5=${enable_xaudio2_5:-no}
14524 enable_xaudio2_6=${enable_xaudio2_6:-no}
14525 enable_xaudio2_7=${enable_xaudio2_7:-no}
14526 enable_xaudio2_8=${enable_xaudio2_8:-no}
14527 enable_xaudio2_9=${enable_xaudio2_9:-no}
14530 if test "$ac_cv_header_kstat_h" = "yes"
14531 then
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14533 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14534 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14535 $as_echo_n "(cached) " >&6
14536 else
14537 ac_check_lib_save_LIBS=$LIBS
14538 LIBS="-lkstat $LIBS"
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14542 /* Override any GCC internal prototype to avoid an error.
14543 Use char because int might match the return type of a GCC
14544 builtin and then its argument prototype would still apply. */
14545 #ifdef __cplusplus
14546 extern "C"
14547 #endif
14548 char kstat_open ();
14550 main ()
14552 return kstat_open ();
14554 return 0;
14556 _ACEOF
14557 if ac_fn_c_try_link "$LINENO"; then :
14558 ac_cv_lib_kstat_kstat_open=yes
14559 else
14560 ac_cv_lib_kstat_kstat_open=no
14562 rm -f core conftest.err conftest.$ac_objext \
14563 conftest$ac_exeext conftest.$ac_ext
14564 LIBS=$ac_check_lib_save_LIBS
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14567 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14568 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14570 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14572 KSTAT_LIBS="-lkstat"
14578 if test "$ac_cv_header_libprocstat_h" = "yes"
14579 then
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14581 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14582 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 ac_check_lib_save_LIBS=$LIBS
14586 LIBS="-lprocstat $LIBS"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14593 #ifdef __cplusplus
14594 extern "C"
14595 #endif
14596 char procstat_open_sysctl ();
14598 main ()
14600 return procstat_open_sysctl ();
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"; then :
14606 ac_cv_lib_procstat_procstat_open_sysctl=yes
14607 else
14608 ac_cv_lib_procstat_procstat_open_sysctl=no
14610 rm -f core conftest.err conftest.$ac_objext \
14611 conftest$ac_exeext conftest.$ac_ext
14612 LIBS=$ac_check_lib_save_LIBS
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14615 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14616 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14618 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14620 PROCSTAT_LIBS="-lprocstat"
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14627 $as_echo_n "checking for -lodbc... " >&6; }
14628 if ${ac_cv_lib_soname_odbc+:} false; then :
14629 $as_echo_n "(cached) " >&6
14630 else
14631 ac_check_soname_save_LIBS=$LIBS
14632 LIBS="-lodbc $LIBS"
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14636 /* Override any GCC internal prototype to avoid an error.
14637 Use char because int might match the return type of a GCC
14638 builtin and then its argument prototype would still apply. */
14639 #ifdef __cplusplus
14640 extern "C"
14641 #endif
14642 char SQLConnect ();
14644 main ()
14646 return SQLConnect ();
14648 return 0;
14650 _ACEOF
14651 if ac_fn_c_try_link "$LINENO"; then :
14652 case "$LIBEXT" in
14653 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14654 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'` ;;
14655 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14656 if ${ac_cv_lib_soname_odbc:+false} :; then :
14657 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14658 fi ;;
14659 esac
14661 rm -f core conftest.err conftest.$ac_objext \
14662 conftest$ac_exeext conftest.$ac_ext
14663 LIBS=$ac_check_soname_save_LIBS
14665 if ${ac_cv_lib_soname_odbc:+false} :; then :
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14667 $as_echo "not found" >&6; }
14668 cat >>confdefs.h <<_ACEOF
14669 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14670 _ACEOF
14672 else
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14674 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14676 cat >>confdefs.h <<_ACEOF
14677 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14678 _ACEOF
14683 if test "x$with_netapi" != "xno"
14684 then
14685 if ${NETAPI_CFLAGS:+false} :; then :
14686 if ${PKG_CONFIG+:} false; then :
14687 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14691 if ${NETAPI_LIBS:+false} :; then :
14692 if ${PKG_CONFIG+:} false; then :
14693 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14698 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14699 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14700 ac_save_CPPFLAGS=$CPPFLAGS
14701 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14703 $as_echo_n "checking for -lnetapi... " >&6; }
14704 if ${ac_cv_lib_soname_netapi+:} false; then :
14705 $as_echo_n "(cached) " >&6
14706 else
14707 ac_check_soname_save_LIBS=$LIBS
14708 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14712 /* Override any GCC internal prototype to avoid an error.
14713 Use char because int might match the return type of a GCC
14714 builtin and then its argument prototype would still apply. */
14715 #ifdef __cplusplus
14716 extern "C"
14717 #endif
14718 char libnetapi_init ();
14720 main ()
14722 return libnetapi_init ();
14724 return 0;
14726 _ACEOF
14727 if ac_fn_c_try_link "$LINENO"; then :
14728 case "$LIBEXT" in
14729 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14730 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'` ;;
14731 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14732 if ${ac_cv_lib_soname_netapi:+false} :; then :
14733 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14734 fi ;;
14735 esac
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14739 LIBS=$ac_check_soname_save_LIBS
14741 if ${ac_cv_lib_soname_netapi:+false} :; then :
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14743 $as_echo "not found" >&6; }
14744 cat >>confdefs.h <<_ACEOF
14745 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14746 _ACEOF
14748 else
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14750 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14752 cat >>confdefs.h <<_ACEOF
14753 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14754 _ACEOF
14758 CPPFLAGS=$ac_save_CPPFLAGS
14759 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14760 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14764 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14765 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14766 then
14767 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14771 EXTRACFLAGS=""
14773 if test "x${GCC}" = "xyes"
14774 then
14775 EXTRACFLAGS="-Wall -pipe"
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14778 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14779 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14780 $as_echo_n "(cached) " >&6
14781 else
14782 if test "$cross_compiling" = yes; then :
14783 ac_cv_c_gcc_strength_bug="no"
14784 else
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14787 int L[4] = {0,1,2,3};
14789 main ()
14791 static int Array[3];
14792 unsigned int B = 3;
14793 int i;
14794 for(i=0; i<B; i++) Array[i] = i - 3;
14795 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14796 L[i] = 4;
14797 return (Array[1] != -2 || L[2] != 3)
14799 return 0;
14801 _ACEOF
14802 if ac_fn_c_try_run "$LINENO"; then :
14803 ac_cv_c_gcc_strength_bug="no"
14804 else
14805 ac_cv_c_gcc_strength_bug="yes"
14807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14808 conftest.$ac_objext conftest.beam conftest.$ac_ext
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14813 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14814 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14815 then
14816 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14820 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14821 if ${ac_cv_cflags__fno_builtin+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 ac_wine_try_cflags_saved=$CFLAGS
14825 CFLAGS="$CFLAGS -fno-builtin"
14826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14828 int main(int argc, char **argv) { return 0; }
14829 _ACEOF
14830 if ac_fn_c_try_link "$LINENO"; then :
14831 ac_cv_cflags__fno_builtin=yes
14832 else
14833 ac_cv_cflags__fno_builtin=no
14835 rm -f core conftest.err conftest.$ac_objext \
14836 conftest$ac_exeext conftest.$ac_ext
14837 CFLAGS=$ac_wine_try_cflags_saved
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14840 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14841 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14842 BUILTINFLAG="-fno-builtin"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14846 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14847 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 ac_wine_try_cflags_saved=$CFLAGS
14851 CFLAGS="$CFLAGS -fno-strict-aliasing"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 int main(int argc, char **argv) { return 0; }
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_cflags__fno_strict_aliasing=yes
14858 else
14859 ac_cv_cflags__fno_strict_aliasing=no
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14863 CFLAGS=$ac_wine_try_cflags_saved
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14866 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14867 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14868 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14871 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14872 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 ac_wine_try_cflags_saved=$CFLAGS
14876 CFLAGS="$CFLAGS -fexcess-precision=standard"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 int main(int argc, char **argv) { return 0; }
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_cflags__fexcess_precision_standard=yes
14883 else
14884 ac_cv_cflags__fexcess_precision_standard=no
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14888 CFLAGS=$ac_wine_try_cflags_saved
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14891 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14892 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14893 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14896 saved_CFLAGS=$CFLAGS
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14898 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14899 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14900 $as_echo_n "(cached) " >&6
14901 else
14902 ac_wine_try_cflags_saved=$CFLAGS
14903 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14906 int main(int argc, char **argv) { return 0; }
14907 _ACEOF
14908 if ac_fn_c_try_link "$LINENO"; then :
14909 ac_cv_cflags__Werror_unknown_warning_option=yes
14910 else
14911 ac_cv_cflags__Werror_unknown_warning_option=no
14913 rm -f core conftest.err conftest.$ac_objext \
14914 conftest$ac_exeext conftest.$ac_ext
14915 CFLAGS=$ac_wine_try_cflags_saved
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14918 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14919 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14920 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14923 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14924 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14925 $as_echo_n "(cached) " >&6
14926 else
14927 ac_wine_try_cflags_saved=$CFLAGS
14928 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 int main(int argc, char **argv) { return 0; }
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 ac_cv_cflags__Wdeclaration_after_statement=yes
14935 else
14936 ac_cv_cflags__Wdeclaration_after_statement=no
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14940 CFLAGS=$ac_wine_try_cflags_saved
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14943 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14944 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14945 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14948 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14949 if ${ac_cv_cflags__Wempty_body+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 ac_wine_try_cflags_saved=$CFLAGS
14953 CFLAGS="$CFLAGS -Wempty-body"
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 int main(int argc, char **argv) { return 0; }
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_cflags__Wempty_body=yes
14960 else
14961 ac_cv_cflags__Wempty_body=no
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14965 CFLAGS=$ac_wine_try_cflags_saved
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14968 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14969 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14970 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14973 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14974 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14975 $as_echo_n "(cached) " >&6
14976 else
14977 ac_wine_try_cflags_saved=$CFLAGS
14978 CFLAGS="$CFLAGS -Wignored-qualifiers"
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 int main(int argc, char **argv) { return 0; }
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 ac_cv_cflags__Wignored_qualifiers=yes
14985 else
14986 ac_cv_cflags__Wignored_qualifiers=no
14988 rm -f core conftest.err conftest.$ac_objext \
14989 conftest$ac_exeext conftest.$ac_ext
14990 CFLAGS=$ac_wine_try_cflags_saved
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14993 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14994 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14995 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14998 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14999 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_wine_try_cflags_saved=$CFLAGS
15003 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 int main(int argc, char **argv) { return 0; }
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 ac_cv_cflags__Wpacked_not_aligned=yes
15010 else
15011 ac_cv_cflags__Wpacked_not_aligned=no
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 CFLAGS=$ac_wine_try_cflags_saved
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15018 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15019 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15020 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15023 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15024 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15025 $as_echo_n "(cached) " >&6
15026 else
15027 ac_wine_try_cflags_saved=$CFLAGS
15028 CFLAGS="$CFLAGS -Wpragma-pack"
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 int main(int argc, char **argv) { return 0; }
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_cflags__Wpragma_pack=yes
15035 else
15036 ac_cv_cflags__Wpragma_pack=no
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 CFLAGS=$ac_wine_try_cflags_saved
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15043 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15044 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15045 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15048 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15049 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 ac_wine_try_cflags_saved=$CFLAGS
15053 CFLAGS="$CFLAGS -Wshift-overflow=2"
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15056 int main(int argc, char **argv) { return 0; }
15057 _ACEOF
15058 if ac_fn_c_try_link "$LINENO"; then :
15059 ac_cv_cflags__Wshift_overflow_2=yes
15060 else
15061 ac_cv_cflags__Wshift_overflow_2=no
15063 rm -f core conftest.err conftest.$ac_objext \
15064 conftest$ac_exeext conftest.$ac_ext
15065 CFLAGS=$ac_wine_try_cflags_saved
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15068 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15069 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15070 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15073 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15074 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15075 $as_echo_n "(cached) " >&6
15076 else
15077 ac_wine_try_cflags_saved=$CFLAGS
15078 CFLAGS="$CFLAGS -Wstrict-prototypes"
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15081 int main(int argc, char **argv) { return 0; }
15082 _ACEOF
15083 if ac_fn_c_try_link "$LINENO"; then :
15084 ac_cv_cflags__Wstrict_prototypes=yes
15085 else
15086 ac_cv_cflags__Wstrict_prototypes=no
15088 rm -f core conftest.err conftest.$ac_objext \
15089 conftest$ac_exeext conftest.$ac_ext
15090 CFLAGS=$ac_wine_try_cflags_saved
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15093 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15094 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15095 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15098 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15099 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 ac_wine_try_cflags_saved=$CFLAGS
15103 CFLAGS="$CFLAGS -Wtype-limits"
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15106 int main(int argc, char **argv) { return 0; }
15107 _ACEOF
15108 if ac_fn_c_try_link "$LINENO"; then :
15109 ac_cv_cflags__Wtype_limits=yes
15110 else
15111 ac_cv_cflags__Wtype_limits=no
15113 rm -f core conftest.err conftest.$ac_objext \
15114 conftest$ac_exeext conftest.$ac_ext
15115 CFLAGS=$ac_wine_try_cflags_saved
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15118 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15119 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15120 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15123 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15124 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 ac_wine_try_cflags_saved=$CFLAGS
15128 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15131 int main(int argc, char **argv) { return 0; }
15132 _ACEOF
15133 if ac_fn_c_try_link "$LINENO"; then :
15134 ac_cv_cflags__Wunused_but_set_parameter=yes
15135 else
15136 ac_cv_cflags__Wunused_but_set_parameter=no
15138 rm -f core conftest.err conftest.$ac_objext \
15139 conftest$ac_exeext conftest.$ac_ext
15140 CFLAGS=$ac_wine_try_cflags_saved
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15143 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15144 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15145 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15148 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15149 if ${ac_cv_cflags__Wvla+:} false; then :
15150 $as_echo_n "(cached) " >&6
15151 else
15152 ac_wine_try_cflags_saved=$CFLAGS
15153 CFLAGS="$CFLAGS -Wvla"
15154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15155 /* end confdefs.h. */
15156 int main(int argc, char **argv) { return 0; }
15157 _ACEOF
15158 if ac_fn_c_try_link "$LINENO"; then :
15159 ac_cv_cflags__Wvla=yes
15160 else
15161 ac_cv_cflags__Wvla=no
15163 rm -f core conftest.err conftest.$ac_objext \
15164 conftest$ac_exeext conftest.$ac_ext
15165 CFLAGS=$ac_wine_try_cflags_saved
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15168 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15169 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15170 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15173 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15174 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 ac_wine_try_cflags_saved=$CFLAGS
15178 CFLAGS="$CFLAGS -Wwrite-strings"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15181 int main(int argc, char **argv) { return 0; }
15182 _ACEOF
15183 if ac_fn_c_try_link "$LINENO"; then :
15184 ac_cv_cflags__Wwrite_strings=yes
15185 else
15186 ac_cv_cflags__Wwrite_strings=no
15188 rm -f core conftest.err conftest.$ac_objext \
15189 conftest$ac_exeext conftest.$ac_ext
15190 CFLAGS=$ac_wine_try_cflags_saved
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15193 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15194 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15195 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15199 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15200 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15201 $as_echo_n "(cached) " >&6
15202 else
15203 ac_wine_try_cflags_saved=$CFLAGS
15204 CFLAGS="$CFLAGS -Wpointer-arith"
15205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15207 int main(int argc, char **argv) { return 0; }
15208 _ACEOF
15209 if ac_fn_c_try_link "$LINENO"; then :
15210 ac_cv_cflags__Wpointer_arith=yes
15211 else
15212 ac_cv_cflags__Wpointer_arith=no
15214 rm -f core conftest.err conftest.$ac_objext \
15215 conftest$ac_exeext conftest.$ac_ext
15216 CFLAGS=$ac_wine_try_cflags_saved
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15219 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15220 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15221 saved_string_h_CFLAGS=$CFLAGS
15222 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15224 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15225 if ${ac_cv_c_string_h_warnings+:} false; then :
15226 $as_echo_n "(cached) " >&6
15227 else
15228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15229 /* end confdefs.h. */
15230 #include <string.h>
15232 main ()
15236 return 0;
15238 _ACEOF
15239 if ac_fn_c_try_compile "$LINENO"; then :
15240 ac_cv_c_string_h_warnings=no
15241 else
15242 ac_cv_c_string_h_warnings=yes
15244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15247 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15248 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15249 CFLAGS=$saved_string_h_CFLAGS
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15253 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15254 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15255 $as_echo_n "(cached) " >&6
15256 else
15257 ac_wine_try_cflags_saved=$CFLAGS
15258 CFLAGS="$CFLAGS -Wlogical-op"
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261 int main(int argc, char **argv) { return 0; }
15262 _ACEOF
15263 if ac_fn_c_try_link "$LINENO"; then :
15264 ac_cv_cflags__Wlogical_op=yes
15265 else
15266 ac_cv_cflags__Wlogical_op=no
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15270 CFLAGS=$ac_wine_try_cflags_saved
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15273 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15274 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15275 saved_string_h_CFLAGS=$CFLAGS
15276 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15278 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15279 if ${ac_cv_c_logicalop_noisy+:} false; then :
15280 $as_echo_n "(cached) " >&6
15281 else
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 #include <string.h>
15285 char*f(const char *h,char n) {return strchr(h,n);}
15287 main ()
15291 return 0;
15293 _ACEOF
15294 if ac_fn_c_try_compile "$LINENO"; then :
15295 ac_cv_c_logicalop_noisy=no
15296 else
15297 ac_cv_c_logicalop_noisy=yes
15299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15302 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15303 CFLAGS=$saved_string_h_CFLAGS
15304 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15307 CFLAGS=$saved_CFLAGS
15309 for ac_flag in $CFLAGS; do
15310 case $ac_flag in
15311 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15312 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15313 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15314 $as_echo_n "(cached) " >&6
15315 else
15316 ac_wine_try_cflags_saved=$CFLAGS
15317 CFLAGS="$CFLAGS -gdwarf-2"
15318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15320 int main(int argc, char **argv) { return 0; }
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"; then :
15323 ac_cv_cflags__gdwarf_2=yes
15324 else
15325 ac_cv_cflags__gdwarf_2=no
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15329 CFLAGS=$ac_wine_try_cflags_saved
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15332 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15333 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15334 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15337 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15338 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15339 $as_echo_n "(cached) " >&6
15340 else
15341 ac_wine_try_cflags_saved=$CFLAGS
15342 CFLAGS="$CFLAGS -gstrict-dwarf"
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345 int main(int argc, char **argv) { return 0; }
15346 _ACEOF
15347 if ac_fn_c_try_link "$LINENO"; then :
15348 ac_cv_cflags__gstrict_dwarf=yes
15349 else
15350 ac_cv_cflags__gstrict_dwarf=no
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15354 CFLAGS=$ac_wine_try_cflags_saved
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15357 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15358 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15359 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15360 fi ;;
15361 esac
15362 done
15364 case $host_cpu in
15365 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15366 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15367 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15368 $as_echo_n "(cached) " >&6
15369 else
15370 ac_wine_try_cflags_saved=$CFLAGS
15371 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15374 int main(int argc, char **argv) { return 0; }
15375 _ACEOF
15376 if ac_fn_c_try_link "$LINENO"; then :
15377 ac_cv_cflags__fno_omit_frame_pointer=yes
15378 else
15379 ac_cv_cflags__fno_omit_frame_pointer=no
15381 rm -f core conftest.err conftest.$ac_objext \
15382 conftest$ac_exeext conftest.$ac_ext
15383 CFLAGS=$ac_wine_try_cflags_saved
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15386 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15387 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15388 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15389 fi ;;
15390 esac
15392 case $host in
15393 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15394 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15395 if ${ac_cv_cflags__Wno_format+:} false; then :
15396 $as_echo_n "(cached) " >&6
15397 else
15398 ac_wine_try_cflags_saved=$CFLAGS
15399 CFLAGS="$CFLAGS -Wno-format"
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15402 int main(int argc, char **argv) { return 0; }
15403 _ACEOF
15404 if ac_fn_c_try_link "$LINENO"; then :
15405 ac_cv_cflags__Wno_format=yes
15406 else
15407 ac_cv_cflags__Wno_format=no
15409 rm -f core conftest.err conftest.$ac_objext \
15410 conftest$ac_exeext conftest.$ac_ext
15411 CFLAGS=$ac_wine_try_cflags_saved
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15414 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15415 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15416 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15417 fi ;;
15418 esac
15420 if test "x$enable_maintainer_mode" = "xyes"
15421 then
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15423 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15424 if ${ac_cv_cflags__Werror+:} false; then :
15425 $as_echo_n "(cached) " >&6
15426 else
15427 ac_wine_try_cflags_saved=$CFLAGS
15428 CFLAGS="$CFLAGS -Werror"
15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15431 int main(int argc, char **argv) { return 0; }
15432 _ACEOF
15433 if ac_fn_c_try_link "$LINENO"; then :
15434 ac_cv_cflags__Werror=yes
15435 else
15436 ac_cv_cflags__Werror=no
15438 rm -f core conftest.err conftest.$ac_objext \
15439 conftest$ac_exeext conftest.$ac_ext
15440 CFLAGS=$ac_wine_try_cflags_saved
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15443 $as_echo "$ac_cv_cflags__Werror" >&6; }
15444 if test "x$ac_cv_cflags__Werror" = xyes; then :
15445 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15449 saved_CFLAGS="$CFLAGS"
15450 CFLAGS="$CFLAGS -Werror"
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15452 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15453 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15454 $as_echo_n "(cached) " >&6
15455 else
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15458 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15460 main ()
15464 return 0;
15466 _ACEOF
15467 if ac_fn_c_try_compile "$LINENO"; then :
15468 ac_cv_have_ms_hook_prologue="yes"
15469 else
15470 ac_cv_have_ms_hook_prologue="no"
15472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15475 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15476 CFLAGS="$saved_CFLAGS"
15477 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15478 then
15480 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15482 else
15483 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15490 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15491 if ${ac_cv_c_fortify_enabled+:} false; then :
15492 $as_echo_n "(cached) " >&6
15493 else
15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15496 #include <string.h>
15498 main ()
15500 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15501 #error Fortify enabled
15502 #endif
15504 return 0;
15506 _ACEOF
15507 if ac_fn_c_try_compile "$LINENO"; then :
15508 ac_cv_c_fortify_enabled=no
15509 else
15510 ac_cv_c_fortify_enabled=yes
15512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15515 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15516 if test "$ac_cv_c_fortify_enabled" = yes
15517 then
15518 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15523 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15524 if ${ac_cv_c_extern_prefix+:} false; then :
15525 $as_echo_n "(cached) " >&6
15526 else
15527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15528 /* end confdefs.h. */
15529 extern int ac_test;
15531 main ()
15533 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15535 return 0;
15537 _ACEOF
15538 if ac_fn_c_try_link "$LINENO"; then :
15539 ac_cv_c_extern_prefix="yes"
15540 else
15541 ac_cv_c_extern_prefix="no"
15543 rm -f core conftest.err conftest.$ac_objext \
15544 conftest$ac_exeext conftest.$ac_ext
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15547 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15549 case $host_cpu in
15550 *i[3456789]86*)
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15552 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15553 if ${ac_cv_c_stdcall_suffix+:} false; then :
15554 $as_echo_n "(cached) " >&6
15555 else
15556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15558 #ifndef _MSC_VER
15559 #define __stdcall __attribute__((__stdcall__))
15560 #endif
15561 int __stdcall ac_test(int i) { return i; }
15563 main ()
15565 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15567 return 0;
15569 _ACEOF
15570 if ac_fn_c_try_link "$LINENO"; then :
15571 ac_cv_c_stdcall_suffix="yes"
15572 else
15573 ac_cv_c_stdcall_suffix="no"
15575 rm -f core conftest.err conftest.$ac_objext \
15576 conftest$ac_exeext conftest.$ac_ext
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15579 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15580 *) ac_cv_c_stdcall_suffix="no" ;;
15581 esac
15584 if test "$ac_cv_c_extern_prefix" = "yes"
15585 then
15586 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15588 asm_name_prefix="_"
15589 else
15590 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15592 asm_name_prefix=""
15596 if test "$ac_cv_c_stdcall_suffix" = "yes"
15597 then
15598 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15600 else
15601 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15607 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15608 if ${ac_cv_asm_func_def+:} false; then :
15609 $as_echo_n "(cached) " >&6
15610 else
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15615 main ()
15617 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15619 return 0;
15621 _ACEOF
15622 if ac_fn_c_try_link "$LINENO"; then :
15623 ac_cv_asm_func_def=".def"
15624 else
15625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15629 main ()
15631 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15633 return 0;
15635 _ACEOF
15636 if ac_fn_c_try_link "$LINENO"; then :
15637 ac_cv_asm_func_def=".type @function"
15638 else
15639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15640 /* end confdefs.h. */
15643 main ()
15645 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15647 return 0;
15649 _ACEOF
15650 if ac_fn_c_try_link "$LINENO"; then :
15651 ac_cv_asm_func_def=".type 2"
15652 else
15653 ac_cv_asm_func_def="unknown"
15655 rm -f core conftest.err conftest.$ac_objext \
15656 conftest$ac_exeext conftest.$ac_ext
15658 rm -f core conftest.err conftest.$ac_objext \
15659 conftest$ac_exeext conftest.$ac_ext
15661 rm -f core conftest.err conftest.$ac_objext \
15662 conftest$ac_exeext conftest.$ac_ext
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15665 $as_echo "$ac_cv_asm_func_def" >&6; }
15668 case "$ac_cv_asm_func_def" in
15669 ".def")
15670 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15672 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15673 ".type @function")
15674 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15676 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15677 ".type 2")
15678 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15680 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15682 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15684 asm_func_header="" ;;
15685 esac
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15688 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15689 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15690 $as_echo_n "(cached) " >&6
15691 else
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15694 asm(".text\n\t.long 0");
15696 main ()
15700 return 0;
15702 _ACEOF
15703 if ac_fn_c_try_compile "$LINENO"; then :
15704 ac_cv_c_asm_outside_funcs="yes"
15705 else
15706 ac_cv_c_asm_outside_funcs="no"
15708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15711 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15714 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15715 if ${ac_cv_c_dot_previous+:} false; then :
15716 $as_echo_n "(cached) " >&6
15717 else
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15722 main ()
15724 asm(".text\nac_test:\t.long 0\n\t.previous");
15726 return 0;
15728 _ACEOF
15729 if ac_fn_c_try_link "$LINENO"; then :
15730 ac_cv_c_dot_previous="yes"
15731 else
15732 ac_cv_c_dot_previous="no"
15734 rm -f core conftest.err conftest.$ac_objext \
15735 conftest$ac_exeext conftest.$ac_ext
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15738 $as_echo "$ac_cv_c_dot_previous" >&6; }
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15741 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15742 if ${ac_cv_c_cfi_support+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15747 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15749 main ()
15753 return 0;
15755 _ACEOF
15756 if ac_fn_c_try_compile "$LINENO"; then :
15757 ac_cv_c_cfi_support="yes"
15758 else
15759 ac_cv_c_cfi_support="no"
15761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15764 $as_echo "$ac_cv_c_cfi_support" >&6; }
15766 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15767 asm_func_trailer=""
15768 if test "$ac_cv_c_dot_previous" = "yes"
15769 then
15770 asm_func_trailer="\\n\\t.previous"
15772 if test "$ac_cv_c_cfi_support" = "yes"
15773 then
15774 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15775 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15777 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15779 UNWINDFLAGS=-fasynchronous-unwind-tables
15781 else
15782 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15784 if test "x$enable_win64" = "xyes"
15785 then
15786 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15790 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15793 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15794 then
15795 cat >>confdefs.h <<_ACEOF
15796 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15797 _ACEOF
15799 else
15800 cat >>confdefs.h <<_ACEOF
15801 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15802 _ACEOF
15806 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15809 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15813 case $build_os in
15814 cygwin*|mingw32*) TOOLSEXT=".exe"
15816 esac
15818 case $host_os in
15819 linux*)
15820 case $host_cpu in
15821 *i[3456789]86*|x86_64*|*aarch64*)
15822 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15823 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15825 esac
15827 esac
15830 ac_save_CFLAGS="$CFLAGS"
15831 CFLAGS="$CFLAGS $BUILTINFLAG"
15832 for ac_func in \
15833 __res_get_state \
15834 __res_getservers \
15835 _finite \
15836 _isnan \
15837 _pclose \
15838 _popen \
15839 _snprintf \
15840 _spawnvp \
15841 _strdup \
15842 _stricmp \
15843 _strnicmp \
15844 _strtoi64 \
15845 _strtoui64 \
15846 _vsnprintf \
15847 asctime_r \
15848 chsize \
15849 dlopen \
15850 epoll_create \
15851 ffs \
15852 finitef \
15853 fnmatch \
15854 fork \
15855 fpclass \
15856 fstatfs \
15857 fstatvfs \
15858 ftruncate \
15859 futimens \
15860 futimes \
15861 futimesat \
15862 getattrlist \
15863 getauxval \
15864 getifaddrs \
15865 getopt_long_only \
15866 getpwuid \
15867 gettimeofday \
15868 getuid \
15869 isnanf \
15870 kqueue \
15871 lstat \
15872 memmove \
15873 mmap \
15874 pclose \
15875 pipe2 \
15876 poll \
15877 popen \
15878 port_create \
15879 prctl \
15880 pread \
15881 proc_pidinfo \
15882 pwrite \
15883 readdir \
15884 readlink \
15885 sched_yield \
15886 select \
15887 setproctitle \
15888 setprogname \
15889 setrlimit \
15890 settimeofday \
15891 sigaltstack \
15892 sigprocmask \
15893 snprintf \
15894 statfs \
15895 statvfs \
15896 strcasecmp \
15897 strdup \
15898 strerror \
15899 strncasecmp \
15900 strnlen \
15901 strtold \
15902 strtoll \
15903 strtoull \
15904 symlink \
15905 sysinfo \
15906 tcdrain \
15907 thr_kill2 \
15908 timegm \
15909 usleep \
15910 vsnprintf
15912 do :
15913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15915 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15918 _ACEOF
15921 done
15923 CFLAGS="$ac_save_CFLAGS"
15925 if test "$ac_cv_func_dlopen" = no
15926 then
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15928 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15929 if ${ac_cv_lib_dl_dlopen+:} false; then :
15930 $as_echo_n "(cached) " >&6
15931 else
15932 ac_check_lib_save_LIBS=$LIBS
15933 LIBS="-ldl $LIBS"
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15937 /* Override any GCC internal prototype to avoid an error.
15938 Use char because int might match the return type of a GCC
15939 builtin and then its argument prototype would still apply. */
15940 #ifdef __cplusplus
15941 extern "C"
15942 #endif
15943 char dlopen ();
15945 main ()
15947 return dlopen ();
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_link "$LINENO"; then :
15953 ac_cv_lib_dl_dlopen=yes
15954 else
15955 ac_cv_lib_dl_dlopen=no
15957 rm -f core conftest.err conftest.$ac_objext \
15958 conftest$ac_exeext conftest.$ac_ext
15959 LIBS=$ac_check_lib_save_LIBS
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15962 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15963 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15964 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15965 DL_LIBS="-ldl"
15970 ac_wine_check_funcs_save_LIBS="$LIBS"
15971 LIBS="$LIBS $DL_LIBS"
15972 for ac_func in dladdr
15973 do :
15974 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15975 if test "x$ac_cv_func_dladdr" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_DLADDR 1
15978 _ACEOF
15981 done
15983 LIBS="$ac_wine_check_funcs_save_LIBS"
15985 if test "$ac_cv_func_poll" = no
15986 then
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15988 $as_echo_n "checking for poll in -lpoll... " >&6; }
15989 if ${ac_cv_lib_poll_poll+:} false; then :
15990 $as_echo_n "(cached) " >&6
15991 else
15992 ac_check_lib_save_LIBS=$LIBS
15993 LIBS="-lpoll $LIBS"
15994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15995 /* end confdefs.h. */
15997 /* Override any GCC internal prototype to avoid an error.
15998 Use char because int might match the return type of a GCC
15999 builtin and then its argument prototype would still apply. */
16000 #ifdef __cplusplus
16001 extern "C"
16002 #endif
16003 char poll ();
16005 main ()
16007 return poll ();
16009 return 0;
16011 _ACEOF
16012 if ac_fn_c_try_link "$LINENO"; then :
16013 ac_cv_lib_poll_poll=yes
16014 else
16015 ac_cv_lib_poll_poll=no
16017 rm -f core conftest.err conftest.$ac_objext \
16018 conftest$ac_exeext conftest.$ac_ext
16019 LIBS=$ac_check_lib_save_LIBS
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16022 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16023 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16024 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16025 POLL_LIBS="-lpoll"
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16032 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16033 if ${ac_cv_search_gethostbyname+:} false; then :
16034 $as_echo_n "(cached) " >&6
16035 else
16036 ac_func_search_save_LIBS=$LIBS
16037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16038 /* end confdefs.h. */
16040 /* Override any GCC internal prototype to avoid an error.
16041 Use char because int might match the return type of a GCC
16042 builtin and then its argument prototype would still apply. */
16043 #ifdef __cplusplus
16044 extern "C"
16045 #endif
16046 char gethostbyname ();
16048 main ()
16050 return gethostbyname ();
16052 return 0;
16054 _ACEOF
16055 for ac_lib in '' nsl; do
16056 if test -z "$ac_lib"; then
16057 ac_res="none required"
16058 else
16059 ac_res=-l$ac_lib
16060 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16062 if ac_fn_c_try_link "$LINENO"; then :
16063 ac_cv_search_gethostbyname=$ac_res
16065 rm -f core conftest.err conftest.$ac_objext \
16066 conftest$ac_exeext
16067 if ${ac_cv_search_gethostbyname+:} false; then :
16068 break
16070 done
16071 if ${ac_cv_search_gethostbyname+:} false; then :
16073 else
16074 ac_cv_search_gethostbyname=no
16076 rm conftest.$ac_ext
16077 LIBS=$ac_func_search_save_LIBS
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16080 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16081 ac_res=$ac_cv_search_gethostbyname
16082 if test "$ac_res" != no; then :
16083 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16089 $as_echo_n "checking for library containing connect... " >&6; }
16090 if ${ac_cv_search_connect+:} false; then :
16091 $as_echo_n "(cached) " >&6
16092 else
16093 ac_func_search_save_LIBS=$LIBS
16094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16095 /* end confdefs.h. */
16097 /* Override any GCC internal prototype to avoid an error.
16098 Use char because int might match the return type of a GCC
16099 builtin and then its argument prototype would still apply. */
16100 #ifdef __cplusplus
16101 extern "C"
16102 #endif
16103 char connect ();
16105 main ()
16107 return connect ();
16109 return 0;
16111 _ACEOF
16112 for ac_lib in '' socket; do
16113 if test -z "$ac_lib"; then
16114 ac_res="none required"
16115 else
16116 ac_res=-l$ac_lib
16117 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16119 if ac_fn_c_try_link "$LINENO"; then :
16120 ac_cv_search_connect=$ac_res
16122 rm -f core conftest.err conftest.$ac_objext \
16123 conftest$ac_exeext
16124 if ${ac_cv_search_connect+:} false; then :
16125 break
16127 done
16128 if ${ac_cv_search_connect+:} false; then :
16130 else
16131 ac_cv_search_connect=no
16133 rm conftest.$ac_ext
16134 LIBS=$ac_func_search_save_LIBS
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16137 $as_echo "$ac_cv_search_connect" >&6; }
16138 ac_res=$ac_cv_search_connect
16139 if test "$ac_res" != no; then :
16140 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16146 $as_echo_n "checking for library containing inet_aton... " >&6; }
16147 if ${ac_cv_search_inet_aton+:} false; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 ac_func_search_save_LIBS=$LIBS
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16154 /* Override any GCC internal prototype to avoid an error.
16155 Use char because int might match the return type of a GCC
16156 builtin and then its argument prototype would still apply. */
16157 #ifdef __cplusplus
16158 extern "C"
16159 #endif
16160 char inet_aton ();
16162 main ()
16164 return inet_aton ();
16166 return 0;
16168 _ACEOF
16169 for ac_lib in '' resolv; do
16170 if test -z "$ac_lib"; then
16171 ac_res="none required"
16172 else
16173 ac_res=-l$ac_lib
16174 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16176 if ac_fn_c_try_link "$LINENO"; then :
16177 ac_cv_search_inet_aton=$ac_res
16179 rm -f core conftest.err conftest.$ac_objext \
16180 conftest$ac_exeext
16181 if ${ac_cv_search_inet_aton+:} false; then :
16182 break
16184 done
16185 if ${ac_cv_search_inet_aton+:} false; then :
16187 else
16188 ac_cv_search_inet_aton=no
16190 rm conftest.$ac_ext
16191 LIBS=$ac_func_search_save_LIBS
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16194 $as_echo "$ac_cv_search_inet_aton" >&6; }
16195 ac_res=$ac_cv_search_inet_aton
16196 if test "$ac_res" != no; then :
16197 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16202 for ac_func in \
16203 getaddrinfo \
16204 getnameinfo \
16205 getnetbyname \
16206 getprotobyname \
16207 getprotobynumber \
16208 getservbyport \
16209 inet_addr \
16210 inet_network \
16211 inet_ntop \
16212 inet_pton \
16213 sendmsg \
16214 socketpair \
16216 do :
16217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16219 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16222 _ACEOF
16225 done
16228 ac_save_LIBS=$LIBS
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16230 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16231 if ${ac_cv_search_clock_gettime+:} false; then :
16232 $as_echo_n "(cached) " >&6
16233 else
16234 ac_func_search_save_LIBS=$LIBS
16235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16238 /* Override any GCC internal prototype to avoid an error.
16239 Use char because int might match the return type of a GCC
16240 builtin and then its argument prototype would still apply. */
16241 #ifdef __cplusplus
16242 extern "C"
16243 #endif
16244 char clock_gettime ();
16246 main ()
16248 return clock_gettime ();
16250 return 0;
16252 _ACEOF
16253 for ac_lib in '' rt; do
16254 if test -z "$ac_lib"; then
16255 ac_res="none required"
16256 else
16257 ac_res=-l$ac_lib
16258 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16260 if ac_fn_c_try_link "$LINENO"; then :
16261 ac_cv_search_clock_gettime=$ac_res
16263 rm -f core conftest.err conftest.$ac_objext \
16264 conftest$ac_exeext
16265 if ${ac_cv_search_clock_gettime+:} false; then :
16266 break
16268 done
16269 if ${ac_cv_search_clock_gettime+:} false; then :
16271 else
16272 ac_cv_search_clock_gettime=no
16274 rm conftest.$ac_ext
16275 LIBS=$ac_func_search_save_LIBS
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16278 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16279 ac_res=$ac_cv_search_clock_gettime
16280 if test "$ac_res" != no; then :
16281 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16283 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16285 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16289 LIBS=$ac_save_LIBS
16291 if test "x$with_ldap" != "xno"
16292 then
16293 if ${LDAP_CFLAGS:+false} :; then :
16294 if ${PKG_CONFIG+:} false; then :
16295 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16299 if ${LDAP_LIBS:+false} :; then :
16300 if ${PKG_CONFIG+:} false; then :
16301 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16305 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16306 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16307 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16308 ac_save_CPPFLAGS=$CPPFLAGS
16309 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16310 for ac_header in ldap.h lber.h
16311 do :
16312 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16313 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16314 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16315 cat >>confdefs.h <<_ACEOF
16316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16317 _ACEOF
16321 done
16323 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16324 then
16325 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16327 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16329 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16330 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16331 $as_echo_n "(cached) " >&6
16332 else
16333 ac_check_lib_save_LIBS=$LIBS
16334 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16338 /* Override any GCC internal prototype to avoid an error.
16339 Use char because int might match the return type of a GCC
16340 builtin and then its argument prototype would still apply. */
16341 #ifdef __cplusplus
16342 extern "C"
16343 #endif
16344 char ldap_initialize ();
16346 main ()
16348 return ldap_initialize ();
16350 return 0;
16352 _ACEOF
16353 if ac_fn_c_try_link "$LINENO"; then :
16354 ac_cv_lib_ldap_r_ldap_initialize=yes
16355 else
16356 ac_cv_lib_ldap_r_ldap_initialize=no
16358 rm -f core conftest.err conftest.$ac_objext \
16359 conftest$ac_exeext conftest.$ac_ext
16360 LIBS=$ac_check_lib_save_LIBS
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16363 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16364 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16366 $as_echo_n "checking for ber_init in -llber... " >&6; }
16367 if ${ac_cv_lib_lber_ber_init+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 ac_check_lib_save_LIBS=$LIBS
16371 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16378 #ifdef __cplusplus
16379 extern "C"
16380 #endif
16381 char ber_init ();
16383 main ()
16385 return ber_init ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"; then :
16391 ac_cv_lib_lber_ber_init=yes
16392 else
16393 ac_cv_lib_lber_ber_init=no
16395 rm -f core conftest.err conftest.$ac_objext \
16396 conftest$ac_exeext conftest.$ac_ext
16397 LIBS=$ac_check_lib_save_LIBS
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16400 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16401 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16403 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16405 else
16406 LDAP_LIBS=""
16409 else
16410 LDAP_LIBS=""
16413 else
16414 LDAP_LIBS=""
16417 ac_wine_check_funcs_save_LIBS="$LIBS"
16418 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16419 for ac_func in \
16420 ldap_count_references \
16421 ldap_first_reference \
16422 ldap_next_reference \
16423 ldap_parse_reference \
16424 ldap_parse_sort_control \
16425 ldap_parse_sortresponse_control \
16426 ldap_parse_vlv_control \
16427 ldap_parse_vlvresponse_control
16428 do :
16429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16434 _ACEOF
16437 done
16439 LIBS="$ac_wine_check_funcs_save_LIBS"
16440 else
16441 LDAP_LIBS=""
16443 CPPFLAGS=$ac_save_CPPFLAGS
16444 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16445 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16448 if test "x$LDAP_LIBS" = "x"; then :
16449 case "x$with_ldap" in
16450 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16451 xno) ;;
16452 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16453 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16454 esac
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16459 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16460 if ${wine_cv_one_arg_mkdir+:} false; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16465 #include <sys/stat.h>
16467 main ()
16469 mkdir("foo");
16471 return 0;
16473 _ACEOF
16474 if ac_fn_c_try_compile "$LINENO"; then :
16475 wine_cv_one_arg_mkdir=yes
16476 else
16477 wine_cv_one_arg_mkdir=no
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16482 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16483 if test "$wine_cv_one_arg_mkdir" = "yes"
16484 then
16486 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16491 $as_echo_n "checking for sched_setaffinity... " >&6; }
16492 if ${wine_cv_have_sched_setaffinity+:} false; then :
16493 $as_echo_n "(cached) " >&6
16494 else
16495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16497 #define _GNU_SOURCE
16498 #include <sched.h>
16500 main ()
16502 sched_setaffinity(0, 0, 0);
16504 return 0;
16506 _ACEOF
16507 if ac_fn_c_try_link "$LINENO"; then :
16508 wine_cv_have_sched_setaffinity=yes
16509 else
16510 wine_cv_have_sched_setaffinity=no
16512 rm -f core conftest.err conftest.$ac_objext \
16513 conftest$ac_exeext conftest.$ac_ext
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16516 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16517 if test "$wine_cv_have_sched_setaffinity" = "yes"
16518 then
16520 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16525 $as_echo_n "checking for fallocate... " >&6; }
16526 if ${wine_cv_have_fallocate+:} false; then :
16527 $as_echo_n "(cached) " >&6
16528 else
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #define _GNU_SOURCE
16532 #include <fcntl.h>
16534 main ()
16536 fallocate(-1, 0, 0, 0);
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_link "$LINENO"; then :
16542 wine_cv_have_fallocate=yes
16543 else
16544 wine_cv_have_fallocate=no
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16550 $as_echo "$wine_cv_have_fallocate" >&6; }
16551 if test "$wine_cv_have_fallocate" = "yes"
16552 then
16554 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16560 $as_echo_n "checking for inline... " >&6; }
16561 if ${ac_cv_c_inline+:} false; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 ac_cv_c_inline=no
16565 for ac_kw in inline __inline__ __inline; do
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16568 #ifndef __cplusplus
16569 typedef int foo_t;
16570 static $ac_kw foo_t static_foo () {return 0; }
16571 $ac_kw foo_t foo () {return 0; }
16572 #endif
16574 _ACEOF
16575 if ac_fn_c_try_compile "$LINENO"; then :
16576 ac_cv_c_inline=$ac_kw
16578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16579 test "$ac_cv_c_inline" != no && break
16580 done
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16584 $as_echo "$ac_cv_c_inline" >&6; }
16586 case $ac_cv_c_inline in
16587 inline | yes) ;;
16589 case $ac_cv_c_inline in
16590 no) ac_val=;;
16591 *) ac_val=$ac_cv_c_inline;;
16592 esac
16593 cat >>confdefs.h <<_ACEOF
16594 #ifndef __cplusplus
16595 #define inline $ac_val
16596 #endif
16597 _ACEOF
16599 esac
16601 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16602 if test "x$ac_cv_type_mode_t" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_MODE_T 1
16606 _ACEOF
16610 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16611 if test "x$ac_cv_type_off_t" = xyes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_OFF_T 1
16615 _ACEOF
16619 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16620 if test "x$ac_cv_type_pid_t" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_PID_T 1
16624 _ACEOF
16628 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16629 if test "x$ac_cv_type_size_t" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_SIZE_T 1
16633 _ACEOF
16637 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16638 if test "x$ac_cv_type_ssize_t" = xyes; then :
16640 cat >>confdefs.h <<_ACEOF
16641 #define HAVE_SSIZE_T 1
16642 _ACEOF
16646 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16647 if test "x$ac_cv_type_long_long" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_LONG_LONG 1
16651 _ACEOF
16655 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16656 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16658 cat >>confdefs.h <<_ACEOF
16659 #define HAVE_FSBLKCNT_T 1
16660 _ACEOF
16664 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16665 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_FSFILCNT_T 1
16669 _ACEOF
16674 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16675 #include <signal.h>
16677 if test "x$ac_cv_type_sigset_t" = xyes; then :
16679 cat >>confdefs.h <<_ACEOF
16680 #define HAVE_SIGSET_T 1
16681 _ACEOF
16686 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16688 if test "x$ac_cv_type_request_sense" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_REQUEST_SENSE 1
16692 _ACEOF
16698 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16699 #ifdef HAVE_SYS_SOCKET_H
16700 #include <sys/socket.h>
16701 #endif
16702 #ifdef HAVE_SYS_SOCKETVAR_H
16703 #include <sys/socketvar.h>
16704 #endif
16705 #ifdef HAVE_NET_ROUTE_H
16706 #include <net/route.h>
16707 #endif
16708 #ifdef HAVE_NETINET_IN_H
16709 #include <netinet/in.h>
16710 #endif
16711 #ifdef HAVE_NETINET_IN_SYSTM_H
16712 #include <netinet/in_systm.h>
16713 #endif
16714 #ifdef HAVE_NETINET_IP_H
16715 #include <netinet/ip.h>
16716 #endif
16717 #ifdef HAVE_NETINET_IN_PCB_H
16718 #include <netinet/in_pcb.h>
16719 #endif
16721 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16723 cat >>confdefs.h <<_ACEOF
16724 #define HAVE_STRUCT_XINPGEN 1
16725 _ACEOF
16731 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16732 #include <link.h>
16733 #endif
16734 #ifdef HAVE_SYS_LINK_H
16735 #include <sys/link.h>
16736 #endif
16738 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_STRUCT_R_DEBUG 1
16742 _ACEOF
16746 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16747 #include <link.h>
16748 #endif
16749 #ifdef HAVE_SYS_LINK_H
16750 #include <sys/link.h>
16751 #endif
16753 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_STRUCT_LINK_MAP 1
16757 _ACEOF
16763 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16764 #include <linux/input.h>
16765 #endif
16767 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16771 _ACEOF
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16778 $as_echo_n "checking for if_nameindex... " >&6; }
16779 if ${wine_cv_have_if_nameindex+:} false; then :
16780 $as_echo_n "(cached) " >&6
16781 else
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16784 #ifdef HAVE_SYS_TYPES_H
16785 #include <sys/types.h>
16786 #endif
16787 #ifdef HAVE_SYS_SOCKET_H
16788 #include <sys/socket.h>
16789 #endif
16790 #ifdef HAVE_NET_IF_H
16791 # include <net/if.h>
16792 #endif
16794 main ()
16796 struct if_nameindex *p = if_nameindex(); return p->if_index;
16798 return 0;
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802 wine_cv_have_if_nameindex=yes
16803 else
16804 wine_cv_have_if_nameindex=no
16806 rm -f core conftest.err conftest.$ac_objext \
16807 conftest$ac_exeext conftest.$ac_ext
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16810 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16811 if test "$wine_cv_have_if_nameindex" = "yes"
16812 then
16814 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16819 $as_echo_n "checking for sigaddset... " >&6; }
16820 if ${wine_cv_have_sigaddset+:} false; then :
16821 $as_echo_n "(cached) " >&6
16822 else
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16825 #include <signal.h>
16827 main ()
16829 sigset_t set; sigaddset(&set,SIGTERM);
16831 return 0;
16833 _ACEOF
16834 if ac_fn_c_try_link "$LINENO"; then :
16835 wine_cv_have_sigaddset=yes
16836 else
16837 wine_cv_have_sigaddset=no
16839 rm -f core conftest.err conftest.$ac_objext \
16840 conftest$ac_exeext conftest.$ac_ext
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16843 $as_echo "$wine_cv_have_sigaddset" >&6; }
16844 if test "$wine_cv_have_sigaddset" = "yes"
16845 then
16847 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16853 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16854 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16855 $as_echo_n "(cached) " >&6
16856 else
16857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16859 #include <netdb.h>
16861 main ()
16864 char *name=0;
16865 struct hostent he;
16866 struct hostent *result;
16867 char *buf=0;
16868 int bufsize=0;
16869 int errnr;
16870 char *addr=0;
16871 int addrlen=0;
16872 int addrtype=0;
16873 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16874 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16877 return 0;
16879 _ACEOF
16880 if ac_fn_c_try_link "$LINENO"; then :
16881 wine_cv_linux_gethostbyname_r_6=yes
16882 else
16883 wine_cv_linux_gethostbyname_r_6=no
16886 rm -f core conftest.err conftest.$ac_objext \
16887 conftest$ac_exeext conftest.$ac_ext
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16891 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16892 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16893 then
16895 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16899 if test "$ac_cv_header_linux_joystick_h" = "yes"
16900 then
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16902 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16903 if ${wine_cv_linux_joystick_22_api+:} false; then :
16904 $as_echo_n "(cached) " >&6
16905 else
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16909 #include <sys/ioctl.h>
16910 #include <sys/types.h>
16911 #include <linux/joystick.h>
16913 struct js_event blub;
16914 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16915 #error "no 2.2 header"
16916 #endif
16919 main ()
16921 /*empty*/
16923 return 0;
16925 _ACEOF
16926 if ac_fn_c_try_compile "$LINENO"; then :
16927 wine_cv_linux_joystick_22_api=yes
16928 else
16929 wine_cv_linux_joystick_22_api=no
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16935 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16936 if test "$wine_cv_linux_joystick_22_api" = "yes"
16937 then
16939 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16945 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16946 #ifdef HAVE_SYS_PARAM_H
16947 # include <sys/param.h>
16948 #endif
16949 #ifdef HAVE_SYS_MOUNT_H
16950 # include <sys/mount.h>
16951 #endif
16952 #ifdef HAVE_SYS_VFS_H
16953 # include <sys/vfs.h>
16954 #endif
16955 #ifdef HAVE_SYS_STATFS_H
16956 # include <sys/statfs.h>
16957 #endif
16959 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16961 cat >>confdefs.h <<_ACEOF
16962 #define HAVE_STRUCT_STATFS_F_BFREE 1
16963 _ACEOF
16967 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16968 #ifdef HAVE_SYS_PARAM_H
16969 # include <sys/param.h>
16970 #endif
16971 #ifdef HAVE_SYS_MOUNT_H
16972 # include <sys/mount.h>
16973 #endif
16974 #ifdef HAVE_SYS_VFS_H
16975 # include <sys/vfs.h>
16976 #endif
16977 #ifdef HAVE_SYS_STATFS_H
16978 # include <sys/statfs.h>
16979 #endif
16981 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16983 cat >>confdefs.h <<_ACEOF
16984 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16985 _ACEOF
16989 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16990 #ifdef HAVE_SYS_PARAM_H
16991 # include <sys/param.h>
16992 #endif
16993 #ifdef HAVE_SYS_MOUNT_H
16994 # include <sys/mount.h>
16995 #endif
16996 #ifdef HAVE_SYS_VFS_H
16997 # include <sys/vfs.h>
16998 #endif
16999 #ifdef HAVE_SYS_STATFS_H
17000 # include <sys/statfs.h>
17001 #endif
17003 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17005 cat >>confdefs.h <<_ACEOF
17006 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17007 _ACEOF
17011 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17012 #ifdef HAVE_SYS_PARAM_H
17013 # include <sys/param.h>
17014 #endif
17015 #ifdef HAVE_SYS_MOUNT_H
17016 # include <sys/mount.h>
17017 #endif
17018 #ifdef HAVE_SYS_VFS_H
17019 # include <sys/vfs.h>
17020 #endif
17021 #ifdef HAVE_SYS_STATFS_H
17022 # include <sys/statfs.h>
17023 #endif
17025 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17027 cat >>confdefs.h <<_ACEOF
17028 #define HAVE_STRUCT_STATFS_F_FFREE 1
17029 _ACEOF
17033 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17034 #ifdef HAVE_SYS_PARAM_H
17035 # include <sys/param.h>
17036 #endif
17037 #ifdef HAVE_SYS_MOUNT_H
17038 # include <sys/mount.h>
17039 #endif
17040 #ifdef HAVE_SYS_VFS_H
17041 # include <sys/vfs.h>
17042 #endif
17043 #ifdef HAVE_SYS_STATFS_H
17044 # include <sys/statfs.h>
17045 #endif
17047 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17049 cat >>confdefs.h <<_ACEOF
17050 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17051 _ACEOF
17055 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17056 #ifdef HAVE_SYS_PARAM_H
17057 # include <sys/param.h>
17058 #endif
17059 #ifdef HAVE_SYS_MOUNT_H
17060 # include <sys/mount.h>
17061 #endif
17062 #ifdef HAVE_SYS_VFS_H
17063 # include <sys/vfs.h>
17064 #endif
17065 #ifdef HAVE_SYS_STATFS_H
17066 # include <sys/statfs.h>
17067 #endif
17069 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17071 cat >>confdefs.h <<_ACEOF
17072 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17073 _ACEOF
17079 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17080 #include <sys/statvfs.h>
17081 #endif
17083 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17085 cat >>confdefs.h <<_ACEOF
17086 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17087 _ACEOF
17093 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17094 #include <dirent.h>
17095 #endif
17097 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17101 _ACEOF
17107 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17108 #ifdef HAVE_SYS_SOCKET_H
17109 # include <sys/socket.h>
17110 #endif
17111 #ifdef HAVE_SYS_UN_H
17112 # include <sys/un.h>
17113 #endif
17115 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17117 cat >>confdefs.h <<_ACEOF
17118 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17119 _ACEOF
17123 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17124 #ifdef HAVE_SYS_SOCKET_H
17125 # include <sys/socket.h>
17126 #endif
17127 #ifdef HAVE_SYS_UN_H
17128 # include <sys/un.h>
17129 #endif
17131 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17133 cat >>confdefs.h <<_ACEOF
17134 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17135 _ACEOF
17139 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17140 #ifdef HAVE_SYS_SOCKET_H
17141 # include <sys/socket.h>
17142 #endif
17143 #ifdef HAVE_SYS_UN_H
17144 # include <sys/un.h>
17145 #endif
17147 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17149 cat >>confdefs.h <<_ACEOF
17150 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17151 _ACEOF
17157 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17158 #ifdef HAVE_SCSI_SG_H
17159 #include <scsi/sg.h>
17160 #endif
17162 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17164 cat >>confdefs.h <<_ACEOF
17165 #define HAVE_SCSIREQ_T_CMD 1
17166 _ACEOF
17170 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>
17171 #ifdef HAVE_SCSI_SG_H
17172 #include <scsi/sg.h>
17173 #endif
17175 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17177 cat >>confdefs.h <<_ACEOF
17178 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17179 _ACEOF
17185 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17187 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17189 cat >>confdefs.h <<_ACEOF
17190 #define HAVE_SIGINFO_T_SI_FD 1
17191 _ACEOF
17197 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17198 #ifdef HAVE_SYS_MTIO_H
17199 #include <sys/mtio.h>
17200 #endif
17202 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17204 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17206 _ACEOF
17210 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17211 #ifdef HAVE_SYS_MTIO_H
17212 #include <sys/mtio.h>
17213 #endif
17215 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17217 cat >>confdefs.h <<_ACEOF
17218 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17219 _ACEOF
17223 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17224 #ifdef HAVE_SYS_MTIO_H
17225 #include <sys/mtio.h>
17226 #endif
17228 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17230 cat >>confdefs.h <<_ACEOF
17231 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17232 _ACEOF
17238 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17239 #include <getopt.h>
17240 #endif
17242 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17244 cat >>confdefs.h <<_ACEOF
17245 #define HAVE_STRUCT_OPTION_NAME 1
17246 _ACEOF
17252 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17253 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17257 _ACEOF
17261 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17262 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17264 cat >>confdefs.h <<_ACEOF
17265 #define HAVE_STRUCT_STAT_ST_MTIM 1
17266 _ACEOF
17270 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17271 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17273 cat >>confdefs.h <<_ACEOF
17274 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17275 _ACEOF
17279 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17280 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_STRUCT_STAT_ST_CTIM 1
17284 _ACEOF
17288 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17289 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17291 cat >>confdefs.h <<_ACEOF
17292 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17293 _ACEOF
17297 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17298 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17300 cat >>confdefs.h <<_ACEOF
17301 #define HAVE_STRUCT_STAT_ST_ATIM 1
17302 _ACEOF
17306 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17307 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17309 cat >>confdefs.h <<_ACEOF
17310 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17311 _ACEOF
17315 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17316 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17318 cat >>confdefs.h <<_ACEOF
17319 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17320 _ACEOF
17324 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17325 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17327 cat >>confdefs.h <<_ACEOF
17328 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17329 _ACEOF
17333 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17334 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17336 cat >>confdefs.h <<_ACEOF
17337 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17338 _ACEOF
17342 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17343 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17345 cat >>confdefs.h <<_ACEOF
17346 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17347 _ACEOF
17351 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17352 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17354 cat >>confdefs.h <<_ACEOF
17355 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17356 _ACEOF
17362 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
17363 #include <sys/types.h>
17364 #endif
17365 #ifdef HAVE_NETINET_IN_H
17366 #include <netinet/in.h>
17367 #endif
17369 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17371 cat >>confdefs.h <<_ACEOF
17372 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17373 _ACEOF
17379 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17380 #include <sys/types.h>
17381 #endif
17382 #ifdef HAVE_NETINET_IN_H
17383 #include <netinet/in.h>
17384 #endif
17385 #ifdef HAVE_RESOLV_H
17386 #include <resolv.h>
17387 #endif
17389 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17391 cat >>confdefs.h <<_ACEOF
17392 #define HAVE_STRUCT___RES_STATE 1
17393 _ACEOF
17399 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
17400 #include <resolv.h>
17401 #endif
17403 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17405 cat >>confdefs.h <<_ACEOF
17406 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17407 _ACEOF
17413 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17414 #include <sys/types.h>
17415 #endif
17416 #ifdef HAVE_NETINET_IN_H
17417 # include <netinet/in.h>
17418 #endif
17419 #ifdef HAVE_ARPA_NAMESER_H
17420 # include <arpa/nameser.h>
17421 #endif
17423 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17425 cat >>confdefs.h <<_ACEOF
17426 #define HAVE_NS_MSG__MSG_PTR 1
17427 _ACEOF
17433 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17434 #include <sys/types.h>
17435 #endif
17436 #ifdef HAVE_NETINET_IN_H
17437 #include <netinet/in.h>
17438 #endif
17439 #ifdef HAVE_NETINET_IP_H
17440 #include <netinet/ip.h>
17441 #endif
17442 #ifdef HAVE_NETINET_IP_ICMP_H
17443 #include <netinet/ip_icmp.h>
17444 #endif
17445 #ifdef HAVE_NETINET_ICMP_VAR_H
17446 #include <netinet/icmp_var.h>
17447 #endif
17449 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17451 cat >>confdefs.h <<_ACEOF
17452 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17453 _ACEOF
17459 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17460 #include <sys/types.h>
17461 #endif
17462 #ifdef HAVE_ALIAS_H
17463 #include <alias.h>
17464 #endif
17465 #ifdef HAVE_SYS_SOCKET_H
17466 #include <sys/socket.h>
17467 #endif
17468 #ifdef HAVE_SYS_SOCKETVAR_H
17469 #include <sys/socketvar.h>
17470 #endif
17471 #ifdef HAVE_SYS_TIMEOUT_H
17472 #include <sys/timeout.h>
17473 #endif
17474 #ifdef HAVE_NETINET_IN_H
17475 #include <netinet/in.h>
17476 #endif
17477 #ifdef HAVE_NETINET_IN_SYSTM_H
17478 #include <netinet/in_systm.h>
17479 #endif
17480 #ifdef HAVE_NETINET_IP_H
17481 #include <netinet/ip.h>
17482 #endif
17483 #ifdef HAVE_NETINET_IP_VAR_H
17484 #include <netinet/ip_var.h>
17485 #endif
17486 #ifdef HAVE_NETINET_IP_ICMP_H
17487 #include <netinet/ip_icmp.h>
17488 #endif
17489 #ifdef HAVE_NETINET_ICMP_VAR_H
17490 #include <netinet/icmp_var.h>
17491 #endif
17493 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17495 cat >>confdefs.h <<_ACEOF
17496 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17497 _ACEOF
17503 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17504 #include <sys/types.h>
17505 #endif
17506 #ifdef HAVE_SYS_SOCKETVAR_H
17507 #include <sys/socketvar.h>
17508 #endif
17509 #ifdef HAVE_NETINET_IN_H
17510 #include <netinet/in.h>
17511 #endif
17512 #ifdef HAVE_NETINET_IP_VAR_H
17513 #include <netinet/ip_var.h>
17514 #endif
17516 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17518 cat >>confdefs.h <<_ACEOF
17519 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17520 _ACEOF
17526 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
17527 #include <netinet/ip_var.h>
17528 #endif
17530 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17532 cat >>confdefs.h <<_ACEOF
17533 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17534 _ACEOF
17540 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17541 #include <sys/types.h>
17542 #endif
17543 #ifdef HAVE_SYS_SOCKETVAR_H
17544 #include <sys/socketvar.h>
17545 #endif
17546 #ifdef HAVE_NETINET_IN_H
17547 #include <netinet/in.h>
17548 #endif
17549 #ifdef HAVE_NETINET_TCP_H
17550 #include <netinet/tcp.h>
17551 #endif
17552 #ifdef HAVE_NETINET_TCP_VAR_H
17553 #include <netinet/tcp_var.h>
17554 #endif
17556 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17558 cat >>confdefs.h <<_ACEOF
17559 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17560 _ACEOF
17566 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
17567 #include <netinet/tcp_var.h>
17568 #endif
17570 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17572 cat >>confdefs.h <<_ACEOF
17573 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17574 _ACEOF
17580 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17581 #include <sys/types.h>
17582 #endif
17583 #ifdef HAVE_NETINET_IN_H
17584 #include <netinet/in.h>
17585 #endif
17586 #ifdef HAVE_NETINET_IP_VAR_H
17587 #include <netinet/ip_var.h>
17588 #endif
17589 #ifdef HAVE_NETINET_UDP_H
17590 #include <netinet/udp.h>
17591 #endif
17592 #ifdef HAVE_NETINET_UDP_VAR_H
17593 #include <netinet/udp_var.h>
17594 #endif
17596 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17598 cat >>confdefs.h <<_ACEOF
17599 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17600 _ACEOF
17606 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17607 #include <sys/types.h>
17608 #endif
17609 #ifdef HAVE_NET_IF_H
17610 # include <net/if.h>
17611 #endif
17613 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17615 cat >>confdefs.h <<_ACEOF
17616 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17617 _ACEOF
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17624 $as_echo_n "checking for timezone variable... " >&6; }
17625 if ${ac_cv_have_timezone+:} false; then :
17626 $as_echo_n "(cached) " >&6
17627 else
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <time.h>
17632 main ()
17634 timezone = 1
17636 return 0;
17638 _ACEOF
17639 if ac_fn_c_try_link "$LINENO"; then :
17640 ac_cv_have_timezone="yes"
17641 else
17642 ac_cv_have_timezone="no"
17644 rm -f core conftest.err conftest.$ac_objext \
17645 conftest$ac_exeext conftest.$ac_ext
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17648 $as_echo "$ac_cv_have_timezone" >&6; }
17649 if test "$ac_cv_have_timezone" = "yes"
17650 then
17652 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17656 $as_echo_n "checking for daylight variable... " >&6; }
17657 if ${ac_cv_have_daylight+:} false; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 #include <time.h>
17664 main ()
17666 daylight = 1
17668 return 0;
17670 _ACEOF
17671 if ac_fn_c_try_link "$LINENO"; then :
17672 ac_cv_have_daylight="yes"
17673 else
17674 ac_cv_have_daylight="no"
17676 rm -f core conftest.err conftest.$ac_objext \
17677 conftest$ac_exeext conftest.$ac_ext
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17680 $as_echo "$ac_cv_have_daylight" >&6; }
17681 if test "$ac_cv_have_daylight" = "yes"
17682 then
17684 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17688 ac_save_LIBS="$LIBS"
17689 LIBS="$LIBS -lm"
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17691 $as_echo_n "checking for isfinite... " >&6; }
17692 if ${ac_cv_have_isfinite+:} false; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17697 #define _GNU_SOURCE
17698 #include <math.h>
17700 main ()
17702 float f = 0.0; return isfinite(f)
17704 return 0;
17706 _ACEOF
17707 if ac_fn_c_try_link "$LINENO"; then :
17708 ac_cv_have_isfinite="yes"
17709 else
17710 ac_cv_have_isfinite="no"
17712 rm -f core conftest.err conftest.$ac_objext \
17713 conftest$ac_exeext conftest.$ac_ext
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17716 $as_echo "$ac_cv_have_isfinite" >&6; }
17717 if test "$ac_cv_have_isfinite" = "yes"
17718 then
17720 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17725 $as_echo_n "checking for isinf... " >&6; }
17726 if ${ac_cv_have_isinf+:} false; then :
17727 $as_echo_n "(cached) " >&6
17728 else
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #include <math.h>
17733 main ()
17735 float f = 0.0; return isinf(f)
17737 return 0;
17739 _ACEOF
17740 if ac_fn_c_try_link "$LINENO"; then :
17741 ac_cv_have_isinf="yes"
17742 else
17743 ac_cv_have_isinf="no"
17745 rm -f core conftest.err conftest.$ac_objext \
17746 conftest$ac_exeext conftest.$ac_ext
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17749 $as_echo "$ac_cv_have_isinf" >&6; }
17750 if test "$ac_cv_have_isinf" = "yes"
17751 then
17753 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17758 $as_echo_n "checking for isnan... " >&6; }
17759 if ${ac_cv_have_isnan+:} false; then :
17760 $as_echo_n "(cached) " >&6
17761 else
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #include <math.h>
17766 main ()
17768 float f = 0.0; return isnan(f)
17770 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_link "$LINENO"; then :
17774 ac_cv_have_isnan="yes"
17775 else
17776 ac_cv_have_isnan="no"
17778 rm -f core conftest.err conftest.$ac_objext \
17779 conftest$ac_exeext conftest.$ac_ext
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17782 $as_echo "$ac_cv_have_isnan" >&6; }
17783 if test "$ac_cv_have_isnan" = "yes"
17784 then
17786 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17790 for ac_func in \
17791 acosh \
17792 acoshf \
17793 asinh \
17794 asinhf \
17795 atanh \
17796 atanhf \
17797 cbrt \
17798 cbrtf \
17799 erf \
17800 erfc \
17801 erfcf \
17802 erff \
17803 exp2 \
17804 exp2f \
17805 expm1 \
17806 expm1f \
17807 lgamma \
17808 lgammaf \
17809 llrint \
17810 llrintf \
17811 llround \
17812 llroundf \
17813 log1p \
17814 log1pf \
17815 log2 \
17816 log2f \
17817 lrint \
17818 lrintf \
17819 lround \
17820 lroundf \
17821 nearbyint \
17822 nearbyintf \
17823 powl \
17824 remainder \
17825 remainderf \
17826 rint \
17827 rintf \
17828 round \
17829 roundf \
17830 trunc \
17831 truncf
17833 do :
17834 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17835 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17836 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17837 cat >>confdefs.h <<_ACEOF
17838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17839 _ACEOF
17842 done
17844 LIBS="$ac_save_LIBS"
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17847 $as_echo_n "checking for __builtin_clz... " >&6; }
17848 if ${ac_cv_have___builtin_clz+:} false; then :
17849 $as_echo_n "(cached) " >&6
17850 else
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17855 main ()
17857 return __builtin_clz(1)
17859 return 0;
17861 _ACEOF
17862 if ac_fn_c_try_link "$LINENO"; then :
17863 ac_cv_have___builtin_clz="yes"
17864 else
17865 ac_cv_have___builtin_clz="no"
17867 rm -f core conftest.err conftest.$ac_objext \
17868 conftest$ac_exeext conftest.$ac_ext
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17871 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17872 if test "$ac_cv_have___builtin_clz" = "yes"
17873 then
17875 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17880 $as_echo_n "checking for __builtin_popcount... " >&6; }
17881 if ${ac_cv_have___builtin_popcount+:} false; then :
17882 $as_echo_n "(cached) " >&6
17883 else
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17888 main ()
17890 return __builtin_popcount(1)
17892 return 0;
17894 _ACEOF
17895 if ac_fn_c_try_link "$LINENO"; then :
17896 ac_cv_have___builtin_popcount="yes"
17897 else
17898 ac_cv_have___builtin_popcount="no"
17900 rm -f core conftest.err conftest.$ac_objext \
17901 conftest$ac_exeext conftest.$ac_ext
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17904 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17905 if test "$ac_cv_have___builtin_popcount" = "yes"
17906 then
17908 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17913 $as_echo_n "checking for __clear_cache... " >&6; }
17914 if ${ac_cv_have___clear_cache+:} false; then :
17915 $as_echo_n "(cached) " >&6
17916 else
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17921 main ()
17923 __clear_cache((void*)0, (void*)0); return 0;
17925 return 0;
17927 _ACEOF
17928 if ac_fn_c_try_link "$LINENO"; then :
17929 ac_cv_have___clear_cache="yes"
17930 else
17931 ac_cv_have___clear_cache="no"
17933 rm -f core conftest.err conftest.$ac_objext \
17934 conftest$ac_exeext conftest.$ac_ext
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17937 $as_echo "$ac_cv_have___clear_cache" >&6; }
17938 if test "$ac_cv_have___clear_cache" = "yes"
17939 then
17941 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17946 case $host_cpu in
17947 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17948 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17949 if ${ac_cv_cpp_def___i386__+:} false; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 #ifndef __i386__
17956 #endif
17957 _ACEOF
17958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17959 $EGREP "yes" >/dev/null 2>&1; then :
17960 ac_cv_cpp_def___i386__=yes
17961 else
17962 ac_cv_cpp_def___i386__=no
17964 rm -f conftest*
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17968 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17969 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17970 CFLAGS="$CFLAGS -D__i386__"
17971 LINTFLAGS="$LINTFLAGS -D__i386__"
17972 fi ;;
17973 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17974 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17975 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17976 $as_echo_n "(cached) " >&6
17977 else
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17980 #ifndef __x86_64__
17982 #endif
17983 _ACEOF
17984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17985 $EGREP "yes" >/dev/null 2>&1; then :
17986 ac_cv_cpp_def___x86_64__=yes
17987 else
17988 ac_cv_cpp_def___x86_64__=no
17990 rm -f conftest*
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17994 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17995 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17996 CFLAGS="$CFLAGS -D__x86_64__"
17997 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17998 fi ;;
17999 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18000 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18001 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18002 $as_echo_n "(cached) " >&6
18003 else
18004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18006 #ifndef __sparc64__
18008 #endif
18009 _ACEOF
18010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18011 $EGREP "yes" >/dev/null 2>&1; then :
18012 ac_cv_cpp_def___sparc64__=yes
18013 else
18014 ac_cv_cpp_def___sparc64__=no
18016 rm -f conftest*
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18020 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18021 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18022 CFLAGS="$CFLAGS -D__sparc64__"
18023 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18024 fi ;;
18025 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18026 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18027 if ${ac_cv_cpp_def___sparc__+:} false; then :
18028 $as_echo_n "(cached) " >&6
18029 else
18030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18031 /* end confdefs.h. */
18032 #ifndef __sparc__
18034 #endif
18035 _ACEOF
18036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18037 $EGREP "yes" >/dev/null 2>&1; then :
18038 ac_cv_cpp_def___sparc__=yes
18039 else
18040 ac_cv_cpp_def___sparc__=no
18042 rm -f conftest*
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18046 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18047 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18048 CFLAGS="$CFLAGS -D__sparc__"
18049 LINTFLAGS="$LINTFLAGS -D__sparc__"
18050 fi ;;
18051 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18052 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18053 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18054 $as_echo_n "(cached) " >&6
18055 else
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18058 #ifndef __powerpc64__
18060 #endif
18061 _ACEOF
18062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18063 $EGREP "yes" >/dev/null 2>&1; then :
18064 ac_cv_cpp_def___powerpc64__=yes
18065 else
18066 ac_cv_cpp_def___powerpc64__=no
18068 rm -f conftest*
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18072 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18073 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18074 CFLAGS="$CFLAGS -D__powerpc64__"
18075 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18076 fi ;;
18077 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18078 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18079 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18080 $as_echo_n "(cached) " >&6
18081 else
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #ifndef __powerpc__
18086 #endif
18087 _ACEOF
18088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18089 $EGREP "yes" >/dev/null 2>&1; then :
18090 ac_cv_cpp_def___powerpc__=yes
18091 else
18092 ac_cv_cpp_def___powerpc__=no
18094 rm -f conftest*
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18098 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18099 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18100 CFLAGS="$CFLAGS -D__powerpc__"
18101 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18102 fi ;;
18103 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18104 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18105 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18106 $as_echo_n "(cached) " >&6
18107 else
18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18109 /* end confdefs.h. */
18110 #ifndef __aarch64__
18112 #endif
18113 _ACEOF
18114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18115 $EGREP "yes" >/dev/null 2>&1; then :
18116 ac_cv_cpp_def___aarch64__=yes
18117 else
18118 ac_cv_cpp_def___aarch64__=no
18120 rm -f conftest*
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18124 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18125 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18126 CFLAGS="$CFLAGS -D__aarch64__"
18127 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18128 fi ;;
18129 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18130 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18131 if ${ac_cv_cpp_def___arm__+:} false; then :
18132 $as_echo_n "(cached) " >&6
18133 else
18134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18136 #ifndef __arm__
18138 #endif
18139 _ACEOF
18140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18141 $EGREP "yes" >/dev/null 2>&1; then :
18142 ac_cv_cpp_def___arm__=yes
18143 else
18144 ac_cv_cpp_def___arm__=no
18146 rm -f conftest*
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18150 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18151 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18152 CFLAGS="$CFLAGS -D__arm__"
18153 LINTFLAGS="$LINTFLAGS -D__arm__"
18154 fi ;;
18155 esac
18157 case $host_vendor in
18158 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18159 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18160 if ${ac_cv_cpp_def___sun__+:} false; then :
18161 $as_echo_n "(cached) " >&6
18162 else
18163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18165 #ifndef __sun__
18167 #endif
18168 _ACEOF
18169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18170 $EGREP "yes" >/dev/null 2>&1; then :
18171 ac_cv_cpp_def___sun__=yes
18172 else
18173 ac_cv_cpp_def___sun__=no
18175 rm -f conftest*
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18179 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18180 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18181 CFLAGS="$CFLAGS -D__sun__"
18182 LINTFLAGS="$LINTFLAGS -D__sun__"
18183 fi ;;
18184 esac
18190 ac_config_commands="$ac_config_commands include/stamp-h"
18192 $as_echo_n "creating Makefile rules..." >&6
18194 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18195 SOCKET_LIBS = $SOCKET_LIBS
18196 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18197 IOKIT_LIBS = $IOKIT_LIBS
18198 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18199 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18200 CORESERVICES_LIBS = $CORESERVICES_LIBS
18201 APPKIT_LIBS = $APPKIT_LIBS
18202 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18203 SECURITY_LIBS = $SECURITY_LIBS
18204 COREAUDIO_LIBS = $COREAUDIO_LIBS
18205 OPENAL_LIBS = $OPENAL_LIBS
18206 OPENCL_LIBS = $OPENCL_LIBS
18207 QUICKTIME_LIBS = $QUICKTIME_LIBS
18208 CARBON_LIBS = $CARBON_LIBS
18209 PTHREAD_LIBS = $PTHREAD_LIBS
18210 X_CFLAGS = $X_CFLAGS
18211 X_PRE_LIBS = $X_PRE_LIBS
18212 X_LIBS = $X_LIBS
18213 X_EXTRA_LIBS = $X_EXTRA_LIBS
18214 PCAP_LIBS = $PCAP_LIBS
18215 XML2_CFLAGS = $XML2_CFLAGS
18216 XML2_LIBS = $XML2_LIBS
18217 XSLT_CFLAGS = $XSLT_CFLAGS
18218 XSLT_LIBS = $XSLT_LIBS
18219 DBUS_CFLAGS = $DBUS_CFLAGS
18220 DBUS_LIBS = $DBUS_LIBS
18221 HAL_CFLAGS = $HAL_CFLAGS
18222 HAL_LIBS = $HAL_LIBS
18223 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18224 GNUTLS_LIBS = $GNUTLS_LIBS
18225 SANE_CFLAGS = $SANE_CFLAGS
18226 SANE_LIBS = $SANE_LIBS
18227 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18228 GPHOTO2_LIBS = $GPHOTO2_LIBS
18229 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18230 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18231 RESOLV_LIBS = $RESOLV_LIBS
18232 LCMS2_CFLAGS = $LCMS2_CFLAGS
18233 LCMS2_LIBS = $LCMS2_LIBS
18234 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18235 FREETYPE_LIBS = $FREETYPE_LIBS
18236 Z_LIBS = $Z_LIBS
18237 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18238 PULSE_CFLAGS = $PULSE_CFLAGS
18239 PULSE_LIBS = $PULSE_LIBS
18240 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18241 GSTREAMER_LIBS = $GSTREAMER_LIBS
18242 ALSA_LIBS = $ALSA_LIBS
18243 OSS4_CFLAGS = $OSS4_CFLAGS
18244 UDEV_CFLAGS = $UDEV_CFLAGS
18245 UDEV_LIBS = $UDEV_LIBS
18246 CAPI20_CFLAGS = $CAPI20_CFLAGS
18247 CAPI20_LIBS = $CAPI20_LIBS
18248 CUPS_CFLAGS = $CUPS_CFLAGS
18249 CUPS_LIBS = $CUPS_LIBS
18250 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18251 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18252 KRB5_CFLAGS = $KRB5_CFLAGS
18253 KRB5_LIBS = $KRB5_LIBS
18254 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18255 GSSAPI_LIBS = $GSSAPI_LIBS
18256 JPEG_CFLAGS = $JPEG_CFLAGS
18257 JPEG_LIBS = $JPEG_LIBS
18258 PNG_CFLAGS = $PNG_CFLAGS
18259 PNG_LIBS = $PNG_LIBS
18260 TIFF_CFLAGS = $TIFF_CFLAGS
18261 TIFF_LIBS = $TIFF_LIBS
18262 MPG123_CFLAGS = $MPG123_CFLAGS
18263 MPG123_LIBS = $MPG123_LIBS
18264 KSTAT_LIBS = $KSTAT_LIBS
18265 PROCSTAT_LIBS = $PROCSTAT_LIBS
18266 NETAPI_CFLAGS = $NETAPI_CFLAGS
18267 NETAPI_LIBS = $NETAPI_LIBS
18268 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18269 DL_LIBS = $DL_LIBS
18270 POLL_LIBS = $POLL_LIBS
18271 RT_LIBS = $RT_LIBS
18272 LDAP_CFLAGS = $LDAP_CFLAGS
18273 LDAP_LIBS = $LDAP_LIBS
18278 wine_fn_append_rule "
18279 # Rules automatically generated by configure
18281 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18283 .INIT: Makefile
18284 .MAKEFILEDEPS:
18285 all: Makefile
18286 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18287 @./config.status Make.tmp Makefile
18288 depend: \$(MAKEDEP) dummy
18289 \$(MAKEDEP)"
18291 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18292 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18294 if test "x$enable_fonts" != xno; then
18295 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18296 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18297 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18298 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18299 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18300 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18302 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18303 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18304 ac_config_links="$ac_config_links wine:tools/winewrapper"
18305 wine_fn_config_symlink wine
18306 if test "x$enable_win64" != xno; then
18307 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18308 wine_fn_config_symlink wine64
18311 wine_fn_config_dll acledit enable_acledit
18312 wine_fn_config_dll aclui enable_aclui implib
18313 wine_fn_config_dll activeds enable_activeds implib
18314 wine_fn_config_dll actxprxy enable_actxprxy clean
18315 wine_fn_config_lib adsiid
18316 wine_fn_config_dll adsldpc enable_adsldpc
18317 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18318 wine_fn_config_test dlls/advapi32/tests advapi32_test
18319 wine_fn_config_dll advpack enable_advpack implib
18320 wine_fn_config_test dlls/advpack/tests advpack_test
18321 wine_fn_config_dll amstream enable_amstream clean
18322 wine_fn_config_test dlls/amstream/tests amstream_test
18323 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18324 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18325 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18326 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18327 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18328 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18329 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18331 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18333 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18334 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18335 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18336 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18337 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18338 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18339 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18340 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18341 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18342 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18343 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18344 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18345 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18346 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18347 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18348 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18349 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18350 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18351 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18352 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18353 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18354 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18355 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18356 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18357 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18358 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18359 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18360 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18361 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18362 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18363 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18364 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18365 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18366 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18367 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18368 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18369 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18370 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18371 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18372 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18373 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18374 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18375 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18376 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18377 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18378 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18379 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18380 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18381 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18382 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18383 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18384 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18385 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18386 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18387 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18388 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18389 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18390 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18391 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18392 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18393 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18394 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18395 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18396 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18397 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18398 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18399 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18400 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18401 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18404 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18405 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18406 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18407 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18408 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18409 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18410 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18411 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18412 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18413 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18414 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18415 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18416 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18417 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18418 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18419 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18420 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18421 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18422 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18423 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18424 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18425 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18426 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18427 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18428 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18429 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18430 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18431 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18432 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18433 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18434 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18435 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18436 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18437 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18438 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18439 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18440 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18441 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18442 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18443 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18444 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18445 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18446 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18447 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18448 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18449 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18450 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18451 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18452 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18453 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18454 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18455 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18456 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18457 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18458 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18459 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18460 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18461 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18462 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18463 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18464 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18465 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18466 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18467 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18468 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18469 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18470 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18471 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18472 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18473 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18474 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18475 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18476 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18477 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18478 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18479 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18480 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18481 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18482 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18483 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18484 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18485 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18486 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18487 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18488 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18489 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18490 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18491 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18492 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18493 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18494 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18495 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18496 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18497 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18498 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18499 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18500 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18501 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18502 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18503 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18504 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18505 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18506 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18507 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18508 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18509 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18510 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18511 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18512 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18513 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18514 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18515 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18516 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18517 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18518 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18519 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18520 wine_fn_config_dll apphelp enable_apphelp
18521 wine_fn_config_test dlls/apphelp/tests apphelp_test
18522 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18523 wine_fn_config_dll atl enable_atl clean,implib
18524 wine_fn_config_test dlls/atl/tests atl_test
18525 wine_fn_config_dll atl100 enable_atl100 clean,implib
18526 wine_fn_config_test dlls/atl100/tests atl100_test
18527 wine_fn_config_dll atl110 enable_atl110 clean
18528 wine_fn_config_dll atl80 enable_atl80 clean,implib
18529 wine_fn_config_test dlls/atl80/tests atl80_test
18530 wine_fn_config_dll atl90 enable_atl90 clean
18531 wine_fn_config_dll authz enable_authz
18532 wine_fn_config_dll avicap32 enable_avicap32 implib
18533 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18534 wine_fn_config_test dlls/avifil32/tests avifil32_test
18535 wine_fn_config_dll avifile.dll16 enable_win16
18536 wine_fn_config_dll avrt enable_avrt implib
18537 wine_fn_config_dll bcrypt enable_bcrypt implib
18538 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18539 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18540 wine_fn_config_dll browseui enable_browseui clean
18541 wine_fn_config_test dlls/browseui/tests browseui_test
18542 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18543 wine_fn_config_dll cabinet enable_cabinet implib
18544 wine_fn_config_test dlls/cabinet/tests cabinet_test
18545 wine_fn_config_dll capi2032 enable_capi2032 implib
18546 wine_fn_config_dll cards enable_cards implib
18547 wine_fn_config_dll cdosys enable_cdosys
18548 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18549 wine_fn_config_dll clusapi enable_clusapi implib
18550 wine_fn_config_dll combase enable_combase
18551 wine_fn_config_test dlls/combase/tests combase_test
18552 wine_fn_config_dll comcat enable_comcat
18553 wine_fn_config_test dlls/comcat/tests comcat_test
18554 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18555 wine_fn_config_test dlls/comctl32/tests comctl32_test
18556 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18557 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18558 wine_fn_config_dll comm.drv16 enable_win16
18559 wine_fn_config_dll commdlg.dll16 enable_win16
18560 wine_fn_config_dll compobj.dll16 enable_win16
18561 wine_fn_config_dll compstui enable_compstui implib
18562 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18563 wine_fn_config_dll concrt140 enable_concrt140
18564 wine_fn_config_dll connect enable_connect
18565 wine_fn_config_dll credui enable_credui clean,implib
18566 wine_fn_config_test dlls/credui/tests credui_test
18567 wine_fn_config_dll crtdll enable_crtdll
18568 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18569 wine_fn_config_test dlls/crypt32/tests crypt32_test
18570 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18571 wine_fn_config_dll cryptdll enable_cryptdll implib
18572 wine_fn_config_dll cryptext enable_cryptext
18573 wine_fn_config_dll cryptnet enable_cryptnet implib
18574 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18575 wine_fn_config_dll cryptui enable_cryptui clean,implib
18576 wine_fn_config_test dlls/cryptui/tests cryptui_test
18577 wine_fn_config_dll ctapi32 enable_ctapi32
18578 wine_fn_config_dll ctl3d.dll16 enable_win16
18579 wine_fn_config_dll ctl3d32 enable_ctl3d32
18580 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18581 wine_fn_config_dll d2d1 enable_d2d1 implib
18582 wine_fn_config_test dlls/d2d1/tests d2d1_test
18583 wine_fn_config_dll d3d10 enable_d3d10 implib
18584 wine_fn_config_test dlls/d3d10/tests d3d10_test
18585 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18586 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18587 wine_fn_config_dll d3d10core enable_d3d10core implib
18588 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18589 wine_fn_config_dll d3d11 enable_d3d11 implib
18590 wine_fn_config_test dlls/d3d11/tests d3d11_test
18591 wine_fn_config_dll d3d8 enable_d3d8 implib
18592 wine_fn_config_test dlls/d3d8/tests d3d8_test
18593 wine_fn_config_dll d3d9 enable_d3d9 implib
18594 wine_fn_config_test dlls/d3d9/tests d3d9_test
18595 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18596 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18597 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18598 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18599 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18600 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18601 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18602 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18603 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18604 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18605 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18606 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18607 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18608 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18609 wine_fn_config_dll d3dim enable_d3dim
18610 wine_fn_config_dll d3drm enable_d3drm implib
18611 wine_fn_config_test dlls/d3drm/tests d3drm_test
18612 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18613 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18614 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18615 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18616 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18617 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18618 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18619 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18620 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18621 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18622 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18623 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18624 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18625 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18626 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18627 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18628 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18629 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18630 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18631 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18632 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18633 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18634 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18635 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18636 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18637 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18638 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18639 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18640 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18641 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18642 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18643 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18644 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18645 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18646 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18647 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18648 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18649 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18650 wine_fn_config_dll davclnt enable_davclnt
18651 wine_fn_config_dll dbgeng enable_dbgeng implib
18652 wine_fn_config_dll dbghelp enable_dbghelp implib
18653 wine_fn_config_dll dciman32 enable_dciman32 implib
18654 wine_fn_config_dll ddeml.dll16 enable_win16
18655 wine_fn_config_dll ddraw enable_ddraw clean,implib
18656 wine_fn_config_test dlls/ddraw/tests ddraw_test
18657 wine_fn_config_dll ddrawex enable_ddrawex clean
18658 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18659 wine_fn_config_dll devenum enable_devenum clean
18660 wine_fn_config_test dlls/devenum/tests devenum_test
18661 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18662 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx clean
18663 wine_fn_config_dll difxapi enable_difxapi
18664 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18665 wine_fn_config_test dlls/dinput/tests dinput_test
18666 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18667 wine_fn_config_test dlls/dinput8/tests dinput8_test
18668 wine_fn_config_dll dispdib.dll16 enable_win16
18669 wine_fn_config_dll dispex enable_dispex clean
18670 wine_fn_config_test dlls/dispex/tests dispex_test
18671 wine_fn_config_dll display.drv16 enable_win16
18672 wine_fn_config_dll dmband enable_dmband clean
18673 wine_fn_config_test dlls/dmband/tests dmband_test
18674 wine_fn_config_dll dmcompos enable_dmcompos clean
18675 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18676 wine_fn_config_dll dmime enable_dmime clean
18677 wine_fn_config_test dlls/dmime/tests dmime_test
18678 wine_fn_config_dll dmloader enable_dmloader clean
18679 wine_fn_config_test dlls/dmloader/tests dmloader_test
18680 wine_fn_config_dll dmscript enable_dmscript clean
18681 wine_fn_config_test dlls/dmscript/tests dmscript_test
18682 wine_fn_config_dll dmstyle enable_dmstyle clean
18683 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18684 wine_fn_config_dll dmsynth enable_dmsynth clean
18685 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18686 wine_fn_config_dll dmusic enable_dmusic clean
18687 wine_fn_config_test dlls/dmusic/tests dmusic_test
18688 wine_fn_config_dll dmusic32 enable_dmusic32
18689 wine_fn_config_dll dnsapi enable_dnsapi implib
18690 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18691 wine_fn_config_dll dplay enable_dplay
18692 wine_fn_config_dll dplayx enable_dplayx clean,implib
18693 wine_fn_config_test dlls/dplayx/tests dplayx_test
18694 wine_fn_config_dll dpnaddr enable_dpnaddr
18695 wine_fn_config_dll dpnet enable_dpnet clean,implib
18696 wine_fn_config_test dlls/dpnet/tests dpnet_test
18697 wine_fn_config_dll dpnhpast enable_dpnhpast
18698 wine_fn_config_dll dpnlobby enable_dpnlobby
18699 wine_fn_config_dll dpvoice enable_dpvoice clean
18700 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18701 wine_fn_config_dll dpwsockx enable_dpwsockx
18702 wine_fn_config_dll drmclien enable_drmclien
18703 wine_fn_config_dll dsound enable_dsound clean,implib
18704 wine_fn_config_test dlls/dsound/tests dsound_test
18705 wine_fn_config_dll dsquery enable_dsquery clean
18706 wine_fn_config_dll dssenh enable_dssenh
18707 wine_fn_config_test dlls/dssenh/tests dssenh_test
18708 wine_fn_config_dll dswave enable_dswave clean
18709 wine_fn_config_test dlls/dswave/tests dswave_test
18710 wine_fn_config_dll dwmapi enable_dwmapi implib
18711 wine_fn_config_dll dwrite enable_dwrite implib
18712 wine_fn_config_test dlls/dwrite/tests dwrite_test
18713 wine_fn_config_dll dx8vb enable_dx8vb clean
18714 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18715 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18716 wine_fn_config_lib dxerr8
18717 wine_fn_config_lib dxerr9
18718 wine_fn_config_dll dxgi enable_dxgi implib
18719 wine_fn_config_test dlls/dxgi/tests dxgi_test
18720 wine_fn_config_lib dxguid
18721 wine_fn_config_dll dxva2 enable_dxva2
18722 wine_fn_config_dll esent enable_esent
18723 wine_fn_config_dll evr enable_evr clean
18724 wine_fn_config_test dlls/evr/tests evr_test
18725 wine_fn_config_dll explorerframe enable_explorerframe clean
18726 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18727 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18728 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18729 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18730 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18731 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18732 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18733 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18734 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18735 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18736 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18737 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18738 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18739 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18740 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18741 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18742 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18743 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18744 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18745 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
18746 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18747 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18748 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18749 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18750 wine_fn_config_dll faultrep enable_faultrep implib
18751 wine_fn_config_test dlls/faultrep/tests faultrep_test
18752 wine_fn_config_dll fltlib enable_fltlib
18753 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18754 wine_fn_config_dll fntcache enable_fntcache
18755 wine_fn_config_dll fontsub enable_fontsub
18756 wine_fn_config_dll fusion enable_fusion
18757 wine_fn_config_test dlls/fusion/tests fusion_test
18758 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18759 wine_fn_config_dll gameux enable_gameux clean
18760 wine_fn_config_test dlls/gameux/tests gameux_test
18761 wine_fn_config_dll gdi.exe16 enable_win16
18762 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18763 wine_fn_config_test dlls/gdi32/tests gdi32_test
18764 wine_fn_config_dll gdiplus enable_gdiplus implib
18765 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18766 wine_fn_config_dll glu32 enable_glu32 implib
18767 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18768 wine_fn_config_dll gpkcsp enable_gpkcsp
18769 wine_fn_config_dll hal enable_hal
18770 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18771 wine_fn_config_dll hid enable_hid implib
18772 wine_fn_config_test dlls/hid/tests hid_test
18773 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18774 wine_fn_config_dll hlink enable_hlink clean,implib
18775 wine_fn_config_test dlls/hlink/tests hlink_test
18776 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18777 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18778 wine_fn_config_dll httpapi enable_httpapi implib
18779 wine_fn_config_test dlls/httpapi/tests httpapi_test
18780 wine_fn_config_dll iccvid enable_iccvid clean
18781 wine_fn_config_dll icmp enable_icmp
18782 wine_fn_config_dll ieframe enable_ieframe clean,implib
18783 wine_fn_config_test dlls/ieframe/tests ieframe_test
18784 wine_fn_config_dll ieproxy enable_ieproxy clean
18785 wine_fn_config_dll ifsmgr.vxd enable_win16
18786 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18787 wine_fn_config_dll imagehlp enable_imagehlp implib
18788 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18789 wine_fn_config_dll imm.dll16 enable_win16
18790 wine_fn_config_dll imm32 enable_imm32 implib
18791 wine_fn_config_test dlls/imm32/tests imm32_test
18792 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18793 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18794 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18795 wine_fn_config_dll inetmib1 enable_inetmib1
18796 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18797 wine_fn_config_dll infosoft enable_infosoft clean
18798 wine_fn_config_test dlls/infosoft/tests infosoft_test
18799 wine_fn_config_dll initpki enable_initpki
18800 wine_fn_config_dll inkobj enable_inkobj
18801 wine_fn_config_dll inseng enable_inseng clean
18802 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18803 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18804 wine_fn_config_dll iprop enable_iprop
18805 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18806 wine_fn_config_dll itircl enable_itircl
18807 wine_fn_config_dll itss enable_itss clean
18808 wine_fn_config_test dlls/itss/tests itss_test
18809 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18810 wine_fn_config_dll jscript enable_jscript clean
18811 wine_fn_config_test dlls/jscript/tests jscript_test
18812 wine_fn_config_dll jsproxy enable_jsproxy implib
18813 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18814 wine_fn_config_dll kerberos enable_kerberos
18815 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18816 wine_fn_config_test dlls/kernel32/tests kernel32_test
18817 wine_fn_config_dll kernelbase enable_kernelbase
18818 wine_fn_config_dll keyboard.drv16 enable_win16
18819 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18820 wine_fn_config_dll ksuser enable_ksuser
18821 wine_fn_config_dll ktmw32 enable_ktmw32
18822 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18823 wine_fn_config_dll loadperf enable_loadperf implib
18824 wine_fn_config_dll localspl enable_localspl clean
18825 wine_fn_config_test dlls/localspl/tests localspl_test
18826 wine_fn_config_dll localui enable_localui clean
18827 wine_fn_config_test dlls/localui/tests localui_test
18828 wine_fn_config_dll lz32 enable_lz32 implib
18829 wine_fn_config_test dlls/lz32/tests lz32_test
18830 wine_fn_config_dll lzexpand.dll16 enable_win16
18831 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18832 wine_fn_config_test dlls/mapi32/tests mapi32_test
18833 wine_fn_config_dll mapistub enable_mapistub
18834 wine_fn_config_dll mciavi32 enable_mciavi32
18835 wine_fn_config_dll mcicda enable_mcicda
18836 wine_fn_config_dll mciqtz32 enable_mciqtz32
18837 wine_fn_config_dll mciseq enable_mciseq
18838 wine_fn_config_dll mciwave enable_mciwave
18839 wine_fn_config_dll mf enable_mf implib
18840 wine_fn_config_test dlls/mf/tests mf_test
18841 wine_fn_config_dll mf3216 enable_mf3216
18842 wine_fn_config_dll mfplat enable_mfplat implib
18843 wine_fn_config_test dlls/mfplat/tests mfplat_test
18844 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18845 wine_fn_config_lib mfuuid
18846 wine_fn_config_dll mgmtapi enable_mgmtapi
18847 wine_fn_config_dll midimap enable_midimap
18848 wine_fn_config_dll mlang enable_mlang clean,implib
18849 wine_fn_config_test dlls/mlang/tests mlang_test
18850 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18851 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18852 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18853 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18854 wine_fn_config_dll mmdevldr.vxd enable_win16
18855 wine_fn_config_dll mmsystem.dll16 enable_win16
18856 wine_fn_config_dll monodebg.vxd enable_win16
18857 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18858 wine_fn_config_dll mouse.drv16 enable_win16
18859 wine_fn_config_dll mpr enable_mpr clean,implib
18860 wine_fn_config_test dlls/mpr/tests mpr_test
18861 wine_fn_config_dll mprapi enable_mprapi implib
18862 wine_fn_config_dll msacm.dll16 enable_win16
18863 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18864 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18865 wine_fn_config_test dlls/msacm32/tests msacm32_test
18866 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18867 wine_fn_config_dll msasn1 enable_msasn1 implib
18868 wine_fn_config_dll mscat32 enable_mscat32
18869 wine_fn_config_dll mscms enable_mscms implib
18870 wine_fn_config_test dlls/mscms/tests mscms_test
18871 wine_fn_config_dll mscoree enable_mscoree clean
18872 wine_fn_config_test dlls/mscoree/tests mscoree_test
18873 wine_fn_config_dll msctf enable_msctf clean
18874 wine_fn_config_test dlls/msctf/tests msctf_test
18875 wine_fn_config_dll msctfp enable_msctfp clean
18876 wine_fn_config_dll msdaps enable_msdaps clean
18877 wine_fn_config_dll msdelta enable_msdelta
18878 wine_fn_config_dll msdmo enable_msdmo implib
18879 wine_fn_config_test dlls/msdmo/tests msdmo_test
18880 wine_fn_config_dll msdrm enable_msdrm
18881 wine_fn_config_dll msftedit enable_msftedit
18882 wine_fn_config_dll msg711.acm enable_msg711_acm
18883 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18884 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18885 wine_fn_config_dll mshtml enable_mshtml clean,implib
18886 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18887 wine_fn_config_dll msi enable_msi clean,implib
18888 wine_fn_config_test dlls/msi/tests msi_test
18889 wine_fn_config_dll msident enable_msident clean
18890 wine_fn_config_dll msimg32 enable_msimg32 implib
18891 wine_fn_config_dll msimsg enable_msimsg
18892 wine_fn_config_dll msimtf enable_msimtf clean
18893 wine_fn_config_dll msisip enable_msisip
18894 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18895 wine_fn_config_dll msls31 enable_msls31
18896 wine_fn_config_dll msnet32 enable_msnet32
18897 wine_fn_config_dll mspatcha enable_mspatcha implib
18898 wine_fn_config_dll msports enable_msports
18899 wine_fn_config_dll msrle32 enable_msrle32 clean
18900 wine_fn_config_test dlls/msrle32/tests msrle32_test
18901 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18902 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18903 wine_fn_config_dll mssign32 enable_mssign32
18904 wine_fn_config_dll mssip32 enable_mssip32
18905 wine_fn_config_dll mstask enable_mstask clean
18906 wine_fn_config_test dlls/mstask/tests mstask_test
18907 wine_fn_config_dll msvcirt enable_msvcirt
18908 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18909 wine_fn_config_dll msvcm80 enable_msvcm80
18910 wine_fn_config_dll msvcm90 enable_msvcm90
18911 wine_fn_config_dll msvcp100 enable_msvcp100
18912 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18913 wine_fn_config_dll msvcp110 enable_msvcp110
18914 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18915 wine_fn_config_dll msvcp120 enable_msvcp120
18916 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18917 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18918 wine_fn_config_dll msvcp140 enable_msvcp140
18919 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18920 wine_fn_config_dll msvcp60 enable_msvcp60
18921 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18922 wine_fn_config_dll msvcp70 enable_msvcp70
18923 wine_fn_config_dll msvcp71 enable_msvcp71
18924 wine_fn_config_dll msvcp80 enable_msvcp80
18925 wine_fn_config_dll msvcp90 enable_msvcp90
18926 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18927 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18928 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18929 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18930 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18931 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18932 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18933 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18934 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18935 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18936 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18937 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18938 wine_fn_config_dll msvcrt enable_msvcrt implib
18939 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18940 wine_fn_config_dll msvcrt20 enable_msvcrt20
18941 wine_fn_config_dll msvcrt40 enable_msvcrt40
18942 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18943 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18944 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18945 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18946 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18947 wine_fn_config_dll msvideo.dll16 enable_win16
18948 wine_fn_config_dll mswsock enable_mswsock implib
18949 wine_fn_config_dll msxml enable_msxml clean
18950 wine_fn_config_dll msxml2 enable_msxml2 clean
18951 wine_fn_config_dll msxml3 enable_msxml3 clean
18952 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18953 wine_fn_config_dll msxml4 enable_msxml4 clean
18954 wine_fn_config_dll msxml6 enable_msxml6 clean
18955 wine_fn_config_dll mtxdm enable_mtxdm
18956 wine_fn_config_dll ncrypt enable_ncrypt
18957 wine_fn_config_dll nddeapi enable_nddeapi implib
18958 wine_fn_config_dll ndis.sys enable_ndis_sys
18959 wine_fn_config_dll netapi32 enable_netapi32 implib
18960 wine_fn_config_test dlls/netapi32/tests netapi32_test
18961 wine_fn_config_dll netcfgx enable_netcfgx clean
18962 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18963 wine_fn_config_dll netprofm enable_netprofm clean
18964 wine_fn_config_test dlls/netprofm/tests netprofm_test
18965 wine_fn_config_dll newdev enable_newdev implib
18966 wine_fn_config_dll normaliz enable_normaliz implib
18967 wine_fn_config_dll npmshtml enable_npmshtml
18968 wine_fn_config_dll npptools enable_npptools
18969 wine_fn_config_dll ntdll enable_ntdll implib
18970 wine_fn_config_test dlls/ntdll/tests ntdll_test
18971 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18972 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18973 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18974 wine_fn_config_dll ntprint enable_ntprint
18975 wine_fn_config_test dlls/ntprint/tests ntprint_test
18976 wine_fn_config_dll objsel enable_objsel clean
18977 wine_fn_config_dll odbc32 enable_odbc32 implib
18978 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18979 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18980 wine_fn_config_dll odbccu32 enable_odbccu32
18981 wine_fn_config_dll ole2.dll16 enable_win16
18982 wine_fn_config_dll ole2conv.dll16 enable_win16
18983 wine_fn_config_dll ole2disp.dll16 enable_win16
18984 wine_fn_config_dll ole2nls.dll16 enable_win16
18985 wine_fn_config_dll ole2prox.dll16 enable_win16
18986 wine_fn_config_dll ole2thk.dll16 enable_win16
18987 wine_fn_config_dll ole32 enable_ole32 clean,implib
18988 wine_fn_config_test dlls/ole32/tests ole32_test
18989 wine_fn_config_dll oleacc enable_oleacc clean,implib
18990 wine_fn_config_test dlls/oleacc/tests oleacc_test
18991 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18992 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18993 wine_fn_config_dll olecli.dll16 enable_win16
18994 wine_fn_config_dll olecli32 enable_olecli32 implib
18995 wine_fn_config_dll oledb32 enable_oledb32 clean
18996 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18997 wine_fn_config_dll oledlg enable_oledlg clean,implib
18998 wine_fn_config_test dlls/oledlg/tests oledlg_test
18999 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
19000 wine_fn_config_dll olesvr.dll16 enable_win16
19001 wine_fn_config_dll olesvr32 enable_olesvr32 implib
19002 wine_fn_config_dll olethk32 enable_olethk32
19003 wine_fn_config_dll openal32 enable_openal32
19004 wine_fn_config_dll opencl enable_opencl
19005 wine_fn_config_dll opengl32 enable_opengl32 implib
19006 wine_fn_config_test dlls/opengl32/tests opengl32_test
19007 wine_fn_config_dll packager enable_packager clean
19008 wine_fn_config_test dlls/packager/tests packager_test
19009 wine_fn_config_dll pdh enable_pdh implib
19010 wine_fn_config_test dlls/pdh/tests pdh_test
19011 wine_fn_config_dll photometadatahandler enable_photometadatahandler
19012 wine_fn_config_dll pidgen enable_pidgen
19013 wine_fn_config_dll powrprof enable_powrprof implib
19014 wine_fn_config_dll printui enable_printui
19015 wine_fn_config_dll prntvpt enable_prntvpt
19016 wine_fn_config_dll propsys enable_propsys clean,implib
19017 wine_fn_config_test dlls/propsys/tests propsys_test
19018 wine_fn_config_dll psapi enable_psapi implib
19019 wine_fn_config_test dlls/psapi/tests psapi_test
19020 wine_fn_config_dll pstorec enable_pstorec clean
19021 wine_fn_config_test dlls/pstorec/tests pstorec_test
19022 wine_fn_config_dll qcap enable_qcap
19023 wine_fn_config_test dlls/qcap/tests qcap_test
19024 wine_fn_config_dll qedit enable_qedit clean
19025 wine_fn_config_test dlls/qedit/tests qedit_test
19026 wine_fn_config_dll qmgr enable_qmgr clean
19027 wine_fn_config_test dlls/qmgr/tests qmgr_test
19028 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
19029 wine_fn_config_dll quartz enable_quartz clean,implib
19030 wine_fn_config_test dlls/quartz/tests quartz_test clean
19031 wine_fn_config_dll query enable_query
19032 wine_fn_config_dll rasapi16.dll16 enable_win16
19033 wine_fn_config_dll rasapi32 enable_rasapi32 implib
19034 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
19035 wine_fn_config_dll rasdlg enable_rasdlg implib
19036 wine_fn_config_dll regapi enable_regapi
19037 wine_fn_config_dll resutils enable_resutils implib
19038 wine_fn_config_dll riched20 enable_riched20 clean,implib
19039 wine_fn_config_test dlls/riched20/tests riched20_test
19040 wine_fn_config_dll riched32 enable_riched32
19041 wine_fn_config_test dlls/riched32/tests riched32_test
19042 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
19043 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
19044 wine_fn_config_dll rsabase enable_rsabase
19045 wine_fn_config_dll rsaenh enable_rsaenh implib
19046 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19047 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19048 wine_fn_config_dll rtutils enable_rtutils implib
19049 wine_fn_config_dll samlib enable_samlib
19050 wine_fn_config_dll sane.ds enable_sane_ds clean
19051 wine_fn_config_dll sapi enable_sapi clean
19052 wine_fn_config_test dlls/sapi/tests sapi_test
19053 wine_fn_config_dll scarddlg enable_scarddlg
19054 wine_fn_config_dll sccbase enable_sccbase
19055 wine_fn_config_dll schannel enable_schannel
19056 wine_fn_config_test dlls/schannel/tests schannel_test
19057 wine_fn_config_dll schedsvc enable_schedsvc clean
19058 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
19059 wine_fn_config_dll scrobj enable_scrobj clean
19060 wine_fn_config_dll scrrun enable_scrrun clean
19061 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
19062 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19063 wine_fn_config_dll secur32 enable_secur32 implib
19064 wine_fn_config_test dlls/secur32/tests secur32_test
19065 wine_fn_config_dll security enable_security
19066 wine_fn_config_dll sensapi enable_sensapi implib
19067 wine_fn_config_dll serialui enable_serialui clean
19068 wine_fn_config_test dlls/serialui/tests serialui_test
19069 wine_fn_config_dll setupapi enable_setupapi clean,implib
19070 wine_fn_config_test dlls/setupapi/tests setupapi_test
19071 wine_fn_config_dll setupx.dll16 enable_win16
19072 wine_fn_config_dll sfc enable_sfc implib
19073 wine_fn_config_dll sfc_os enable_sfc_os implib
19074 wine_fn_config_dll shcore enable_shcore
19075 wine_fn_config_dll shdoclc enable_shdoclc clean
19076 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
19077 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19078 wine_fn_config_dll shell.dll16 enable_win16
19079 wine_fn_config_dll shell32 enable_shell32 clean,implib
19080 wine_fn_config_test dlls/shell32/tests shell32_test
19081 wine_fn_config_dll shfolder enable_shfolder implib
19082 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
19083 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19084 wine_fn_config_dll slbcsp enable_slbcsp
19085 wine_fn_config_dll slc enable_slc implib
19086 wine_fn_config_test dlls/slc/tests slc_test
19087 wine_fn_config_dll snmpapi enable_snmpapi implib
19088 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19089 wine_fn_config_dll softpub enable_softpub
19090 wine_fn_config_dll sound.drv16 enable_win16
19091 wine_fn_config_dll spoolss enable_spoolss implib
19092 wine_fn_config_test dlls/spoolss/tests spoolss_test
19093 wine_fn_config_dll sspicli enable_sspicli
19094 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
19095 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
19096 wine_fn_config_dll sti enable_sti clean,implib
19097 wine_fn_config_test dlls/sti/tests sti_test
19098 wine_fn_config_dll storage.dll16 enable_win16
19099 wine_fn_config_dll stress.dll16 enable_win16
19100 wine_fn_config_lib strmbase
19101 wine_fn_config_lib strmiids
19102 wine_fn_config_dll svrapi enable_svrapi
19103 wine_fn_config_dll sxs enable_sxs implib
19104 wine_fn_config_test dlls/sxs/tests sxs_test
19105 wine_fn_config_dll system.drv16 enable_win16
19106 wine_fn_config_dll t2embed enable_t2embed implib
19107 wine_fn_config_test dlls/t2embed/tests t2embed_test
19108 wine_fn_config_dll tapi32 enable_tapi32 implib
19109 wine_fn_config_dll taskschd enable_taskschd clean
19110 wine_fn_config_test dlls/taskschd/tests taskschd_test
19111 wine_fn_config_dll tdh enable_tdh
19112 wine_fn_config_dll tdi.sys enable_tdi_sys
19113 wine_fn_config_dll toolhelp.dll16 enable_win16
19114 wine_fn_config_dll traffic enable_traffic
19115 wine_fn_config_dll twain.dll16 enable_win16
19116 wine_fn_config_dll twain_32 enable_twain_32 clean
19117 wine_fn_config_test dlls/twain_32/tests twain_32_test
19118 wine_fn_config_dll typelib.dll16 enable_win16
19119 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19120 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19121 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19122 wine_fn_config_dll uiribbon enable_uiribbon clean
19123 wine_fn_config_dll unicows enable_unicows implib
19124 wine_fn_config_dll updspapi enable_updspapi
19125 wine_fn_config_dll url enable_url implib
19126 wine_fn_config_dll urlmon enable_urlmon clean,implib
19127 wine_fn_config_test dlls/urlmon/tests urlmon_test
19128 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19129 wine_fn_config_dll user.exe16 enable_win16
19130 wine_fn_config_dll user32 enable_user32 clean,implib
19131 wine_fn_config_test dlls/user32/tests user32_test
19132 wine_fn_config_dll userenv enable_userenv implib
19133 wine_fn_config_test dlls/userenv/tests userenv_test
19134 wine_fn_config_dll usp10 enable_usp10 implib
19135 wine_fn_config_test dlls/usp10/tests usp10_test
19136 wine_fn_config_lib uuid
19137 wine_fn_config_dll uxtheme enable_uxtheme implib
19138 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19139 wine_fn_config_dll vbscript enable_vbscript clean
19140 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
19141 wine_fn_config_dll vcomp enable_vcomp
19142 wine_fn_config_test dlls/vcomp/tests vcomp_test
19143 wine_fn_config_dll vcomp100 enable_vcomp100
19144 wine_fn_config_dll vcomp110 enable_vcomp110
19145 wine_fn_config_dll vcomp120 enable_vcomp120
19146 wine_fn_config_dll vcomp140 enable_vcomp140
19147 wine_fn_config_dll vcomp90 enable_vcomp90
19148 wine_fn_config_dll vcruntime140 enable_vcruntime140
19149 wine_fn_config_dll vdhcp.vxd enable_win16
19150 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19151 wine_fn_config_dll ver.dll16 enable_win16
19152 wine_fn_config_dll version enable_version implib
19153 wine_fn_config_test dlls/version/tests version_test
19154 wine_fn_config_dll virtdisk enable_virtdisk
19155 wine_fn_config_dll vmm.vxd enable_win16
19156 wine_fn_config_dll vnbt.vxd enable_win16
19157 wine_fn_config_dll vnetbios.vxd enable_win16
19158 wine_fn_config_dll vssapi enable_vssapi
19159 wine_fn_config_dll vtdapi.vxd enable_win16
19160 wine_fn_config_dll vwin32.vxd enable_win16
19161 wine_fn_config_dll w32skrnl enable_win16
19162 wine_fn_config_dll w32sys.dll16 enable_win16
19163 wine_fn_config_dll wbemdisp enable_wbemdisp clean
19164 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19165 wine_fn_config_dll wbemprox enable_wbemprox clean
19166 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19167 wine_fn_config_dll wdscore enable_wdscore
19168 wine_fn_config_dll webservices enable_webservices implib
19169 wine_fn_config_test dlls/webservices/tests webservices_test
19170 wine_fn_config_dll wer enable_wer implib
19171 wine_fn_config_test dlls/wer/tests wer_test
19172 wine_fn_config_dll wevtapi enable_wevtapi
19173 wine_fn_config_dll wiaservc enable_wiaservc clean
19174 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19175 wine_fn_config_dll wimgapi enable_wimgapi
19176 wine_fn_config_dll win32s16.dll16 enable_win16
19177 wine_fn_config_dll win87em.dll16 enable_win16
19178 wine_fn_config_dll winaspi.dll16 enable_win16
19179 wine_fn_config_dll windebug.dll16 enable_win16
19180 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
19181 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19182 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19183 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19184 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19185 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
19186 wine_fn_config_dll winebus.sys enable_winebus_sys
19187 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19188 wine_fn_config_lib winecrt0
19189 wine_fn_config_dll wined3d enable_wined3d implib
19190 wine_fn_config_dll winegstreamer enable_winegstreamer
19191 wine_fn_config_dll winehid.sys enable_winehid_sys
19192 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19193 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19194 wine_fn_config_dll winemapi enable_winemapi
19195 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19196 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19197 wine_fn_config_dll wineps16.drv16 enable_win16
19198 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19199 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19200 wine_fn_config_dll winex11.drv enable_winex11_drv
19201 wine_fn_config_dll wing.dll16 enable_win16
19202 wine_fn_config_dll wing32 enable_wing32
19203 wine_fn_config_dll winhttp enable_winhttp clean,implib
19204 wine_fn_config_test dlls/winhttp/tests winhttp_test
19205 wine_fn_config_dll wininet enable_wininet clean,implib
19206 wine_fn_config_test dlls/wininet/tests wininet_test
19207 wine_fn_config_dll winmm enable_winmm clean,implib
19208 wine_fn_config_test dlls/winmm/tests winmm_test
19209 wine_fn_config_dll winnls.dll16 enable_win16
19210 wine_fn_config_dll winnls32 enable_winnls32 implib
19211 wine_fn_config_dll winscard enable_winscard implib
19212 wine_fn_config_dll winsock.dll16 enable_win16
19213 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19214 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19215 wine_fn_config_dll winsta enable_winsta
19216 wine_fn_config_dll wintab.dll16 enable_win16
19217 wine_fn_config_dll wintab32 enable_wintab32 implib
19218 wine_fn_config_test dlls/wintab32/tests wintab32_test
19219 wine_fn_config_dll wintrust enable_wintrust implib
19220 wine_fn_config_test dlls/wintrust/tests wintrust_test
19221 wine_fn_config_dll winusb enable_winusb
19222 wine_fn_config_dll wlanapi enable_wlanapi implib
19223 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19224 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19225 wine_fn_config_test dlls/wldap32/tests wldap32_test
19226 wine_fn_config_dll wmasf enable_wmasf
19227 wine_fn_config_dll wmi enable_wmi
19228 wine_fn_config_dll wmiutils enable_wmiutils clean
19229 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19230 wine_fn_config_dll wmp enable_wmp clean
19231 wine_fn_config_test dlls/wmp/tests wmp_test
19232 wine_fn_config_dll wmphoto enable_wmphoto clean
19233 wine_fn_config_dll wmvcore enable_wmvcore implib
19234 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19235 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19236 wine_fn_config_dll wow32 enable_win16 implib
19237 wine_fn_config_dll wpc enable_wpc clean
19238 wine_fn_config_test dlls/wpc/tests wpc_test
19239 wine_fn_config_dll wpcap enable_wpcap
19240 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19241 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19242 wine_fn_config_dll wsdapi enable_wsdapi implib
19243 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19244 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19245 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19246 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19247 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19248 wine_fn_config_dll wsock32 enable_wsock32 implib
19249 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19250 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19251 wine_fn_config_dll wuapi enable_wuapi clean
19252 wine_fn_config_dll wuaueng enable_wuaueng
19253 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19254 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19255 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19256 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19257 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19258 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19259 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19260 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19261 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19262 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19263 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19264 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19265 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19266 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19267 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19268 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19269 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19270 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19271 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19272 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19273 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19274 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19275 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19276 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19277 wine_fn_config_dll xinput1_1 enable_xinput1_1
19278 wine_fn_config_dll xinput1_2 enable_xinput1_2
19279 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19280 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19281 wine_fn_config_dll xinput1_4 enable_xinput1_4
19282 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19283 wine_fn_config_dll xmllite enable_xmllite implib
19284 wine_fn_config_test dlls/xmllite/tests xmllite_test
19285 wine_fn_config_dll xolehlp enable_xolehlp
19286 wine_fn_config_dll xpsprint enable_xpsprint
19287 wine_fn_config_dll xpssvcs enable_xpssvcs
19288 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19289 wine_fn_config_makefile include enable_include clean,install-dev
19290 wine_fn_config_makefile libs/port enable_libs_port
19291 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19292 wine_fn_config_makefile libs/wpp enable_libs_wpp
19293 wine_fn_config_makefile loader enable_loader clean,install-lib
19294 wine_fn_config_makefile po enable_po clean
19295 wine_fn_config_program arp enable_arp install
19296 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19297 wine_fn_config_program attrib enable_attrib clean,install
19298 wine_fn_config_program cabarc enable_cabarc install
19299 wine_fn_config_program cacls enable_cacls install
19300 wine_fn_config_program clock enable_clock clean,install
19301 wine_fn_config_program cmd enable_cmd clean,install
19302 wine_fn_config_test programs/cmd/tests cmd.exe_test
19303 wine_fn_config_program conhost enable_conhost install
19304 wine_fn_config_program control enable_control install
19305 wine_fn_config_program cscript enable_cscript clean,install
19306 wine_fn_config_program dpnsvr enable_dpnsvr install
19307 wine_fn_config_program dxdiag enable_dxdiag clean,install
19308 wine_fn_config_program eject enable_eject install
19309 wine_fn_config_program expand enable_expand install
19310 wine_fn_config_program explorer enable_explorer clean,install
19311 wine_fn_config_program extrac32 enable_extrac32 install
19312 wine_fn_config_program findstr enable_findstr install
19313 wine_fn_config_program fsutil enable_fsutil install
19314 wine_fn_config_program hh enable_hh install
19315 wine_fn_config_program hostname enable_hostname clean,install
19316 wine_fn_config_program icacls enable_icacls install
19317 wine_fn_config_program icinfo enable_icinfo install
19318 wine_fn_config_program iexplore enable_iexplore install
19319 wine_fn_config_program ipconfig enable_ipconfig clean,install
19320 wine_fn_config_program lodctr enable_lodctr install
19321 wine_fn_config_program mofcomp enable_mofcomp install
19322 wine_fn_config_program mshta enable_mshta install
19323 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19324 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19325 wine_fn_config_program net enable_net clean,install
19326 wine_fn_config_program netsh enable_netsh install
19327 wine_fn_config_program netstat enable_netstat clean,install
19328 wine_fn_config_program ngen enable_ngen install
19329 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19330 wine_fn_config_program oleview enable_oleview clean,install
19331 wine_fn_config_program ping enable_ping install
19332 wine_fn_config_program plugplay enable_plugplay install
19333 wine_fn_config_program powershell enable_powershell install
19334 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19335 wine_fn_config_program progman enable_progman clean,install
19336 wine_fn_config_program reg enable_reg clean,install
19337 wine_fn_config_test programs/reg/tests reg.exe_test
19338 wine_fn_config_program regasm enable_regasm install
19339 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19340 wine_fn_config_test programs/regedit/tests regedit.exe_test
19341 wine_fn_config_program regsvcs enable_regsvcs install
19342 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19343 wine_fn_config_program rpcss enable_rpcss clean,install
19344 wine_fn_config_program rundll.exe16 enable_win16 install
19345 wine_fn_config_program rundll32 enable_rundll32 install
19346 wine_fn_config_program sc enable_sc install
19347 wine_fn_config_program schtasks enable_schtasks install
19348 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19349 wine_fn_config_program sdbinst enable_sdbinst install
19350 wine_fn_config_program secedit enable_secedit install
19351 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19352 wine_fn_config_program services enable_services clean,install
19353 wine_fn_config_test programs/services/tests services.exe_test
19354 wine_fn_config_program shutdown enable_shutdown install
19355 wine_fn_config_program spoolsv enable_spoolsv install
19356 wine_fn_config_program start enable_start clean,install
19357 wine_fn_config_program subst enable_subst install
19358 wine_fn_config_program svchost enable_svchost install
19359 wine_fn_config_program systeminfo enable_systeminfo install
19360 wine_fn_config_program taskkill enable_taskkill clean,install
19361 wine_fn_config_program tasklist enable_tasklist install
19362 wine_fn_config_program taskmgr enable_taskmgr clean,install
19363 wine_fn_config_program termsv enable_termsv install
19364 wine_fn_config_program uninstaller enable_uninstaller clean,install
19365 wine_fn_config_program unlodctr enable_unlodctr install
19366 wine_fn_config_program view enable_view clean,install
19367 wine_fn_config_program wevtutil enable_wevtutil install
19368 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19369 wine_fn_config_program winebrowser enable_winebrowser install
19370 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19371 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19372 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19373 wine_fn_config_program winedevice enable_winedevice install
19374 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19375 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19376 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19377 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19378 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19379 wine_fn_config_program winetest enable_winetest clean
19380 wine_fn_config_program winevdm enable_win16 install
19381 wine_fn_config_program winhelp.exe16 enable_win16 install
19382 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19383 wine_fn_config_program winoldap.mod16 enable_win16 install
19384 wine_fn_config_program winver enable_winver install
19385 wine_fn_config_program wmic enable_wmic clean,install
19386 wine_fn_config_program wmplayer enable_wmplayer install
19387 wine_fn_config_program wordpad enable_wordpad clean,install
19388 wine_fn_config_program write enable_write clean,install
19389 wine_fn_config_program wscript enable_wscript clean,install
19390 wine_fn_config_test programs/wscript/tests wscript.exe_test
19391 wine_fn_config_program wusa enable_wusa install
19392 wine_fn_config_program xcopy enable_xcopy clean,install
19393 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19394 wine_fn_config_makefile server enable_server clean,install-lib
19395 wine_fn_config_tool tools clean
19396 wine_fn_config_tool tools/sfnt2fon clean
19397 wine_fn_config_tool tools/widl clean,install-dev
19398 wine_fn_config_tool tools/winebuild clean,install-dev
19399 wine_fn_config_tool tools/winedump clean,install-dev
19400 wine_fn_config_tool tools/winegcc clean,install-dev
19401 wine_fn_config_tool tools/winemaker clean,install-dev
19402 wine_fn_config_tool tools/wmc clean,install-dev
19403 wine_fn_config_tool tools/wrc clean,install-dev
19406 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19407 wine_fn_append_file CONFIGURE_TARGETS "tags"
19408 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19409 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19410 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19411 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19412 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19413 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19415 if test "x$enable_tools" != xno
19416 then
19417 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19418 ac_config_commands="$ac_config_commands tools/makedep"
19422 ac_config_commands="$ac_config_commands Makefile"
19425 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19429 if test "x$enable_maintainer_mode" = xyes
19430 then
19431 wine_fn_append_rule "configure: configure.ac aclocal.m4
19432 autoconf --warnings=all
19433 include/config.h.in: include/stamp-h.in
19434 include/stamp-h.in: configure.ac aclocal.m4
19435 autoheader --warnings=all
19436 @echo timestamp > \$@"
19439 if test "x$enable_tools" != xno
19440 then
19441 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19442 @./config.status tools/makedep
19443 Makefile: tools/makedep$ac_exeext"
19444 else
19445 wine_fn_append_rule "\$(MAKEDEP):
19446 @echo \"You need to run make in $TOOLSDIR first\" && false"
19449 if test -n "$with_wine64"
19450 then
19451 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19452 fonts server:
19453 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19454 $with_wine64/loader/wine:
19455 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19456 $with_wine64/loader/wine-preloader:
19457 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19458 clean::
19459 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19460 else
19461 WINELOADER_INSTALL="wine.inf"
19463 wine_fn_append_rule "install install-lib::
19464 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19465 .PHONY: l_intl.nls/uninstall
19466 l_intl.nls/uninstall::
19467 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19468 __uninstall__: l_intl.nls/uninstall"
19469 case $host_os in
19470 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19471 *) wine_fn_append_rule "install install-lib::
19472 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19473 uninstall::
19474 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19475 esac
19478 $as_echo " done" >&6
19479 cat >confcache <<\_ACEOF
19480 # This file is a shell script that caches the results of configure
19481 # tests run on this system so they can be shared between configure
19482 # scripts and configure runs, see configure's option --config-cache.
19483 # It is not useful on other systems. If it contains results you don't
19484 # want to keep, you may remove or edit it.
19486 # config.status only pays attention to the cache file if you give it
19487 # the --recheck option to rerun configure.
19489 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19490 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19491 # following values.
19493 _ACEOF
19495 # The following way of writing the cache mishandles newlines in values,
19496 # but we know of no workaround that is simple, portable, and efficient.
19497 # So, we kill variables containing newlines.
19498 # Ultrix sh set writes to stderr and can't be redirected directly,
19499 # and sets the high bit in the cache file unless we assign to the vars.
19501 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19502 eval ac_val=\$$ac_var
19503 case $ac_val in #(
19504 *${as_nl}*)
19505 case $ac_var in #(
19506 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19507 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19508 esac
19509 case $ac_var in #(
19510 _ | IFS | as_nl) ;; #(
19511 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19512 *) { eval $ac_var=; unset $ac_var;} ;;
19513 esac ;;
19514 esac
19515 done
19517 (set) 2>&1 |
19518 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19519 *${as_nl}ac_space=\ *)
19520 # `set' does not quote correctly, so add quotes: double-quote
19521 # substitution turns \\\\ into \\, and sed turns \\ into \.
19522 sed -n \
19523 "s/'/'\\\\''/g;
19524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19525 ;; #(
19527 # `set' quotes correctly as required by POSIX, so do not add quotes.
19528 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19530 esac |
19531 sort
19533 sed '
19534 /^ac_cv_env_/b end
19535 t clear
19536 :clear
19537 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19538 t end
19539 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19540 :end' >>confcache
19541 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19542 if test -w "$cache_file"; then
19543 if test "x$cache_file" != "x/dev/null"; then
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19545 $as_echo "$as_me: updating cache $cache_file" >&6;}
19546 if test ! -f "$cache_file" || test -h "$cache_file"; then
19547 cat confcache >"$cache_file"
19548 else
19549 case $cache_file in #(
19550 */* | ?:*)
19551 mv -f confcache "$cache_file"$$ &&
19552 mv -f "$cache_file"$$ "$cache_file" ;; #(
19554 mv -f confcache "$cache_file" ;;
19555 esac
19558 else
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19560 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19563 rm -f confcache
19565 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19566 # Let make expand exec_prefix.
19567 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19569 DEFS=-DHAVE_CONFIG_H
19571 ac_libobjs=
19572 ac_ltlibobjs=
19574 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19575 # 1. Remove the extension, and $U if already installed.
19576 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19577 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19578 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19579 # will be set to the directory where LIBOBJS objects are built.
19580 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19581 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19582 done
19583 LIBOBJS=$ac_libobjs
19585 LTLIBOBJS=$ac_ltlibobjs
19589 : "${CONFIG_STATUS=./config.status}"
19590 ac_write_fail=0
19591 ac_clean_files_save=$ac_clean_files
19592 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19594 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19595 as_write_fail=0
19596 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19597 #! $SHELL
19598 # Generated by $as_me.
19599 # Run this file to recreate the current configuration.
19600 # Compiler output produced by configure, useful for debugging
19601 # configure, is in config.log if it exists.
19603 debug=false
19604 ac_cs_recheck=false
19605 ac_cs_silent=false
19607 SHELL=\${CONFIG_SHELL-$SHELL}
19608 export SHELL
19609 _ASEOF
19610 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19611 ## -------------------- ##
19612 ## M4sh Initialization. ##
19613 ## -------------------- ##
19615 # Be more Bourne compatible
19616 DUALCASE=1; export DUALCASE # for MKS sh
19617 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19618 emulate sh
19619 NULLCMD=:
19620 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19621 # is contrary to our usage. Disable this feature.
19622 alias -g '${1+"$@"}'='"$@"'
19623 setopt NO_GLOB_SUBST
19624 else
19625 case `(set -o) 2>/dev/null` in #(
19626 *posix*) :
19627 set -o posix ;; #(
19628 *) :
19630 esac
19634 as_nl='
19636 export as_nl
19637 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19638 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19639 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19640 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19641 # Prefer a ksh shell builtin over an external printf program on Solaris,
19642 # but without wasting forks for bash or zsh.
19643 if test -z "$BASH_VERSION$ZSH_VERSION" \
19644 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19645 as_echo='print -r --'
19646 as_echo_n='print -rn --'
19647 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19648 as_echo='printf %s\n'
19649 as_echo_n='printf %s'
19650 else
19651 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19652 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19653 as_echo_n='/usr/ucb/echo -n'
19654 else
19655 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19656 as_echo_n_body='eval
19657 arg=$1;
19658 case $arg in #(
19659 *"$as_nl"*)
19660 expr "X$arg" : "X\\(.*\\)$as_nl";
19661 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19662 esac;
19663 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19665 export as_echo_n_body
19666 as_echo_n='sh -c $as_echo_n_body as_echo'
19668 export as_echo_body
19669 as_echo='sh -c $as_echo_body as_echo'
19672 # The user is always right.
19673 if test "${PATH_SEPARATOR+set}" != set; then
19674 PATH_SEPARATOR=:
19675 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19676 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19677 PATH_SEPARATOR=';'
19682 # IFS
19683 # We need space, tab and new line, in precisely that order. Quoting is
19684 # there to prevent editors from complaining about space-tab.
19685 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19686 # splitting by setting IFS to empty value.)
19687 IFS=" "" $as_nl"
19689 # Find who we are. Look in the path if we contain no directory separator.
19690 as_myself=
19691 case $0 in #((
19692 *[\\/]* ) as_myself=$0 ;;
19693 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19694 for as_dir in $PATH
19696 IFS=$as_save_IFS
19697 test -z "$as_dir" && as_dir=.
19698 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19699 done
19700 IFS=$as_save_IFS
19703 esac
19704 # We did not find ourselves, most probably we were run as `sh COMMAND'
19705 # in which case we are not to be found in the path.
19706 if test "x$as_myself" = x; then
19707 as_myself=$0
19709 if test ! -f "$as_myself"; then
19710 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19711 exit 1
19714 # Unset variables that we do not need and which cause bugs (e.g. in
19715 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19716 # suppresses any "Segmentation fault" message there. '((' could
19717 # trigger a bug in pdksh 5.2.14.
19718 for as_var in BASH_ENV ENV MAIL MAILPATH
19719 do eval test x\${$as_var+set} = xset \
19720 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19721 done
19722 PS1='$ '
19723 PS2='> '
19724 PS4='+ '
19726 # NLS nuisances.
19727 LC_ALL=C
19728 export LC_ALL
19729 LANGUAGE=C
19730 export LANGUAGE
19732 # CDPATH.
19733 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19736 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19737 # ----------------------------------------
19738 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19739 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19740 # script with STATUS, using 1 if that was 0.
19741 as_fn_error ()
19743 as_status=$1; test $as_status -eq 0 && as_status=1
19744 if test "$4"; then
19745 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19746 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19748 $as_echo "$as_me: error: $2" >&2
19749 as_fn_exit $as_status
19750 } # as_fn_error
19753 # as_fn_set_status STATUS
19754 # -----------------------
19755 # Set $? to STATUS, without forking.
19756 as_fn_set_status ()
19758 return $1
19759 } # as_fn_set_status
19761 # as_fn_exit STATUS
19762 # -----------------
19763 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19764 as_fn_exit ()
19766 set +e
19767 as_fn_set_status $1
19768 exit $1
19769 } # as_fn_exit
19771 # as_fn_unset VAR
19772 # ---------------
19773 # Portably unset VAR.
19774 as_fn_unset ()
19776 { eval $1=; unset $1;}
19778 as_unset=as_fn_unset
19779 # as_fn_append VAR VALUE
19780 # ----------------------
19781 # Append the text in VALUE to the end of the definition contained in VAR. Take
19782 # advantage of any shell optimizations that allow amortized linear growth over
19783 # repeated appends, instead of the typical quadratic growth present in naive
19784 # implementations.
19785 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19786 eval 'as_fn_append ()
19788 eval $1+=\$2
19790 else
19791 as_fn_append ()
19793 eval $1=\$$1\$2
19795 fi # as_fn_append
19797 # as_fn_arith ARG...
19798 # ------------------
19799 # Perform arithmetic evaluation on the ARGs, and store the result in the
19800 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19801 # must be portable across $(()) and expr.
19802 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19803 eval 'as_fn_arith ()
19805 as_val=$(( $* ))
19807 else
19808 as_fn_arith ()
19810 as_val=`expr "$@" || test $? -eq 1`
19812 fi # as_fn_arith
19815 if expr a : '\(a\)' >/dev/null 2>&1 &&
19816 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19817 as_expr=expr
19818 else
19819 as_expr=false
19822 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19823 as_basename=basename
19824 else
19825 as_basename=false
19828 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19829 as_dirname=dirname
19830 else
19831 as_dirname=false
19834 as_me=`$as_basename -- "$0" ||
19835 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19836 X"$0" : 'X\(//\)$' \| \
19837 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19838 $as_echo X/"$0" |
19839 sed '/^.*\/\([^/][^/]*\)\/*$/{
19840 s//\1/
19843 /^X\/\(\/\/\)$/{
19844 s//\1/
19847 /^X\/\(\/\).*/{
19848 s//\1/
19851 s/.*/./; q'`
19853 # Avoid depending upon Character Ranges.
19854 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19855 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19856 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19857 as_cr_digits='0123456789'
19858 as_cr_alnum=$as_cr_Letters$as_cr_digits
19860 ECHO_C= ECHO_N= ECHO_T=
19861 case `echo -n x` in #(((((
19862 -n*)
19863 case `echo 'xy\c'` in
19864 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19865 xy) ECHO_C='\c';;
19866 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19867 ECHO_T=' ';;
19868 esac;;
19870 ECHO_N='-n';;
19871 esac
19873 rm -f conf$$ conf$$.exe conf$$.file
19874 if test -d conf$$.dir; then
19875 rm -f conf$$.dir/conf$$.file
19876 else
19877 rm -f conf$$.dir
19878 mkdir conf$$.dir 2>/dev/null
19880 if (echo >conf$$.file) 2>/dev/null; then
19881 if ln -s conf$$.file conf$$ 2>/dev/null; then
19882 as_ln_s='ln -s'
19883 # ... but there are two gotchas:
19884 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19885 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19886 # In both cases, we have to default to `cp -pR'.
19887 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19888 as_ln_s='cp -pR'
19889 elif ln conf$$.file conf$$ 2>/dev/null; then
19890 as_ln_s=ln
19891 else
19892 as_ln_s='cp -pR'
19894 else
19895 as_ln_s='cp -pR'
19897 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19898 rmdir conf$$.dir 2>/dev/null
19901 # as_fn_mkdir_p
19902 # -------------
19903 # Create "$as_dir" as a directory, including parents if necessary.
19904 as_fn_mkdir_p ()
19907 case $as_dir in #(
19908 -*) as_dir=./$as_dir;;
19909 esac
19910 test -d "$as_dir" || eval $as_mkdir_p || {
19911 as_dirs=
19912 while :; do
19913 case $as_dir in #(
19914 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19915 *) as_qdir=$as_dir;;
19916 esac
19917 as_dirs="'$as_qdir' $as_dirs"
19918 as_dir=`$as_dirname -- "$as_dir" ||
19919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19920 X"$as_dir" : 'X\(//\)[^/]' \| \
19921 X"$as_dir" : 'X\(//\)$' \| \
19922 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19923 $as_echo X"$as_dir" |
19924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19925 s//\1/
19928 /^X\(\/\/\)[^/].*/{
19929 s//\1/
19932 /^X\(\/\/\)$/{
19933 s//\1/
19936 /^X\(\/\).*/{
19937 s//\1/
19940 s/.*/./; q'`
19941 test -d "$as_dir" && break
19942 done
19943 test -z "$as_dirs" || eval "mkdir $as_dirs"
19944 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19947 } # as_fn_mkdir_p
19948 if mkdir -p . 2>/dev/null; then
19949 as_mkdir_p='mkdir -p "$as_dir"'
19950 else
19951 test -d ./-p && rmdir ./-p
19952 as_mkdir_p=false
19956 # as_fn_executable_p FILE
19957 # -----------------------
19958 # Test if FILE is an executable regular file.
19959 as_fn_executable_p ()
19961 test -f "$1" && test -x "$1"
19962 } # as_fn_executable_p
19963 as_test_x='test -x'
19964 as_executable_p=as_fn_executable_p
19966 # Sed expression to map a string onto a valid CPP name.
19967 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19969 # Sed expression to map a string onto a valid variable name.
19970 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19973 exec 6>&1
19974 ## ----------------------------------- ##
19975 ## Main body of $CONFIG_STATUS script. ##
19976 ## ----------------------------------- ##
19977 _ASEOF
19978 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19981 # Save the log message, to keep $0 and so on meaningful, and to
19982 # report actual input values of CONFIG_FILES etc. instead of their
19983 # values after options handling.
19984 ac_log="
19985 This file was extended by Wine $as_me 3.1, which was
19986 generated by GNU Autoconf 2.69. Invocation command line was
19988 CONFIG_FILES = $CONFIG_FILES
19989 CONFIG_HEADERS = $CONFIG_HEADERS
19990 CONFIG_LINKS = $CONFIG_LINKS
19991 CONFIG_COMMANDS = $CONFIG_COMMANDS
19992 $ $0 $@
19994 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19997 _ACEOF
19999 case $ac_config_files in *"
20000 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20001 esac
20003 case $ac_config_headers in *"
20004 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20005 esac
20008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20009 # Files that config.status was made for.
20010 config_files="$ac_config_files"
20011 config_headers="$ac_config_headers"
20012 config_links="$ac_config_links"
20013 config_commands="$ac_config_commands"
20015 _ACEOF
20017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20018 ac_cs_usage="\
20019 \`$as_me' instantiates files and other configuration actions
20020 from templates according to the current configuration. Unless the files
20021 and actions are specified as TAGs, all are instantiated by default.
20023 Usage: $0 [OPTION]... [TAG]...
20025 -h, --help print this help, then exit
20026 -V, --version print version number and configuration settings, then exit
20027 --config print configuration, then exit
20028 -q, --quiet, --silent
20029 do not print progress messages
20030 -d, --debug don't remove temporary files
20031 --recheck update $as_me by reconfiguring in the same conditions
20032 --file=FILE[:TEMPLATE]
20033 instantiate the configuration file FILE
20034 --header=FILE[:TEMPLATE]
20035 instantiate the configuration header FILE
20037 Configuration files:
20038 $config_files
20040 Configuration headers:
20041 $config_headers
20043 Configuration links:
20044 $config_links
20046 Configuration commands:
20047 $config_commands
20049 Report bugs to <wine-devel@winehq.org>.
20050 Wine home page: <https://www.winehq.org>."
20052 _ACEOF
20053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20054 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20055 ac_cs_version="\\
20056 Wine config.status 3.1
20057 configured by $0, generated by GNU Autoconf 2.69,
20058 with options \\"\$ac_cs_config\\"
20060 Copyright (C) 2012 Free Software Foundation, Inc.
20061 This config.status script is free software; the Free Software Foundation
20062 gives unlimited permission to copy, distribute and modify it."
20064 ac_pwd='$ac_pwd'
20065 srcdir='$srcdir'
20066 test -n "\$AWK" || AWK=awk
20067 _ACEOF
20069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20070 # The default lists apply if the user does not specify any file.
20071 ac_need_defaults=:
20072 while test $# != 0
20074 case $1 in
20075 --*=?*)
20076 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20077 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20078 ac_shift=:
20080 --*=)
20081 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20082 ac_optarg=
20083 ac_shift=:
20086 ac_option=$1
20087 ac_optarg=$2
20088 ac_shift=shift
20090 esac
20092 case $ac_option in
20093 # Handling of the options.
20094 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20095 ac_cs_recheck=: ;;
20096 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20097 $as_echo "$ac_cs_version"; exit ;;
20098 --config | --confi | --conf | --con | --co | --c )
20099 $as_echo "$ac_cs_config"; exit ;;
20100 --debug | --debu | --deb | --de | --d | -d )
20101 debug=: ;;
20102 --file | --fil | --fi | --f )
20103 $ac_shift
20104 case $ac_optarg in
20105 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20106 '') as_fn_error $? "missing file argument" ;;
20107 esac
20108 as_fn_append CONFIG_FILES " '$ac_optarg'"
20109 ac_need_defaults=false;;
20110 --header | --heade | --head | --hea )
20111 $ac_shift
20112 case $ac_optarg in
20113 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20114 esac
20115 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20116 ac_need_defaults=false;;
20117 --he | --h)
20118 # Conflict between --help and --header
20119 as_fn_error $? "ambiguous option: \`$1'
20120 Try \`$0 --help' for more information.";;
20121 --help | --hel | -h )
20122 $as_echo "$ac_cs_usage"; exit ;;
20123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20124 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20125 ac_cs_silent=: ;;
20127 # This is an error.
20128 -*) as_fn_error $? "unrecognized option: \`$1'
20129 Try \`$0 --help' for more information." ;;
20131 *) as_fn_append ac_config_targets " $1"
20132 ac_need_defaults=false ;;
20134 esac
20135 shift
20136 done
20138 ac_configure_extra_args=
20140 if $ac_cs_silent; then
20141 exec 6>/dev/null
20142 ac_configure_extra_args="$ac_configure_extra_args --silent"
20145 _ACEOF
20146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20147 if \$ac_cs_recheck; then
20148 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20149 shift
20150 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20151 CONFIG_SHELL='$SHELL'
20152 export CONFIG_SHELL
20153 exec "\$@"
20156 _ACEOF
20157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20158 exec 5>>config.log
20160 echo
20161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20162 ## Running $as_me. ##
20163 _ASBOX
20164 $as_echo "$ac_log"
20165 } >&5
20167 _ACEOF
20168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20170 # INIT-COMMANDS
20172 wine_fn_output_makedep ()
20174 as_dir=tools; as_fn_mkdir_p
20175 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20177 wine_fn_output_makefile ()
20179 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20180 `cat $wine_rules_file`
20181 _WINE_EOF
20182 as_fn_error $? "could not create Makefile" "$LINENO" 5
20185 _ACEOF
20187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20189 # Handling of arguments.
20190 for ac_config_target in $ac_config_targets
20192 case $ac_config_target in
20193 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20194 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20195 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20196 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20197 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20198 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20199 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20200 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20201 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20202 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20203 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20204 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20205 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20207 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20208 esac
20209 done
20212 # If the user did not use the arguments to specify the items to instantiate,
20213 # then the envvar interface is used. Set only those that are not.
20214 # We use the long form for the default assignment because of an extremely
20215 # bizarre bug on SunOS 4.1.3.
20216 if $ac_need_defaults; then
20217 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20218 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20219 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20220 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20223 # Have a temporary directory for convenience. Make it in the build tree
20224 # simply because there is no reason against having it here, and in addition,
20225 # creating and moving files from /tmp can sometimes cause problems.
20226 # Hook for its removal unless debugging.
20227 # Note that there is a small window in which the directory will not be cleaned:
20228 # after its creation but before its name has been assigned to `$tmp'.
20229 $debug ||
20231 tmp= ac_tmp=
20232 trap 'exit_status=$?
20233 : "${ac_tmp:=$tmp}"
20234 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20236 trap 'as_fn_exit 1' 1 2 13 15
20238 # Create a (secure) tmp directory for tmp files.
20241 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20242 test -d "$tmp"
20243 } ||
20245 tmp=./conf$$-$RANDOM
20246 (umask 077 && mkdir "$tmp")
20247 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20248 ac_tmp=$tmp
20250 # Set up the scripts for CONFIG_FILES section.
20251 # No need to generate them if there are no CONFIG_FILES.
20252 # This happens for instance with `./config.status config.h'.
20253 if test -n "$CONFIG_FILES"; then
20256 ac_cr=`echo X | tr X '\015'`
20257 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20258 # But we know of no other shell where ac_cr would be empty at this
20259 # point, so we can use a bashism as a fallback.
20260 if test "x$ac_cr" = x; then
20261 eval ac_cr=\$\'\\r\'
20263 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20264 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20265 ac_cs_awk_cr='\\r'
20266 else
20267 ac_cs_awk_cr=$ac_cr
20270 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20271 _ACEOF
20275 echo "cat >conf$$subs.awk <<_ACEOF" &&
20276 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20277 echo "_ACEOF"
20278 } >conf$$subs.sh ||
20279 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20280 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20281 ac_delim='%!_!# '
20282 for ac_last_try in false false false false false :; do
20283 . ./conf$$subs.sh ||
20284 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20286 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20287 if test $ac_delim_n = $ac_delim_num; then
20288 break
20289 elif $ac_last_try; then
20290 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20291 else
20292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20294 done
20295 rm -f conf$$subs.sh
20297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20298 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20299 _ACEOF
20300 sed -n '
20302 s/^/S["/; s/!.*/"]=/
20305 s/^[^!]*!//
20306 :repl
20307 t repl
20308 s/'"$ac_delim"'$//
20309 t delim
20312 s/\(.\{148\}\)..*/\1/
20313 t more1
20314 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20317 b repl
20318 :more1
20319 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20322 s/.\{148\}//
20323 t nl
20324 :delim
20326 s/\(.\{148\}\)..*/\1/
20327 t more2
20328 s/["\\]/\\&/g; s/^/"/; s/$/"/
20331 :more2
20332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20335 s/.\{148\}//
20336 t delim
20337 ' <conf$$subs.awk | sed '
20338 /^[^""]/{
20340 s/\n//
20342 ' >>$CONFIG_STATUS || ac_write_fail=1
20343 rm -f conf$$subs.awk
20344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20345 _ACAWK
20346 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20347 for (key in S) S_is_set[key] = 1
20348 FS = "\a"
20352 line = $ 0
20353 nfields = split(line, field, "@")
20354 substed = 0
20355 len = length(field[1])
20356 for (i = 2; i < nfields; i++) {
20357 key = field[i]
20358 keylen = length(key)
20359 if (S_is_set[key]) {
20360 value = S[key]
20361 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20362 len += length(value) + length(field[++i])
20363 substed = 1
20364 } else
20365 len += 1 + keylen
20368 print line
20371 _ACAWK
20372 _ACEOF
20373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20374 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20375 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20376 else
20378 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20379 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20380 _ACEOF
20382 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20383 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20384 # trailing colons and then remove the whole line if VPATH becomes empty
20385 # (actually we leave an empty line to preserve line numbers).
20386 if test "x$srcdir" = x.; then
20387 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20389 s///
20390 s/^/:/
20391 s/[ ]*$/:/
20392 s/:\$(srcdir):/:/g
20393 s/:\${srcdir}:/:/g
20394 s/:@srcdir@:/:/g
20395 s/^:*//
20396 s/:*$//
20398 s/\(=[ ]*\).*/\1/
20400 s/\n//
20401 s/^[^=]*=[ ]*$//
20405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20406 fi # test -n "$CONFIG_FILES"
20408 # Set up the scripts for CONFIG_HEADERS section.
20409 # No need to generate them if there are no CONFIG_HEADERS.
20410 # This happens for instance with `./config.status Makefile'.
20411 if test -n "$CONFIG_HEADERS"; then
20412 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20413 BEGIN {
20414 _ACEOF
20416 # Transform confdefs.h into an awk script `defines.awk', embedded as
20417 # here-document in config.status, that substitutes the proper values into
20418 # config.h.in to produce config.h.
20420 # Create a delimiter string that does not exist in confdefs.h, to ease
20421 # handling of long lines.
20422 ac_delim='%!_!# '
20423 for ac_last_try in false false :; do
20424 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20425 if test -z "$ac_tt"; then
20426 break
20427 elif $ac_last_try; then
20428 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20429 else
20430 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20432 done
20434 # For the awk script, D is an array of macro values keyed by name,
20435 # likewise P contains macro parameters if any. Preserve backslash
20436 # newline sequences.
20438 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20439 sed -n '
20440 s/.\{148\}/&'"$ac_delim"'/g
20441 t rset
20442 :rset
20443 s/^[ ]*#[ ]*define[ ][ ]*/ /
20444 t def
20446 :def
20447 s/\\$//
20448 t bsnl
20449 s/["\\]/\\&/g
20450 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20451 D["\1"]=" \3"/p
20452 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20454 :bsnl
20455 s/["\\]/\\&/g
20456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20457 D["\1"]=" \3\\\\\\n"\\/p
20458 t cont
20459 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20460 t cont
20462 :cont
20464 s/.\{148\}/&'"$ac_delim"'/g
20465 t clear
20466 :clear
20467 s/\\$//
20468 t bsnlc
20469 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20471 :bsnlc
20472 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20473 b cont
20474 ' <confdefs.h | sed '
20475 s/'"$ac_delim"'/"\\\
20476 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20479 for (key in D) D_is_set[key] = 1
20480 FS = "\a"
20482 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20483 line = \$ 0
20484 split(line, arg, " ")
20485 if (arg[1] == "#") {
20486 defundef = arg[2]
20487 mac1 = arg[3]
20488 } else {
20489 defundef = substr(arg[1], 2)
20490 mac1 = arg[2]
20492 split(mac1, mac2, "(") #)
20493 macro = mac2[1]
20494 prefix = substr(line, 1, index(line, defundef) - 1)
20495 if (D_is_set[macro]) {
20496 # Preserve the white space surrounding the "#".
20497 print prefix "define", macro P[macro] D[macro]
20498 next
20499 } else {
20500 # Replace #undef with comments. This is necessary, for example,
20501 # in the case of _POSIX_SOURCE, which is predefined and required
20502 # on some systems where configure will not decide to define it.
20503 if (defundef == "undef") {
20504 print "/*", prefix defundef, macro, "*/"
20505 next
20509 { print }
20510 _ACAWK
20511 _ACEOF
20512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20513 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20514 fi # test -n "$CONFIG_HEADERS"
20517 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20518 shift
20519 for ac_tag
20521 case $ac_tag in
20522 :[FHLC]) ac_mode=$ac_tag; continue;;
20523 esac
20524 case $ac_mode$ac_tag in
20525 :[FHL]*:*);;
20526 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20527 :[FH]-) ac_tag=-:-;;
20528 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20529 esac
20530 ac_save_IFS=$IFS
20531 IFS=:
20532 set x $ac_tag
20533 IFS=$ac_save_IFS
20534 shift
20535 ac_file=$1
20536 shift
20538 case $ac_mode in
20539 :L) ac_source=$1;;
20540 :[FH])
20541 ac_file_inputs=
20542 for ac_f
20544 case $ac_f in
20545 -) ac_f="$ac_tmp/stdin";;
20546 *) # Look for the file first in the build tree, then in the source tree
20547 # (if the path is not absolute). The absolute path cannot be DOS-style,
20548 # because $ac_f cannot contain `:'.
20549 test -f "$ac_f" ||
20550 case $ac_f in
20551 [\\/$]*) false;;
20552 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20553 esac ||
20554 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20555 esac
20556 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20557 as_fn_append ac_file_inputs " '$ac_f'"
20558 done
20560 # Let's still pretend it is `configure' which instantiates (i.e., don't
20561 # use $as_me), people would be surprised to read:
20562 # /* config.h. Generated by config.status. */
20563 configure_input='Generated from '`
20564 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20565 `' by configure.'
20566 if test x"$ac_file" != x-; then
20567 configure_input="$ac_file. $configure_input"
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20569 $as_echo "$as_me: creating $ac_file" >&6;}
20571 # Neutralize special characters interpreted by sed in replacement strings.
20572 case $configure_input in #(
20573 *\&* | *\|* | *\\* )
20574 ac_sed_conf_input=`$as_echo "$configure_input" |
20575 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20576 *) ac_sed_conf_input=$configure_input;;
20577 esac
20579 case $ac_tag in
20580 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20582 esac
20584 esac
20586 ac_dir=`$as_dirname -- "$ac_file" ||
20587 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20588 X"$ac_file" : 'X\(//\)[^/]' \| \
20589 X"$ac_file" : 'X\(//\)$' \| \
20590 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20591 $as_echo X"$ac_file" |
20592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20593 s//\1/
20596 /^X\(\/\/\)[^/].*/{
20597 s//\1/
20600 /^X\(\/\/\)$/{
20601 s//\1/
20604 /^X\(\/\).*/{
20605 s//\1/
20608 s/.*/./; q'`
20609 as_dir="$ac_dir"; as_fn_mkdir_p
20610 ac_builddir=.
20612 case "$ac_dir" in
20613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20615 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20616 # A ".." for each directory in $ac_dir_suffix.
20617 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20618 case $ac_top_builddir_sub in
20619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20621 esac ;;
20622 esac
20623 ac_abs_top_builddir=$ac_pwd
20624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20625 # for backward compatibility:
20626 ac_top_builddir=$ac_top_build_prefix
20628 case $srcdir in
20629 .) # We are building in place.
20630 ac_srcdir=.
20631 ac_top_srcdir=$ac_top_builddir_sub
20632 ac_abs_top_srcdir=$ac_pwd ;;
20633 [\\/]* | ?:[\\/]* ) # Absolute name.
20634 ac_srcdir=$srcdir$ac_dir_suffix;
20635 ac_top_srcdir=$srcdir
20636 ac_abs_top_srcdir=$srcdir ;;
20637 *) # Relative name.
20638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20639 ac_top_srcdir=$ac_top_build_prefix$srcdir
20640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20641 esac
20642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20645 case $ac_mode in
20648 # CONFIG_FILE
20651 _ACEOF
20653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20654 # If the template does not know about datarootdir, expand it.
20655 # FIXME: This hack should be removed a few years after 2.60.
20656 ac_datarootdir_hack=; ac_datarootdir_seen=
20657 ac_sed_dataroot='
20658 /datarootdir/ {
20662 /@datadir@/p
20663 /@docdir@/p
20664 /@infodir@/p
20665 /@localedir@/p
20666 /@mandir@/p'
20667 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20668 *datarootdir*) ac_datarootdir_seen=yes;;
20669 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20671 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20672 _ACEOF
20673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20674 ac_datarootdir_hack='
20675 s&@datadir@&$datadir&g
20676 s&@docdir@&$docdir&g
20677 s&@infodir@&$infodir&g
20678 s&@localedir@&$localedir&g
20679 s&@mandir@&$mandir&g
20680 s&\\\${datarootdir}&$datarootdir&g' ;;
20681 esac
20682 _ACEOF
20684 # Neutralize VPATH when `$srcdir' = `.'.
20685 # Shell code in configure.ac might set extrasub.
20686 # FIXME: do we really want to maintain this feature?
20687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20688 ac_sed_extra="$ac_vpsub
20689 $extrasub
20690 _ACEOF
20691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20694 s|@configure_input@|$ac_sed_conf_input|;t t
20695 s&@top_builddir@&$ac_top_builddir_sub&;t t
20696 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20697 s&@srcdir@&$ac_srcdir&;t t
20698 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20699 s&@top_srcdir@&$ac_top_srcdir&;t t
20700 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20701 s&@builddir@&$ac_builddir&;t t
20702 s&@abs_builddir@&$ac_abs_builddir&;t t
20703 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20704 $ac_datarootdir_hack
20706 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20707 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20710 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20712 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20714 which seems to be undefined. Please make sure it is defined" >&5
20715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20716 which seems to be undefined. Please make sure it is defined" >&2;}
20718 rm -f "$ac_tmp/stdin"
20719 case $ac_file in
20720 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20721 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20722 esac \
20723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20727 # CONFIG_HEADER
20729 if test x"$ac_file" != x-; then
20731 $as_echo "/* $configure_input */" \
20732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20733 } >"$ac_tmp/config.h" \
20734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20735 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20738 else
20739 rm -f "$ac_file"
20740 mv "$ac_tmp/config.h" "$ac_file" \
20741 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20743 else
20744 $as_echo "/* $configure_input */" \
20745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20746 || as_fn_error $? "could not create -" "$LINENO" 5
20751 # CONFIG_LINK
20754 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20756 else
20757 # Prefer the file from the source tree if names are identical.
20758 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20759 ac_source=$srcdir/$ac_source
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20763 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20765 if test ! -r "$ac_source"; then
20766 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20768 rm -f "$ac_file"
20770 # Try a relative symlink, then a hard link, then a copy.
20771 case $ac_source in
20772 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20773 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20774 esac
20775 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20776 ln "$ac_source" "$ac_file" 2>/dev/null ||
20777 cp -p "$ac_source" "$ac_file" ||
20778 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20781 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20782 $as_echo "$as_me: executing $ac_file commands" >&6;}
20784 esac
20787 case $ac_file$ac_mode in
20788 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20789 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20790 "Makefile":C) wine_fn_output_makefile Makefile ;;
20792 esac
20793 done # for ac_tag
20796 as_fn_exit 0
20797 _ACEOF
20798 ac_clean_files=$ac_clean_files_save
20800 test $ac_write_fail = 0 ||
20801 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20804 # configure is writing to config.log, and then calls config.status.
20805 # config.status does its own redirection, appending to config.log.
20806 # Unfortunately, on DOS this fails, as config.log is still kept open
20807 # by configure, so config.status won't be able to write to it; its
20808 # output is simply discarded. So we exec the FD to /dev/null,
20809 # effectively closing config.log, so it can be properly (re)opened and
20810 # appended to by config.status. When coming back to configure, we
20811 # need to make the FD available again.
20812 if test "$no_create" != yes; then
20813 ac_cs_success=:
20814 ac_config_status_args=
20815 test "$silent" = yes &&
20816 ac_config_status_args="$ac_config_status_args --quiet"
20817 exec 5>/dev/null
20818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20819 exec 5>>config.log
20820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20821 # would make configure fail if this is the last instruction.
20822 $ac_cs_success || as_fn_exit 1
20824 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20826 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20830 if test "$no_create" = "yes"
20831 then
20832 exit 0
20835 ac_save_IFS="$IFS"
20836 if test "x$wine_notices" != x; then
20837 echo >&6
20838 IFS="|"
20839 for msg in $wine_notices; do
20840 IFS="$ac_save_IFS"
20841 if ${msg:+false} :; then :
20843 else
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20845 $as_echo "$as_me: $msg" >&6;}
20847 done
20849 IFS="|"
20850 for msg in $wine_warnings; do
20851 IFS="$ac_save_IFS"
20852 if ${msg:+false} :; then :
20854 else
20855 echo >&2
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20857 $as_echo "$as_me: WARNING: $msg" >&2;}
20859 done
20860 IFS="$ac_save_IFS"
20862 $as_echo "
20863 $as_me: Finished. Do '${ac_make}' to compile Wine.
20864 " >&6