winebus.sys: Be more specific as to what we offer as IG_ enumerated devices.
[wine.git] / configure
blob06551faadeb5ffc8b2361fc0e758f31959bb3d8d
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_d3d12
1132 enable_d3d8
1133 enable_d3d9
1134 enable_d3dcompiler_33
1135 enable_d3dcompiler_34
1136 enable_d3dcompiler_35
1137 enable_d3dcompiler_36
1138 enable_d3dcompiler_37
1139 enable_d3dcompiler_38
1140 enable_d3dcompiler_39
1141 enable_d3dcompiler_40
1142 enable_d3dcompiler_41
1143 enable_d3dcompiler_42
1144 enable_d3dcompiler_43
1145 enable_d3dcompiler_46
1146 enable_d3dcompiler_47
1147 enable_d3dim
1148 enable_d3drm
1149 enable_d3dx10_33
1150 enable_d3dx10_34
1151 enable_d3dx10_35
1152 enable_d3dx10_36
1153 enable_d3dx10_37
1154 enable_d3dx10_38
1155 enable_d3dx10_39
1156 enable_d3dx10_40
1157 enable_d3dx10_41
1158 enable_d3dx10_42
1159 enable_d3dx10_43
1160 enable_d3dx11_42
1161 enable_d3dx11_43
1162 enable_d3dx9_24
1163 enable_d3dx9_25
1164 enable_d3dx9_26
1165 enable_d3dx9_27
1166 enable_d3dx9_28
1167 enable_d3dx9_29
1168 enable_d3dx9_30
1169 enable_d3dx9_31
1170 enable_d3dx9_32
1171 enable_d3dx9_33
1172 enable_d3dx9_34
1173 enable_d3dx9_35
1174 enable_d3dx9_36
1175 enable_d3dx9_37
1176 enable_d3dx9_38
1177 enable_d3dx9_39
1178 enable_d3dx9_40
1179 enable_d3dx9_41
1180 enable_d3dx9_42
1181 enable_d3dx9_43
1182 enable_d3dxof
1183 enable_davclnt
1184 enable_dbgeng
1185 enable_dbghelp
1186 enable_dciman32
1187 enable_ddraw
1188 enable_ddrawex
1189 enable_devenum
1190 enable_dhcpcsvc
1191 enable_dhtmled_ocx
1192 enable_difxapi
1193 enable_dinput
1194 enable_dinput8
1195 enable_dispex
1196 enable_dmband
1197 enable_dmcompos
1198 enable_dmime
1199 enable_dmloader
1200 enable_dmscript
1201 enable_dmstyle
1202 enable_dmsynth
1203 enable_dmusic
1204 enable_dmusic32
1205 enable_dnsapi
1206 enable_dplay
1207 enable_dplayx
1208 enable_dpnaddr
1209 enable_dpnet
1210 enable_dpnhpast
1211 enable_dpnlobby
1212 enable_dpvoice
1213 enable_dpwsockx
1214 enable_drmclien
1215 enable_dsound
1216 enable_dsquery
1217 enable_dssenh
1218 enable_dswave
1219 enable_dwmapi
1220 enable_dwrite
1221 enable_dx8vb
1222 enable_dxdiagn
1223 enable_dxgi
1224 enable_dxva2
1225 enable_esent
1226 enable_evr
1227 enable_explorerframe
1228 enable_ext_ms_win_authz_context_l1_1_0
1229 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1230 enable_ext_ms_win_gdi_dc_create_l1_1_1
1231 enable_ext_ms_win_gdi_dc_l1_2_0
1232 enable_ext_ms_win_gdi_devcaps_l1_1_0
1233 enable_ext_ms_win_gdi_draw_l1_1_1
1234 enable_ext_ms_win_gdi_render_l1_1_0
1235 enable_ext_ms_win_kernel32_package_current_l1_1_0
1236 enable_ext_ms_win_kernel32_package_l1_1_1
1237 enable_ext_ms_win_ntuser_message_l1_1_1
1238 enable_ext_ms_win_ntuser_private_l1_1_1
1239 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1240 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1241 enable_ext_ms_win_ntuser_window_l1_1_1
1242 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1243 enable_ext_ms_win_ras_rasapi32_l1_1_0
1244 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1245 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1246 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1247 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1248 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1249 enable_ext_ms_win_security_credui_l1_1_0
1250 enable_ext_ms_win_security_cryptui_l1_1_0
1251 enable_faultrep
1252 enable_fltlib
1253 enable_fltmgr_sys
1254 enable_fntcache
1255 enable_fontsub
1256 enable_fusion
1257 enable_fwpuclnt
1258 enable_gameux
1259 enable_gdi32
1260 enable_gdiplus
1261 enable_glu32
1262 enable_gphoto2_ds
1263 enable_gpkcsp
1264 enable_hal
1265 enable_hhctrl_ocx
1266 enable_hid
1267 enable_hidclass_sys
1268 enable_hlink
1269 enable_hnetcfg
1270 enable_httpapi
1271 enable_iccvid
1272 enable_icmp
1273 enable_ieframe
1274 enable_ieproxy
1275 enable_imaadp32_acm
1276 enable_imagehlp
1277 enable_imm32
1278 enable_inetcomm
1279 enable_inetcpl_cpl
1280 enable_inetmib1
1281 enable_infosoft
1282 enable_initpki
1283 enable_inkobj
1284 enable_inseng
1285 enable_iphlpapi
1286 enable_iprop
1287 enable_irprops_cpl
1288 enable_itircl
1289 enable_itss
1290 enable_joy_cpl
1291 enable_jscript
1292 enable_jsproxy
1293 enable_kerberos
1294 enable_kernel32
1295 enable_kernelbase
1296 enable_ksuser
1297 enable_ktmw32
1298 enable_l3codeca_acm
1299 enable_loadperf
1300 enable_localspl
1301 enable_localui
1302 enable_lz32
1303 enable_mapi32
1304 enable_mapistub
1305 enable_mciavi32
1306 enable_mcicda
1307 enable_mciqtz32
1308 enable_mciseq
1309 enable_mciwave
1310 enable_mf
1311 enable_mf3216
1312 enable_mfplat
1313 enable_mfreadwrite
1314 enable_mgmtapi
1315 enable_midimap
1316 enable_mlang
1317 enable_mmcndmgr
1318 enable_mmdevapi
1319 enable_mountmgr_sys
1320 enable_mpr
1321 enable_mprapi
1322 enable_msacm32_drv
1323 enable_msacm32
1324 enable_msadp32_acm
1325 enable_msasn1
1326 enable_mscat32
1327 enable_mscms
1328 enable_mscoree
1329 enable_msctf
1330 enable_msctfp
1331 enable_msdaps
1332 enable_msdelta
1333 enable_msdmo
1334 enable_msdrm
1335 enable_msftedit
1336 enable_msg711_acm
1337 enable_msgsm32_acm
1338 enable_mshtml_tlb
1339 enable_mshtml
1340 enable_msi
1341 enable_msident
1342 enable_msimg32
1343 enable_msimsg
1344 enable_msimtf
1345 enable_msisip
1346 enable_msisys_ocx
1347 enable_msls31
1348 enable_msnet32
1349 enable_mspatcha
1350 enable_msports
1351 enable_msrle32
1352 enable_msscript_ocx
1353 enable_mssign32
1354 enable_mssip32
1355 enable_mstask
1356 enable_msvcirt
1357 enable_msvcm80
1358 enable_msvcm90
1359 enable_msvcp100
1360 enable_msvcp110
1361 enable_msvcp120
1362 enable_msvcp120_app
1363 enable_msvcp140
1364 enable_msvcp60
1365 enable_msvcp70
1366 enable_msvcp71
1367 enable_msvcp80
1368 enable_msvcp90
1369 enable_msvcr100
1370 enable_msvcr110
1371 enable_msvcr120
1372 enable_msvcr120_app
1373 enable_msvcr70
1374 enable_msvcr71
1375 enable_msvcr80
1376 enable_msvcr90
1377 enable_msvcrt
1378 enable_msvcrt20
1379 enable_msvcrt40
1380 enable_msvcrtd
1381 enable_msvfw32
1382 enable_msvidc32
1383 enable_mswsock
1384 enable_msxml
1385 enable_msxml2
1386 enable_msxml3
1387 enable_msxml4
1388 enable_msxml6
1389 enable_mtxdm
1390 enable_ncrypt
1391 enable_nddeapi
1392 enable_ndis_sys
1393 enable_netapi32
1394 enable_netcfgx
1395 enable_netprofm
1396 enable_newdev
1397 enable_normaliz
1398 enable_npmshtml
1399 enable_npptools
1400 enable_ntdll
1401 enable_ntdsapi
1402 enable_ntoskrnl_exe
1403 enable_ntprint
1404 enable_objsel
1405 enable_odbc32
1406 enable_odbccp32
1407 enable_odbccu32
1408 enable_ole32
1409 enable_oleacc
1410 enable_oleaut32
1411 enable_olecli32
1412 enable_oledb32
1413 enable_oledlg
1414 enable_olepro32
1415 enable_olesvr32
1416 enable_olethk32
1417 enable_openal32
1418 enable_opencl
1419 enable_opengl32
1420 enable_packager
1421 enable_pdh
1422 enable_photometadatahandler
1423 enable_pidgen
1424 enable_powrprof
1425 enable_printui
1426 enable_prntvpt
1427 enable_propsys
1428 enable_psapi
1429 enable_pstorec
1430 enable_qcap
1431 enable_qedit
1432 enable_qmgr
1433 enable_qmgrprxy
1434 enable_quartz
1435 enable_query
1436 enable_rasapi32
1437 enable_rasdlg
1438 enable_regapi
1439 enable_resutils
1440 enable_riched20
1441 enable_riched32
1442 enable_rpcrt4
1443 enable_rsabase
1444 enable_rsaenh
1445 enable_rstrtmgr
1446 enable_rtutils
1447 enable_samlib
1448 enable_sane_ds
1449 enable_sapi
1450 enable_scarddlg
1451 enable_sccbase
1452 enable_schannel
1453 enable_schedsvc
1454 enable_scrobj
1455 enable_scrrun
1456 enable_scsiport_sys
1457 enable_secur32
1458 enable_security
1459 enable_sensapi
1460 enable_serialui
1461 enable_setupapi
1462 enable_sfc
1463 enable_sfc_os
1464 enable_shcore
1465 enable_shdoclc
1466 enable_shdocvw
1467 enable_shell32
1468 enable_shfolder
1469 enable_shlwapi
1470 enable_slbcsp
1471 enable_slc
1472 enable_snmpapi
1473 enable_softpub
1474 enable_spoolss
1475 enable_sspicli
1476 enable_stdole2_tlb
1477 enable_stdole32_tlb
1478 enable_sti
1479 enable_svrapi
1480 enable_sxs
1481 enable_t2embed
1482 enable_tapi32
1483 enable_taskschd
1484 enable_tdh
1485 enable_tdi_sys
1486 enable_traffic
1487 enable_twain_32
1488 enable_ucrtbase
1489 enable_uiautomationcore
1490 enable_uiribbon
1491 enable_unicows
1492 enable_updspapi
1493 enable_url
1494 enable_urlmon
1495 enable_usbd_sys
1496 enable_user32
1497 enable_userenv
1498 enable_usp10
1499 enable_uxtheme
1500 enable_vbscript
1501 enable_vcomp
1502 enable_vcomp100
1503 enable_vcomp110
1504 enable_vcomp120
1505 enable_vcomp140
1506 enable_vcomp90
1507 enable_vcruntime140
1508 enable_vdmdbg
1509 enable_version
1510 enable_virtdisk
1511 enable_vssapi
1512 enable_wbemdisp
1513 enable_wbemprox
1514 enable_wdscore
1515 enable_webservices
1516 enable_wer
1517 enable_wevtapi
1518 enable_wiaservc
1519 enable_wimgapi
1520 enable_windowscodecs
1521 enable_windowscodecsext
1522 enable_winealsa_drv
1523 enable_wineandroid_drv
1524 enable_winebus_sys
1525 enable_winecoreaudio_drv
1526 enable_wined3d
1527 enable_winegstreamer
1528 enable_winehid_sys
1529 enable_winejoystick_drv
1530 enable_winemac_drv
1531 enable_winemapi
1532 enable_wineoss_drv
1533 enable_wineps_drv
1534 enable_winepulse_drv
1535 enable_wineqtdecoder
1536 enable_winex11_drv
1537 enable_wing32
1538 enable_winhttp
1539 enable_wininet
1540 enable_winmm
1541 enable_winnls32
1542 enable_winscard
1543 enable_winspool_drv
1544 enable_winsta
1545 enable_wintab32
1546 enable_wintrust
1547 enable_winusb
1548 enable_wlanapi
1549 enable_wldap32
1550 enable_wmasf
1551 enable_wmi
1552 enable_wmiutils
1553 enable_wmp
1554 enable_wmphoto
1555 enable_wmvcore
1556 enable_wnaspi32
1557 enable_wpc
1558 enable_wpcap
1559 enable_ws2_32
1560 enable_wsdapi
1561 enable_wshom_ocx
1562 enable_wsnmp32
1563 enable_wsock32
1564 enable_wtsapi32
1565 enable_wuapi
1566 enable_wuaueng
1567 enable_x3daudio1_0
1568 enable_x3daudio1_1
1569 enable_x3daudio1_2
1570 enable_x3daudio1_3
1571 enable_x3daudio1_4
1572 enable_x3daudio1_5
1573 enable_x3daudio1_6
1574 enable_x3daudio1_7
1575 enable_xapofx1_1
1576 enable_xapofx1_2
1577 enable_xapofx1_3
1578 enable_xapofx1_4
1579 enable_xapofx1_5
1580 enable_xaudio2_0
1581 enable_xaudio2_1
1582 enable_xaudio2_2
1583 enable_xaudio2_3
1584 enable_xaudio2_4
1585 enable_xaudio2_5
1586 enable_xaudio2_6
1587 enable_xaudio2_7
1588 enable_xaudio2_8
1589 enable_xaudio2_9
1590 enable_xinput1_1
1591 enable_xinput1_2
1592 enable_xinput1_3
1593 enable_xinput1_4
1594 enable_xinput9_1_0
1595 enable_xmllite
1596 enable_xolehlp
1597 enable_xpsprint
1598 enable_xpssvcs
1599 enable_fonts
1600 enable_include
1601 enable_libs_port
1602 enable_libs_wine
1603 enable_libs_wpp
1604 enable_loader
1605 enable_po
1606 enable_arp
1607 enable_aspnet_regiis
1608 enable_attrib
1609 enable_cabarc
1610 enable_cacls
1611 enable_clock
1612 enable_cmd
1613 enable_conhost
1614 enable_control
1615 enable_cscript
1616 enable_dpnsvr
1617 enable_dxdiag
1618 enable_eject
1619 enable_expand
1620 enable_explorer
1621 enable_extrac32
1622 enable_findstr
1623 enable_fsutil
1624 enable_hh
1625 enable_hostname
1626 enable_icacls
1627 enable_icinfo
1628 enable_iexplore
1629 enable_ipconfig
1630 enable_lodctr
1631 enable_mofcomp
1632 enable_mshta
1633 enable_msiexec
1634 enable_msinfo32
1635 enable_net
1636 enable_netsh
1637 enable_netstat
1638 enable_ngen
1639 enable_notepad
1640 enable_oleview
1641 enable_ping
1642 enable_plugplay
1643 enable_powershell
1644 enable_presentationfontcache
1645 enable_progman
1646 enable_reg
1647 enable_regasm
1648 enable_regedit
1649 enable_regsvcs
1650 enable_regsvr32
1651 enable_rpcss
1652 enable_rundll32
1653 enable_sc
1654 enable_schtasks
1655 enable_sdbinst
1656 enable_secedit
1657 enable_servicemodelreg
1658 enable_services
1659 enable_shutdown
1660 enable_spoolsv
1661 enable_start
1662 enable_subst
1663 enable_svchost
1664 enable_systeminfo
1665 enable_taskkill
1666 enable_tasklist
1667 enable_taskmgr
1668 enable_termsv
1669 enable_uninstaller
1670 enable_unlodctr
1671 enable_view
1672 enable_wevtutil
1673 enable_wineboot
1674 enable_winebrowser
1675 enable_winecfg
1676 enable_wineconsole
1677 enable_winedbg
1678 enable_winedevice
1679 enable_winefile
1680 enable_winemenubuilder
1681 enable_winemine
1682 enable_winemsibuilder
1683 enable_winepath
1684 enable_winetest
1685 enable_winhlp32
1686 enable_winver
1687 enable_wmic
1688 enable_wmplayer
1689 enable_wordpad
1690 enable_write
1691 enable_wscript
1692 enable_wusa
1693 enable_xcopy
1694 enable_server
1695 enable_tools
1697 ac_precious_vars='build_alias
1698 host_alias
1699 target_alias
1701 CFLAGS
1702 LDFLAGS
1703 LIBS
1704 CPPFLAGS
1706 CXXFLAGS
1709 XMKMF
1710 XML2_CFLAGS
1711 XML2_LIBS
1712 XSLT_CFLAGS
1713 XSLT_LIBS
1714 DBUS_CFLAGS
1715 DBUS_LIBS
1716 HAL_CFLAGS
1717 HAL_LIBS
1718 GNUTLS_CFLAGS
1719 GNUTLS_LIBS
1720 SANE_CFLAGS
1721 SANE_LIBS
1722 GPHOTO2_CFLAGS
1723 GPHOTO2_LIBS
1724 GPHOTO2_PORT_CFLAGS
1725 GPHOTO2_PORT_LIBS
1726 LCMS2_CFLAGS
1727 LCMS2_LIBS
1728 FREETYPE_CFLAGS
1729 FREETYPE_LIBS
1730 PULSE_CFLAGS
1731 PULSE_LIBS
1732 GSTREAMER_CFLAGS
1733 GSTREAMER_LIBS
1734 UDEV_CFLAGS
1735 UDEV_LIBS
1736 CAPI20_CFLAGS
1737 CAPI20_LIBS
1738 CUPS_CFLAGS
1739 CUPS_LIBS
1740 FONTCONFIG_CFLAGS
1741 FONTCONFIG_LIBS
1742 KRB5_CFLAGS
1743 KRB5_LIBS
1744 GSSAPI_CFLAGS
1745 GSSAPI_LIBS
1746 JPEG_CFLAGS
1747 JPEG_LIBS
1748 PNG_CFLAGS
1749 PNG_LIBS
1750 TIFF_CFLAGS
1751 TIFF_LIBS
1752 MPG123_CFLAGS
1753 MPG123_LIBS
1754 NETAPI_CFLAGS
1755 NETAPI_LIBS
1756 LDAP_CFLAGS
1757 LDAP_LIBS'
1760 # Initialize some variables set by options.
1761 ac_init_help=
1762 ac_init_version=false
1763 ac_unrecognized_opts=
1764 ac_unrecognized_sep=
1765 # The variables have the same names as the options, with
1766 # dashes changed to underlines.
1767 cache_file=/dev/null
1768 exec_prefix=NONE
1769 no_create=
1770 no_recursion=
1771 prefix=NONE
1772 program_prefix=NONE
1773 program_suffix=NONE
1774 program_transform_name=s,x,x,
1775 silent=
1776 site=
1777 srcdir=
1778 verbose=
1779 x_includes=NONE
1780 x_libraries=NONE
1782 # Installation directory options.
1783 # These are left unexpanded so users can "make install exec_prefix=/foo"
1784 # and all the variables that are supposed to be based on exec_prefix
1785 # by default will actually change.
1786 # Use braces instead of parens because sh, perl, etc. also accept them.
1787 # (The list follows the same order as the GNU Coding Standards.)
1788 bindir='${exec_prefix}/bin'
1789 sbindir='${exec_prefix}/sbin'
1790 libexecdir='${exec_prefix}/libexec'
1791 datarootdir='${prefix}/share'
1792 datadir='${datarootdir}'
1793 sysconfdir='${prefix}/etc'
1794 sharedstatedir='${prefix}/com'
1795 localstatedir='${prefix}/var'
1796 runstatedir='${localstatedir}/run'
1797 includedir='${prefix}/include'
1798 oldincludedir='/usr/include'
1799 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1800 infodir='${datarootdir}/info'
1801 htmldir='${docdir}'
1802 dvidir='${docdir}'
1803 pdfdir='${docdir}'
1804 psdir='${docdir}'
1805 libdir='${exec_prefix}/lib'
1806 localedir='${datarootdir}/locale'
1807 mandir='${datarootdir}/man'
1809 ac_prev=
1810 ac_dashdash=
1811 for ac_option
1813 # If the previous option needs an argument, assign it.
1814 if test -n "$ac_prev"; then
1815 eval $ac_prev=\$ac_option
1816 ac_prev=
1817 continue
1820 case $ac_option in
1821 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1822 *=) ac_optarg= ;;
1823 *) ac_optarg=yes ;;
1824 esac
1826 # Accept the important Cygnus configure options, so we can diagnose typos.
1828 case $ac_dashdash$ac_option in
1830 ac_dashdash=yes ;;
1832 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1833 ac_prev=bindir ;;
1834 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1835 bindir=$ac_optarg ;;
1837 -build | --build | --buil | --bui | --bu)
1838 ac_prev=build_alias ;;
1839 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1840 build_alias=$ac_optarg ;;
1842 -cache-file | --cache-file | --cache-fil | --cache-fi \
1843 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1844 ac_prev=cache_file ;;
1845 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1846 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1847 cache_file=$ac_optarg ;;
1849 --config-cache | -C)
1850 cache_file=config.cache ;;
1852 -datadir | --datadir | --datadi | --datad)
1853 ac_prev=datadir ;;
1854 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1855 datadir=$ac_optarg ;;
1857 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1858 | --dataroo | --dataro | --datar)
1859 ac_prev=datarootdir ;;
1860 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1861 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1862 datarootdir=$ac_optarg ;;
1864 -disable-* | --disable-*)
1865 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1866 # Reject names that are not valid shell variable names.
1867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1868 as_fn_error $? "invalid feature name: $ac_useropt"
1869 ac_useropt_orig=$ac_useropt
1870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1871 case $ac_user_opts in
1873 "enable_$ac_useropt"
1874 "*) ;;
1875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1876 ac_unrecognized_sep=', ';;
1877 esac
1878 eval enable_$ac_useropt=no ;;
1880 -docdir | --docdir | --docdi | --doc | --do)
1881 ac_prev=docdir ;;
1882 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1883 docdir=$ac_optarg ;;
1885 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1886 ac_prev=dvidir ;;
1887 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1888 dvidir=$ac_optarg ;;
1890 -enable-* | --enable-*)
1891 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1892 # Reject names that are not valid shell variable names.
1893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1894 as_fn_error $? "invalid feature name: $ac_useropt"
1895 ac_useropt_orig=$ac_useropt
1896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1897 case $ac_user_opts in
1899 "enable_$ac_useropt"
1900 "*) ;;
1901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1902 ac_unrecognized_sep=', ';;
1903 esac
1904 eval enable_$ac_useropt=\$ac_optarg ;;
1906 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1907 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1908 | --exec | --exe | --ex)
1909 ac_prev=exec_prefix ;;
1910 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1911 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1912 | --exec=* | --exe=* | --ex=*)
1913 exec_prefix=$ac_optarg ;;
1915 -gas | --gas | --ga | --g)
1916 # Obsolete; use --with-gas.
1917 with_gas=yes ;;
1919 -help | --help | --hel | --he | -h)
1920 ac_init_help=long ;;
1921 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1922 ac_init_help=recursive ;;
1923 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1924 ac_init_help=short ;;
1926 -host | --host | --hos | --ho)
1927 ac_prev=host_alias ;;
1928 -host=* | --host=* | --hos=* | --ho=*)
1929 host_alias=$ac_optarg ;;
1931 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1932 ac_prev=htmldir ;;
1933 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1934 | --ht=*)
1935 htmldir=$ac_optarg ;;
1937 -includedir | --includedir | --includedi | --included | --include \
1938 | --includ | --inclu | --incl | --inc)
1939 ac_prev=includedir ;;
1940 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1941 | --includ=* | --inclu=* | --incl=* | --inc=*)
1942 includedir=$ac_optarg ;;
1944 -infodir | --infodir | --infodi | --infod | --info | --inf)
1945 ac_prev=infodir ;;
1946 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1947 infodir=$ac_optarg ;;
1949 -libdir | --libdir | --libdi | --libd)
1950 ac_prev=libdir ;;
1951 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1952 libdir=$ac_optarg ;;
1954 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1955 | --libexe | --libex | --libe)
1956 ac_prev=libexecdir ;;
1957 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1958 | --libexe=* | --libex=* | --libe=*)
1959 libexecdir=$ac_optarg ;;
1961 -localedir | --localedir | --localedi | --localed | --locale)
1962 ac_prev=localedir ;;
1963 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1964 localedir=$ac_optarg ;;
1966 -localstatedir | --localstatedir | --localstatedi | --localstated \
1967 | --localstate | --localstat | --localsta | --localst | --locals)
1968 ac_prev=localstatedir ;;
1969 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1970 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1971 localstatedir=$ac_optarg ;;
1973 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1974 ac_prev=mandir ;;
1975 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1976 mandir=$ac_optarg ;;
1978 -nfp | --nfp | --nf)
1979 # Obsolete; use --without-fp.
1980 with_fp=no ;;
1982 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1983 | --no-cr | --no-c | -n)
1984 no_create=yes ;;
1986 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1987 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1988 no_recursion=yes ;;
1990 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1991 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1992 | --oldin | --oldi | --old | --ol | --o)
1993 ac_prev=oldincludedir ;;
1994 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1995 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1996 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1997 oldincludedir=$ac_optarg ;;
1999 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2000 ac_prev=prefix ;;
2001 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2002 prefix=$ac_optarg ;;
2004 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2005 | --program-pre | --program-pr | --program-p)
2006 ac_prev=program_prefix ;;
2007 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2008 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2009 program_prefix=$ac_optarg ;;
2011 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2012 | --program-suf | --program-su | --program-s)
2013 ac_prev=program_suffix ;;
2014 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2015 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2016 program_suffix=$ac_optarg ;;
2018 -program-transform-name | --program-transform-name \
2019 | --program-transform-nam | --program-transform-na \
2020 | --program-transform-n | --program-transform- \
2021 | --program-transform | --program-transfor \
2022 | --program-transfo | --program-transf \
2023 | --program-trans | --program-tran \
2024 | --progr-tra | --program-tr | --program-t)
2025 ac_prev=program_transform_name ;;
2026 -program-transform-name=* | --program-transform-name=* \
2027 | --program-transform-nam=* | --program-transform-na=* \
2028 | --program-transform-n=* | --program-transform-=* \
2029 | --program-transform=* | --program-transfor=* \
2030 | --program-transfo=* | --program-transf=* \
2031 | --program-trans=* | --program-tran=* \
2032 | --progr-tra=* | --program-tr=* | --program-t=*)
2033 program_transform_name=$ac_optarg ;;
2035 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2036 ac_prev=pdfdir ;;
2037 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2038 pdfdir=$ac_optarg ;;
2040 -psdir | --psdir | --psdi | --psd | --ps)
2041 ac_prev=psdir ;;
2042 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2043 psdir=$ac_optarg ;;
2045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2046 | -silent | --silent | --silen | --sile | --sil)
2047 silent=yes ;;
2049 -runstatedir | --runstatedir | --runstatedi | --runstated \
2050 | --runstate | --runstat | --runsta | --runst | --runs \
2051 | --run | --ru | --r)
2052 ac_prev=runstatedir ;;
2053 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2054 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2055 | --run=* | --ru=* | --r=*)
2056 runstatedir=$ac_optarg ;;
2058 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2059 ac_prev=sbindir ;;
2060 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2061 | --sbi=* | --sb=*)
2062 sbindir=$ac_optarg ;;
2064 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2065 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2066 | --sharedst | --shareds | --shared | --share | --shar \
2067 | --sha | --sh)
2068 ac_prev=sharedstatedir ;;
2069 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2070 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2071 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2072 | --sha=* | --sh=*)
2073 sharedstatedir=$ac_optarg ;;
2075 -site | --site | --sit)
2076 ac_prev=site ;;
2077 -site=* | --site=* | --sit=*)
2078 site=$ac_optarg ;;
2080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2081 ac_prev=srcdir ;;
2082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2083 srcdir=$ac_optarg ;;
2085 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2086 | --syscon | --sysco | --sysc | --sys | --sy)
2087 ac_prev=sysconfdir ;;
2088 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2089 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2090 sysconfdir=$ac_optarg ;;
2092 -target | --target | --targe | --targ | --tar | --ta | --t)
2093 ac_prev=target_alias ;;
2094 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2095 target_alias=$ac_optarg ;;
2097 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2098 verbose=yes ;;
2100 -version | --version | --versio | --versi | --vers | -V)
2101 ac_init_version=: ;;
2103 -with-* | --with-*)
2104 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2105 # Reject names that are not valid shell variable names.
2106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2107 as_fn_error $? "invalid package name: $ac_useropt"
2108 ac_useropt_orig=$ac_useropt
2109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2110 case $ac_user_opts in
2112 "with_$ac_useropt"
2113 "*) ;;
2114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2115 ac_unrecognized_sep=', ';;
2116 esac
2117 eval with_$ac_useropt=\$ac_optarg ;;
2119 -without-* | --without-*)
2120 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2121 # Reject names that are not valid shell variable names.
2122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2123 as_fn_error $? "invalid package name: $ac_useropt"
2124 ac_useropt_orig=$ac_useropt
2125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2126 case $ac_user_opts in
2128 "with_$ac_useropt"
2129 "*) ;;
2130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2131 ac_unrecognized_sep=', ';;
2132 esac
2133 eval with_$ac_useropt=no ;;
2135 --x)
2136 # Obsolete; use --with-x.
2137 with_x=yes ;;
2139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2140 | --x-incl | --x-inc | --x-in | --x-i)
2141 ac_prev=x_includes ;;
2142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2144 x_includes=$ac_optarg ;;
2146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2148 ac_prev=x_libraries ;;
2149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2151 x_libraries=$ac_optarg ;;
2153 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2154 Try \`$0 --help' for more information"
2157 *=*)
2158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2159 # Reject names that are not valid shell variable names.
2160 case $ac_envvar in #(
2161 '' | [0-9]* | *[!_$as_cr_alnum]* )
2162 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2163 esac
2164 eval $ac_envvar=\$ac_optarg
2165 export $ac_envvar ;;
2168 # FIXME: should be removed in autoconf 3.0.
2169 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2171 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2172 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2175 esac
2176 done
2178 if test -n "$ac_prev"; then
2179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2180 as_fn_error $? "missing argument to $ac_option"
2183 if test -n "$ac_unrecognized_opts"; then
2184 case $enable_option_checking in
2185 no) ;;
2186 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2187 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2188 esac
2191 # Check all directory arguments for consistency.
2192 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2193 datadir sysconfdir sharedstatedir localstatedir includedir \
2194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2195 libdir localedir mandir runstatedir
2197 eval ac_val=\$$ac_var
2198 # Remove trailing slashes.
2199 case $ac_val in
2200 */ )
2201 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2202 eval $ac_var=\$ac_val;;
2203 esac
2204 # Be sure to have absolute directory names.
2205 case $ac_val in
2206 [\\/$]* | ?:[\\/]* ) continue;;
2207 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2208 esac
2209 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2210 done
2212 # There might be people who depend on the old broken behavior: `$host'
2213 # used to hold the argument of --host etc.
2214 # FIXME: To remove some day.
2215 build=$build_alias
2216 host=$host_alias
2217 target=$target_alias
2219 # FIXME: To remove some day.
2220 if test "x$host_alias" != x; then
2221 if test "x$build_alias" = x; then
2222 cross_compiling=maybe
2223 elif test "x$build_alias" != "x$host_alias"; then
2224 cross_compiling=yes
2228 ac_tool_prefix=
2229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2231 test "$silent" = yes && exec 6>/dev/null
2234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2235 ac_ls_di=`ls -di .` &&
2236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2237 as_fn_error $? "working directory cannot be determined"
2238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2239 as_fn_error $? "pwd does not report name of working directory"
2242 # Find the source files, if location was not specified.
2243 if test -z "$srcdir"; then
2244 ac_srcdir_defaulted=yes
2245 # Try the directory containing this script, then the parent directory.
2246 ac_confdir=`$as_dirname -- "$as_myself" ||
2247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2248 X"$as_myself" : 'X\(//\)[^/]' \| \
2249 X"$as_myself" : 'X\(//\)$' \| \
2250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2251 $as_echo X"$as_myself" |
2252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2253 s//\1/
2256 /^X\(\/\/\)[^/].*/{
2257 s//\1/
2260 /^X\(\/\/\)$/{
2261 s//\1/
2264 /^X\(\/\).*/{
2265 s//\1/
2268 s/.*/./; q'`
2269 srcdir=$ac_confdir
2270 if test ! -r "$srcdir/$ac_unique_file"; then
2271 srcdir=..
2273 else
2274 ac_srcdir_defaulted=no
2276 if test ! -r "$srcdir/$ac_unique_file"; then
2277 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2278 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2281 ac_abs_confdir=`(
2282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2283 pwd)`
2284 # When building in place, set srcdir=.
2285 if test "$ac_abs_confdir" = "$ac_pwd"; then
2286 srcdir=.
2288 # Remove unnecessary trailing slashes from srcdir.
2289 # Double slashes in file names in object file debugging info
2290 # mess up M-x gdb in Emacs.
2291 case $srcdir in
2292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2293 esac
2294 for ac_var in $ac_precious_vars; do
2295 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2296 eval ac_env_${ac_var}_value=\$${ac_var}
2297 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2298 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2299 done
2302 # Report the --help message.
2304 if test "$ac_init_help" = "long"; then
2305 # Omit some internal or obsolete options to make the list less imposing.
2306 # This message is too long to be a string in the A/UX 3.1 sh.
2307 cat <<_ACEOF
2308 \`configure' configures Wine 3.1 to adapt to many kinds of systems.
2310 Usage: $0 [OPTION]... [VAR=VALUE]...
2312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2313 VAR=VALUE. See below for descriptions of some of the useful variables.
2315 Defaults for the options are specified in brackets.
2317 Configuration:
2318 -h, --help display this help and exit
2319 --help=short display options specific to this package
2320 --help=recursive display the short help of all the included packages
2321 -V, --version display version information and exit
2322 -q, --quiet, --silent do not print \`checking ...' messages
2323 --cache-file=FILE cache test results in FILE [disabled]
2324 -C, --config-cache alias for \`--cache-file=config.cache'
2325 -n, --no-create do not create output files
2326 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2328 Installation directories:
2329 --prefix=PREFIX install architecture-independent files in PREFIX
2330 [$ac_default_prefix]
2331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2332 [PREFIX]
2334 By default, \`make install' will install all the files in
2335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2337 for instance \`--prefix=\$HOME'.
2339 For better control, use the options below.
2341 Fine tuning of the installation directories:
2342 --bindir=DIR user executables [EPREFIX/bin]
2343 --sbindir=DIR system admin executables [EPREFIX/sbin]
2344 --libexecdir=DIR program executables [EPREFIX/libexec]
2345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2348 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2349 --libdir=DIR object code libraries [EPREFIX/lib]
2350 --includedir=DIR C header files [PREFIX/include]
2351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2354 --infodir=DIR info documentation [DATAROOTDIR/info]
2355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2356 --mandir=DIR man documentation [DATAROOTDIR/man]
2357 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2358 --htmldir=DIR html documentation [DOCDIR]
2359 --dvidir=DIR dvi documentation [DOCDIR]
2360 --pdfdir=DIR pdf documentation [DOCDIR]
2361 --psdir=DIR ps documentation [DOCDIR]
2362 _ACEOF
2364 cat <<\_ACEOF
2366 X features:
2367 --x-includes=DIR X include files are in DIR
2368 --x-libraries=DIR X library files are in DIR
2370 System types:
2371 --build=BUILD configure for building on BUILD [guessed]
2372 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2373 _ACEOF
2376 if test -n "$ac_init_help"; then
2377 case $ac_init_help in
2378 short | recursive ) echo "Configuration of Wine 3.1:";;
2379 esac
2380 cat <<\_ACEOF
2382 Optional Features:
2383 --disable-option-checking ignore unrecognized --enable/--with options
2384 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2385 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2386 --disable-win16 do not include Win16 support
2387 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2388 binaries)
2389 --disable-tests do not build the regression tests
2390 --enable-maintainer-mode
2391 enable maintainer-specific build rules
2392 --disable-largefile omit support for large files
2394 Optional Packages:
2395 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2396 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2397 --without-alsa do not use the Alsa sound support
2398 --without-capi do not use CAPI (ISDN support)
2399 --without-cms do not use CMS (color management support)
2400 --without-coreaudio do not use the CoreAudio sound support
2401 --without-cups do not use CUPS
2402 --without-curses do not use (n)curses
2403 --without-dbus do not use DBus (dynamic device support)
2404 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2405 --without-fontconfig do not use fontconfig
2406 --without-freetype do not use the FreeType library
2407 --without-gettext do not use gettext
2408 --with-gettextpo use the GetTextPO library to rebuild po files
2409 --without-gphoto do not use gphoto (Digital Camera support)
2410 --without-glu do not use the GLU library
2411 --without-gnutls do not use GnuTLS (schannel support)
2412 --without-gsm do not use libgsm (GSM 06.10 codec support)
2413 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2414 --without-gstreamer do not use GStreamer (codecs support)
2415 --without-hal do not use HAL (dynamic device support)
2416 --without-jpeg do not use JPEG
2417 --without-krb5 do not use krb5 (Kerberos)
2418 --without-ldap do not use LDAP
2419 --without-mpg123 do not use the mpg123 library
2420 --without-netapi do not use the Samba NetAPI library
2421 --without-openal do not use OpenAL
2422 --without-opencl do not use OpenCL
2423 --without-opengl do not use OpenGL
2424 --without-osmesa do not use the OSMesa library
2425 --without-oss do not use the OSS sound support
2426 --without-pcap do not use the Packet Capture library
2427 --without-png do not use PNG
2428 --without-pthread do not use the pthread library
2429 --without-pulse do not use PulseAudio sound support
2430 --without-sane do not use SANE (scanner support)
2431 --without-tiff do not use TIFF
2432 --without-udev do not use udev (plug and play support)
2433 --without-v4l do not use v4l1 (v4l support)
2434 --without-xcomposite do not use the Xcomposite extension
2435 --without-xcursor do not use the Xcursor extension
2436 --without-xfixes do not use Xfixes for clipboard change notifications
2437 --without-xinerama do not use Xinerama (multi-monitor support)
2438 --without-xinput do not use the Xinput extension
2439 --without-xinput2 do not use the Xinput 2 extension
2440 --without-xml do not use XML
2441 --without-xrandr do not use Xrandr (resolution changes)
2442 --without-xrender do not use the Xrender extension
2443 --without-xshape do not use the Xshape extension
2444 --without-xshm do not use XShm (shared memory extension)
2445 --without-xslt do not use XSLT
2446 --without-xxf86vm do not use XFree video mode extension
2447 --without-zlib do not use Zlib (data compression)
2448 --with-wine-tools=DIR use Wine tools from directory DIR
2449 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2450 --with-x use the X Window System
2452 Some influential environment variables:
2453 CC C compiler command
2454 CFLAGS C compiler flags
2455 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2456 nonstandard directory <lib dir>
2457 LIBS libraries to pass to the linker, e.g. -l<library>
2458 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2459 you have headers in a nonstandard directory <include dir>
2460 CXX C++ compiler command
2461 CXXFLAGS C++ compiler flags
2462 CPP C preprocessor
2463 XMKMF Path to xmkmf, Makefile generator for X Window System
2464 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2465 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2466 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2467 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2468 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2469 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2470 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2471 HAL_LIBS Linker flags for hal, overriding pkg-config
2472 GNUTLS_CFLAGS
2473 C compiler flags for gnutls, overriding pkg-config
2474 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2475 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2476 SANE_LIBS Linker flags for libsane, overriding pkg-config
2477 GPHOTO2_CFLAGS
2478 C compiler flags for libgphoto2, overriding pkg-config
2479 GPHOTO2_LIBS
2480 Linker flags for libgphoto2, overriding pkg-config
2481 GPHOTO2_PORT_CFLAGS
2482 C compiler flags for libgphoto2_port, overriding pkg-config
2483 GPHOTO2_PORT_LIBS
2484 Linker flags for libgphoto2_port, overriding pkg-config
2485 LCMS2_CFLAGS
2486 C compiler flags for lcms2, overriding pkg-config
2487 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2488 FREETYPE_CFLAGS
2489 C compiler flags for freetype2, overriding pkg-config
2490 FREETYPE_LIBS
2491 Linker flags for freetype2, overriding pkg-config
2492 PULSE_CFLAGS
2493 C compiler flags for libpulse, overriding pkg-config
2494 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2495 GSTREAMER_CFLAGS
2496 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2497 gstreamer-audio-1.0, overriding pkg-config
2498 GSTREAMER_LIBS
2499 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2500 gstreamer-audio-1.0, overriding pkg-config
2501 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2502 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2503 CAPI20_CFLAGS
2504 C compiler flags for capi20, overriding pkg-config
2505 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2506 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2507 CUPS_LIBS Linker flags for cups, overriding pkg-config
2508 FONTCONFIG_CFLAGS
2509 C compiler flags for fontconfig, overriding pkg-config
2510 FONTCONFIG_LIBS
2511 Linker flags for fontconfig, overriding pkg-config
2512 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2513 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2514 GSSAPI_CFLAGS
2515 C compiler flags for krb5-gssapi, overriding pkg-config
2516 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2517 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2518 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2519 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2520 PNG_LIBS Linker flags for libpng, overriding pkg-config
2521 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2522 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2523 MPG123_CFLAGS
2524 C compiler flags for libmpg123, overriding pkg-config
2525 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2526 NETAPI_CFLAGS
2527 C compiler flags for netapi, overriding pkg-config
2528 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2529 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2530 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2532 Use these variables to override the choices made by `configure' or to help
2533 it to find libraries and programs with nonstandard names/locations.
2535 Report bugs to <wine-devel@winehq.org>.
2536 Wine home page: <https://www.winehq.org>.
2537 _ACEOF
2538 ac_status=$?
2541 if test "$ac_init_help" = "recursive"; then
2542 # If there are subdirs, report their specific --help.
2543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2544 test -d "$ac_dir" ||
2545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2546 continue
2547 ac_builddir=.
2549 case "$ac_dir" in
2550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2552 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2553 # A ".." for each directory in $ac_dir_suffix.
2554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2555 case $ac_top_builddir_sub in
2556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2558 esac ;;
2559 esac
2560 ac_abs_top_builddir=$ac_pwd
2561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2562 # for backward compatibility:
2563 ac_top_builddir=$ac_top_build_prefix
2565 case $srcdir in
2566 .) # We are building in place.
2567 ac_srcdir=.
2568 ac_top_srcdir=$ac_top_builddir_sub
2569 ac_abs_top_srcdir=$ac_pwd ;;
2570 [\\/]* | ?:[\\/]* ) # Absolute name.
2571 ac_srcdir=$srcdir$ac_dir_suffix;
2572 ac_top_srcdir=$srcdir
2573 ac_abs_top_srcdir=$srcdir ;;
2574 *) # Relative name.
2575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2576 ac_top_srcdir=$ac_top_build_prefix$srcdir
2577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2578 esac
2579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2581 cd "$ac_dir" || { ac_status=$?; continue; }
2582 # Check for guested configure.
2583 if test -f "$ac_srcdir/configure.gnu"; then
2584 echo &&
2585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2586 elif test -f "$ac_srcdir/configure"; then
2587 echo &&
2588 $SHELL "$ac_srcdir/configure" --help=recursive
2589 else
2590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2591 fi || ac_status=$?
2592 cd "$ac_pwd" || { ac_status=$?; break; }
2593 done
2596 test -n "$ac_init_help" && exit $ac_status
2597 if $ac_init_version; then
2598 cat <<\_ACEOF
2599 Wine configure 3.1
2600 generated by GNU Autoconf 2.69
2602 Copyright (C) 2012 Free Software Foundation, Inc.
2603 This configure script is free software; the Free Software Foundation
2604 gives unlimited permission to copy, distribute and modify it.
2605 _ACEOF
2606 exit
2609 ## ------------------------ ##
2610 ## Autoconf initialization. ##
2611 ## ------------------------ ##
2613 # ac_fn_c_try_compile LINENO
2614 # --------------------------
2615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2616 ac_fn_c_try_compile ()
2618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2619 rm -f conftest.$ac_objext
2620 if { { ac_try="$ac_compile"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_compile") 2>conftest.err
2628 ac_status=$?
2629 if test -s conftest.err; then
2630 grep -v '^ *+' conftest.err >conftest.er1
2631 cat conftest.er1 >&5
2632 mv -f conftest.er1 conftest.err
2634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2635 test $ac_status = 0; } && {
2636 test -z "$ac_c_werror_flag" ||
2637 test ! -s conftest.err
2638 } && test -s conftest.$ac_objext; then :
2639 ac_retval=0
2640 else
2641 $as_echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.$ac_ext >&5
2644 ac_retval=1
2646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 as_fn_set_status $ac_retval
2649 } # ac_fn_c_try_compile
2651 # ac_fn_cxx_try_compile LINENO
2652 # ----------------------------
2653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2654 ac_fn_cxx_try_compile ()
2656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2657 rm -f conftest.$ac_objext
2658 if { { ac_try="$ac_compile"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_compile") 2>conftest.err
2666 ac_status=$?
2667 if test -s conftest.err; then
2668 grep -v '^ *+' conftest.err >conftest.er1
2669 cat conftest.er1 >&5
2670 mv -f conftest.er1 conftest.err
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; } && {
2674 test -z "$ac_cxx_werror_flag" ||
2675 test ! -s conftest.err
2676 } && test -s conftest.$ac_objext; then :
2677 ac_retval=0
2678 else
2679 $as_echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2682 ac_retval=1
2684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 as_fn_set_status $ac_retval
2687 } # ac_fn_cxx_try_compile
2689 # ac_fn_c_try_link LINENO
2690 # -----------------------
2691 # Try to link conftest.$ac_ext, and return whether this succeeded.
2692 ac_fn_c_try_link ()
2694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2695 rm -f conftest.$ac_objext conftest$ac_exeext
2696 if { { ac_try="$ac_link"
2697 case "(($ac_try" in
2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;;
2700 esac
2701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2702 $as_echo "$ac_try_echo"; } >&5
2703 (eval "$ac_link") 2>conftest.err
2704 ac_status=$?
2705 if test -s conftest.err; then
2706 grep -v '^ *+' conftest.err >conftest.er1
2707 cat conftest.er1 >&5
2708 mv -f conftest.er1 conftest.err
2710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2711 test $ac_status = 0; } && {
2712 test -z "$ac_c_werror_flag" ||
2713 test ! -s conftest.err
2714 } && test -s conftest$ac_exeext && {
2715 test "$cross_compiling" = yes ||
2716 test -x conftest$ac_exeext
2717 }; then :
2718 ac_retval=0
2719 else
2720 $as_echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.$ac_ext >&5
2723 ac_retval=1
2725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2727 # interfere with the next link command; also delete a directory that is
2728 # left behind by Apple's compiler. We do this before executing the actions.
2729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 as_fn_set_status $ac_retval
2733 } # ac_fn_c_try_link
2735 # ac_fn_c_try_cpp LINENO
2736 # ----------------------
2737 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2738 ac_fn_c_try_cpp ()
2740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2741 if { { ac_try="$ac_cpp conftest.$ac_ext"
2742 case "(($ac_try" in
2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744 *) ac_try_echo=$ac_try;;
2745 esac
2746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2747 $as_echo "$ac_try_echo"; } >&5
2748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2749 ac_status=$?
2750 if test -s conftest.err; then
2751 grep -v '^ *+' conftest.err >conftest.er1
2752 cat conftest.er1 >&5
2753 mv -f conftest.er1 conftest.err
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; } > conftest.i && {
2757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2758 test ! -s conftest.err
2759 }; then :
2760 ac_retval=0
2761 else
2762 $as_echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.$ac_ext >&5
2765 ac_retval=1
2767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2768 as_fn_set_status $ac_retval
2770 } # ac_fn_c_try_cpp
2772 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2773 # -------------------------------------------------------
2774 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2775 # the include files in INCLUDES and setting the cache variable VAR
2776 # accordingly.
2777 ac_fn_c_check_header_mongrel ()
2779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780 if eval \${$3+:} false; then :
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2782 $as_echo_n "checking for $2... " >&6; }
2783 if eval \${$3+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 eval ac_res=\$$3
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2788 $as_echo "$ac_res" >&6; }
2789 else
2790 # Is the header compilable?
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2792 $as_echo_n "checking $2 usability... " >&6; }
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2796 #include <$2>
2797 _ACEOF
2798 if ac_fn_c_try_compile "$LINENO"; then :
2799 ac_header_compiler=yes
2800 else
2801 ac_header_compiler=no
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2805 $as_echo "$ac_header_compiler" >&6; }
2807 # Is the header present?
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2809 $as_echo_n "checking $2 presence... " >&6; }
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2812 #include <$2>
2813 _ACEOF
2814 if ac_fn_c_try_cpp "$LINENO"; then :
2815 ac_header_preproc=yes
2816 else
2817 ac_header_preproc=no
2819 rm -f conftest.err conftest.i conftest.$ac_ext
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2821 $as_echo "$ac_header_preproc" >&6; }
2823 # So? What about this header?
2824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2825 yes:no: )
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2827 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2829 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2831 no:yes:* )
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2833 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2835 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2837 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2839 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2841 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2842 ( $as_echo "## ------------------------------------ ##
2843 ## Report this to wine-devel@winehq.org ##
2844 ## ------------------------------------ ##"
2845 ) | sed "s/^/$as_me: WARNING: /" >&2
2847 esac
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 $as_echo_n "checking for $2... " >&6; }
2850 if eval \${$3+:} false; then :
2851 $as_echo_n "(cached) " >&6
2852 else
2853 eval "$3=\$ac_header_compiler"
2855 eval ac_res=\$$3
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2857 $as_echo "$ac_res" >&6; }
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 } # ac_fn_c_check_header_mongrel
2863 # ac_fn_c_try_run LINENO
2864 # ----------------------
2865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2866 # that executables *can* be run.
2867 ac_fn_c_try_run ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 if { { ac_try="$ac_link"
2871 case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874 esac
2875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2876 $as_echo "$ac_try_echo"; } >&5
2877 (eval "$ac_link") 2>&5
2878 ac_status=$?
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2881 { { case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_try") 2>&5
2888 ac_status=$?
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; }; }; then :
2891 ac_retval=0
2892 else
2893 $as_echo "$as_me: program exited with status $ac_status" >&5
2894 $as_echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2897 ac_retval=$ac_status
2899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2901 as_fn_set_status $ac_retval
2903 } # ac_fn_c_try_run
2905 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2906 # -------------------------------------------------------
2907 # Tests whether HEADER exists and can be compiled using the include files in
2908 # INCLUDES, setting the cache variable VAR accordingly.
2909 ac_fn_c_check_header_compile ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2913 $as_echo_n "checking for $2... " >&6; }
2914 if eval \${$3+:} false; then :
2915 $as_echo_n "(cached) " >&6
2916 else
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2920 #include <$2>
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 eval "$3=yes"
2924 else
2925 eval "$3=no"
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 eval ac_res=\$$3
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2931 $as_echo "$ac_res" >&6; }
2932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 } # ac_fn_c_check_header_compile
2936 # ac_fn_c_check_func LINENO FUNC VAR
2937 # ----------------------------------
2938 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2939 ac_fn_c_check_func ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2949 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2951 #define $2 innocuous_$2
2953 /* System header to define __stub macros and hopefully few prototypes,
2954 which can conflict with char $2 (); below.
2955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2956 <limits.h> exists even on freestanding compilers. */
2958 #ifdef __STDC__
2959 # include <limits.h>
2960 #else
2961 # include <assert.h>
2962 #endif
2964 #undef $2
2966 /* Override any GCC internal prototype to avoid an error.
2967 Use char because int might match the return type of a GCC
2968 builtin and then its argument prototype would still apply. */
2969 #ifdef __cplusplus
2970 extern "C"
2971 #endif
2972 char $2 ();
2973 /* The GNU C library defines this for functions which it implements
2974 to always fail with ENOSYS. Some functions are actually named
2975 something starting with __ and the normal name is an alias. */
2976 #if defined __stub_$2 || defined __stub___$2
2977 choke me
2978 #endif
2981 main ()
2983 return $2 ();
2985 return 0;
2987 _ACEOF
2988 if ac_fn_c_try_link "$LINENO"; then :
2989 eval "$3=yes"
2990 else
2991 eval "$3=no"
2993 rm -f core conftest.err conftest.$ac_objext \
2994 conftest$ac_exeext conftest.$ac_ext
2996 eval ac_res=\$$3
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2998 $as_echo "$ac_res" >&6; }
2999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3001 } # ac_fn_c_check_func
3003 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3004 # ----------------------------------------------------
3005 # Tries to find if the field MEMBER exists in type AGGR, after including
3006 # INCLUDES, setting cache variable VAR accordingly.
3007 ac_fn_c_check_member ()
3009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3011 $as_echo_n "checking for $2.$3... " >&6; }
3012 if eval \${$4+:} false; then :
3013 $as_echo_n "(cached) " >&6
3014 else
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main ()
3021 static $2 ac_aggr;
3022 if (ac_aggr.$3)
3023 return 0;
3025 return 0;
3027 _ACEOF
3028 if ac_fn_c_try_compile "$LINENO"; then :
3029 eval "$4=yes"
3030 else
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3035 main ()
3037 static $2 ac_aggr;
3038 if (sizeof ac_aggr.$3)
3039 return 0;
3041 return 0;
3043 _ACEOF
3044 if ac_fn_c_try_compile "$LINENO"; then :
3045 eval "$4=yes"
3046 else
3047 eval "$4=no"
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 eval ac_res=\$$4
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 } # ac_fn_c_check_member
3060 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3061 # -------------------------------------------
3062 # Tests whether TYPE exists after having included INCLUDES, setting cache
3063 # variable VAR accordingly.
3064 ac_fn_c_check_type ()
3066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3068 $as_echo_n "checking for $2... " >&6; }
3069 if eval \${$3+:} false; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 eval "$3=no"
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3077 main ()
3079 if (sizeof ($2))
3080 return 0;
3082 return 0;
3084 _ACEOF
3085 if ac_fn_c_try_compile "$LINENO"; then :
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3090 main ()
3092 if (sizeof (($2)))
3093 return 0;
3095 return 0;
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"; then :
3100 else
3101 eval "$3=yes"
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 eval ac_res=\$$3
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3109 $as_echo "$ac_res" >&6; }
3110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3112 } # ac_fn_c_check_type
3113 cat >config.log <<_ACEOF
3114 This file contains any messages produced by compilers while
3115 running configure, to aid debugging if configure makes a mistake.
3117 It was created by Wine $as_me 3.1, which was
3118 generated by GNU Autoconf 2.69. Invocation command line was
3120 $ $0 $@
3122 _ACEOF
3123 exec 5>>config.log
3125 cat <<_ASUNAME
3126 ## --------- ##
3127 ## Platform. ##
3128 ## --------- ##
3130 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3131 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3132 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3133 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3134 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3136 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3137 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3139 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3140 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3141 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3142 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3143 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3144 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3145 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3147 _ASUNAME
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 for as_dir in $PATH
3152 IFS=$as_save_IFS
3153 test -z "$as_dir" && as_dir=.
3154 $as_echo "PATH: $as_dir"
3155 done
3156 IFS=$as_save_IFS
3158 } >&5
3160 cat >&5 <<_ACEOF
3163 ## ----------- ##
3164 ## Core tests. ##
3165 ## ----------- ##
3167 _ACEOF
3170 # Keep a trace of the command line.
3171 # Strip out --no-create and --no-recursion so they do not pile up.
3172 # Strip out --silent because we don't want to record it for future runs.
3173 # Also quote any args containing shell meta-characters.
3174 # Make two passes to allow for proper duplicate-argument suppression.
3175 ac_configure_args=
3176 ac_configure_args0=
3177 ac_configure_args1=
3178 ac_must_keep_next=false
3179 for ac_pass in 1 2
3181 for ac_arg
3183 case $ac_arg in
3184 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3186 | -silent | --silent | --silen | --sile | --sil)
3187 continue ;;
3188 *\'*)
3189 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3190 esac
3191 case $ac_pass in
3192 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3194 as_fn_append ac_configure_args1 " '$ac_arg'"
3195 if test $ac_must_keep_next = true; then
3196 ac_must_keep_next=false # Got value, back to normal.
3197 else
3198 case $ac_arg in
3199 *=* | --config-cache | -C | -disable-* | --disable-* \
3200 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3201 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3202 | -with-* | --with-* | -without-* | --without-* | --x)
3203 case "$ac_configure_args0 " in
3204 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3205 esac
3207 -* ) ac_must_keep_next=true ;;
3208 esac
3210 as_fn_append ac_configure_args " '$ac_arg'"
3212 esac
3213 done
3214 done
3215 { ac_configure_args0=; unset ac_configure_args0;}
3216 { ac_configure_args1=; unset ac_configure_args1;}
3218 # When interrupted or exit'd, cleanup temporary files, and complete
3219 # config.log. We remove comments because anyway the quotes in there
3220 # would cause problems or look ugly.
3221 # WARNING: Use '\'' to represent an apostrophe within the trap.
3222 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3223 trap 'exit_status=$?
3224 # Save into config.log some information that might help in debugging.
3226 echo
3228 $as_echo "## ---------------- ##
3229 ## Cache variables. ##
3230 ## ---------------- ##"
3231 echo
3232 # The following way of writing the cache mishandles newlines in values,
3234 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3235 eval ac_val=\$$ac_var
3236 case $ac_val in #(
3237 *${as_nl}*)
3238 case $ac_var in #(
3239 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3240 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3241 esac
3242 case $ac_var in #(
3243 _ | IFS | as_nl) ;; #(
3244 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3245 *) { eval $ac_var=; unset $ac_var;} ;;
3246 esac ;;
3247 esac
3248 done
3249 (set) 2>&1 |
3250 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3251 *${as_nl}ac_space=\ *)
3252 sed -n \
3253 "s/'\''/'\''\\\\'\'''\''/g;
3254 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3255 ;; #(
3257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3259 esac |
3260 sort
3262 echo
3264 $as_echo "## ----------------- ##
3265 ## Output variables. ##
3266 ## ----------------- ##"
3267 echo
3268 for ac_var in $ac_subst_vars
3270 eval ac_val=\$$ac_var
3271 case $ac_val in
3272 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3273 esac
3274 $as_echo "$ac_var='\''$ac_val'\''"
3275 done | sort
3276 echo
3278 if test -n "$ac_subst_files"; then
3279 $as_echo "## ------------------- ##
3280 ## File substitutions. ##
3281 ## ------------------- ##"
3282 echo
3283 for ac_var in $ac_subst_files
3285 eval ac_val=\$$ac_var
3286 case $ac_val in
3287 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3288 esac
3289 $as_echo "$ac_var='\''$ac_val'\''"
3290 done | sort
3291 echo
3294 if test -s confdefs.h; then
3295 $as_echo "## ----------- ##
3296 ## confdefs.h. ##
3297 ## ----------- ##"
3298 echo
3299 cat confdefs.h
3300 echo
3302 test "$ac_signal" != 0 &&
3303 $as_echo "$as_me: caught signal $ac_signal"
3304 $as_echo "$as_me: exit $exit_status"
3305 } >&5
3306 rm -f core *.core core.conftest.* &&
3307 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3308 exit $exit_status
3310 for ac_signal in 1 2 13 15; do
3311 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3312 done
3313 ac_signal=0
3315 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3316 rm -f -r conftest* confdefs.h
3318 $as_echo "/* confdefs.h */" > confdefs.h
3320 # Predefined preprocessor variables.
3322 cat >>confdefs.h <<_ACEOF
3323 #define PACKAGE_NAME "$PACKAGE_NAME"
3324 _ACEOF
3326 cat >>confdefs.h <<_ACEOF
3327 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3328 _ACEOF
3330 cat >>confdefs.h <<_ACEOF
3331 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3332 _ACEOF
3334 cat >>confdefs.h <<_ACEOF
3335 #define PACKAGE_STRING "$PACKAGE_STRING"
3336 _ACEOF
3338 cat >>confdefs.h <<_ACEOF
3339 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3340 _ACEOF
3342 cat >>confdefs.h <<_ACEOF
3343 #define PACKAGE_URL "$PACKAGE_URL"
3344 _ACEOF
3347 # Let the site file select an alternate cache file if it wants to.
3348 # Prefer an explicitly selected file to automatically selected ones.
3349 ac_site_file1=NONE
3350 ac_site_file2=NONE
3351 if test -n "$CONFIG_SITE"; then
3352 # We do not want a PATH search for config.site.
3353 case $CONFIG_SITE in #((
3354 -*) ac_site_file1=./$CONFIG_SITE;;
3355 */*) ac_site_file1=$CONFIG_SITE;;
3356 *) ac_site_file1=./$CONFIG_SITE;;
3357 esac
3358 elif test "x$prefix" != xNONE; then
3359 ac_site_file1=$prefix/share/config.site
3360 ac_site_file2=$prefix/etc/config.site
3361 else
3362 ac_site_file1=$ac_default_prefix/share/config.site
3363 ac_site_file2=$ac_default_prefix/etc/config.site
3365 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3367 test "x$ac_site_file" = xNONE && continue
3368 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3370 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3371 sed 's/^/| /' "$ac_site_file" >&5
3372 . "$ac_site_file" \
3373 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3375 as_fn_error $? "failed to load site script $ac_site_file
3376 See \`config.log' for more details" "$LINENO" 5; }
3378 done
3380 if test -r "$cache_file"; then
3381 # Some versions of bash will fail to source /dev/null (special files
3382 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3383 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3385 $as_echo "$as_me: loading cache $cache_file" >&6;}
3386 case $cache_file in
3387 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3388 *) . "./$cache_file";;
3389 esac
3391 else
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3393 $as_echo "$as_me: creating cache $cache_file" >&6;}
3394 >$cache_file
3397 # Check that the precious variables saved in the cache have kept the same
3398 # value.
3399 ac_cache_corrupted=false
3400 for ac_var in $ac_precious_vars; do
3401 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3402 eval ac_new_set=\$ac_env_${ac_var}_set
3403 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3404 eval ac_new_val=\$ac_env_${ac_var}_value
3405 case $ac_old_set,$ac_new_set in
3406 set,)
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3408 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3409 ac_cache_corrupted=: ;;
3410 ,set)
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3412 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3413 ac_cache_corrupted=: ;;
3414 ,);;
3416 if test "x$ac_old_val" != "x$ac_new_val"; then
3417 # differences in whitespace do not lead to failure.
3418 ac_old_val_w=`echo x $ac_old_val`
3419 ac_new_val_w=`echo x $ac_new_val`
3420 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3422 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3423 ac_cache_corrupted=:
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3426 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3427 eval $ac_var=\$ac_old_val
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3430 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3432 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3433 fi;;
3434 esac
3435 # Pass precious variables to config.status.
3436 if test "$ac_new_set" = set; then
3437 case $ac_new_val in
3438 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3439 *) ac_arg=$ac_var=$ac_new_val ;;
3440 esac
3441 case " $ac_configure_args " in
3442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3443 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3444 esac
3446 done
3447 if $ac_cache_corrupted; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3451 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3452 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3454 ## -------------------- ##
3455 ## Main body of script. ##
3456 ## -------------------- ##
3458 ac_ext=c
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3466 ac_config_headers="$ac_config_headers include/config.h"
3468 ac_aux_dir=
3469 for ac_dir in tools "$srcdir"/tools; do
3470 if test -f "$ac_dir/install-sh"; then
3471 ac_aux_dir=$ac_dir
3472 ac_install_sh="$ac_aux_dir/install-sh -c"
3473 break
3474 elif test -f "$ac_dir/install.sh"; then
3475 ac_aux_dir=$ac_dir
3476 ac_install_sh="$ac_aux_dir/install.sh -c"
3477 break
3478 elif test -f "$ac_dir/shtool"; then
3479 ac_aux_dir=$ac_dir
3480 ac_install_sh="$ac_aux_dir/shtool install -c"
3481 break
3483 done
3484 if test -z "$ac_aux_dir"; then
3485 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3488 # These three variables are undocumented and unsupported,
3489 # and are intended to be withdrawn in a future Autoconf release.
3490 # They can cause serious problems if a builder's source tree is in a directory
3491 # whose full name contains unusual characters.
3492 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3493 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3494 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3498 libwine_version="1.0"
3502 # Check whether --enable-win16 was given.
3503 if test "${enable_win16+set}" = set; then :
3504 enableval=$enable_win16;
3507 # Check whether --enable-win64 was given.
3508 if test "${enable_win64+set}" = set; then :
3509 enableval=$enable_win64;
3512 # Check whether --enable-tests was given.
3513 if test "${enable_tests+set}" = set; then :
3514 enableval=$enable_tests;
3517 # Check whether --enable-maintainer-mode was given.
3518 if test "${enable_maintainer_mode+set}" = set; then :
3519 enableval=$enable_maintainer_mode;
3524 # Check whether --with-alsa was given.
3525 if test "${with_alsa+set}" = set; then :
3526 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3530 # Check whether --with-capi was given.
3531 if test "${with_capi+set}" = set; then :
3532 withval=$with_capi;
3536 # Check whether --with-cms was given.
3537 if test "${with_cms+set}" = set; then :
3538 withval=$with_cms;
3542 # Check whether --with-coreaudio was given.
3543 if test "${with_coreaudio+set}" = set; then :
3544 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3548 # Check whether --with-cups was given.
3549 if test "${with_cups+set}" = set; then :
3550 withval=$with_cups;
3554 # Check whether --with-curses was given.
3555 if test "${with_curses+set}" = set; then :
3556 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3560 # Check whether --with-dbus was given.
3561 if test "${with_dbus+set}" = set; then :
3562 withval=$with_dbus;
3566 # Check whether --with-float-abi was given.
3567 if test "${with_float_abi+set}" = set; then :
3568 withval=$with_float_abi;
3572 # Check whether --with-fontconfig was given.
3573 if test "${with_fontconfig+set}" = set; then :
3574 withval=$with_fontconfig;
3578 # Check whether --with-freetype was given.
3579 if test "${with_freetype+set}" = set; then :
3580 withval=$with_freetype;
3584 # Check whether --with-gettext was given.
3585 if test "${with_gettext+set}" = set; then :
3586 withval=$with_gettext;
3590 # Check whether --with-gettextpo was given.
3591 if test "${with_gettextpo+set}" = set; then :
3592 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3596 # Check whether --with-gphoto was given.
3597 if test "${with_gphoto+set}" = set; then :
3598 withval=$with_gphoto;
3602 # Check whether --with-glu was given.
3603 if test "${with_glu+set}" = set; then :
3604 withval=$with_glu;
3608 # Check whether --with-gnutls was given.
3609 if test "${with_gnutls+set}" = set; then :
3610 withval=$with_gnutls;
3614 # Check whether --with-gsm was given.
3615 if test "${with_gsm+set}" = set; then :
3616 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3620 # Check whether --with-gssapi was given.
3621 if test "${with_gssapi+set}" = set; then :
3622 withval=$with_gssapi;
3626 # Check whether --with-gstreamer was given.
3627 if test "${with_gstreamer+set}" = set; then :
3628 withval=$with_gstreamer;
3632 # Check whether --with-hal was given.
3633 if test "${with_hal+set}" = set; then :
3634 withval=$with_hal;
3638 # Check whether --with-jpeg was given.
3639 if test "${with_jpeg+set}" = set; then :
3640 withval=$with_jpeg;
3644 # Check whether --with-krb5 was given.
3645 if test "${with_krb5+set}" = set; then :
3646 withval=$with_krb5;
3650 # Check whether --with-ldap was given.
3651 if test "${with_ldap+set}" = set; then :
3652 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3656 # Check whether --with-mpg123 was given.
3657 if test "${with_mpg123+set}" = set; then :
3658 withval=$with_mpg123;
3662 # Check whether --with-netapi was given.
3663 if test "${with_netapi+set}" = set; then :
3664 withval=$with_netapi;
3668 # Check whether --with-openal was given.
3669 if test "${with_openal+set}" = set; then :
3670 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3674 # Check whether --with-opencl was given.
3675 if test "${with_opencl+set}" = set; then :
3676 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3680 # Check whether --with-opengl was given.
3681 if test "${with_opengl+set}" = set; then :
3682 withval=$with_opengl;
3686 # Check whether --with-osmesa was given.
3687 if test "${with_osmesa+set}" = set; then :
3688 withval=$with_osmesa;
3692 # Check whether --with-oss was given.
3693 if test "${with_oss+set}" = set; then :
3694 withval=$with_oss;
3698 # Check whether --with-pcap was given.
3699 if test "${with_pcap+set}" = set; then :
3700 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3704 # Check whether --with-png was given.
3705 if test "${with_png+set}" = set; then :
3706 withval=$with_png;
3710 # Check whether --with-pthread was given.
3711 if test "${with_pthread+set}" = set; then :
3712 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3716 # Check whether --with-pulse was given.
3717 if test "${with_pulse+set}" = set; then :
3718 withval=$with_pulse;
3722 # Check whether --with-sane was given.
3723 if test "${with_sane+set}" = set; then :
3724 withval=$with_sane;
3728 # Check whether --with-tiff was given.
3729 if test "${with_tiff+set}" = set; then :
3730 withval=$with_tiff;
3734 # Check whether --with-udev was given.
3735 if test "${with_udev+set}" = set; then :
3736 withval=$with_udev;
3740 # Check whether --with-v4l was given.
3741 if test "${with_v4l+set}" = set; then :
3742 withval=$with_v4l;
3746 # Check whether --with-xcomposite was given.
3747 if test "${with_xcomposite+set}" = set; then :
3748 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3752 # Check whether --with-xcursor was given.
3753 if test "${with_xcursor+set}" = set; then :
3754 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3758 # Check whether --with-xfixes was given.
3759 if test "${with_xfixes+set}" = set; then :
3760 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3764 # Check whether --with-xinerama was given.
3765 if test "${with_xinerama+set}" = set; then :
3766 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3770 # Check whether --with-xinput was given.
3771 if test "${with_xinput+set}" = set; then :
3772 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3776 # Check whether --with-xinput2 was given.
3777 if test "${with_xinput2+set}" = set; then :
3778 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3782 # Check whether --with-xml was given.
3783 if test "${with_xml+set}" = set; then :
3784 withval=$with_xml;
3788 # Check whether --with-xrandr was given.
3789 if test "${with_xrandr+set}" = set; then :
3790 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3794 # Check whether --with-xrender was given.
3795 if test "${with_xrender+set}" = set; then :
3796 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3800 # Check whether --with-xshape was given.
3801 if test "${with_xshape+set}" = set; then :
3802 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3806 # Check whether --with-xshm was given.
3807 if test "${with_xshm+set}" = set; then :
3808 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3812 # Check whether --with-xslt was given.
3813 if test "${with_xslt+set}" = set; then :
3814 withval=$with_xslt;
3818 # Check whether --with-xxf86vm was given.
3819 if test "${with_xxf86vm+set}" = set; then :
3820 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
3824 # Check whether --with-zlib was given.
3825 if test "${with_zlib+set}" = set; then :
3826 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3831 # Check whether --with-wine-tools was given.
3832 if test "${with_wine_tools+set}" = set; then :
3833 withval=$with_wine_tools;
3837 # Check whether --with-wine64 was given.
3838 if test "${with_wine64+set}" = set; then :
3839 withval=$with_wine64;
3843 # Make sure we can run config.sub.
3844 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3845 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3848 $as_echo_n "checking build system type... " >&6; }
3849 if ${ac_cv_build+:} false; then :
3850 $as_echo_n "(cached) " >&6
3851 else
3852 ac_build_alias=$build_alias
3853 test "x$ac_build_alias" = x &&
3854 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3855 test "x$ac_build_alias" = x &&
3856 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3857 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3858 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3862 $as_echo "$ac_cv_build" >&6; }
3863 case $ac_cv_build in
3864 *-*-*) ;;
3865 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3866 esac
3867 build=$ac_cv_build
3868 ac_save_IFS=$IFS; IFS='-'
3869 set x $ac_cv_build
3870 shift
3871 build_cpu=$1
3872 build_vendor=$2
3873 shift; shift
3874 # Remember, the first character of IFS is used to create $*,
3875 # except with old shells:
3876 build_os=$*
3877 IFS=$ac_save_IFS
3878 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3882 $as_echo_n "checking host system type... " >&6; }
3883 if ${ac_cv_host+:} false; then :
3884 $as_echo_n "(cached) " >&6
3885 else
3886 if test "x$host_alias" = x; then
3887 ac_cv_host=$ac_cv_build
3888 else
3889 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3890 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3895 $as_echo "$ac_cv_host" >&6; }
3896 case $ac_cv_host in
3897 *-*-*) ;;
3898 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3899 esac
3900 host=$ac_cv_host
3901 ac_save_IFS=$IFS; IFS='-'
3902 set x $ac_cv_host
3903 shift
3904 host_cpu=$1
3905 host_vendor=$2
3906 shift; shift
3907 # Remember, the first character of IFS is used to create $*,
3908 # except with old shells:
3909 host_os=$*
3910 IFS=$ac_save_IFS
3911 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3915 case "$srcdir" in
3916 .) ;;
3917 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3918 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3919 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3920 fi ;;
3921 esac
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3925 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3926 set x ${MAKE-make}
3927 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3928 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3929 $as_echo_n "(cached) " >&6
3930 else
3931 cat >conftest.make <<\_ACEOF
3932 SHELL = /bin/sh
3933 all:
3934 @echo '@@@%%%=$(MAKE)=@@@%%%'
3935 _ACEOF
3936 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3937 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3938 *@@@%%%=?*=@@@%%%*)
3939 eval ac_cv_prog_make_${ac_make}_set=yes;;
3941 eval ac_cv_prog_make_${ac_make}_set=no;;
3942 esac
3943 rm -f conftest.make
3945 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3947 $as_echo "yes" >&6; }
3948 SET_MAKE=
3949 else
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3952 SET_MAKE="MAKE=${MAKE-make}"
3955 ac_ext=c
3956 ac_cpp='$CPP $CPPFLAGS'
3957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3960 if test -n "$ac_tool_prefix"; then
3961 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3962 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_CC+:} false; then :
3966 $as_echo_n "(cached) " >&6
3967 else
3968 if test -n "$CC"; then
3969 ac_cv_prog_CC="$CC" # Let the user override the test.
3970 else
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 for as_dir in $PATH
3974 IFS=$as_save_IFS
3975 test -z "$as_dir" && as_dir=.
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 break 2
3982 done
3983 done
3984 IFS=$as_save_IFS
3988 CC=$ac_cv_prog_CC
3989 if test -n "$CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3991 $as_echo "$CC" >&6; }
3992 else
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3999 if test -z "$ac_cv_prog_CC"; then
4000 ac_ct_CC=$CC
4001 # Extract the first word of "gcc", so it can be a program name with args.
4002 set dummy gcc; ac_word=$2
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004 $as_echo_n "checking for $ac_word... " >&6; }
4005 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 if test -n "$ac_ct_CC"; then
4009 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4010 else
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in $PATH
4014 IFS=$as_save_IFS
4015 test -z "$as_dir" && as_dir=.
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4018 ac_cv_prog_ac_ct_CC="gcc"
4019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 break 2
4022 done
4023 done
4024 IFS=$as_save_IFS
4028 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4029 if test -n "$ac_ct_CC"; then
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4031 $as_echo "$ac_ct_CC" >&6; }
4032 else
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034 $as_echo "no" >&6; }
4037 if test "x$ac_ct_CC" = x; then
4038 CC=""
4039 else
4040 case $cross_compiling:$ac_tool_warned in
4041 yes:)
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4044 ac_tool_warned=yes ;;
4045 esac
4046 CC=$ac_ct_CC
4048 else
4049 CC="$ac_cv_prog_CC"
4052 if test -z "$CC"; then
4053 if test -n "$ac_tool_prefix"; then
4054 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4055 set dummy ${ac_tool_prefix}cc; ac_word=$2
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057 $as_echo_n "checking for $ac_word... " >&6; }
4058 if ${ac_cv_prog_CC+:} false; then :
4059 $as_echo_n "(cached) " >&6
4060 else
4061 if test -n "$CC"; then
4062 ac_cv_prog_CC="$CC" # Let the user override the test.
4063 else
4064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4065 for as_dir in $PATH
4067 IFS=$as_save_IFS
4068 test -z "$as_dir" && as_dir=.
4069 for ac_exec_ext in '' $ac_executable_extensions; do
4070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4071 ac_cv_prog_CC="${ac_tool_prefix}cc"
4072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 break 2
4075 done
4076 done
4077 IFS=$as_save_IFS
4081 CC=$ac_cv_prog_CC
4082 if test -n "$CC"; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4084 $as_echo "$CC" >&6; }
4085 else
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4093 if test -z "$CC"; then
4094 # Extract the first word of "cc", so it can be a program name with args.
4095 set dummy cc; ac_word=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_prog_CC+:} false; then :
4099 $as_echo_n "(cached) " >&6
4100 else
4101 if test -n "$CC"; then
4102 ac_cv_prog_CC="$CC" # Let the user override the test.
4103 else
4104 ac_prog_rejected=no
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4106 for as_dir in $PATH
4108 IFS=$as_save_IFS
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4113 ac_prog_rejected=yes
4114 continue
4116 ac_cv_prog_CC="cc"
4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 break 2
4120 done
4121 done
4122 IFS=$as_save_IFS
4124 if test $ac_prog_rejected = yes; then
4125 # We found a bogon in the path, so make sure we never use it.
4126 set dummy $ac_cv_prog_CC
4127 shift
4128 if test $# != 0; then
4129 # We chose a different compiler from the bogus one.
4130 # However, it has the same basename, so the bogon will be chosen
4131 # first if we set CC to just the basename; use the full file name.
4132 shift
4133 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4138 CC=$ac_cv_prog_CC
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4142 else
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4149 if test -z "$CC"; then
4150 if test -n "$ac_tool_prefix"; then
4151 for ac_prog in cl.exe
4153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156 $as_echo_n "checking for $ac_word... " >&6; }
4157 if ${ac_cv_prog_CC+:} false; then :
4158 $as_echo_n "(cached) " >&6
4159 else
4160 if test -n "$CC"; then
4161 ac_cv_prog_CC="$CC" # Let the user override the test.
4162 else
4163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164 for as_dir in $PATH
4166 IFS=$as_save_IFS
4167 test -z "$as_dir" && as_dir=.
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4170 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 break 2
4174 done
4175 done
4176 IFS=$as_save_IFS
4180 CC=$ac_cv_prog_CC
4181 if test -n "$CC"; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4183 $as_echo "$CC" >&6; }
4184 else
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186 $as_echo "no" >&6; }
4190 test -n "$CC" && break
4191 done
4193 if test -z "$CC"; then
4194 ac_ct_CC=$CC
4195 for ac_prog in cl.exe
4197 # Extract the first word of "$ac_prog", so it can be a program name with args.
4198 set dummy $ac_prog; ac_word=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4202 $as_echo_n "(cached) " >&6
4203 else
4204 if test -n "$ac_ct_CC"; then
4205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4206 else
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_ac_ct_CC="$ac_prog"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 break 2
4218 done
4219 done
4220 IFS=$as_save_IFS
4224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4225 if test -n "$ac_ct_CC"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4227 $as_echo "$ac_ct_CC" >&6; }
4228 else
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4234 test -n "$ac_ct_CC" && break
4235 done
4237 if test "x$ac_ct_CC" = x; then
4238 CC=""
4239 else
4240 case $cross_compiling:$ac_tool_warned in
4241 yes:)
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4244 ac_tool_warned=yes ;;
4245 esac
4246 CC=$ac_ct_CC
4253 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4255 as_fn_error $? "no acceptable C compiler found in \$PATH
4256 See \`config.log' for more details" "$LINENO" 5; }
4258 # Provide some information about the compiler.
4259 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4260 set X $ac_compile
4261 ac_compiler=$2
4262 for ac_option in --version -v -V -qversion; do
4263 { { ac_try="$ac_compiler $ac_option >&5"
4264 case "(($ac_try" in
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4267 esac
4268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4269 $as_echo "$ac_try_echo"; } >&5
4270 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4271 ac_status=$?
4272 if test -s conftest.err; then
4273 sed '10a\
4274 ... rest of stderr output deleted ...
4275 10q' conftest.err >conftest.er1
4276 cat conftest.er1 >&5
4278 rm -f conftest.er1 conftest.err
4279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4280 test $ac_status = 0; }
4281 done
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4287 main ()
4291 return 0;
4293 _ACEOF
4294 ac_clean_files_save=$ac_clean_files
4295 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4296 # Try to create an executable without -o first, disregard a.out.
4297 # It will help us diagnose broken compilers, and finding out an intuition
4298 # of exeext.
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4300 $as_echo_n "checking whether the C compiler works... " >&6; }
4301 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4303 # The possible output files:
4304 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4306 ac_rmfiles=
4307 for ac_file in $ac_files
4309 case $ac_file in
4310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4311 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4312 esac
4313 done
4314 rm -f $ac_rmfiles
4316 if { { ac_try="$ac_link_default"
4317 case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_link_default") 2>&5
4324 ac_status=$?
4325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 test $ac_status = 0; }; then :
4327 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4328 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4329 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4330 # so that the user can short-circuit this test for compilers unknown to
4331 # Autoconf.
4332 for ac_file in $ac_files ''
4334 test -f "$ac_file" || continue
4335 case $ac_file in
4336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4338 [ab].out )
4339 # We found the default executable, but exeext='' is most
4340 # certainly right.
4341 break;;
4342 *.* )
4343 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4344 then :; else
4345 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4347 # We set ac_cv_exeext here because the later test for it is not
4348 # safe: cross compilers may not add the suffix if given an `-o'
4349 # argument, so we may need to know it at that point already.
4350 # Even if this section looks crufty: it has the advantage of
4351 # actually working.
4352 break;;
4354 break;;
4355 esac
4356 done
4357 test "$ac_cv_exeext" = no && ac_cv_exeext=
4359 else
4360 ac_file=''
4362 if test -z "$ac_file"; then :
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4365 $as_echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.$ac_ext >&5
4368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4370 as_fn_error 77 "C compiler cannot create executables
4371 See \`config.log' for more details" "$LINENO" 5; }
4372 else
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4374 $as_echo "yes" >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4377 $as_echo_n "checking for C compiler default output file name... " >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4379 $as_echo "$ac_file" >&6; }
4380 ac_exeext=$ac_cv_exeext
4382 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4383 ac_clean_files=$ac_clean_files_save
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4385 $as_echo_n "checking for suffix of executables... " >&6; }
4386 if { { ac_try="$ac_link"
4387 case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4390 esac
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393 (eval "$ac_link") 2>&5
4394 ac_status=$?
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }; then :
4397 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4398 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4399 # work properly (i.e., refer to `conftest.exe'), while it won't with
4400 # `rm'.
4401 for ac_file in conftest.exe conftest conftest.*; do
4402 test -f "$ac_file" || continue
4403 case $ac_file in
4404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4405 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4406 break;;
4407 * ) break;;
4408 esac
4409 done
4410 else
4411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4413 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4414 See \`config.log' for more details" "$LINENO" 5; }
4416 rm -f conftest conftest$ac_cv_exeext
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4418 $as_echo "$ac_cv_exeext" >&6; }
4420 rm -f conftest.$ac_ext
4421 EXEEXT=$ac_cv_exeext
4422 ac_exeext=$EXEEXT
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4425 #include <stdio.h>
4427 main ()
4429 FILE *f = fopen ("conftest.out", "w");
4430 return ferror (f) || fclose (f) != 0;
4433 return 0;
4435 _ACEOF
4436 ac_clean_files="$ac_clean_files conftest.out"
4437 # Check that the compiler produces executables we can run. If not, either
4438 # the compiler is broken, or we cross compile.
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4440 $as_echo_n "checking whether we are cross compiling... " >&6; }
4441 if test "$cross_compiling" != yes; then
4442 { { ac_try="$ac_link"
4443 case "(($ac_try" in
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4446 esac
4447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4448 $as_echo "$ac_try_echo"; } >&5
4449 (eval "$ac_link") 2>&5
4450 ac_status=$?
4451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4452 test $ac_status = 0; }
4453 if { ac_try='./conftest$ac_cv_exeext'
4454 { { case "(($ac_try" in
4455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4457 esac
4458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4459 $as_echo "$ac_try_echo"; } >&5
4460 (eval "$ac_try") 2>&5
4461 ac_status=$?
4462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4463 test $ac_status = 0; }; }; then
4464 cross_compiling=no
4465 else
4466 if test "$cross_compiling" = maybe; then
4467 cross_compiling=yes
4468 else
4469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4471 as_fn_error $? "cannot run C compiled programs.
4472 If you meant to cross compile, use \`--host'.
4473 See \`config.log' for more details" "$LINENO" 5; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4478 $as_echo "$cross_compiling" >&6; }
4480 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4481 ac_clean_files=$ac_clean_files_save
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4483 $as_echo_n "checking for suffix of object files... " >&6; }
4484 if ${ac_cv_objext+:} false; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 rm -f conftest.o conftest.obj
4499 if { { ac_try="$ac_compile"
4500 case "(($ac_try" in
4501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502 *) ac_try_echo=$ac_try;;
4503 esac
4504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4505 $as_echo "$ac_try_echo"; } >&5
4506 (eval "$ac_compile") 2>&5
4507 ac_status=$?
4508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4509 test $ac_status = 0; }; then :
4510 for ac_file in conftest.o conftest.obj conftest.*; do
4511 test -f "$ac_file" || continue;
4512 case $ac_file in
4513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4514 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4515 break;;
4516 esac
4517 done
4518 else
4519 $as_echo "$as_me: failed program was:" >&5
4520 sed 's/^/| /' conftest.$ac_ext >&5
4522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4524 as_fn_error $? "cannot compute suffix of object files: cannot compile
4525 See \`config.log' for more details" "$LINENO" 5; }
4527 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4530 $as_echo "$ac_cv_objext" >&6; }
4531 OBJEXT=$ac_cv_objext
4532 ac_objext=$OBJEXT
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4534 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4535 if ${ac_cv_c_compiler_gnu+:} false; then :
4536 $as_echo_n "(cached) " >&6
4537 else
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4544 #ifndef __GNUC__
4545 choke me
4546 #endif
4549 return 0;
4551 _ACEOF
4552 if ac_fn_c_try_compile "$LINENO"; then :
4553 ac_compiler_gnu=yes
4554 else
4555 ac_compiler_gnu=no
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4562 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4563 if test $ac_compiler_gnu = yes; then
4564 GCC=yes
4565 else
4566 GCC=
4568 ac_test_CFLAGS=${CFLAGS+set}
4569 ac_save_CFLAGS=$CFLAGS
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4571 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4572 if ${ac_cv_prog_cc_g+:} false; then :
4573 $as_echo_n "(cached) " >&6
4574 else
4575 ac_save_c_werror_flag=$ac_c_werror_flag
4576 ac_c_werror_flag=yes
4577 ac_cv_prog_cc_g=no
4578 CFLAGS="-g"
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 main ()
4587 return 0;
4589 _ACEOF
4590 if ac_fn_c_try_compile "$LINENO"; then :
4591 ac_cv_prog_cc_g=yes
4592 else
4593 CFLAGS=""
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4598 main ()
4602 return 0;
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4607 else
4608 ac_c_werror_flag=$ac_save_c_werror_flag
4609 CFLAGS="-g"
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4614 main ()
4618 return 0;
4620 _ACEOF
4621 if ac_fn_c_try_compile "$LINENO"; then :
4622 ac_cv_prog_cc_g=yes
4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 ac_c_werror_flag=$ac_save_c_werror_flag
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4632 $as_echo "$ac_cv_prog_cc_g" >&6; }
4633 if test "$ac_test_CFLAGS" = set; then
4634 CFLAGS=$ac_save_CFLAGS
4635 elif test $ac_cv_prog_cc_g = yes; then
4636 if test "$GCC" = yes; then
4637 CFLAGS="-g -O2"
4638 else
4639 CFLAGS="-g"
4641 else
4642 if test "$GCC" = yes; then
4643 CFLAGS="-O2"
4644 else
4645 CFLAGS=
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4649 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4650 if ${ac_cv_prog_cc_c89+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 ac_cv_prog_cc_c89=no
4654 ac_save_CC=$CC
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4657 #include <stdarg.h>
4658 #include <stdio.h>
4659 struct stat;
4660 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4661 struct buf { int x; };
4662 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4663 static char *e (p, i)
4664 char **p;
4665 int i;
4667 return p[i];
4669 static char *f (char * (*g) (char **, int), char **p, ...)
4671 char *s;
4672 va_list v;
4673 va_start (v,p);
4674 s = g (p, va_arg (v,int));
4675 va_end (v);
4676 return s;
4679 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4680 function prototypes and stuff, but not '\xHH' hex character constants.
4681 These don't provoke an error unfortunately, instead are silently treated
4682 as 'x'. The following induces an error, until -std is added to get
4683 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4684 array size at least. It's necessary to write '\x00'==0 to get something
4685 that's true only with -std. */
4686 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4688 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4689 inside strings and character constants. */
4690 #define FOO(x) 'x'
4691 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4693 int test (int i, double x);
4694 struct s1 {int (*f) (int a);};
4695 struct s2 {int (*f) (double a);};
4696 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4697 int argc;
4698 char **argv;
4700 main ()
4702 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4704 return 0;
4706 _ACEOF
4707 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4708 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4710 CC="$ac_save_CC $ac_arg"
4711 if ac_fn_c_try_compile "$LINENO"; then :
4712 ac_cv_prog_cc_c89=$ac_arg
4714 rm -f core conftest.err conftest.$ac_objext
4715 test "x$ac_cv_prog_cc_c89" != "xno" && break
4716 done
4717 rm -f conftest.$ac_ext
4718 CC=$ac_save_CC
4721 # AC_CACHE_VAL
4722 case "x$ac_cv_prog_cc_c89" in
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4725 $as_echo "none needed" >&6; } ;;
4726 xno)
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4728 $as_echo "unsupported" >&6; } ;;
4730 CC="$CC $ac_cv_prog_cc_c89"
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4732 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4733 esac
4734 if test "x$ac_cv_prog_cc_c89" != xno; then :
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4744 ac_ext=cpp
4745 ac_cpp='$CXXCPP $CPPFLAGS'
4746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4749 if test -z "$CXX"; then
4750 if test -n "$CCC"; then
4751 CXX=$CCC
4752 else
4753 if test -n "$ac_tool_prefix"; then
4754 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if ${ac_cv_prog_CXX+:} false; then :
4761 $as_echo_n "(cached) " >&6
4762 else
4763 if test -n "$CXX"; then
4764 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 break 2
4777 done
4778 done
4779 IFS=$as_save_IFS
4783 CXX=$ac_cv_prog_CXX
4784 if test -n "$CXX"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4786 $as_echo "$CXX" >&6; }
4787 else
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4793 test -n "$CXX" && break
4794 done
4796 if test -z "$CXX"; then
4797 ac_ct_CXX=$CXX
4798 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4800 # Extract the first word of "$ac_prog", so it can be a program name with args.
4801 set dummy $ac_prog; ac_word=$2
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 $as_echo_n "checking for $ac_word... " >&6; }
4804 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 if test -n "$ac_ct_CXX"; then
4808 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4809 else
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 for as_dir in $PATH
4813 IFS=$as_save_IFS
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4817 ac_cv_prog_ac_ct_CXX="$ac_prog"
4818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 break 2
4821 done
4822 done
4823 IFS=$as_save_IFS
4827 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4828 if test -n "$ac_ct_CXX"; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4830 $as_echo "$ac_ct_CXX" >&6; }
4831 else
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4837 test -n "$ac_ct_CXX" && break
4838 done
4840 if test "x$ac_ct_CXX" = x; then
4841 CXX="g++"
4842 else
4843 case $cross_compiling:$ac_tool_warned in
4844 yes:)
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4847 ac_tool_warned=yes ;;
4848 esac
4849 CXX=$ac_ct_CXX
4855 # Provide some information about the compiler.
4856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4857 set X $ac_compile
4858 ac_compiler=$2
4859 for ac_option in --version -v -V -qversion; do
4860 { { ac_try="$ac_compiler $ac_option >&5"
4861 case "(($ac_try" in
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4864 esac
4865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4866 $as_echo "$ac_try_echo"; } >&5
4867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4868 ac_status=$?
4869 if test -s conftest.err; then
4870 sed '10a\
4871 ... rest of stderr output deleted ...
4872 10q' conftest.err >conftest.er1
4873 cat conftest.er1 >&5
4875 rm -f conftest.er1 conftest.err
4876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877 test $ac_status = 0; }
4878 done
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4881 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4882 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4883 $as_echo_n "(cached) " >&6
4884 else
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4891 #ifndef __GNUC__
4892 choke me
4893 #endif
4896 return 0;
4898 _ACEOF
4899 if ac_fn_cxx_try_compile "$LINENO"; then :
4900 ac_compiler_gnu=yes
4901 else
4902 ac_compiler_gnu=no
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4909 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4910 if test $ac_compiler_gnu = yes; then
4911 GXX=yes
4912 else
4913 GXX=
4915 ac_test_CXXFLAGS=${CXXFLAGS+set}
4916 ac_save_CXXFLAGS=$CXXFLAGS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4918 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4919 if ${ac_cv_prog_cxx_g+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4923 ac_cxx_werror_flag=yes
4924 ac_cv_prog_cxx_g=no
4925 CXXFLAGS="-g"
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4934 return 0;
4936 _ACEOF
4937 if ac_fn_cxx_try_compile "$LINENO"; then :
4938 ac_cv_prog_cxx_g=yes
4939 else
4940 CXXFLAGS=""
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 main ()
4949 return 0;
4951 _ACEOF
4952 if ac_fn_cxx_try_compile "$LINENO"; then :
4954 else
4955 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4956 CXXFLAGS="-g"
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4961 main ()
4965 return 0;
4967 _ACEOF
4968 if ac_fn_cxx_try_compile "$LINENO"; then :
4969 ac_cv_prog_cxx_g=yes
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4979 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4980 if test "$ac_test_CXXFLAGS" = set; then
4981 CXXFLAGS=$ac_save_CXXFLAGS
4982 elif test $ac_cv_prog_cxx_g = yes; then
4983 if test "$GXX" = yes; then
4984 CXXFLAGS="-g -O2"
4985 else
4986 CXXFLAGS="-g"
4988 else
4989 if test "$GXX" = yes; then
4990 CXXFLAGS="-O2"
4991 else
4992 CXXFLAGS=
4995 ac_ext=c
4996 ac_cpp='$CPP $CPPFLAGS'
4997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5001 if test -n "$ac_tool_prefix"; then
5002 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5003 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_CPPBIN+:} false; then :
5007 $as_echo_n "(cached) " >&6
5008 else
5009 if test -n "$CPPBIN"; then
5010 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5011 else
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 for as_dir in $PATH
5015 IFS=$as_save_IFS
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 break 2
5023 done
5024 done
5025 IFS=$as_save_IFS
5029 CPPBIN=$ac_cv_prog_CPPBIN
5030 if test -n "$CPPBIN"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5032 $as_echo "$CPPBIN" >&6; }
5033 else
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5040 if test -z "$ac_cv_prog_CPPBIN"; then
5041 ac_ct_CPPBIN=$CPPBIN
5042 # Extract the first word of "cpp", so it can be a program name with args.
5043 set dummy cpp; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -n "$ac_ct_CPPBIN"; then
5050 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5051 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_ac_ct_CPPBIN="cpp"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 break 2
5063 done
5064 done
5065 IFS=$as_save_IFS
5069 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5070 if test -n "$ac_ct_CPPBIN"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5072 $as_echo "$ac_ct_CPPBIN" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5078 if test "x$ac_ct_CPPBIN" = x; then
5079 CPPBIN="cpp"
5080 else
5081 case $cross_compiling:$ac_tool_warned in
5082 yes:)
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5085 ac_tool_warned=yes ;;
5086 esac
5087 CPPBIN=$ac_ct_CPPBIN
5089 else
5090 CPPBIN="$ac_cv_prog_CPPBIN"
5094 cat >>confdefs.h <<_ACEOF
5095 #define EXEEXT "$ac_exeext"
5096 _ACEOF
5098 if test -n "$ac_tool_prefix"; then
5099 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5100 set dummy ${ac_tool_prefix}ld; ac_word=$2
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102 $as_echo_n "checking for $ac_word... " >&6; }
5103 if ${ac_cv_prog_LD+:} false; then :
5104 $as_echo_n "(cached) " >&6
5105 else
5106 if test -n "$LD"; then
5107 ac_cv_prog_LD="$LD" # Let the user override the test.
5108 else
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 for as_dir in $PATH
5112 IFS=$as_save_IFS
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5116 ac_cv_prog_LD="${ac_tool_prefix}ld"
5117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 break 2
5120 done
5121 done
5122 IFS=$as_save_IFS
5126 LD=$ac_cv_prog_LD
5127 if test -n "$LD"; then
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5129 $as_echo "$LD" >&6; }
5130 else
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5132 $as_echo "no" >&6; }
5137 if test -z "$ac_cv_prog_LD"; then
5138 ac_ct_LD=$LD
5139 # Extract the first word of "ld", so it can be a program name with args.
5140 set dummy ld; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 if test -n "$ac_ct_LD"; then
5147 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_ac_ct_LD="ld"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5162 IFS=$as_save_IFS
5166 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5167 if test -n "$ac_ct_LD"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5169 $as_echo "$ac_ct_LD" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5175 if test "x$ac_ct_LD" = x; then
5176 LD=""
5177 else
5178 case $cross_compiling:$ac_tool_warned in
5179 yes:)
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5182 ac_tool_warned=yes ;;
5183 esac
5184 LD=$ac_ct_LD
5186 else
5187 LD="$ac_cv_prog_LD"
5191 case $host in
5192 *-darwin*)
5193 with_fontconfig=${with_fontconfig:-no}
5195 *-mingw32*|*-cygwin*)
5196 enable_win16=${enable_win16:-no}
5197 CFLAGS="$CFLAGS -D_WIN32"
5199 esac
5201 case $host in
5202 x86_64*|amd64*)
5203 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5204 then
5205 CC="$CC -m32"
5206 CXX="$CXX -m32"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5208 $as_echo_n "checking whether $CC works... " >&6; }
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5214 main ()
5218 return 0;
5220 _ACEOF
5221 if ac_fn_c_try_link "$LINENO"; then :
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5223 $as_echo "yes" >&6; }
5224 else
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5227 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5229 rm -f core conftest.err conftest.$ac_objext \
5230 conftest$ac_exeext conftest.$ac_ext
5231 host_cpu="i386"
5232 notice_platform="32-bit "
5233 TARGETFLAGS="-m32"
5235 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5236 export PKG_CONFIG_PATH
5237 enable_win16=${enable_win16:-yes}
5238 else
5239 if test "x${GCC}" = "xyes"
5240 then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5242 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245 #include <stdarg.h>
5247 main ()
5249 void func(__builtin_ms_va_list *args);
5251 return 0;
5253 _ACEOF
5254 if ac_fn_c_try_compile "$LINENO"; then :
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5256 $as_echo "yes" >&6; }
5257 else
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5260 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5264 CC="$CC -m64"
5265 CXX="$CXX -m64"
5266 host_cpu="x86_64"
5267 notice_platform="64-bit "
5268 TARGETFLAGS="-m64"
5272 arm*)
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5274 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5276 /* end confdefs.h. */
5277 int ac_test(int i) { return i; }
5279 main ()
5281 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5283 return 0;
5285 _ACEOF
5286 if ac_fn_c_try_link "$LINENO"; then :
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5288 $as_echo "yes" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5292 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5294 rm -f core conftest.err conftest.$ac_objext \
5295 conftest$ac_exeext conftest.$ac_ext
5296 case $with_float_abi in
5297 soft|softfp|hard)
5298 float_abi=$with_float_abi ;;
5300 case $host_os in
5301 *eabihf)
5302 float_abi=hard ;;
5304 float_abi=softfp
5305 saved_CFLAGS=$CFLAGS
5306 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5308 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5315 asm("vmrs r2,fpscr");
5317 return 0;
5319 _ACEOF
5320 if ac_fn_c_try_link "$LINENO"; then :
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5322 $as_echo "yes" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5326 float_abi=soft
5327 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5329 rm -f core conftest.err conftest.$ac_objext \
5330 conftest$ac_exeext conftest.$ac_ext
5331 CFLAGS=$saved_CFLAGS
5332 esac
5334 esac
5335 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5336 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5339 i[3456789]86*)
5340 enable_win16=${enable_win16:-yes}
5342 esac
5344 enable_win16=${enable_win16:-no}
5345 enable_win64=${enable_win64:-no}
5347 enable_winetest=${enable_winetest:-$enable_tests}
5349 if test -n "$with_wine64"
5350 then
5351 if test "x$enable_win64" = "xyes"
5352 then
5353 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5354 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5356 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5357 You should create a separate build directory and run configure from there." "$LINENO" 5
5358 enable_fonts=${enable_fonts:-no}
5359 enable_server=${enable_server:-no}
5360 elif test "x$enable_win64" = "xyes"
5361 then
5362 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5366 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5367 if ${wine_cv_toolsdir+:} false; then :
5368 $as_echo_n "(cached) " >&6
5369 else
5370 wine_cv_toolsdir="$with_wine_tools"
5371 if test -z "$with_wine_tools"; then
5372 if test "$cross_compiling" = "yes"; then
5373 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5374 elif test -n "$with_wine64"; then
5375 wine_cv_toolsdir="$with_wine64"
5378 if test -z "$wine_cv_toolsdir"; then
5379 wine_makedep=tools/makedep
5380 wine_cv_toolsdir="\$(top_builddir)"
5381 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5382 wine_makedep=$wine_cv_toolsdir/tools/makedep
5383 case "$wine_cv_toolsdir" in
5384 /*) ;;
5385 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5386 esac
5387 enable_tools=${enable_tools:-no}
5388 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5389 else
5390 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5394 $as_echo "$wine_cv_toolsdir" >&6; }
5395 TOOLSDIR=$wine_cv_toolsdir
5397 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5398 then
5399 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5403 for ac_prog in flex
5405 # Extract the first word of "$ac_prog", so it can be a program name with args.
5406 set dummy $ac_prog; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_FLEX+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 if test -n "$FLEX"; then
5413 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5414 else
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 for as_dir in $PATH
5418 IFS=$as_save_IFS
5419 test -z "$as_dir" && as_dir=.
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_FLEX="$ac_prog"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 break 2
5426 done
5427 done
5428 IFS=$as_save_IFS
5432 FLEX=$ac_cv_prog_FLEX
5433 if test -n "$FLEX"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5435 $as_echo "$FLEX" >&6; }
5436 else
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5442 test -n "$FLEX" && break
5443 done
5444 test -n "$FLEX" || FLEX="none"
5446 if test "$FLEX" = "none"
5447 then
5448 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5451 $as_echo_n "checking whether flex is recent enough... " >&6; }
5452 cat >conftest.l <<EOF
5453 %top{
5454 #include "prediluvian.h"
5458 if $FLEX -t conftest.l >/dev/null 2>&5
5459 then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5461 $as_echo "yes" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5465 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5468 for ac_prog in bison
5470 # Extract the first word of "$ac_prog", so it can be a program name with args.
5471 set dummy $ac_prog; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_BISON+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$BISON"; then
5478 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_BISON="$ac_prog"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 BISON=$ac_cv_prog_BISON
5498 if test -n "$BISON"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5500 $as_echo "$BISON" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5507 test -n "$BISON" && break
5508 done
5509 test -n "$BISON" || BISON="none"
5511 if test "$BISON" = "none"
5512 then
5513 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5516 if test -n "$ac_tool_prefix"; then
5517 for ac_prog in ar gar
5519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5520 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_AR+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526 if test -n "$AR"; then
5527 ac_cv_prog_AR="$AR" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 break 2
5540 done
5541 done
5542 IFS=$as_save_IFS
5546 AR=$ac_cv_prog_AR
5547 if test -n "$AR"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5549 $as_echo "$AR" >&6; }
5550 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5556 test -n "$AR" && break
5557 done
5559 if test -z "$AR"; then
5560 ac_ct_AR=$AR
5561 for ac_prog in ar gar
5563 # Extract the first word of "$ac_prog", so it can be a program name with args.
5564 set dummy $ac_prog; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$ac_ct_AR"; then
5571 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_AR="$ac_prog"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5591 if test -n "$ac_ct_AR"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5593 $as_echo "$ac_ct_AR" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5600 test -n "$ac_ct_AR" && break
5601 done
5603 if test "x$ac_ct_AR" = x; then
5604 AR="ar"
5605 else
5606 case $cross_compiling:$ac_tool_warned in
5607 yes:)
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5610 ac_tool_warned=yes ;;
5611 esac
5612 AR=$ac_ct_AR
5616 if test -n "$ac_tool_prefix"; then
5617 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5618 set dummy ${ac_tool_prefix}strip; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_STRIP+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if test -n "$STRIP"; then
5625 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5626 else
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 break 2
5638 done
5639 done
5640 IFS=$as_save_IFS
5644 STRIP=$ac_cv_prog_STRIP
5645 if test -n "$STRIP"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5647 $as_echo "$STRIP" >&6; }
5648 else
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5655 if test -z "$ac_cv_prog_STRIP"; then
5656 ac_ct_STRIP=$STRIP
5657 # Extract the first word of "strip", so it can be a program name with args.
5658 set dummy strip; ac_word=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 if test -n "$ac_ct_STRIP"; then
5665 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5666 else
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_ac_ct_STRIP="strip"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5685 if test -n "$ac_ct_STRIP"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5687 $as_echo "$ac_ct_STRIP" >&6; }
5688 else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5693 if test "x$ac_ct_STRIP" = x; then
5694 STRIP="strip"
5695 else
5696 case $cross_compiling:$ac_tool_warned in
5697 yes:)
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5700 ac_tool_warned=yes ;;
5701 esac
5702 STRIP=$ac_ct_STRIP
5704 else
5705 STRIP="$ac_cv_prog_STRIP"
5708 ARFLAGS=rc
5710 if test -n "$ac_tool_prefix"; then
5711 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5712 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_RANLIB+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 if test -n "$RANLIB"; then
5719 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 break 2
5732 done
5733 done
5734 IFS=$as_save_IFS
5738 RANLIB=$ac_cv_prog_RANLIB
5739 if test -n "$RANLIB"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5741 $as_echo "$RANLIB" >&6; }
5742 else
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5749 if test -z "$ac_cv_prog_RANLIB"; then
5750 ac_ct_RANLIB=$RANLIB
5751 # Extract the first word of "ranlib", so it can be a program name with args.
5752 set dummy ranlib; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if test -n "$ac_ct_RANLIB"; then
5759 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5764 IFS=$as_save_IFS
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_ac_ct_RANLIB="ranlib"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 break 2
5772 done
5773 done
5774 IFS=$as_save_IFS
5778 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5779 if test -n "$ac_ct_RANLIB"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5781 $as_echo "$ac_ct_RANLIB" >&6; }
5782 else
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5787 if test "x$ac_ct_RANLIB" = x; then
5788 RANLIB=":"
5789 else
5790 case $cross_compiling:$ac_tool_warned in
5791 yes:)
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794 ac_tool_warned=yes ;;
5795 esac
5796 RANLIB=$ac_ct_RANLIB
5798 else
5799 RANLIB="$ac_cv_prog_RANLIB"
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5803 $as_echo_n "checking whether ln -s works... " >&6; }
5804 LN_S=$as_ln_s
5805 if test "$LN_S" = "ln -s"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5807 $as_echo "yes" >&6; }
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5810 $as_echo "no, using $LN_S" >&6; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5814 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5815 if ${ac_cv_path_GREP+:} false; then :
5816 $as_echo_n "(cached) " >&6
5817 else
5818 if test -z "$GREP"; then
5819 ac_path_GREP_found=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 for ac_prog in grep ggrep; do
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5829 as_fn_executable_p "$ac_path_GREP" || continue
5830 # Check for GNU ac_path_GREP and select it if it is found.
5831 # Check for GNU $ac_path_GREP
5832 case `"$ac_path_GREP" --version 2>&1` in
5833 *GNU*)
5834 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5836 ac_count=0
5837 $as_echo_n 0123456789 >"conftest.in"
5838 while :
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 $as_echo 'GREP' >> "conftest.nl"
5844 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5845 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5846 as_fn_arith $ac_count + 1 && ac_count=$as_val
5847 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_GREP="$ac_path_GREP"
5850 ac_path_GREP_max=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5854 done
5855 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5856 esac
5858 $ac_path_GREP_found && break 3
5859 done
5860 done
5861 done
5862 IFS=$as_save_IFS
5863 if test -z "$ac_cv_path_GREP"; then
5864 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5866 else
5867 ac_cv_path_GREP=$GREP
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5872 $as_echo "$ac_cv_path_GREP" >&6; }
5873 GREP="$ac_cv_path_GREP"
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5877 $as_echo_n "checking for egrep... " >&6; }
5878 if ${ac_cv_path_EGREP+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5882 then ac_cv_path_EGREP="$GREP -E"
5883 else
5884 if test -z "$EGREP"; then
5885 ac_path_EGREP_found=false
5886 # Loop through the user's path and test for each of PROGNAME-LIST
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5890 IFS=$as_save_IFS
5891 test -z "$as_dir" && as_dir=.
5892 for ac_prog in egrep; do
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5895 as_fn_executable_p "$ac_path_EGREP" || continue
5896 # Check for GNU ac_path_EGREP and select it if it is found.
5897 # Check for GNU $ac_path_EGREP
5898 case `"$ac_path_EGREP" --version 2>&1` in
5899 *GNU*)
5900 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5902 ac_count=0
5903 $as_echo_n 0123456789 >"conftest.in"
5904 while :
5906 cat "conftest.in" "conftest.in" >"conftest.tmp"
5907 mv "conftest.tmp" "conftest.in"
5908 cp "conftest.in" "conftest.nl"
5909 $as_echo 'EGREP' >> "conftest.nl"
5910 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5911 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5912 as_fn_arith $ac_count + 1 && ac_count=$as_val
5913 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5914 # Best one so far, save it but keep looking for a better one
5915 ac_cv_path_EGREP="$ac_path_EGREP"
5916 ac_path_EGREP_max=$ac_count
5918 # 10*(2^10) chars as input seems more than enough
5919 test $ac_count -gt 10 && break
5920 done
5921 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5922 esac
5924 $ac_path_EGREP_found && break 3
5925 done
5926 done
5927 done
5928 IFS=$as_save_IFS
5929 if test -z "$ac_cv_path_EGREP"; then
5930 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5932 else
5933 ac_cv_path_EGREP=$EGREP
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5939 $as_echo "$ac_cv_path_EGREP" >&6; }
5940 EGREP="$ac_cv_path_EGREP"
5943 # Extract the first word of "ldconfig", so it can be a program name with args.
5944 set dummy ldconfig; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_path_LDCONFIG+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 case $LDCONFIG in
5951 [\\/]* | ?:[\\/]*)
5952 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in /sbin /usr/sbin $PATH
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 break 2
5966 done
5967 done
5968 IFS=$as_save_IFS
5970 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5972 esac
5974 LDCONFIG=$ac_cv_path_LDCONFIG
5975 if test -n "$LDCONFIG"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5977 $as_echo "$LDCONFIG" >&6; }
5978 else
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5984 for ac_prog in msgfmt
5986 # Extract the first word of "$ac_prog", so it can be a program name with args.
5987 set dummy $ac_prog; ac_word=$2
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5989 $as_echo_n "checking for $ac_word... " >&6; }
5990 if ${ac_cv_prog_MSGFMT+:} false; then :
5991 $as_echo_n "(cached) " >&6
5992 else
5993 if test -n "$MSGFMT"; then
5994 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5995 else
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 for as_dir in $PATH
5999 IFS=$as_save_IFS
6000 test -z "$as_dir" && as_dir=.
6001 for ac_exec_ext in '' $ac_executable_extensions; do
6002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_MSGFMT="$ac_prog"
6004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 break 2
6007 done
6008 done
6009 IFS=$as_save_IFS
6013 MSGFMT=$ac_cv_prog_MSGFMT
6014 if test -n "$MSGFMT"; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6016 $as_echo "$MSGFMT" >&6; }
6017 else
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6019 $as_echo "no" >&6; }
6023 test -n "$MSGFMT" && break
6024 done
6025 test -n "$MSGFMT" || MSGFMT="false"
6027 if ${ac_tool_prefix+:} false; then :
6028 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6029 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 if test -n "$PKG_CONFIG"; then
6036 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6056 if test -n "$PKG_CONFIG"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6058 $as_echo "$PKG_CONFIG" >&6; }
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6066 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6067 if test "x$cross_compiling" = xyes; then :
6069 else
6070 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6071 # Extract the first word of "pkg-config", so it can be a program name with args.
6072 set dummy pkg-config; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$PKG_CONFIG"; then
6079 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_PKG_CONFIG="pkg-config"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6099 if test -n "$PKG_CONFIG"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6101 $as_echo "$PKG_CONFIG" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6109 else
6110 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6113 if test "x$enable_maintainer_mode" != "xyes"
6114 then
6115 FONTFORGE=""
6116 RSVG=""
6117 CONVERT=""
6118 ICOTOOL=""
6119 else
6120 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6121 for ac_prog in fontforge
6123 # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy $ac_prog; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_FONTFORGE+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$FONTFORGE"; then
6131 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_FONTFORGE="$ac_prog"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 FONTFORGE=$ac_cv_prog_FONTFORGE
6151 if test -n "$FONTFORGE"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6153 $as_echo "$FONTFORGE" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6160 test -n "$FONTFORGE" && break
6161 done
6162 test -n "$FONTFORGE" || FONTFORGE="false"
6164 for ac_prog in rsvg-convert rsvg
6166 # Extract the first word of "$ac_prog", so it can be a program name with args.
6167 set dummy $ac_prog; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_RSVG+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 if test -n "$RSVG"; then
6174 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6179 IFS=$as_save_IFS
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_RSVG="$ac_prog"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 RSVG=$ac_cv_prog_RSVG
6194 if test -n "$RSVG"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6196 $as_echo "$RSVG" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6203 test -n "$RSVG" && break
6204 done
6205 test -n "$RSVG" || RSVG="false"
6207 for ac_prog in convert
6209 # Extract the first word of "$ac_prog", so it can be a program name with args.
6210 set dummy $ac_prog; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212 $as_echo_n "checking for $ac_word... " >&6; }
6213 if ${ac_cv_prog_CONVERT+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -n "$CONVERT"; then
6217 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6218 else
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6226 ac_cv_prog_CONVERT="$ac_prog"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 break 2
6230 done
6231 done
6232 IFS=$as_save_IFS
6236 CONVERT=$ac_cv_prog_CONVERT
6237 if test -n "$CONVERT"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6239 $as_echo "$CONVERT" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242 $as_echo "no" >&6; }
6246 test -n "$CONVERT" && break
6247 done
6248 test -n "$CONVERT" || CONVERT="false"
6250 for ac_prog in icotool
6252 # Extract the first word of "$ac_prog", so it can be a program name with args.
6253 set dummy $ac_prog; ac_word=$2
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255 $as_echo_n "checking for $ac_word... " >&6; }
6256 if ${ac_cv_prog_ICOTOOL+:} false; then :
6257 $as_echo_n "(cached) " >&6
6258 else
6259 if test -n "$ICOTOOL"; then
6260 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_ICOTOOL="$ac_prog"
6270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6275 IFS=$as_save_IFS
6279 ICOTOOL=$ac_cv_prog_ICOTOOL
6280 if test -n "$ICOTOOL"; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6282 $as_echo "$ICOTOOL" >&6; }
6283 else
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6285 $as_echo "no" >&6; }
6289 test -n "$ICOTOOL" && break
6290 done
6291 test -n "$ICOTOOL" || ICOTOOL="false"
6293 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6294 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6296 if test "$CONVERT" = false
6297 then
6298 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6299 else
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6301 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6302 convert_version=`convert --version | head -n1`
6303 if test "x$convert_version" != "x"
6304 then
6305 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6306 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6307 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6308 then
6309 CONVERT=false
6312 if test "$CONVERT" = false
6313 then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6315 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6316 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6317 else
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6319 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6323 if test "$ICOTOOL" = false
6324 then
6325 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6326 else
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6328 $as_echo_n "checking for recent enough icotool... " >&6; }
6329 icotool_version=`icotool --version | head -n1`
6330 if test "x$icotool_version" != "x"
6331 then
6332 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6333 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6334 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6335 then
6336 ICOTOOL=false
6337 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6340 if test "$ICOTOOL" = false
6341 then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6343 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6344 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6345 else
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6347 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6351 with_gettext=yes
6352 with_gettextpo=yes
6353 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6356 test "x$with_gettext" != xno || MSGFMT=false
6357 if test "$MSGFMT" != "false"
6358 then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6360 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6361 cat >conftest.po <<EOF
6362 # comment
6363 msgctxt "ctxt"
6364 msgid "id"
6365 msgstr "str"
6367 if $MSGFMT -o /dev/null conftest.po 2>&5
6368 then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6370 $as_echo "yes" >&6; }
6371 else
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 $as_echo "no" >&6; }
6374 MSGFMT=false
6377 if test "$MSGFMT" = false; then :
6378 case "x$with_gettext" in
6379 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6380 xno) ;;
6381 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6382 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6383 esac
6384 enable_po=${enable_po:-no}
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6389 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6390 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6391 $as_echo_n "(cached) " >&6
6392 else
6393 ac_check_lib_save_LIBS=$LIBS
6394 LIBS="-li386 $LIBS"
6395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6396 /* end confdefs.h. */
6398 /* Override any GCC internal prototype to avoid an error.
6399 Use char because int might match the return type of a GCC
6400 builtin and then its argument prototype would still apply. */
6401 #ifdef __cplusplus
6402 extern "C"
6403 #endif
6404 char i386_set_ldt ();
6406 main ()
6408 return i386_set_ldt ();
6410 return 0;
6412 _ACEOF
6413 if ac_fn_c_try_link "$LINENO"; then :
6414 ac_cv_lib_i386_i386_set_ldt=yes
6415 else
6416 ac_cv_lib_i386_i386_set_ldt=no
6418 rm -f core conftest.err conftest.$ac_objext \
6419 conftest$ac_exeext conftest.$ac_ext
6420 LIBS=$ac_check_lib_save_LIBS
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6423 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6424 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6425 cat >>confdefs.h <<_ACEOF
6426 #define HAVE_LIBI386 1
6427 _ACEOF
6429 LIBS="-li386 $LIBS"
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6434 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6435 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6436 $as_echo_n "(cached) " >&6
6437 else
6438 ac_check_lib_save_LIBS=$LIBS
6439 LIBS="-lossaudio $LIBS"
6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6443 /* Override any GCC internal prototype to avoid an error.
6444 Use char because int might match the return type of a GCC
6445 builtin and then its argument prototype would still apply. */
6446 #ifdef __cplusplus
6447 extern "C"
6448 #endif
6449 char _oss_ioctl ();
6451 main ()
6453 return _oss_ioctl ();
6455 return 0;
6457 _ACEOF
6458 if ac_fn_c_try_link "$LINENO"; then :
6459 ac_cv_lib_ossaudio__oss_ioctl=yes
6460 else
6461 ac_cv_lib_ossaudio__oss_ioctl=no
6463 rm -f core conftest.err conftest.$ac_objext \
6464 conftest$ac_exeext conftest.$ac_ext
6465 LIBS=$ac_check_lib_save_LIBS
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6468 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6469 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6470 cat >>confdefs.h <<_ACEOF
6471 #define HAVE_LIBOSSAUDIO 1
6472 _ACEOF
6474 LIBS="-lossaudio $LIBS"
6479 OPENGL_LIBS=""
6483 # Check whether --enable-largefile was given.
6484 if test "${enable_largefile+set}" = set; then :
6485 enableval=$enable_largefile;
6488 if test "$enable_largefile" != no; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6491 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6492 if ${ac_cv_sys_largefile_CC+:} false; then :
6493 $as_echo_n "(cached) " >&6
6494 else
6495 ac_cv_sys_largefile_CC=no
6496 if test "$GCC" != yes; then
6497 ac_save_CC=$CC
6498 while :; do
6499 # IRIX 6.2 and later do not support large files by default,
6500 # so use the C compiler's -n32 option if that helps.
6501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6503 #include <sys/types.h>
6504 /* Check that off_t can represent 2**63 - 1 correctly.
6505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6506 since some C++ compilers masquerading as C compilers
6507 incorrectly reject 9223372036854775807. */
6508 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6510 && LARGE_OFF_T % 2147483647 == 1)
6511 ? 1 : -1];
6513 main ()
6517 return 0;
6519 _ACEOF
6520 if ac_fn_c_try_compile "$LINENO"; then :
6521 break
6523 rm -f core conftest.err conftest.$ac_objext
6524 CC="$CC -n32"
6525 if ac_fn_c_try_compile "$LINENO"; then :
6526 ac_cv_sys_largefile_CC=' -n32'; break
6528 rm -f core conftest.err conftest.$ac_objext
6529 break
6530 done
6531 CC=$ac_save_CC
6532 rm -f conftest.$ac_ext
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6536 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6537 if test "$ac_cv_sys_largefile_CC" != no; then
6538 CC=$CC$ac_cv_sys_largefile_CC
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6542 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6543 if ${ac_cv_sys_file_offset_bits+:} false; then :
6544 $as_echo_n "(cached) " >&6
6545 else
6546 while :; do
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6549 #include <sys/types.h>
6550 /* Check that off_t can represent 2**63 - 1 correctly.
6551 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6552 since some C++ compilers masquerading as C compilers
6553 incorrectly reject 9223372036854775807. */
6554 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6555 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6556 && LARGE_OFF_T % 2147483647 == 1)
6557 ? 1 : -1];
6559 main ()
6563 return 0;
6565 _ACEOF
6566 if ac_fn_c_try_compile "$LINENO"; then :
6567 ac_cv_sys_file_offset_bits=no; break
6569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #define _FILE_OFFSET_BITS 64
6573 #include <sys/types.h>
6574 /* Check that off_t can represent 2**63 - 1 correctly.
6575 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6576 since some C++ compilers masquerading as C compilers
6577 incorrectly reject 9223372036854775807. */
6578 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6579 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6580 && LARGE_OFF_T % 2147483647 == 1)
6581 ? 1 : -1];
6583 main ()
6587 return 0;
6589 _ACEOF
6590 if ac_fn_c_try_compile "$LINENO"; then :
6591 ac_cv_sys_file_offset_bits=64; break
6593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6594 ac_cv_sys_file_offset_bits=unknown
6595 break
6596 done
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6599 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6600 case $ac_cv_sys_file_offset_bits in #(
6601 no | unknown) ;;
6603 cat >>confdefs.h <<_ACEOF
6604 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6605 _ACEOF
6607 esac
6608 rm -rf conftest*
6609 if test $ac_cv_sys_file_offset_bits = unknown; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6611 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6612 if ${ac_cv_sys_large_files+:} false; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 while :; do
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #include <sys/types.h>
6619 /* Check that off_t can represent 2**63 - 1 correctly.
6620 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6621 since some C++ compilers masquerading as C compilers
6622 incorrectly reject 9223372036854775807. */
6623 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6624 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6625 && LARGE_OFF_T % 2147483647 == 1)
6626 ? 1 : -1];
6628 main ()
6632 return 0;
6634 _ACEOF
6635 if ac_fn_c_try_compile "$LINENO"; then :
6636 ac_cv_sys_large_files=no; break
6638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6641 #define _LARGE_FILES 1
6642 #include <sys/types.h>
6643 /* Check that off_t can represent 2**63 - 1 correctly.
6644 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6645 since some C++ compilers masquerading as C compilers
6646 incorrectly reject 9223372036854775807. */
6647 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6648 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6649 && LARGE_OFF_T % 2147483647 == 1)
6650 ? 1 : -1];
6652 main ()
6656 return 0;
6658 _ACEOF
6659 if ac_fn_c_try_compile "$LINENO"; then :
6660 ac_cv_sys_large_files=1; break
6662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663 ac_cv_sys_large_files=unknown
6664 break
6665 done
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6668 $as_echo "$ac_cv_sys_large_files" >&6; }
6669 case $ac_cv_sys_large_files in #(
6670 no | unknown) ;;
6672 cat >>confdefs.h <<_ACEOF
6673 #define _LARGE_FILES $ac_cv_sys_large_files
6674 _ACEOF
6676 esac
6677 rm -rf conftest*
6684 ac_ext=c
6685 ac_cpp='$CPP $CPPFLAGS'
6686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6690 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6691 # On Suns, sometimes $CPP names a directory.
6692 if test -n "$CPP" && test -d "$CPP"; then
6693 CPP=
6695 if test -z "$CPP"; then
6696 if ${ac_cv_prog_CPP+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 # Double quotes because CPP needs to be expanded
6700 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6702 ac_preproc_ok=false
6703 for ac_c_preproc_warn_flag in '' yes
6705 # Use a header file that comes with gcc, so configuring glibc
6706 # with a fresh cross-compiler works.
6707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6708 # <limits.h> exists even on freestanding compilers.
6709 # On the NeXT, cc -E runs the code through the compiler's parser,
6710 # not just through cpp. "Syntax error" is here to catch this case.
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 #ifdef __STDC__
6714 # include <limits.h>
6715 #else
6716 # include <assert.h>
6717 #endif
6718 Syntax error
6719 _ACEOF
6720 if ac_fn_c_try_cpp "$LINENO"; then :
6722 else
6723 # Broken: fails on valid input.
6724 continue
6726 rm -f conftest.err conftest.i conftest.$ac_ext
6728 # OK, works on sane cases. Now check whether nonexistent headers
6729 # can be detected and how.
6730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6732 #include <ac_nonexistent.h>
6733 _ACEOF
6734 if ac_fn_c_try_cpp "$LINENO"; then :
6735 # Broken: success on invalid input.
6736 continue
6737 else
6738 # Passes both tests.
6739 ac_preproc_ok=:
6740 break
6742 rm -f conftest.err conftest.i conftest.$ac_ext
6744 done
6745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6746 rm -f conftest.i conftest.err conftest.$ac_ext
6747 if $ac_preproc_ok; then :
6748 break
6751 done
6752 ac_cv_prog_CPP=$CPP
6755 CPP=$ac_cv_prog_CPP
6756 else
6757 ac_cv_prog_CPP=$CPP
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6760 $as_echo "$CPP" >&6; }
6761 ac_preproc_ok=false
6762 for ac_c_preproc_warn_flag in '' yes
6764 # Use a header file that comes with gcc, so configuring glibc
6765 # with a fresh cross-compiler works.
6766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6767 # <limits.h> exists even on freestanding compilers.
6768 # On the NeXT, cc -E runs the code through the compiler's parser,
6769 # not just through cpp. "Syntax error" is here to catch this case.
6770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h. */
6772 #ifdef __STDC__
6773 # include <limits.h>
6774 #else
6775 # include <assert.h>
6776 #endif
6777 Syntax error
6778 _ACEOF
6779 if ac_fn_c_try_cpp "$LINENO"; then :
6781 else
6782 # Broken: fails on valid input.
6783 continue
6785 rm -f conftest.err conftest.i conftest.$ac_ext
6787 # OK, works on sane cases. Now check whether nonexistent headers
6788 # can be detected and how.
6789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h. */
6791 #include <ac_nonexistent.h>
6792 _ACEOF
6793 if ac_fn_c_try_cpp "$LINENO"; then :
6794 # Broken: success on invalid input.
6795 continue
6796 else
6797 # Passes both tests.
6798 ac_preproc_ok=:
6799 break
6801 rm -f conftest.err conftest.i conftest.$ac_ext
6803 done
6804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6805 rm -f conftest.i conftest.err conftest.$ac_ext
6806 if $ac_preproc_ok; then :
6808 else
6809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6811 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6812 See \`config.log' for more details" "$LINENO" 5; }
6815 ac_ext=c
6816 ac_cpp='$CPP $CPPFLAGS'
6817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6823 $as_echo_n "checking for ANSI C header files... " >&6; }
6824 if ${ac_cv_header_stdc+:} false; then :
6825 $as_echo_n "(cached) " >&6
6826 else
6827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6828 /* end confdefs.h. */
6829 #include <stdlib.h>
6830 #include <stdarg.h>
6831 #include <string.h>
6832 #include <float.h>
6835 main ()
6839 return 0;
6841 _ACEOF
6842 if ac_fn_c_try_compile "$LINENO"; then :
6843 ac_cv_header_stdc=yes
6844 else
6845 ac_cv_header_stdc=no
6847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6849 if test $ac_cv_header_stdc = yes; then
6850 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6853 #include <string.h>
6855 _ACEOF
6856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6857 $EGREP "memchr" >/dev/null 2>&1; then :
6859 else
6860 ac_cv_header_stdc=no
6862 rm -f conftest*
6866 if test $ac_cv_header_stdc = yes; then
6867 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6870 #include <stdlib.h>
6872 _ACEOF
6873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6874 $EGREP "free" >/dev/null 2>&1; then :
6876 else
6877 ac_cv_header_stdc=no
6879 rm -f conftest*
6883 if test $ac_cv_header_stdc = yes; then
6884 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6885 if test "$cross_compiling" = yes; then :
6887 else
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6890 #include <ctype.h>
6891 #include <stdlib.h>
6892 #if ((' ' & 0x0FF) == 0x020)
6893 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6894 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6895 #else
6896 # define ISLOWER(c) \
6897 (('a' <= (c) && (c) <= 'i') \
6898 || ('j' <= (c) && (c) <= 'r') \
6899 || ('s' <= (c) && (c) <= 'z'))
6900 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6901 #endif
6903 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6905 main ()
6907 int i;
6908 for (i = 0; i < 256; i++)
6909 if (XOR (islower (i), ISLOWER (i))
6910 || toupper (i) != TOUPPER (i))
6911 return 2;
6912 return 0;
6914 _ACEOF
6915 if ac_fn_c_try_run "$LINENO"; then :
6917 else
6918 ac_cv_header_stdc=no
6920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6921 conftest.$ac_objext conftest.beam conftest.$ac_ext
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6927 $as_echo "$ac_cv_header_stdc" >&6; }
6928 if test $ac_cv_header_stdc = yes; then
6930 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6934 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6935 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6936 inttypes.h stdint.h unistd.h
6937 do :
6938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6942 cat >>confdefs.h <<_ACEOF
6943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6944 _ACEOF
6948 done
6951 for ac_header in \
6952 AL/al.h \
6953 ApplicationServices/ApplicationServices.h \
6954 AudioToolbox/AudioConverter.h \
6955 AudioUnit/AudioUnit.h \
6956 AudioUnit/AudioComponent.h \
6957 CL/cl.h \
6958 Carbon/Carbon.h \
6959 CommonCrypto/CommonCryptor.h \
6960 CoreAudio/CoreAudio.h \
6961 CoreServices/CoreServices.h \
6962 DiskArbitration/DiskArbitration.h \
6963 EGL/egl.h \
6964 IOKit/IOKitLib.h \
6965 IOKit/hid/IOHIDLib.h \
6966 OpenAL/al.h \
6967 OpenCL/opencl.h \
6968 QuickTime/ImageCompression.h \
6969 Security/Security.h \
6970 alias.h \
6971 alsa/asoundlib.h \
6972 arpa/inet.h \
6973 arpa/nameser.h \
6974 asm/types.h \
6975 asm/user.h \
6976 curses.h \
6977 direct.h \
6978 dirent.h \
6979 dlfcn.h \
6980 elf.h \
6981 float.h \
6982 fnmatch.h \
6983 getopt.h \
6984 gettext-po.h \
6985 grp.h \
6986 gsm.h \
6987 gsm/gsm.h \
6988 ieeefp.h \
6989 inet/mib2.h \
6990 io.h \
6991 kstat.h \
6992 libproc.h \
6993 link.h \
6994 linux/cdrom.h \
6995 linux/compiler.h \
6996 linux/filter.h \
6997 linux/hdreg.h \
6998 linux/hidraw.h \
6999 linux/input.h \
7000 linux/ioctl.h \
7001 linux/joystick.h \
7002 linux/major.h \
7003 linux/param.h \
7004 linux/serial.h \
7005 linux/types.h \
7006 linux/ucdrom.h \
7007 lwp.h \
7008 mach-o/nlist.h \
7009 mach-o/loader.h \
7010 mach/mach.h \
7011 mach/machine.h \
7012 machine/cpu.h \
7013 machine/limits.h \
7014 machine/sysarch.h \
7015 mntent.h \
7016 ncurses.h \
7017 netdb.h \
7018 netinet/in.h \
7019 netinet/in_systm.h \
7020 netinet/tcp.h \
7021 netinet/tcp_fsm.h \
7022 pcap/pcap.h \
7023 poll.h \
7024 port.h \
7025 process.h \
7026 pthread.h \
7027 pwd.h \
7028 sched.h \
7029 scsi/scsi.h \
7030 scsi/scsi_ioctl.h \
7031 scsi/sg.h \
7032 stdbool.h \
7033 stdint.h \
7034 stropts.h \
7035 sys/asoundlib.h \
7036 sys/attr.h \
7037 sys/auxv.h \
7038 sys/cdio.h \
7039 sys/elf32.h \
7040 sys/epoll.h \
7041 sys/event.h \
7042 sys/exec_elf.h \
7043 sys/filio.h \
7044 sys/inotify.h \
7045 sys/ioctl.h \
7046 sys/ipc.h \
7047 sys/limits.h \
7048 sys/link.h \
7049 sys/mman.h \
7050 sys/modem.h \
7051 sys/msg.h \
7052 sys/mtio.h \
7053 sys/param.h \
7054 sys/poll.h \
7055 sys/prctl.h \
7056 sys/protosw.h \
7057 sys/ptrace.h \
7058 sys/queue.h \
7059 sys/resource.h \
7060 sys/scsiio.h \
7061 sys/shm.h \
7062 sys/signal.h \
7063 sys/socket.h \
7064 sys/socketvar.h \
7065 sys/sockio.h \
7066 sys/statvfs.h \
7067 sys/strtio.h \
7068 sys/syscall.h \
7069 sys/sysinfo.h \
7070 sys/tihdr.h \
7071 sys/time.h \
7072 sys/timeout.h \
7073 sys/times.h \
7074 sys/uio.h \
7075 sys/user.h \
7076 sys/utsname.h \
7077 sys/vnode.h \
7078 sys/wait.h \
7079 syscall.h \
7080 termios.h \
7081 unistd.h \
7082 utime.h \
7083 valgrind/memcheck.h \
7084 valgrind/valgrind.h \
7085 zlib.h
7087 do :
7088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7089 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7090 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7091 cat >>confdefs.h <<_ACEOF
7092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7093 _ACEOF
7097 done
7099 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7100 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7102 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7107 if test $ac_cv_header_sys_mkdev_h = no; then
7108 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7109 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7111 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7118 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7119 if ${ac_cv_header_stat_broken+:} false; then :
7120 $as_echo_n "(cached) " >&6
7121 else
7122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7124 #include <sys/types.h>
7125 #include <sys/stat.h>
7127 #if defined S_ISBLK && defined S_IFDIR
7128 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7129 #endif
7131 #if defined S_ISBLK && defined S_IFCHR
7132 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7133 #endif
7135 #if defined S_ISLNK && defined S_IFREG
7136 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7137 #endif
7139 #if defined S_ISSOCK && defined S_IFREG
7140 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7141 #endif
7143 _ACEOF
7144 if ac_fn_c_try_compile "$LINENO"; then :
7145 ac_cv_header_stat_broken=no
7146 else
7147 ac_cv_header_stat_broken=yes
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7152 $as_echo "$ac_cv_header_stat_broken" >&6; }
7153 if test $ac_cv_header_stat_broken = yes; then
7155 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7161 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7162 do :
7163 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7164 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7165 #ifdef HAVE_SYS_PARAM_H
7166 # include <sys/param.h>
7167 #endif
7169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7170 cat >>confdefs.h <<_ACEOF
7171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7172 _ACEOF
7176 done
7179 for ac_header in \
7180 netinet/ip.h \
7181 net/if.h \
7182 net/if_arp.h \
7183 net/if_dl.h \
7184 net/if_types.h \
7185 net/route.h \
7186 netinet/if_ether.h \
7187 netinet/if_inarp.h \
7188 netinet/in_pcb.h \
7189 netinet/ip_icmp.h \
7190 netinet/ip_var.h \
7191 netinet/udp.h \
7192 netipx/ipx.h \
7193 sys/un.h \
7195 do :
7196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7197 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7198 #ifdef HAVE_SYS_SOCKET_H
7199 # include <sys/socket.h>
7200 #endif
7201 #ifdef HAVE_SYS_SOCKETVAR_H
7202 # include <sys/socketvar.h>
7203 #endif
7204 #ifdef HAVE_NET_ROUTE_H
7205 # include <net/route.h>
7206 #endif
7207 #ifdef HAVE_NETINET_IN_H
7208 # include <netinet/in.h>
7209 #endif
7210 #ifdef HAVE_NETINET_IN_SYSTM_H
7211 # include <netinet/in_systm.h>
7212 #endif
7213 #ifdef HAVE_NET_IF_H
7214 # include <net/if.h>
7215 #endif
7216 #ifdef HAVE_NETINET_IP_H
7217 # include <netinet/ip.h>
7218 #endif
7220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7221 cat >>confdefs.h <<_ACEOF
7222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7223 _ACEOF
7227 done
7230 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7231 do :
7232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7233 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7234 #ifdef HAVE_ALIAS_H
7235 # include <alias.h>
7236 #endif
7237 #ifdef HAVE_SYS_SOCKET_H
7238 # include <sys/socket.h>
7239 #endif
7240 #ifdef HAVE_SYS_SOCKETVAR_H
7241 # include <sys/socketvar.h>
7242 #endif
7243 #ifdef HAVE_SYS_TIMEOUT_H
7244 # include <sys/timeout.h>
7245 #endif
7246 #ifdef HAVE_NETINET_IN_H
7247 # include <netinet/in.h>
7248 #endif
7249 #ifdef HAVE_NETINET_IN_SYSTM_H
7250 # include <netinet/in_systm.h>
7251 #endif
7252 #ifdef HAVE_NETINET_IP_H
7253 # include <netinet/ip.h>
7254 #endif
7255 #ifdef HAVE_NETINET_IP_VAR_H
7256 # include <netinet/ip_var.h>
7257 #endif
7258 #ifdef HAVE_NETINET_IP_ICMP_H
7259 # include <netinet/ip_icmp.h>
7260 #endif
7261 #ifdef HAVE_NETINET_UDP_H
7262 # include <netinet/udp.h>
7263 #endif
7264 #ifdef HAVE_NETINET_TCP_H
7265 # include <netinet/tcp.h>
7266 #endif
7267 #ifdef HAVE_NETINET_TCP_TIMER_H
7268 #include <netinet/tcp_timer.h>
7269 #endif
7271 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7272 cat >>confdefs.h <<_ACEOF
7273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 _ACEOF
7278 done
7281 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7282 do :
7283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7284 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7285 #ifdef HAVE_ASM_TYPES_H
7286 # include <asm/types.h>
7287 #endif
7288 #ifdef HAVE_SYS_SOCKET_H
7289 # include <sys/socket.h>
7290 #endif
7291 #ifdef HAVE_LINUX_TYPES_H
7292 # include <linux/types.h>
7293 #endif
7295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7296 cat >>confdefs.h <<_ACEOF
7297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7298 _ACEOF
7302 done
7305 for ac_header in mach-o/dyld_images.h
7306 do :
7307 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7308 # include <stdbool.h>
7309 #endif
7310 #ifdef HAVE_STDINT_H
7311 # include <stdint.h>
7312 #endif
7314 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7315 cat >>confdefs.h <<_ACEOF
7316 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7317 _ACEOF
7321 done
7324 for ac_header in resolv.h
7325 do :
7326 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7327 #ifdef HAVE_SYS_SOCKET_H
7328 # include <sys/socket.h>
7329 #endif
7330 #ifdef HAVE_NETINET_IN_H
7331 # include <netinet/in.h>
7332 #endif
7333 #ifdef HAVE_ARPA_NAMESER_H
7334 # include <arpa/nameser.h>
7335 #endif
7337 if test "x$ac_cv_header_resolv_h" = xyes; then :
7338 cat >>confdefs.h <<_ACEOF
7339 #define HAVE_RESOLV_H 1
7340 _ACEOF
7344 done
7347 for ac_header in ifaddrs.h
7348 do :
7349 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7351 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7352 cat >>confdefs.h <<_ACEOF
7353 #define HAVE_IFADDRS_H 1
7354 _ACEOF
7358 done
7361 for ac_header in sys/ucontext.h
7362 do :
7363 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7365 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define HAVE_SYS_UCONTEXT_H 1
7368 _ACEOF
7372 done
7375 for ac_header in sys/thr.h
7376 do :
7377 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7378 #ifdef HAVE_SYS_UCONTEXT_H
7379 #include <sys/ucontext.h>
7380 #endif
7382 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7383 cat >>confdefs.h <<_ACEOF
7384 #define HAVE_SYS_THR_H 1
7385 _ACEOF
7389 done
7392 for ac_header in pthread_np.h
7393 do :
7394 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7395 #include <pthread.h>
7396 #endif
7398 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7399 cat >>confdefs.h <<_ACEOF
7400 #define HAVE_PTHREAD_NP_H 1
7401 _ACEOF
7405 done
7408 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7409 do :
7410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7412 #include <sys/time.h>
7413 #endif
7414 #include <sys/types.h>
7415 #ifdef HAVE_ASM_TYPES_H
7416 #include <asm/types.h>
7417 #endif
7419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7420 cat >>confdefs.h <<_ACEOF
7421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7422 _ACEOF
7426 done
7429 for ac_header in libprocstat.h
7430 do :
7431 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7432 #include <sys/param.h>
7433 #endif
7434 #ifdef HAVE_SYS_QUEUE_H
7435 #include <sys/queue.h>
7436 #endif
7437 #ifdef HAVE_SYS_SOCKET_H
7438 #include <sys/socket.h>
7439 #endif
7441 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7442 cat >>confdefs.h <<_ACEOF
7443 #define HAVE_LIBPROCSTAT_H 1
7444 _ACEOF
7448 done
7452 dlldir="\${libdir}/wine"
7454 DLLFLAGS="-D_REENTRANT"
7456 LDRPATH_INSTALL=""
7458 LDRPATH_LOCAL=""
7460 LDEXECFLAGS=""
7462 WINELOADER_LDFLAGS=""
7464 LIBEXT="so"
7465 DLLEXT=".so"
7466 IMPLIBEXT="def"
7467 # Extract the first word of "ldd", so it can be a program name with args.
7468 set dummy ldd; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 $as_echo_n "checking for $ac_word... " >&6; }
7471 if ${ac_cv_path_LDD+:} false; then :
7472 $as_echo_n "(cached) " >&6
7473 else
7474 case $LDD in
7475 [\\/]* | ?:[\\/]*)
7476 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7480 as_dummy="/sbin:/usr/sbin:$PATH"
7481 for as_dir in $as_dummy
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7491 done
7492 done
7493 IFS=$as_save_IFS
7495 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7497 esac
7499 LDD=$ac_cv_path_LDD
7500 if test -n "$LDD"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7502 $as_echo "$LDD" >&6; }
7503 else
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7509 if test -n "$ac_tool_prefix"; then
7510 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7511 set dummy ${ac_tool_prefix}otool; ac_word=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_OTOOL+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 if test -n "$OTOOL"; then
7518 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7519 else
7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 for as_dir in $PATH
7523 IFS=$as_save_IFS
7524 test -z "$as_dir" && as_dir=.
7525 for ac_exec_ext in '' $ac_executable_extensions; do
7526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529 break 2
7531 done
7532 done
7533 IFS=$as_save_IFS
7537 OTOOL=$ac_cv_prog_OTOOL
7538 if test -n "$OTOOL"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7540 $as_echo "$OTOOL" >&6; }
7541 else
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7548 if test -z "$ac_cv_prog_OTOOL"; then
7549 ac_ct_OTOOL=$OTOOL
7550 # Extract the first word of "otool", so it can be a program name with args.
7551 set dummy otool; ac_word=$2
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7553 $as_echo_n "checking for $ac_word... " >&6; }
7554 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7555 $as_echo_n "(cached) " >&6
7556 else
7557 if test -n "$ac_ct_OTOOL"; then
7558 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7559 else
7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7561 for as_dir in $PATH
7563 IFS=$as_save_IFS
7564 test -z "$as_dir" && as_dir=.
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7567 ac_cv_prog_ac_ct_OTOOL="otool"
7568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7569 break 2
7571 done
7572 done
7573 IFS=$as_save_IFS
7577 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7578 if test -n "$ac_ct_OTOOL"; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7580 $as_echo "$ac_ct_OTOOL" >&6; }
7581 else
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }
7586 if test "x$ac_ct_OTOOL" = x; then
7587 OTOOL="otool"
7588 else
7589 case $cross_compiling:$ac_tool_warned in
7590 yes:)
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7593 ac_tool_warned=yes ;;
7594 esac
7595 OTOOL=$ac_ct_OTOOL
7597 else
7598 OTOOL="$ac_cv_prog_OTOOL"
7601 if test -n "$ac_tool_prefix"; then
7602 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7603 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if ${ac_cv_prog_READELF+:} false; then :
7607 $as_echo_n "(cached) " >&6
7608 else
7609 if test -n "$READELF"; then
7610 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7611 else
7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7613 for as_dir in $PATH
7615 IFS=$as_save_IFS
7616 test -z "$as_dir" && as_dir=.
7617 for ac_exec_ext in '' $ac_executable_extensions; do
7618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 break 2
7623 done
7624 done
7625 IFS=$as_save_IFS
7629 READELF=$ac_cv_prog_READELF
7630 if test -n "$READELF"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7632 $as_echo "$READELF" >&6; }
7633 else
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635 $as_echo "no" >&6; }
7640 if test -z "$ac_cv_prog_READELF"; then
7641 ac_ct_READELF=$READELF
7642 # Extract the first word of "readelf", so it can be a program name with args.
7643 set dummy readelf; ac_word=$2
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7645 $as_echo_n "checking for $ac_word... " >&6; }
7646 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7647 $as_echo_n "(cached) " >&6
7648 else
7649 if test -n "$ac_ct_READELF"; then
7650 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7651 else
7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7653 for as_dir in $PATH
7655 IFS=$as_save_IFS
7656 test -z "$as_dir" && as_dir=.
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_prog_ac_ct_READELF="readelf"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7661 break 2
7663 done
7664 done
7665 IFS=$as_save_IFS
7669 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7670 if test -n "$ac_ct_READELF"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7672 $as_echo "$ac_ct_READELF" >&6; }
7673 else
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7678 if test "x$ac_ct_READELF" = x; then
7679 READELF="true"
7680 else
7681 case $cross_compiling:$ac_tool_warned in
7682 yes:)
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7685 ac_tool_warned=yes ;;
7686 esac
7687 READELF=$ac_ct_READELF
7689 else
7690 READELF="$ac_cv_prog_READELF"
7693 wine_rules_file=conf$$rules.make
7694 rm -f $wine_rules_file
7695 SUBDIRS=""
7697 DISABLED_SUBDIRS=""
7699 CONFIGURE_TARGETS=""
7701 ALL_TEST_RESOURCES=""
7704 wine_fn_append_file ()
7706 as_fn_append $1 " \\$as_nl $2"
7709 wine_fn_append_rule ()
7711 $as_echo "$1" >>$wine_rules_file
7714 wine_fn_has_flag ()
7716 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7719 wine_fn_all_rules ()
7721 wine_fn_append_file SUBDIRS $ac_dir
7722 wine_fn_append_rule \
7723 "all: $ac_dir
7724 .PHONY: $ac_dir
7725 $ac_dir: dummy
7726 @cd $ac_dir && \$(MAKE)"
7729 wine_fn_install_rules ()
7731 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7733 wine_fn_append_rule \
7734 ".PHONY: $ac_dir/install $ac_dir/uninstall
7735 $ac_dir/install:: $ac_dir
7736 @cd $ac_dir && \$(MAKE) install
7737 $ac_dir/uninstall::
7738 @cd $ac_dir && \$(MAKE) uninstall
7739 install:: $ac_dir/install
7740 __uninstall__: $ac_dir/uninstall"
7742 if wine_fn_has_flag install-lib
7743 then
7744 wine_fn_append_rule \
7745 ".PHONY: $ac_dir/install-lib
7746 $ac_dir/install-lib:: $ac_dir
7747 @cd $ac_dir && \$(MAKE) install-lib
7748 install-lib:: $ac_dir/install-lib"
7751 if wine_fn_has_flag install-dev
7752 then
7753 wine_fn_append_rule \
7754 ".PHONY: $ac_dir/install-dev
7755 $ac_dir/install-dev:: $ac_dir
7756 @cd $ac_dir && \$(MAKE) install-dev
7757 install-dev:: $ac_dir/install-dev"
7761 wine_fn_clean_rules ()
7763 ac_clean=$@
7765 if wine_fn_has_flag clean
7766 then
7767 wine_fn_append_rule \
7768 "$ac_dir/clean: dummy
7769 @cd $ac_dir && \$(MAKE) clean"
7770 else
7771 wine_fn_append_rule \
7772 "$ac_dir/clean: dummy
7773 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7775 wine_fn_append_rule \
7776 "__clean__: $ac_dir/clean
7777 .PHONY: $ac_dir/clean"
7780 wine_fn_disabled_rules ()
7782 ac_clean=$@
7784 wine_fn_append_file SUBDIRS $ac_dir
7785 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7786 wine_fn_append_rule \
7787 "__clean__: $ac_dir/clean
7788 .PHONY: $ac_dir/clean
7789 $ac_dir/clean: dummy
7790 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7793 wine_fn_config_makefile ()
7795 ac_dir=$1
7796 ac_enable=$2
7797 ac_flags=$3
7799 case $ac_dir in
7800 fonts|server) test -z "$with_wine64" || return ;;
7801 esac
7802 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7803 wine_fn_disabled_rules; return
7805 wine_fn_all_rules
7806 wine_fn_install_rules
7807 wine_fn_clean_rules
7810 wine_fn_config_lib ()
7812 ac_name=$1
7813 ac_flags=$2
7814 ac_dir=dlls/$ac_name
7815 ac_deps="include"
7817 if test "x$enable_tools" = xno; then :
7819 else
7820 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7822 wine_fn_all_rules
7823 wine_fn_clean_rules
7825 wine_fn_append_rule \
7826 ".PHONY: $ac_dir/install $ac_dir/uninstall
7827 $ac_dir/install:: $ac_dir
7828 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7829 $ac_dir/uninstall::
7830 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7831 install install-dev:: $ac_dir/install
7832 __uninstall__: $ac_dir/uninstall
7833 __builddeps__: $ac_dir
7834 $ac_dir: $ac_deps"
7837 wine_fn_config_dll ()
7839 ac_name=$1
7840 ac_dir=dlls/$ac_name
7841 ac_enable=$2
7842 ac_flags=$3
7843 ac_implib=${4:-$ac_name}
7844 ac_file=$ac_dir/lib$ac_implib
7845 ac_dll=$ac_name
7846 ac_deps="include"
7847 ac_implibflags=""
7849 if test "x$enable_tools" = xno; then :
7851 else
7852 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7854 case $ac_name in
7855 *.*16) ac_implibflags=" -m16" ;;
7856 *.*) ;;
7857 *) ac_dll=$ac_dll.dll ;;
7858 esac
7860 ac_clean=
7861 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7862 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7864 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7865 if test "$ac_enable" != enable_win16
7866 then
7867 wine_fn_clean_rules $ac_clean
7868 wine_fn_append_file SUBDIRS $ac_dir
7869 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7870 else
7871 wine_fn_disabled_rules $ac_clean
7872 return
7874 else
7875 wine_fn_all_rules
7876 wine_fn_clean_rules $ac_clean
7877 wine_fn_append_rule \
7878 "$ac_dir: __builddeps__
7879 manpages htmlpages sgmlpages xmlpages::
7880 @cd $ac_dir && \$(MAKE) \$@
7881 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7882 install install-lib:: $ac_dir/install-lib
7883 __uninstall__: $ac_dir/uninstall"
7884 if test -n "$DLLEXT"
7885 then
7886 wine_fn_append_rule \
7887 "$ac_dir/install-lib:: $ac_dir
7888 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7889 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7890 $ac_dir/uninstall::
7891 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7892 else
7893 wine_fn_append_rule \
7894 "$ac_dir/install-lib:: $ac_dir
7895 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7896 $ac_dir/uninstall::
7897 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7901 if wine_fn_has_flag staticimplib
7902 then
7903 wine_fn_append_rule \
7904 "__builddeps__: $ac_file.a
7905 $ac_file.a $ac_file.cross.a: $ac_deps
7906 $ac_file.a: dummy
7907 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7908 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7909 $ac_dir/install-dev:: $ac_file.a
7910 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7911 $ac_dir/uninstall::
7912 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7913 install install-dev:: $ac_dir/install-dev
7914 __uninstall__: $ac_dir/uninstall"
7916 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7917 then
7918 wine_fn_append_rule \
7919 "__builddeps__: $ac_file.cross.a
7920 $ac_file.cross.a: dummy
7921 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7924 elif wine_fn_has_flag implib
7925 then
7926 wine_fn_append_rule \
7927 "__builddeps__: $ac_file.$IMPLIBEXT
7928 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7929 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7930 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7931 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7932 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7933 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7934 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7935 $ac_dir/uninstall::
7936 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7937 install install-dev:: $ac_dir/install-dev
7938 __uninstall__: $ac_dir/uninstall"
7939 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7940 then
7941 wine_fn_append_rule \
7942 "__builddeps__: $ac_file.cross.a
7943 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7944 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7949 wine_fn_config_program ()
7951 ac_name=$1
7952 ac_dir=programs/$ac_name
7953 ac_enable=$2
7954 ac_flags=$3
7955 ac_program=$ac_name
7957 case $ac_name in
7958 *.*) ;;
7959 *) ac_program=$ac_program.exe ;;
7960 esac
7962 ac_clean=
7963 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7964 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7966 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7967 wine_fn_disabled_rules $ac_clean; return
7970 wine_fn_all_rules
7971 wine_fn_clean_rules $ac_clean
7972 wine_fn_append_rule "$ac_dir: __builddeps__"
7974 wine_fn_has_flag install || return
7975 wine_fn_append_rule \
7976 ".PHONY: $ac_dir/install $ac_dir/uninstall
7977 install install-lib:: $ac_dir/install
7978 __uninstall__: $ac_dir/uninstall"
7980 if test -n "$DLLEXT"
7981 then
7982 wine_fn_append_rule \
7983 "$ac_dir/install:: $ac_dir
7984 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7985 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7986 $ac_dir/uninstall::
7987 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7989 if test -z "$with_wine64" && wine_fn_has_flag installbin
7990 then
7991 wine_fn_append_rule \
7992 "$ac_dir/install:: __tooldeps__
7993 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7994 $ac_dir/uninstall::
7995 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7997 else
7998 wine_fn_append_rule \
7999 "$ac_dir/install:: $ac_dir
8000 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
8001 $ac_dir/uninstall::
8002 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
8005 if test -z "$with_wine64" && wine_fn_has_flag manpage
8006 then
8007 wine_fn_append_rule \
8008 "$ac_dir/install:: $ac_dir
8009 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
8010 $ac_dir/uninstall::
8011 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8015 wine_fn_config_test ()
8017 ac_dir=$1
8018 ac_name=$2
8019 ac_flags=$3
8021 ac_clean=
8022 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8023 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8025 if test "x$enable_tests" = xno; then :
8026 wine_fn_disabled_rules $ac_clean; return
8029 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8030 wine_fn_all_rules
8031 wine_fn_clean_rules $ac_clean
8033 wine_fn_append_rule \
8034 "$ac_dir: __builddeps__
8035 programs/winetest: $ac_dir
8036 check test: $ac_dir/test
8037 .PHONY: $ac_dir/test
8038 $ac_dir/test: dummy
8039 @cd $ac_dir && \$(MAKE) test
8040 testclean::
8041 \$(RM) $ac_dir/*.ok"
8043 if test -n "$CROSSTARGET"
8044 then
8045 wine_fn_append_rule \
8046 "crosstest: $ac_dir/crosstest
8047 .PHONY: $ac_dir/crosstest
8048 $ac_dir/crosstest: __builddeps__ dummy
8049 @cd $ac_dir && \$(MAKE) crosstest"
8053 wine_fn_config_tool ()
8055 ac_dir=$1
8056 ac_flags=$2
8057 if test "x$enable_tools" = xno; then :
8058 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8061 wine_fn_all_rules
8062 wine_fn_install_rules
8063 wine_fn_clean_rules
8065 wine_fn_append_rule "__tooldeps__: $ac_dir"
8066 wine_fn_append_rule "$ac_dir: libs/port"
8067 case $ac_dir in
8068 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8069 esac
8072 wine_fn_config_symlink ()
8074 ac_linkdir=
8075 if test "x$1" = "x-d"
8076 then
8077 ac_linkdir=$2
8078 shift; shift
8080 ac_links=$@
8081 wine_fn_append_rule \
8082 "$ac_links:
8083 @./config.status \$@"
8084 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8085 test -n "$ac_linkdir" || return
8086 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8089 wine_binary="wine"
8090 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8091 WINELOADER_PROGRAMS="$wine_binary"
8093 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8095 case $host_os in
8096 cygwin*|mingw32*)
8097 if test -n "$ac_tool_prefix"; then
8098 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8099 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8101 $as_echo_n "checking for $ac_word... " >&6; }
8102 if ${ac_cv_prog_DLLTOOL+:} false; then :
8103 $as_echo_n "(cached) " >&6
8104 else
8105 if test -n "$DLLTOOL"; then
8106 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8107 else
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8109 for as_dir in $PATH
8111 IFS=$as_save_IFS
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8117 break 2
8119 done
8120 done
8121 IFS=$as_save_IFS
8125 DLLTOOL=$ac_cv_prog_DLLTOOL
8126 if test -n "$DLLTOOL"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8128 $as_echo "$DLLTOOL" >&6; }
8129 else
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8136 if test -z "$ac_cv_prog_DLLTOOL"; then
8137 ac_ct_DLLTOOL=$DLLTOOL
8138 # Extract the first word of "dlltool", so it can be a program name with args.
8139 set dummy dlltool; ac_word=$2
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8141 $as_echo_n "checking for $ac_word... " >&6; }
8142 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 if test -n "$ac_ct_DLLTOOL"; then
8146 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8147 else
8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149 for as_dir in $PATH
8151 IFS=$as_save_IFS
8152 test -z "$as_dir" && as_dir=.
8153 for ac_exec_ext in '' $ac_executable_extensions; do
8154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8155 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 break 2
8159 done
8160 done
8161 IFS=$as_save_IFS
8165 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8166 if test -n "$ac_ct_DLLTOOL"; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8168 $as_echo "$ac_ct_DLLTOOL" >&6; }
8169 else
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8174 if test "x$ac_ct_DLLTOOL" = x; then
8175 DLLTOOL="false"
8176 else
8177 case $cross_compiling:$ac_tool_warned in
8178 yes:)
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8181 ac_tool_warned=yes ;;
8182 esac
8183 DLLTOOL=$ac_ct_DLLTOOL
8185 else
8186 DLLTOOL="$ac_cv_prog_DLLTOOL"
8189 LIBEXT="dll"
8190 DLLEXT=""
8191 IMPLIBEXT="a"
8192 enable_iphlpapi=${enable_iphlpapi:-no}
8193 enable_kernel32=${enable_kernel32:-no}
8194 enable_msvcrt=${enable_msvcrt:-no}
8195 enable_ntdll=${enable_ntdll:-no}
8196 enable_ws2_32=${enable_ws2_32:-no}
8197 enable_loader=${enable_loader:-no}
8198 enable_server=${enable_server:-no}
8199 with_x=${with_x:-no}
8200 with_pthread=${with_pthread:-no}
8202 crtlibs=""
8203 case $host_os in
8204 mingw32*)
8205 crtlibs="-lmsvcrt"
8206 SOCKET_LIBS="-lws2_32"
8208 esac
8210 LIBWINE_SHAREDLIB="libwine.dll"
8212 LIBWINE_IMPORTLIB="libwine.a"
8214 LIBWINE_INSTALL_LIB="libwine.dll"
8216 LIBWINE_INSTALL_DEV="libwine.a"
8218 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8220 LIBWINE_DEPENDS="wine.def"
8224 darwin*|macosx*)
8225 for ac_header in libunwind.h
8226 do :
8227 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8229 cat >>confdefs.h <<_ACEOF
8230 #define HAVE_LIBUNWIND_H 1
8231 _ACEOF
8235 done
8237 LIBEXT="dylib"
8238 DLLFLAGS="$DLLFLAGS -fPIC"
8239 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8240 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8241 COREFOUNDATION_LIBS="-framework CoreFoundation"
8243 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8245 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8247 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8249 CORESERVICES_LIBS="-framework CoreServices"
8251 APPKIT_LIBS="-framework AppKit"
8253 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8255 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8256 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8257 $as_echo_n "(cached) " >&6
8258 else
8259 ac_wine_try_cflags_saved=$CFLAGS
8260 CFLAGS="$CFLAGS -Wl,-no_pie"
8261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8263 int main(int argc, char **argv) { return 0; }
8264 _ACEOF
8265 if ac_fn_c_try_link "$LINENO"; then :
8266 ac_cv_cflags__Wl__no_pie=yes
8267 else
8268 ac_cv_cflags__Wl__no_pie=no
8270 rm -f core conftest.err conftest.$ac_objext \
8271 conftest$ac_exeext conftest.$ac_ext
8272 CFLAGS=$ac_wine_try_cflags_saved
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8275 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8276 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8277 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8279 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8280 then
8281 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8284 if test "$ac_cv_header_Security_Security_h" = "yes"
8285 then
8286 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8288 ac_save_LIBS="$LIBS"
8289 LIBS="$LIBS $SECURITY_LIBS"
8290 for ac_func in SSLCopyPeerCertificates
8291 do :
8292 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8293 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8294 cat >>confdefs.h <<_ACEOF
8295 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8296 _ACEOF
8299 done
8301 LIBS="$ac_save_LIBS"
8302 with_gnutls=${with_gnutls:-no}
8304 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8305 then
8306 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8307 then
8308 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8310 else
8311 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8314 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8315 ac_save_LIBS="$LIBS"
8316 LIBS="$LIBS $COREAUDIO_LIBS"
8317 for ac_func in AUGraphAddNode
8318 do :
8319 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8320 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8321 cat >>confdefs.h <<_ACEOF
8322 #define HAVE_AUGRAPHADDNODE 1
8323 _ACEOF
8326 done
8328 LIBS="$ac_save_LIBS"
8330 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8331 then
8332 OPENAL_LIBS="-framework OpenAL"
8335 cat >>confdefs.h <<_ACEOF
8336 #define HAVE_OPENAL 1
8337 _ACEOF
8339 ac_cv_lib_openal=yes
8341 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8342 then
8343 OPENCL_LIBS="-framework OpenCL"
8345 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8347 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8348 then
8349 ac_save_LIBS="$LIBS"
8350 LIBS="$LIBS $IOKIT_LIBS"
8351 for ac_func in IOHIDManagerCreate
8352 do :
8353 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8354 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8355 cat >>confdefs.h <<_ACEOF
8356 #define HAVE_IOHIDMANAGERCREATE 1
8357 _ACEOF
8360 done
8362 LIBS="$ac_save_LIBS"
8364 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8365 then
8366 ac_save_LIBS="$LIBS"
8367 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8369 $as_echo_n "checking for the QuickTime framework... " >&6; }
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 #include <QuickTime/ImageCompression.h>
8374 main ()
8376 CodecManagerVersion(NULL);
8378 return 0;
8380 _ACEOF
8381 if ac_fn_c_try_link "$LINENO"; then :
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8383 $as_echo "yes" >&6; }
8384 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8386 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8387 else
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8389 $as_echo "no" >&6; }
8390 ac_cv_header_QuickTime_ImageCompression_h=no
8392 rm -f core conftest.err conftest.$ac_objext \
8393 conftest$ac_exeext conftest.$ac_ext
8394 LIBS="$ac_save_LIBS"
8396 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8397 then
8398 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8400 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8401 then
8402 CARBON_LIBS="-framework Carbon"
8406 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8407 then
8408 ac_save_LIBS="$LIBS"
8409 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8410 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8411 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8412 enable_winemac_drv=${enable_winemac_drv:-yes}
8415 LIBS="$ac_save_LIBS"
8418 if test "x$enable_win16" = "xyes"
8419 then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8421 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8422 if test "$cross_compiling" = yes; then :
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8424 $as_echo "cross-compiling, assuming yes" >&6; }
8425 else
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 asm(".text\n"
8429 "bad:\tnop;nop\n"
8430 "good:\tnop;nop\n\t"
8431 ".globl _testfunc\n"
8432 "_testfunc:\tcallw good");
8433 extern void testfunc();
8435 main ()
8437 unsigned short *p = (unsigned short *)testfunc;
8438 return p[0] != 0xe866 || p[1] != 0xfffa
8440 return 0;
8442 _ACEOF
8443 if ac_fn_c_try_run "$LINENO"; then :
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8445 $as_echo "yes" >&6; }
8446 else
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8448 $as_echo "no" >&6; }
8449 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
8451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8452 conftest.$ac_objext conftest.beam conftest.$ac_ext
8457 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8459 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8461 LIBWINE_INSTALL_DEV="libwine.dylib"
8463 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8465 WINELOADER_DEPENDS="wine_info.plist"
8469 linux-android*)
8470 DLLFLAGS="$DLLFLAGS -fPIC"
8471 LDEXECFLAGS="-Wl,-pie"
8472 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8474 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8475 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_wine_try_cflags_saved=$CFLAGS
8479 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 int main(int argc, char **argv) { return 0; }
8483 _ACEOF
8484 if ac_fn_c_try_link "$LINENO"; then :
8485 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8486 else
8487 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8489 rm -f core conftest.err conftest.$ac_objext \
8490 conftest$ac_exeext conftest.$ac_ext
8491 CFLAGS=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8494 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8495 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8496 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8498 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8501 if eval \${$as_ac_var+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 eval "$as_ac_var=yes"
8512 else
8513 eval "$as_ac_var=no"
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 eval ac_res=\$$as_ac_var
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8521 $as_echo "$ac_res" >&6; }
8522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8523 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8524 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8525 else
8526 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8528 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8529 if eval \${$as_ac_var+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_wine_try_cflags_saved=$CFLAGS
8533 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 int main(int argc, char **argv) { return 0; }
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 eval "$as_ac_var=yes"
8540 else
8541 eval "$as_ac_var=no"
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8547 eval ac_res=\$$as_ac_var
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8549 $as_echo "$ac_res" >&6; }
8550 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8551 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8552 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8556 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8557 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 ac_wine_try_cflags_saved=$CFLAGS
8561 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 int main(int argc, char **argv) { return 0; }
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 ac_cv_cflags__Wl___enable_new_dtags=yes
8568 else
8569 ac_cv_cflags__Wl___enable_new_dtags=no
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8576 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8577 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8578 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8581 LIBWINE_SHAREDLIB="libwine.so"
8583 LIBWINE_INSTALL_LIB="libwine.so"
8585 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8589 $as_echo_n "checking for -lEGL... " >&6; }
8590 if ${ac_cv_lib_soname_EGL+:} false; then :
8591 $as_echo_n "(cached) " >&6
8592 else
8593 ac_check_soname_save_LIBS=$LIBS
8594 LIBS="-lEGL $LIBS"
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8598 /* Override any GCC internal prototype to avoid an error.
8599 Use char because int might match the return type of a GCC
8600 builtin and then its argument prototype would still apply. */
8601 #ifdef __cplusplus
8602 extern "C"
8603 #endif
8604 char eglGetProcAddress ();
8606 main ()
8608 return eglGetProcAddress ();
8610 return 0;
8612 _ACEOF
8613 if ac_fn_c_try_link "$LINENO"; then :
8614 case "$LIBEXT" in
8615 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8616 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'` ;;
8617 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8618 if ${ac_cv_lib_soname_EGL:+false} :; then :
8619 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8620 fi ;;
8621 esac
8623 rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 LIBS=$ac_check_soname_save_LIBS
8627 if ${ac_cv_lib_soname_EGL:+false} :; then :
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8629 $as_echo "not found" >&6; }
8631 else
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8633 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8635 cat >>confdefs.h <<_ACEOF
8636 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8637 _ACEOF
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8642 $as_echo_n "checking for -lGLESv2... " >&6; }
8643 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8644 $as_echo_n "(cached) " >&6
8645 else
8646 ac_check_soname_save_LIBS=$LIBS
8647 LIBS="-lGLESv2 $LIBS"
8648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8649 /* end confdefs.h. */
8651 /* Override any GCC internal prototype to avoid an error.
8652 Use char because int might match the return type of a GCC
8653 builtin and then its argument prototype would still apply. */
8654 #ifdef __cplusplus
8655 extern "C"
8656 #endif
8657 char glFlush ();
8659 main ()
8661 return glFlush ();
8663 return 0;
8665 _ACEOF
8666 if ac_fn_c_try_link "$LINENO"; then :
8667 case "$LIBEXT" in
8668 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8669 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'` ;;
8670 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8671 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8672 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8673 fi ;;
8674 esac
8676 rm -f core conftest.err conftest.$ac_objext \
8677 conftest$ac_exeext conftest.$ac_ext
8678 LIBS=$ac_check_soname_save_LIBS
8680 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8682 $as_echo "not found" >&6; }
8684 else
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8686 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8688 cat >>confdefs.h <<_ACEOF
8689 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8690 _ACEOF
8695 if test "x$exec_prefix" = xNONE
8696 then
8697 case $host_cpu in
8698 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8699 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8700 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8701 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8702 esac
8707 DLLFLAGS="$DLLFLAGS -fPIC"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8709 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8710 if ${ac_cv_c_dll_gnuelf+:} false; then :
8711 $as_echo_n "(cached) " >&6
8712 else
8713 ac_wine_try_cflags_saved=$CFLAGS
8714 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717 void myfunc() {}
8718 _ACEOF
8719 if ac_fn_c_try_link "$LINENO"; then :
8720 ac_cv_c_dll_gnuelf="yes"
8721 else
8722 ac_cv_c_dll_gnuelf="no"
8724 rm -f core conftest.err conftest.$ac_objext \
8725 conftest$ac_exeext conftest.$ac_ext
8726 CFLAGS=$ac_wine_try_cflags_saved
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8729 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8730 if test "$ac_cv_c_dll_gnuelf" = "yes"
8731 then
8732 LIBWINE_LDFLAGS="-shared"
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8734 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8735 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 ac_wine_try_cflags_saved=$CFLAGS
8739 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 int main(int argc, char **argv) { return 0; }
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8746 else
8747 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 CFLAGS=$ac_wine_try_cflags_saved
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8754 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8755 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8756 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8757 else
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8759 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8760 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8761 $as_echo_n "(cached) " >&6
8762 else
8763 ac_wine_try_cflags_saved=$CFLAGS
8764 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8767 int main(int argc, char **argv) { return 0; }
8768 _ACEOF
8769 if ac_fn_c_try_link "$LINENO"; then :
8770 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8771 else
8772 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8774 rm -f core conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 CFLAGS=$ac_wine_try_cflags_saved
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8779 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8780 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8781 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8785 echo '{ global: *; };' >conftest.map
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8787 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8788 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 ac_wine_try_cflags_saved=$CFLAGS
8792 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 int main(int argc, char **argv) { return 0; }
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8799 else
8800 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 CFLAGS=$ac_wine_try_cflags_saved
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8807 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8808 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8809 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8811 rm -f conftest.map
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8814 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8815 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8816 $as_echo_n "(cached) " >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8822 int main(int argc, char **argv) { return 0; }
8823 _ACEOF
8824 if ac_fn_c_try_link "$LINENO"; then :
8825 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8826 else
8827 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8829 rm -f core conftest.err conftest.$ac_objext \
8830 conftest$ac_exeext conftest.$ac_ext
8831 CFLAGS=$ac_wine_try_cflags_saved
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8834 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8835 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8836 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8839 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8841 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8842 if eval \${$as_ac_var+:} false; then :
8843 $as_echo_n "(cached) " >&6
8844 else
8845 ac_wine_try_cflags_saved=$CFLAGS
8846 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8848 /* end confdefs.h. */
8849 int main(int argc, char **argv) { return 0; }
8850 _ACEOF
8851 if ac_fn_c_try_link "$LINENO"; then :
8852 eval "$as_ac_var=yes"
8853 else
8854 eval "$as_ac_var=no"
8856 rm -f core conftest.err conftest.$ac_objext \
8857 conftest$ac_exeext conftest.$ac_ext
8858 CFLAGS=$ac_wine_try_cflags_saved
8860 eval ac_res=\$$as_ac_var
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8862 $as_echo "$ac_res" >&6; }
8863 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8864 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8865 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8866 else
8867 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8869 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8870 if eval \${$as_ac_var+:} false; then :
8871 $as_echo_n "(cached) " >&6
8872 else
8873 ac_wine_try_cflags_saved=$CFLAGS
8874 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8877 int main(int argc, char **argv) { return 0; }
8878 _ACEOF
8879 if ac_fn_c_try_link "$LINENO"; then :
8880 eval "$as_ac_var=yes"
8881 else
8882 eval "$as_ac_var=no"
8884 rm -f core conftest.err conftest.$ac_objext \
8885 conftest$ac_exeext conftest.$ac_ext
8886 CFLAGS=$ac_wine_try_cflags_saved
8888 eval ac_res=\$$as_ac_var
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8890 $as_echo "$ac_res" >&6; }
8891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8892 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8893 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8898 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8899 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8900 $as_echo_n "(cached) " >&6
8901 else
8902 ac_wine_try_cflags_saved=$CFLAGS
8903 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8906 int main(int argc, char **argv) { return 0; }
8907 _ACEOF
8908 if ac_fn_c_try_link "$LINENO"; then :
8909 ac_cv_cflags__Wl___enable_new_dtags=yes
8910 else
8911 ac_cv_cflags__Wl___enable_new_dtags=no
8913 rm -f core conftest.err conftest.$ac_objext \
8914 conftest$ac_exeext conftest.$ac_ext
8915 CFLAGS=$ac_wine_try_cflags_saved
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8918 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8919 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8920 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8923 case $host_cpu in
8924 *i[3456789]86* | x86_64 | *aarch64*)
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8926 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8927 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 ac_wine_try_cflags_saved=$CFLAGS
8931 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8933 /* end confdefs.h. */
8934 int main(int argc, char **argv) { return 0; }
8935 _ACEOF
8936 if ac_fn_c_try_link "$LINENO"; then :
8937 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8938 else
8939 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8941 rm -f core conftest.err conftest.$ac_objext \
8942 conftest$ac_exeext conftest.$ac_ext
8943 CFLAGS=$ac_wine_try_cflags_saved
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8946 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8947 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8948 case $host_os in
8949 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8950 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8951 esac
8952 else
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8954 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8955 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8956 $as_echo_n "(cached) " >&6
8957 else
8958 ac_wine_try_cflags_saved=$CFLAGS
8959 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8961 /* end confdefs.h. */
8962 int main(int argc, char **argv) { return 0; }
8963 _ACEOF
8964 if ac_fn_c_try_link "$LINENO"; then :
8965 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8966 else
8967 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8969 rm -f core conftest.err conftest.$ac_objext \
8970 conftest$ac_exeext conftest.$ac_ext
8971 CFLAGS=$ac_wine_try_cflags_saved
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8974 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8975 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8976 case $host_os in
8977 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8978 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8979 esac
8981 # Extract the first word of "prelink", so it can be a program name with args.
8982 set dummy prelink; ac_word=$2
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8984 $as_echo_n "checking for $ac_word... " >&6; }
8985 if ${ac_cv_path_PRELINK+:} false; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 case $PRELINK in
8989 [\\/]* | ?:[\\/]*)
8990 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8994 for as_dir in /sbin /usr/sbin $PATH
8996 IFS=$as_save_IFS
8997 test -z "$as_dir" && as_dir=.
8998 for ac_exec_ext in '' $ac_executable_extensions; do
8999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9000 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9002 break 2
9004 done
9005 done
9006 IFS=$as_save_IFS
9008 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9010 esac
9012 PRELINK=$ac_cv_path_PRELINK
9013 if test -n "$PRELINK"; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9015 $as_echo "$PRELINK" >&6; }
9016 else
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9018 $as_echo "no" >&6; }
9022 if test "x$PRELINK" = xfalse
9023 then
9024 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9028 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9029 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9030 $as_echo_n "(cached) " >&6
9031 else
9032 ac_wine_try_cflags_saved=$CFLAGS
9033 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9035 /* end confdefs.h. */
9036 int main(int argc, char **argv) { return 0; }
9037 _ACEOF
9038 if ac_fn_c_try_link "$LINENO"; then :
9039 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9040 else
9041 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9043 rm -f core conftest.err conftest.$ac_objext \
9044 conftest$ac_exeext conftest.$ac_ext
9045 CFLAGS=$ac_wine_try_cflags_saved
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9048 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9049 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9050 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9053 esac
9055 else
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9057 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9058 if ${ac_cv_c_dll_unixware+:} false; then :
9059 $as_echo_n "(cached) " >&6
9060 else
9061 ac_wine_try_cflags_saved=$CFLAGS
9062 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064 /* end confdefs.h. */
9065 void myfunc() {}
9066 _ACEOF
9067 if ac_fn_c_try_link "$LINENO"; then :
9068 ac_cv_c_dll_unixware="yes"
9069 else
9070 ac_cv_c_dll_unixware="no"
9072 rm -f core conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 CFLAGS=$ac_wine_try_cflags_saved
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9077 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9078 if test "$ac_cv_c_dll_unixware" = "yes"
9079 then
9080 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9083 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9085 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9087 LIBWINE_INSTALL_DEV="libwine.so"
9089 LIBWINE_DEPENDS="wine.map"
9092 esac
9094 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9095 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9096 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9097 enable_winemac_drv=${enable_winemac_drv:-no}
9098 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9100 CROSSTARGET=""
9102 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9103 then
9104 case "$host_cpu" in
9105 arm*)
9106 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9107 i[3456789]86*)
9108 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
9109 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9110 mingw32-gcc" ;;
9111 x86_64)
9112 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
9113 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9115 ac_prefix_list="" ;;
9116 esac
9117 for ac_prog in $ac_prefix_list
9119 # Extract the first word of "$ac_prog", so it can be a program name with args.
9120 set dummy $ac_prog; ac_word=$2
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9122 $as_echo_n "checking for $ac_word... " >&6; }
9123 if ${ac_cv_prog_CROSSCC+:} false; then :
9124 $as_echo_n "(cached) " >&6
9125 else
9126 if test -n "$CROSSCC"; then
9127 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9128 else
9129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9130 for as_dir in $PATH
9132 IFS=$as_save_IFS
9133 test -z "$as_dir" && as_dir=.
9134 for ac_exec_ext in '' $ac_executable_extensions; do
9135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9136 ac_cv_prog_CROSSCC="$ac_prog"
9137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9138 break 2
9140 done
9141 done
9142 IFS=$as_save_IFS
9146 CROSSCC=$ac_cv_prog_CROSSCC
9147 if test -n "$CROSSCC"; then
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9149 $as_echo "$CROSSCC" >&6; }
9150 else
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9152 $as_echo "no" >&6; }
9156 test -n "$CROSSCC" && break
9157 done
9158 test -n "$CROSSCC" || CROSSCC="false"
9160 if test "$CROSSCC" != "false"
9161 then
9162 ac_save_CC="$CC"
9163 CC="$CROSSCC"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9165 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9170 main ()
9174 return 0;
9176 _ACEOF
9177 if ac_fn_c_try_compile "$LINENO"; then :
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9179 $as_echo "yes" >&6; }
9180 set x $CROSSCC
9181 shift
9182 while test $# -ge 1
9184 case "$1" in
9185 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9186 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9187 esac
9188 shift
9189 done
9190 else
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9192 $as_echo "no" >&6; }
9194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9195 CC="$ac_save_CC"
9196 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9202 if test "$ac_cv_header_pthread_h" = "yes"
9203 then
9204 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9205 if test "x$ac_cv_func_pthread_create" = xyes; then :
9207 else
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9209 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9210 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9211 $as_echo_n "(cached) " >&6
9212 else
9213 ac_check_lib_save_LIBS=$LIBS
9214 LIBS="-lpthread $LIBS"
9215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h. */
9218 /* Override any GCC internal prototype to avoid an error.
9219 Use char because int might match the return type of a GCC
9220 builtin and then its argument prototype would still apply. */
9221 #ifdef __cplusplus
9222 extern "C"
9223 #endif
9224 char pthread_create ();
9226 main ()
9228 return pthread_create ();
9230 return 0;
9232 _ACEOF
9233 if ac_fn_c_try_link "$LINENO"; then :
9234 ac_cv_lib_pthread_pthread_create=yes
9235 else
9236 ac_cv_lib_pthread_pthread_create=no
9238 rm -f core conftest.err conftest.$ac_objext \
9239 conftest$ac_exeext conftest.$ac_ext
9240 LIBS=$ac_check_lib_save_LIBS
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9243 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9244 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9245 PTHREAD_LIBS="-lpthread"
9252 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9253 case "x$with_pthread" in
9254 xno) ;;
9255 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9256 Wine cannot support threads without libpthread.
9257 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9258 esac
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9264 $as_echo_n "checking for X... " >&6; }
9267 # Check whether --with-x was given.
9268 if test "${with_x+set}" = set; then :
9269 withval=$with_x;
9272 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9273 if test "x$with_x" = xno; then
9274 # The user explicitly disabled X.
9275 have_x=disabled
9276 else
9277 case $x_includes,$x_libraries in #(
9278 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9279 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9280 $as_echo_n "(cached) " >&6
9281 else
9282 # One or both of the vars are not set, and there is no cached value.
9283 ac_x_includes=no ac_x_libraries=no
9284 rm -f -r conftest.dir
9285 if mkdir conftest.dir; then
9286 cd conftest.dir
9287 cat >Imakefile <<'_ACEOF'
9288 incroot:
9289 @echo incroot='${INCROOT}'
9290 usrlibdir:
9291 @echo usrlibdir='${USRLIBDIR}'
9292 libdir:
9293 @echo libdir='${LIBDIR}'
9294 _ACEOF
9295 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9296 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9297 for ac_var in incroot usrlibdir libdir; do
9298 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9299 done
9300 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9301 for ac_extension in a so sl dylib la dll; do
9302 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9303 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9304 ac_im_usrlibdir=$ac_im_libdir; break
9306 done
9307 # Screen out bogus values from the imake configuration. They are
9308 # bogus both because they are the default anyway, and because
9309 # using them would break gcc on systems where it needs fixed includes.
9310 case $ac_im_incroot in
9311 /usr/include) ac_x_includes= ;;
9312 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9313 esac
9314 case $ac_im_usrlibdir in
9315 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9316 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9317 esac
9319 cd ..
9320 rm -f -r conftest.dir
9323 # Standard set of common directories for X headers.
9324 # Check X11 before X11Rn because it is often a symlink to the current release.
9325 ac_x_header_dirs='
9326 /usr/X11/include
9327 /usr/X11R7/include
9328 /usr/X11R6/include
9329 /usr/X11R5/include
9330 /usr/X11R4/include
9332 /usr/include/X11
9333 /usr/include/X11R7
9334 /usr/include/X11R6
9335 /usr/include/X11R5
9336 /usr/include/X11R4
9338 /usr/local/X11/include
9339 /usr/local/X11R7/include
9340 /usr/local/X11R6/include
9341 /usr/local/X11R5/include
9342 /usr/local/X11R4/include
9344 /usr/local/include/X11
9345 /usr/local/include/X11R7
9346 /usr/local/include/X11R6
9347 /usr/local/include/X11R5
9348 /usr/local/include/X11R4
9350 /usr/X386/include
9351 /usr/x386/include
9352 /usr/XFree86/include/X11
9354 /usr/include
9355 /usr/local/include
9356 /usr/unsupported/include
9357 /usr/athena/include
9358 /usr/local/x11r5/include
9359 /usr/lpp/Xamples/include
9361 /usr/openwin/include
9362 /usr/openwin/share/include'
9364 if test "$ac_x_includes" = no; then
9365 # Guess where to find include files, by looking for Xlib.h.
9366 # First, try using that file with no special directory specified.
9367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9369 #include <X11/Xlib.h>
9370 _ACEOF
9371 if ac_fn_c_try_cpp "$LINENO"; then :
9372 # We can compile using X headers with no special include directory.
9373 ac_x_includes=
9374 else
9375 for ac_dir in $ac_x_header_dirs; do
9376 if test -r "$ac_dir/X11/Xlib.h"; then
9377 ac_x_includes=$ac_dir
9378 break
9380 done
9382 rm -f conftest.err conftest.i conftest.$ac_ext
9383 fi # $ac_x_includes = no
9385 if test "$ac_x_libraries" = no; then
9386 # Check for the libraries.
9387 # See if we find them without any special options.
9388 # Don't add to $LIBS permanently.
9389 ac_save_LIBS=$LIBS
9390 LIBS="-lX11 $LIBS"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9393 #include <X11/Xlib.h>
9395 main ()
9397 XrmInitialize ()
9399 return 0;
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 LIBS=$ac_save_LIBS
9404 # We can link X programs with no special library path.
9405 ac_x_libraries=
9406 else
9407 LIBS=$ac_save_LIBS
9408 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9410 # Don't even attempt the hair of trying to link an X program!
9411 for ac_extension in a so sl dylib la dll; do
9412 if test -r "$ac_dir/libX11.$ac_extension"; then
9413 ac_x_libraries=$ac_dir
9414 break 2
9416 done
9417 done
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 fi # $ac_x_libraries = no
9423 case $ac_x_includes,$ac_x_libraries in #(
9424 no,* | *,no | *\'*)
9425 # Didn't find X, or a directory has "'" in its name.
9426 ac_cv_have_x="have_x=no";; #(
9428 # Record where we found X for the cache.
9429 ac_cv_have_x="have_x=yes\
9430 ac_x_includes='$ac_x_includes'\
9431 ac_x_libraries='$ac_x_libraries'"
9432 esac
9434 ;; #(
9435 *) have_x=yes;;
9436 esac
9437 eval "$ac_cv_have_x"
9438 fi # $with_x != no
9440 if test "$have_x" != yes; then
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9442 $as_echo "$have_x" >&6; }
9443 no_x=yes
9444 else
9445 # If each of the values was on the command line, it overrides each guess.
9446 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9447 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9448 # Update the cache value to reflect the command line values.
9449 ac_cv_have_x="have_x=yes\
9450 ac_x_includes='$x_includes'\
9451 ac_x_libraries='$x_libraries'"
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9453 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9456 if test "$no_x" = yes; then
9457 # Not all programs may use this symbol, but it does not hurt to define it.
9459 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9461 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9462 else
9463 if test -n "$x_includes"; then
9464 X_CFLAGS="$X_CFLAGS -I$x_includes"
9467 # It would also be nice to do this for all -L options, not just this one.
9468 if test -n "$x_libraries"; then
9469 X_LIBS="$X_LIBS -L$x_libraries"
9470 # For Solaris; some versions of Sun CC require a space after -R and
9471 # others require no space. Words are not sufficient . . . .
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9473 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9474 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9475 ac_xsave_c_werror_flag=$ac_c_werror_flag
9476 ac_c_werror_flag=yes
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9481 main ()
9485 return 0;
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9490 $as_echo "no" >&6; }
9491 X_LIBS="$X_LIBS -R$x_libraries"
9492 else
9493 LIBS="$ac_xsave_LIBS -R $x_libraries"
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9498 main ()
9502 return 0;
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9507 $as_echo "yes" >&6; }
9508 X_LIBS="$X_LIBS -R $x_libraries"
9509 else
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9511 $as_echo "neither works" >&6; }
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 ac_c_werror_flag=$ac_xsave_c_werror_flag
9519 LIBS=$ac_xsave_LIBS
9522 # Check for system-dependent libraries X programs must link with.
9523 # Do this before checking for the system-independent R6 libraries
9524 # (-lICE), since we may need -lsocket or whatever for X linking.
9526 if test "$ISC" = yes; then
9527 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9528 else
9529 # Martyn Johnson says this is needed for Ultrix, if the X
9530 # libraries were built with DECnet support. And Karl Berry says
9531 # the Alpha needs dnet_stub (dnet does not exist).
9532 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9539 #ifdef __cplusplus
9540 extern "C"
9541 #endif
9542 char XOpenDisplay ();
9544 main ()
9546 return XOpenDisplay ();
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9553 else
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9555 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9556 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9557 $as_echo_n "(cached) " >&6
9558 else
9559 ac_check_lib_save_LIBS=$LIBS
9560 LIBS="-ldnet $LIBS"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9564 /* Override any GCC internal prototype to avoid an error.
9565 Use char because int might match the return type of a GCC
9566 builtin and then its argument prototype would still apply. */
9567 #ifdef __cplusplus
9568 extern "C"
9569 #endif
9570 char dnet_ntoa ();
9572 main ()
9574 return dnet_ntoa ();
9576 return 0;
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580 ac_cv_lib_dnet_dnet_ntoa=yes
9581 else
9582 ac_cv_lib_dnet_dnet_ntoa=no
9584 rm -f core conftest.err conftest.$ac_objext \
9585 conftest$ac_exeext conftest.$ac_ext
9586 LIBS=$ac_check_lib_save_LIBS
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9589 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9590 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9591 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9594 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9596 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9597 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_check_lib_save_LIBS=$LIBS
9601 LIBS="-ldnet_stub $LIBS"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9605 /* Override any GCC internal prototype to avoid an error.
9606 Use char because int might match the return type of a GCC
9607 builtin and then its argument prototype would still apply. */
9608 #ifdef __cplusplus
9609 extern "C"
9610 #endif
9611 char dnet_ntoa ();
9613 main ()
9615 return dnet_ntoa ();
9617 return 0;
9619 _ACEOF
9620 if ac_fn_c_try_link "$LINENO"; then :
9621 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9622 else
9623 ac_cv_lib_dnet_stub_dnet_ntoa=no
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_lib_save_LIBS
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9630 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9631 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9632 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9637 rm -f core conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 LIBS="$ac_xsave_LIBS"
9641 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9642 # to get the SysV transport functions.
9643 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9644 # needs -lnsl.
9645 # The nsl library prevents programs from opening the X display
9646 # on Irix 5.2, according to T.E. Dickey.
9647 # The functions gethostbyname, getservbyname, and inet_addr are
9648 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9649 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9650 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9654 if test $ac_cv_func_gethostbyname = no; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9656 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9657 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_check_lib_save_LIBS=$LIBS
9661 LIBS="-lnsl $LIBS"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9668 #ifdef __cplusplus
9669 extern "C"
9670 #endif
9671 char gethostbyname ();
9673 main ()
9675 return gethostbyname ();
9677 return 0;
9679 _ACEOF
9680 if ac_fn_c_try_link "$LINENO"; then :
9681 ac_cv_lib_nsl_gethostbyname=yes
9682 else
9683 ac_cv_lib_nsl_gethostbyname=no
9685 rm -f core conftest.err conftest.$ac_objext \
9686 conftest$ac_exeext conftest.$ac_ext
9687 LIBS=$ac_check_lib_save_LIBS
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9690 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9691 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9692 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9695 if test $ac_cv_lib_nsl_gethostbyname = no; then
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9697 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9698 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9699 $as_echo_n "(cached) " >&6
9700 else
9701 ac_check_lib_save_LIBS=$LIBS
9702 LIBS="-lbsd $LIBS"
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9709 #ifdef __cplusplus
9710 extern "C"
9711 #endif
9712 char gethostbyname ();
9714 main ()
9716 return gethostbyname ();
9718 return 0;
9720 _ACEOF
9721 if ac_fn_c_try_link "$LINENO"; then :
9722 ac_cv_lib_bsd_gethostbyname=yes
9723 else
9724 ac_cv_lib_bsd_gethostbyname=no
9726 rm -f core conftest.err conftest.$ac_objext \
9727 conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_lib_save_LIBS
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9731 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9732 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9733 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9739 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9740 # socket/setsockopt and other routines are undefined under SCO ODT
9741 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9742 # on later versions), says Simon Leinen: it contains gethostby*
9743 # variants that don't use the name server (or something). -lsocket
9744 # must be given before -lnsl if both are needed. We assume that
9745 # if connect needs -lnsl, so does gethostbyname.
9746 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9747 if test "x$ac_cv_func_connect" = xyes; then :
9751 if test $ac_cv_func_connect = no; then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9753 $as_echo_n "checking for connect in -lsocket... " >&6; }
9754 if ${ac_cv_lib_socket_connect+:} false; then :
9755 $as_echo_n "(cached) " >&6
9756 else
9757 ac_check_lib_save_LIBS=$LIBS
9758 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9762 /* Override any GCC internal prototype to avoid an error.
9763 Use char because int might match the return type of a GCC
9764 builtin and then its argument prototype would still apply. */
9765 #ifdef __cplusplus
9766 extern "C"
9767 #endif
9768 char connect ();
9770 main ()
9772 return connect ();
9774 return 0;
9776 _ACEOF
9777 if ac_fn_c_try_link "$LINENO"; then :
9778 ac_cv_lib_socket_connect=yes
9779 else
9780 ac_cv_lib_socket_connect=no
9782 rm -f core conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 LIBS=$ac_check_lib_save_LIBS
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9787 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9788 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9789 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9794 # Guillermo Gomez says -lposix is necessary on A/UX.
9795 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9796 if test "x$ac_cv_func_remove" = xyes; then :
9800 if test $ac_cv_func_remove = no; then
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9802 $as_echo_n "checking for remove in -lposix... " >&6; }
9803 if ${ac_cv_lib_posix_remove+:} false; then :
9804 $as_echo_n "(cached) " >&6
9805 else
9806 ac_check_lib_save_LIBS=$LIBS
9807 LIBS="-lposix $LIBS"
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9811 /* Override any GCC internal prototype to avoid an error.
9812 Use char because int might match the return type of a GCC
9813 builtin and then its argument prototype would still apply. */
9814 #ifdef __cplusplus
9815 extern "C"
9816 #endif
9817 char remove ();
9819 main ()
9821 return remove ();
9823 return 0;
9825 _ACEOF
9826 if ac_fn_c_try_link "$LINENO"; then :
9827 ac_cv_lib_posix_remove=yes
9828 else
9829 ac_cv_lib_posix_remove=no
9831 rm -f core conftest.err conftest.$ac_objext \
9832 conftest$ac_exeext conftest.$ac_ext
9833 LIBS=$ac_check_lib_save_LIBS
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9836 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9837 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9838 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9843 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9844 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9845 if test "x$ac_cv_func_shmat" = xyes; then :
9849 if test $ac_cv_func_shmat = no; then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9851 $as_echo_n "checking for shmat in -lipc... " >&6; }
9852 if ${ac_cv_lib_ipc_shmat+:} false; then :
9853 $as_echo_n "(cached) " >&6
9854 else
9855 ac_check_lib_save_LIBS=$LIBS
9856 LIBS="-lipc $LIBS"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9860 /* Override any GCC internal prototype to avoid an error.
9861 Use char because int might match the return type of a GCC
9862 builtin and then its argument prototype would still apply. */
9863 #ifdef __cplusplus
9864 extern "C"
9865 #endif
9866 char shmat ();
9868 main ()
9870 return shmat ();
9872 return 0;
9874 _ACEOF
9875 if ac_fn_c_try_link "$LINENO"; then :
9876 ac_cv_lib_ipc_shmat=yes
9877 else
9878 ac_cv_lib_ipc_shmat=no
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9885 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9886 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9887 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9893 # Check for libraries that X11R6 Xt/Xaw programs need.
9894 ac_save_LDFLAGS=$LDFLAGS
9895 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9896 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9897 # check for ICE first), but we must link in the order -lSM -lICE or
9898 # we get undefined symbols. So assume we have SM if we have ICE.
9899 # These have to be linked with before -lX11, unlike the other
9900 # libraries we check for below, so use a different variable.
9901 # John Interrante, Karl Berry
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9903 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9904 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_check_lib_save_LIBS=$LIBS
9908 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9915 #ifdef __cplusplus
9916 extern "C"
9917 #endif
9918 char IceConnectionNumber ();
9920 main ()
9922 return IceConnectionNumber ();
9924 return 0;
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 ac_cv_lib_ICE_IceConnectionNumber=yes
9929 else
9930 ac_cv_lib_ICE_IceConnectionNumber=no
9932 rm -f core conftest.err conftest.$ac_objext \
9933 conftest$ac_exeext conftest.$ac_ext
9934 LIBS=$ac_check_lib_save_LIBS
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9937 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9938 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9939 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9942 LDFLAGS=$ac_save_LDFLAGS
9947 if test "$have_x" = "yes"
9948 then
9949 ac_save_CPPFLAGS="$CPPFLAGS"
9950 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9953 $as_echo_n "checking for -lX11... " >&6; }
9954 if ${ac_cv_lib_soname_X11+:} false; then :
9955 $as_echo_n "(cached) " >&6
9956 else
9957 ac_check_soname_save_LIBS=$LIBS
9958 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9962 /* Override any GCC internal prototype to avoid an error.
9963 Use char because int might match the return type of a GCC
9964 builtin and then its argument prototype would still apply. */
9965 #ifdef __cplusplus
9966 extern "C"
9967 #endif
9968 char XCreateWindow ();
9970 main ()
9972 return XCreateWindow ();
9974 return 0;
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 case "$LIBEXT" in
9979 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9980 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'` ;;
9981 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9982 if ${ac_cv_lib_soname_X11:+false} :; then :
9983 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9984 fi ;;
9985 esac
9987 rm -f core conftest.err conftest.$ac_objext \
9988 conftest$ac_exeext conftest.$ac_ext
9989 LIBS=$ac_check_soname_save_LIBS
9991 if ${ac_cv_lib_soname_X11:+false} :; then :
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9993 $as_echo "not found" >&6; }
9995 else
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9997 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9999 cat >>confdefs.h <<_ACEOF
10000 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10001 _ACEOF
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10006 $as_echo_n "checking for -lXext... " >&6; }
10007 if ${ac_cv_lib_soname_Xext+:} false; then :
10008 $as_echo_n "(cached) " >&6
10009 else
10010 ac_check_soname_save_LIBS=$LIBS
10011 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013 /* end confdefs.h. */
10015 /* Override any GCC internal prototype to avoid an error.
10016 Use char because int might match the return type of a GCC
10017 builtin and then its argument prototype would still apply. */
10018 #ifdef __cplusplus
10019 extern "C"
10020 #endif
10021 char XextCreateExtension ();
10023 main ()
10025 return XextCreateExtension ();
10027 return 0;
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"; then :
10031 case "$LIBEXT" in
10032 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10033 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'` ;;
10034 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10035 if ${ac_cv_lib_soname_Xext:+false} :; then :
10036 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10037 fi ;;
10038 esac
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 LIBS=$ac_check_soname_save_LIBS
10044 if ${ac_cv_lib_soname_Xext:+false} :; then :
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10046 $as_echo "not found" >&6; }
10048 else
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10050 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10052 cat >>confdefs.h <<_ACEOF
10053 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10054 _ACEOF
10056 X_LIBS="$X_LIBS -lXext"
10058 X_LIBS="$X_LIBS -lX11"
10060 for ac_header in X11/Xlib.h \
10061 X11/XKBlib.h \
10062 X11/Xutil.h \
10063 X11/Xcursor/Xcursor.h \
10064 X11/extensions/shape.h \
10065 X11/extensions/XInput.h \
10066 X11/extensions/XInput2.h \
10067 X11/extensions/XShm.h \
10068 X11/extensions/Xcomposite.h \
10069 X11/extensions/Xfixes.h \
10070 X11/extensions/Xinerama.h \
10071 X11/extensions/Xrandr.h \
10072 X11/extensions/Xrender.h \
10073 X11/extensions/xf86vmode.h \
10074 X11/extensions/xf86vmproto.h
10075 do :
10076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10077 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10078 # include <X11/Xlib.h>
10079 #endif
10080 #ifdef HAVE_X11_XUTIL_H
10081 # include <X11/Xutil.h>
10082 #endif
10084 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10085 cat >>confdefs.h <<_ACEOF
10086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10087 _ACEOF
10091 done
10094 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10095 then
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10097 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10098 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10099 $as_echo_n "(cached) " >&6
10100 else
10101 ac_check_lib_save_LIBS=$LIBS
10102 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10106 /* Override any GCC internal prototype to avoid an error.
10107 Use char because int might match the return type of a GCC
10108 builtin and then its argument prototype would still apply. */
10109 #ifdef __cplusplus
10110 extern "C"
10111 #endif
10112 char XkbQueryExtension ();
10114 main ()
10116 return XkbQueryExtension ();
10118 return 0;
10120 _ACEOF
10121 if ac_fn_c_try_link "$LINENO"; then :
10122 ac_cv_lib_X11_XkbQueryExtension=yes
10123 else
10124 ac_cv_lib_X11_XkbQueryExtension=no
10126 rm -f core conftest.err conftest.$ac_objext \
10127 conftest$ac_exeext conftest.$ac_ext
10128 LIBS=$ac_check_lib_save_LIBS
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10131 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10132 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10134 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10140 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10141 then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10143 $as_echo_n "checking for -lXcursor... " >&6; }
10144 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_check_soname_save_LIBS=$LIBS
10148 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10155 #ifdef __cplusplus
10156 extern "C"
10157 #endif
10158 char XcursorImageLoadCursor ();
10160 main ()
10162 return XcursorImageLoadCursor ();
10164 return 0;
10166 _ACEOF
10167 if ac_fn_c_try_link "$LINENO"; then :
10168 case "$LIBEXT" in
10169 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10170 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'` ;;
10171 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10172 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10173 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10174 fi ;;
10175 esac
10177 rm -f core conftest.err conftest.$ac_objext \
10178 conftest$ac_exeext conftest.$ac_ext
10179 LIBS=$ac_check_soname_save_LIBS
10181 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10183 $as_echo "not found" >&6; }
10185 else
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10187 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10189 cat >>confdefs.h <<_ACEOF
10190 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10191 _ACEOF
10196 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10197 case "x$with_xcursor" in
10198 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10199 xno) ;;
10200 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10201 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10202 esac
10206 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10207 then
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10209 $as_echo_n "checking for -lXi... " >&6; }
10210 if ${ac_cv_lib_soname_Xi+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_check_soname_save_LIBS=$LIBS
10214 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10218 /* Override any GCC internal prototype to avoid an error.
10219 Use char because int might match the return type of a GCC
10220 builtin and then its argument prototype would still apply. */
10221 #ifdef __cplusplus
10222 extern "C"
10223 #endif
10224 char XOpenDevice ();
10226 main ()
10228 return XOpenDevice ();
10230 return 0;
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"; then :
10234 case "$LIBEXT" in
10235 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10236 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'` ;;
10237 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10238 if ${ac_cv_lib_soname_Xi:+false} :; then :
10239 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10240 fi ;;
10241 esac
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LIBS=$ac_check_soname_save_LIBS
10247 if ${ac_cv_lib_soname_Xi:+false} :; then :
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10249 $as_echo "not found" >&6; }
10251 else
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10253 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10255 cat >>confdefs.h <<_ACEOF
10256 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10257 _ACEOF
10262 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10263 case "x$with_xinput" in
10264 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10265 xno) ;;
10266 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10267 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10268 esac
10272 if test "x$ac_cv_lib_soname_Xi" != x
10273 then
10274 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10275 case "x$with_xinput2" in
10276 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10277 xno) ;;
10278 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10279 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10280 esac
10285 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10286 then
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10288 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10289 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10290 $as_echo_n "(cached) " >&6
10291 else
10292 ac_check_lib_save_LIBS=$LIBS
10293 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10297 /* Override any GCC internal prototype to avoid an error.
10298 Use char because int might match the return type of a GCC
10299 builtin and then its argument prototype would still apply. */
10300 #ifdef __cplusplus
10301 extern "C"
10302 #endif
10303 char XShmQueryExtension ();
10305 main ()
10307 return XShmQueryExtension ();
10309 return 0;
10311 _ACEOF
10312 if ac_fn_c_try_link "$LINENO"; then :
10313 ac_cv_lib_Xext_XShmQueryExtension=yes
10314 else
10315 ac_cv_lib_Xext_XShmQueryExtension=no
10317 rm -f core conftest.err conftest.$ac_objext \
10318 conftest$ac_exeext conftest.$ac_ext
10319 LIBS=$ac_check_lib_save_LIBS
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10322 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10323 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10325 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10330 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10331 case "x$with_xshm" in
10332 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10333 xno) ;;
10334 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10335 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10336 esac
10340 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10341 then
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10343 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10344 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10345 $as_echo_n "(cached) " >&6
10346 else
10347 ac_check_lib_save_LIBS=$LIBS
10348 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10352 /* Override any GCC internal prototype to avoid an error.
10353 Use char because int might match the return type of a GCC
10354 builtin and then its argument prototype would still apply. */
10355 #ifdef __cplusplus
10356 extern "C"
10357 #endif
10358 char XShapeQueryExtension ();
10360 main ()
10362 return XShapeQueryExtension ();
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_link "$LINENO"; then :
10368 ac_cv_lib_Xext_XShapeQueryExtension=yes
10369 else
10370 ac_cv_lib_Xext_XShapeQueryExtension=no
10372 rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 LIBS=$ac_check_lib_save_LIBS
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10377 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10378 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10380 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10385 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10386 case "x$with_xshape" in
10387 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10388 xno) ;;
10389 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10390 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10391 esac
10395 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10396 then
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10398 $as_echo_n "checking for -lXxf86vm... " >&6; }
10399 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10400 $as_echo_n "(cached) " >&6
10401 else
10402 ac_check_soname_save_LIBS=$LIBS
10403 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10405 /* end confdefs.h. */
10407 /* Override any GCC internal prototype to avoid an error.
10408 Use char because int might match the return type of a GCC
10409 builtin and then its argument prototype would still apply. */
10410 #ifdef __cplusplus
10411 extern "C"
10412 #endif
10413 char XF86VidModeQueryExtension ();
10415 main ()
10417 return XF86VidModeQueryExtension ();
10419 return 0;
10421 _ACEOF
10422 if ac_fn_c_try_link "$LINENO"; then :
10423 case "$LIBEXT" in
10424 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10425 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'` ;;
10426 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10427 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10428 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10429 fi ;;
10430 esac
10432 rm -f core conftest.err conftest.$ac_objext \
10433 conftest$ac_exeext conftest.$ac_ext
10434 LIBS=$ac_check_soname_save_LIBS
10436 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10438 $as_echo "not found" >&6; }
10440 else
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10442 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10444 cat >>confdefs.h <<_ACEOF
10445 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10446 _ACEOF
10451 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10452 case "x$with_xxf86vm" in
10453 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10454 xno) ;;
10455 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10456 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10457 esac
10461 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10462 then
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10464 $as_echo_n "checking for -lXrender... " >&6; }
10465 if ${ac_cv_lib_soname_Xrender+:} false; then :
10466 $as_echo_n "(cached) " >&6
10467 else
10468 ac_check_soname_save_LIBS=$LIBS
10469 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10473 /* Override any GCC internal prototype to avoid an error.
10474 Use char because int might match the return type of a GCC
10475 builtin and then its argument prototype would still apply. */
10476 #ifdef __cplusplus
10477 extern "C"
10478 #endif
10479 char XRenderQueryExtension ();
10481 main ()
10483 return XRenderQueryExtension ();
10485 return 0;
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"; then :
10489 case "$LIBEXT" in
10490 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10491 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'` ;;
10492 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10493 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10494 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10495 fi ;;
10496 esac
10498 rm -f core conftest.err conftest.$ac_objext \
10499 conftest$ac_exeext conftest.$ac_ext
10500 LIBS=$ac_check_soname_save_LIBS
10502 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10504 $as_echo "not found" >&6; }
10506 else
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10508 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10510 cat >>confdefs.h <<_ACEOF
10511 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10512 _ACEOF
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10515 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10516 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_check_lib_save_LIBS=$LIBS
10520 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10527 #ifdef __cplusplus
10528 extern "C"
10529 #endif
10530 char XRenderSetPictureTransform ();
10532 main ()
10534 return XRenderSetPictureTransform ();
10536 return 0;
10538 _ACEOF
10539 if ac_fn_c_try_link "$LINENO"; then :
10540 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10541 else
10542 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10544 rm -f core conftest.err conftest.$ac_objext \
10545 conftest$ac_exeext conftest.$ac_ext
10546 LIBS=$ac_check_lib_save_LIBS
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10549 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10550 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10552 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10557 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10558 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 ac_check_lib_save_LIBS=$LIBS
10562 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10569 #ifdef __cplusplus
10570 extern "C"
10571 #endif
10572 char XRenderCreateLinearGradient ();
10574 main ()
10576 return XRenderCreateLinearGradient ();
10578 return 0;
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10583 else
10584 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_lib_save_LIBS
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10591 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10592 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10594 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10601 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10602 case "x$with_xrender" in
10603 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10604 xno) ;;
10605 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10606 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10607 esac
10611 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10612 then
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10615 #include <X11/Xlib.h>
10616 #include <X11/extensions/Xrandr.h>
10618 main ()
10620 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10622 return 0;
10624 _ACEOF
10625 if ac_fn_c_try_compile "$LINENO"; then :
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10627 $as_echo_n "checking for -lXrandr... " >&6; }
10628 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10629 $as_echo_n "(cached) " >&6
10630 else
10631 ac_check_soname_save_LIBS=$LIBS
10632 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10636 /* Override any GCC internal prototype to avoid an error.
10637 Use char because int might match the return type of a GCC
10638 builtin and then its argument prototype would still apply. */
10639 #ifdef __cplusplus
10640 extern "C"
10641 #endif
10642 char XRRQueryExtension ();
10644 main ()
10646 return XRRQueryExtension ();
10648 return 0;
10650 _ACEOF
10651 if ac_fn_c_try_link "$LINENO"; then :
10652 case "$LIBEXT" in
10653 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10654 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'` ;;
10655 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10656 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10657 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10658 fi ;;
10659 esac
10661 rm -f core conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10663 LIBS=$ac_check_soname_save_LIBS
10665 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10667 $as_echo "not found" >&6; }
10669 else
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10671 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10673 cat >>confdefs.h <<_ACEOF
10674 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10675 _ACEOF
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10679 #include <X11/Xlib.h>
10680 #include <X11/extensions/Xrandr.h>
10682 main ()
10684 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10686 return 0;
10688 _ACEOF
10689 if ac_fn_c_try_compile "$LINENO"; then :
10691 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10699 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10700 case "x$with_xrandr" in
10701 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10702 xno) ;;
10703 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10704 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10705 esac
10709 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10710 then
10711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10713 #include <X11/Xlib.h>
10714 #include <X11/extensions/Xfixes.h>
10716 main ()
10718 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10720 return 0;
10722 _ACEOF
10723 if ac_fn_c_try_compile "$LINENO"; then :
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10725 $as_echo_n "checking for -lXfixes... " >&6; }
10726 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10727 $as_echo_n "(cached) " >&6
10728 else
10729 ac_check_soname_save_LIBS=$LIBS
10730 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10737 #ifdef __cplusplus
10738 extern "C"
10739 #endif
10740 char XFixesQueryVersion ();
10742 main ()
10744 return XFixesQueryVersion ();
10746 return 0;
10748 _ACEOF
10749 if ac_fn_c_try_link "$LINENO"; then :
10750 case "$LIBEXT" in
10751 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10752 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'` ;;
10753 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10754 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10755 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10756 fi ;;
10757 esac
10759 rm -f core conftest.err conftest.$ac_objext \
10760 conftest$ac_exeext conftest.$ac_ext
10761 LIBS=$ac_check_soname_save_LIBS
10763 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10765 $as_echo "not found" >&6; }
10767 else
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10769 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10771 cat >>confdefs.h <<_ACEOF
10772 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10773 _ACEOF
10778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10780 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10781 case "x$with_xfixes" in
10782 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10783 xno) ;;
10784 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10785 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10786 esac
10790 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10791 then
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10794 #include <X11/Xlib.h>
10795 #include <X11/extensions/Xinerama.h>
10797 main ()
10799 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10801 return 0;
10803 _ACEOF
10804 if ac_fn_c_try_compile "$LINENO"; then :
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10806 $as_echo_n "checking for -lXinerama... " >&6; }
10807 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10808 $as_echo_n "(cached) " >&6
10809 else
10810 ac_check_soname_save_LIBS=$LIBS
10811 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10813 /* end confdefs.h. */
10815 /* Override any GCC internal prototype to avoid an error.
10816 Use char because int might match the return type of a GCC
10817 builtin and then its argument prototype would still apply. */
10818 #ifdef __cplusplus
10819 extern "C"
10820 #endif
10821 char XineramaQueryScreens ();
10823 main ()
10825 return XineramaQueryScreens ();
10827 return 0;
10829 _ACEOF
10830 if ac_fn_c_try_link "$LINENO"; then :
10831 case "$LIBEXT" in
10832 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10833 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'` ;;
10834 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10835 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10836 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10837 fi ;;
10838 esac
10840 rm -f core conftest.err conftest.$ac_objext \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_soname_save_LIBS
10844 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10846 $as_echo "not found" >&6; }
10848 else
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10850 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10852 cat >>confdefs.h <<_ACEOF
10853 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10854 _ACEOF
10859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10861 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10862 case "x$with_xinerama" in
10863 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10864 xno) ;;
10865 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10866 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10867 esac
10871 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10872 then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10874 $as_echo_n "checking for -lXcomposite... " >&6; }
10875 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10876 $as_echo_n "(cached) " >&6
10877 else
10878 ac_check_soname_save_LIBS=$LIBS
10879 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10886 #ifdef __cplusplus
10887 extern "C"
10888 #endif
10889 char XCompositeRedirectWindow ();
10891 main ()
10893 return XCompositeRedirectWindow ();
10895 return 0;
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"; then :
10899 case "$LIBEXT" in
10900 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10901 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'` ;;
10902 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10903 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10904 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10905 fi ;;
10906 esac
10908 rm -f core conftest.err conftest.$ac_objext \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_soname_save_LIBS
10912 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10914 $as_echo "not found" >&6; }
10916 else
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10918 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10920 cat >>confdefs.h <<_ACEOF
10921 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10922 _ACEOF
10927 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10928 case "x$with_xcomposite" in
10929 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10930 xno) ;;
10931 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10932 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10933 esac
10937 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10938 #include <X11/Xlib.h>
10939 #endif
10941 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10943 cat >>confdefs.h <<_ACEOF
10944 #define HAVE_XICCALLBACK_CALLBACK 1
10945 _ACEOF
10949 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10950 #include <X11/Xlib.h>
10951 #endif
10953 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10955 cat >>confdefs.h <<_ACEOF
10956 #define HAVE_XEVENT_XCOOKIE 1
10957 _ACEOF
10964 opengl_msg=""
10965 if test "x$with_opengl" != "xno"
10966 then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10968 $as_echo_n "checking for -lGL... " >&6; }
10969 if ${ac_cv_lib_soname_GL+:} false; then :
10970 $as_echo_n "(cached) " >&6
10971 else
10972 ac_check_soname_save_LIBS=$LIBS
10973 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10980 #ifdef __cplusplus
10981 extern "C"
10982 #endif
10983 char glXCreateContext ();
10985 main ()
10987 return glXCreateContext ();
10989 return 0;
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"; then :
10993 case "$LIBEXT" in
10994 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10995 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'` ;;
10996 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10997 if ${ac_cv_lib_soname_GL:+false} :; then :
10998 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10999 fi ;;
11000 esac
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 LIBS=$ac_check_soname_save_LIBS
11006 if ${ac_cv_lib_soname_GL:+false} :; then :
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11008 $as_echo "not found" >&6; }
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11010 $as_echo_n "checking for -lGL... " >&6; }
11011 if ${ac_cv_lib_soname_GL+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_soname_save_LIBS=$LIBS
11015 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"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char glXCreateContext ();
11027 main ()
11029 return glXCreateContext ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 case "$LIBEXT" in
11036 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11037 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'` ;;
11038 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11039 if ${ac_cv_lib_soname_GL:+false} :; then :
11040 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11041 fi ;;
11042 esac
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_soname_save_LIBS
11048 if ${ac_cv_lib_soname_GL:+false} :; then :
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11050 $as_echo "not found" >&6; }
11051 if test -f /usr/X11R6/lib/libGL.a
11052 then
11053 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11054 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11055 else
11056 opengl_msg="No OpenGL library found on this system."
11058 else
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11060 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11062 cat >>confdefs.h <<_ACEOF
11063 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11064 _ACEOF
11066 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"
11068 else
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11070 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11072 cat >>confdefs.h <<_ACEOF
11073 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11074 _ACEOF
11076 OPENGL_LIBS="-lGL"
11078 if test "x$with_glu" != "xno"
11079 then
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11081 $as_echo_n "checking for -lGLU... " >&6; }
11082 if ${ac_cv_lib_soname_GLU+:} false; then :
11083 $as_echo_n "(cached) " >&6
11084 else
11085 ac_check_soname_save_LIBS=$LIBS
11086 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11090 /* Override any GCC internal prototype to avoid an error.
11091 Use char because int might match the return type of a GCC
11092 builtin and then its argument prototype would still apply. */
11093 #ifdef __cplusplus
11094 extern "C"
11095 #endif
11096 char gluLookAt ();
11098 main ()
11100 return gluLookAt ();
11102 return 0;
11104 _ACEOF
11105 if ac_fn_c_try_link "$LINENO"; then :
11106 case "$LIBEXT" in
11107 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11108 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'` ;;
11109 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11110 if ${ac_cv_lib_soname_GLU:+false} :; then :
11111 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11112 fi ;;
11113 esac
11115 rm -f core conftest.err conftest.$ac_objext \
11116 conftest$ac_exeext conftest.$ac_ext
11117 LIBS=$ac_check_soname_save_LIBS
11119 if ${ac_cv_lib_soname_GLU:+false} :; then :
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11121 $as_echo "not found" >&6; }
11123 else
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11125 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11127 cat >>confdefs.h <<_ACEOF
11128 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11129 _ACEOF
11133 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11134 case "x$with_glu" in
11135 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11136 xno) ;;
11137 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11138 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11139 esac
11144 if test "x$with_osmesa" != "xno"
11145 then
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11147 $as_echo_n "checking for -lOSMesa... " >&6; }
11148 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11149 $as_echo_n "(cached) " >&6
11150 else
11151 ac_check_soname_save_LIBS=$LIBS
11152 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11159 #ifdef __cplusplus
11160 extern "C"
11161 #endif
11162 char OSMesaGetProcAddress ();
11164 main ()
11166 return OSMesaGetProcAddress ();
11168 return 0;
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"; then :
11172 case "$LIBEXT" in
11173 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11174 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'` ;;
11175 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11176 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11177 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11178 fi ;;
11179 esac
11181 rm -f core conftest.err conftest.$ac_objext \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_soname_save_LIBS
11185 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11187 $as_echo "not found" >&6; }
11189 else
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11191 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11193 cat >>confdefs.h <<_ACEOF
11194 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11195 _ACEOF
11199 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11200 case "x$with_osmesa" in
11201 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11202 xno) ;;
11203 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11204 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11205 esac
11210 if test -n "$opengl_msg"; then :
11211 case "x$with_opengl" in
11212 x) as_fn_append wine_warnings "|$opengl_msg
11213 OpenGL and Direct3D won't be supported." ;;
11214 xno) ;;
11215 *) as_fn_error $? "$opengl_msg
11216 OpenGL and Direct3D won't be supported.
11217 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11218 esac
11222 CPPFLAGS="$ac_save_CPPFLAGS"
11223 else
11224 X_CFLAGS=""
11225 X_LIBS=""
11228 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11229 then
11230 if test "x$X_LIBS" = "x"; then :
11231 case "x$with_x" in
11232 xno) ;;
11233 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11234 without X support, which probably isn't what you want. You will need
11235 to install ${notice_platform}development packages of Xlib at the very least.
11236 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11237 esac
11238 enable_winex11_drv=${enable_winex11_drv:-no}
11240 else
11241 if test "x$X_LIBS" = "x"; then :
11242 case "x$with_x" in
11243 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11244 xno) ;;
11245 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11246 This is an error since --with-x was requested." "$LINENO" 5 ;;
11247 esac
11248 enable_winex11_drv=${enable_winex11_drv:-no}
11252 if test "$ac_cv_header_CL_cl_h" = "yes"
11253 then
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11255 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11256 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-lOpenCL $LIBS"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11264 /* Override any GCC internal prototype to avoid an error.
11265 Use char because int might match the return type of a GCC
11266 builtin and then its argument prototype would still apply. */
11267 #ifdef __cplusplus
11268 extern "C"
11269 #endif
11270 char clGetPlatformInfo ();
11272 main ()
11274 return clGetPlatformInfo ();
11276 return 0;
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11281 else
11282 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11284 rm -f core conftest.err conftest.$ac_objext \
11285 conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11289 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11290 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11291 OPENCL_LIBS="-lOpenCL"
11296 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11297 case "x$with_opencl" in
11298 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11299 xno) ;;
11300 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11301 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11302 esac
11303 enable_opencl=${enable_opencl:-no}
11306 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11307 then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11309 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11310 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11311 $as_echo_n "(cached) " >&6
11312 else
11313 ac_check_lib_save_LIBS=$LIBS
11314 LIBS="-lpcap $LIBS"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11321 #ifdef __cplusplus
11322 extern "C"
11323 #endif
11324 char pcap_create ();
11326 main ()
11328 return pcap_create ();
11330 return 0;
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"; then :
11334 ac_cv_lib_pcap_pcap_create=yes
11335 else
11336 ac_cv_lib_pcap_pcap_create=no
11338 rm -f core conftest.err conftest.$ac_objext \
11339 conftest$ac_exeext conftest.$ac_ext
11340 LIBS=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11343 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11344 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11345 PCAP_LIBS="-lpcap"
11350 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11351 case "x$with_pcap" in
11352 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11353 xno) ;;
11354 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11355 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11356 esac
11357 enable_wpcap=${enable_wpcap:-no}
11361 if test "x$with_xml" != "xno"
11362 then
11363 if ${XML2_CFLAGS:+false} :; then :
11364 if ${PKG_CONFIG+:} false; then :
11365 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11368 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11369 if ${XML2_LIBS:+false} :; then :
11370 if ${PKG_CONFIG+:} false; then :
11371 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11374 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11375 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11376 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11377 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11378 ac_save_CPPFLAGS=$CPPFLAGS
11379 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11380 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11381 do :
11382 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11383 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11384 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11385 cat >>confdefs.h <<_ACEOF
11386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11387 _ACEOF
11391 done
11393 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"
11394 then
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11396 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11397 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_lib_save_LIBS=$LIBS
11401 LIBS="-lxml2 $XML2_LIBS $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char xmlParseMemory ();
11413 main ()
11415 return xmlParseMemory ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_xml2_xmlParseMemory=yes
11422 else
11423 ac_cv_lib_xml2_xmlParseMemory=no
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11430 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11431 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11433 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11435 else
11436 XML2_LIBS=""
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11440 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11441 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_lib_save_LIBS=$LIBS
11445 LIBS="-lxml2 $XML2_LIBS $LIBS"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char xmlReadMemory ();
11457 main ()
11459 return xmlReadMemory ();
11461 return 0;
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"; then :
11465 ac_cv_lib_xml2_xmlReadMemory=yes
11466 else
11467 ac_cv_lib_xml2_xmlReadMemory=no
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_lib_save_LIBS
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11474 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11475 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11477 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11482 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11483 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11484 $as_echo_n "(cached) " >&6
11485 else
11486 ac_check_lib_save_LIBS=$LIBS
11487 LIBS="-lxml2 $XML2_LIBS $LIBS"
11488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11491 /* Override any GCC internal prototype to avoid an error.
11492 Use char because int might match the return type of a GCC
11493 builtin and then its argument prototype would still apply. */
11494 #ifdef __cplusplus
11495 extern "C"
11496 #endif
11497 char xmlNewDocPI ();
11499 main ()
11501 return xmlNewDocPI ();
11503 return 0;
11505 _ACEOF
11506 if ac_fn_c_try_link "$LINENO"; then :
11507 ac_cv_lib_xml2_xmlNewDocPI=yes
11508 else
11509 ac_cv_lib_xml2_xmlNewDocPI=no
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_lib_save_LIBS
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11516 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11517 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11519 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11524 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11525 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11526 $as_echo_n "(cached) " >&6
11527 else
11528 ac_check_lib_save_LIBS=$LIBS
11529 LIBS="-lxml2 $XML2_LIBS $LIBS"
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11536 #ifdef __cplusplus
11537 extern "C"
11538 #endif
11539 char xmlSchemaSetParserStructuredErrors ();
11541 main ()
11543 return xmlSchemaSetParserStructuredErrors ();
11545 return 0;
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"; then :
11549 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11550 else
11551 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11553 rm -f core conftest.err conftest.$ac_objext \
11554 conftest$ac_exeext conftest.$ac_ext
11555 LIBS=$ac_check_lib_save_LIBS
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11558 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11559 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11561 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11566 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11567 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11568 $as_echo_n "(cached) " >&6
11569 else
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lxml2 $XML2_LIBS $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char xmlSchemaSetValidStructuredErrors ();
11583 main ()
11585 return xmlSchemaSetValidStructuredErrors ();
11587 return 0;
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11592 else
11593 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11600 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11601 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11603 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11608 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11609 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11610 $as_echo_n "(cached) " >&6
11611 else
11612 ac_check_lib_save_LIBS=$LIBS
11613 LIBS="-lxml2 $XML2_LIBS $LIBS"
11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11617 /* Override any GCC internal prototype to avoid an error.
11618 Use char because int might match the return type of a GCC
11619 builtin and then its argument prototype would still apply. */
11620 #ifdef __cplusplus
11621 extern "C"
11622 #endif
11623 char xmlFirstElementChild ();
11625 main ()
11627 return xmlFirstElementChild ();
11629 return 0;
11631 _ACEOF
11632 if ac_fn_c_try_link "$LINENO"; then :
11633 ac_cv_lib_xml2_xmlFirstElementChild=yes
11634 else
11635 ac_cv_lib_xml2_xmlFirstElementChild=no
11637 rm -f core conftest.err conftest.$ac_objext \
11638 conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_lib_save_LIBS
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11642 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11643 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11645 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11649 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11651 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11653 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11657 else
11658 XML2_CFLAGS=""
11659 XML2_LIBS=""
11661 CPPFLAGS=$ac_save_CPPFLAGS
11662 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11663 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11666 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11667 case "x$with_xml" in
11668 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11669 xno) ;;
11670 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11671 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11672 esac
11676 if test "x$with_xslt" != "xno"
11677 then
11678 if ${XSLT_CFLAGS:+false} :; then :
11679 if ${PKG_CONFIG+:} false; then :
11680 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11683 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11684 if ${XSLT_LIBS:+false} :; then :
11685 if ${PKG_CONFIG+:} false; then :
11686 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11689 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11690 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11691 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11692 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11693 ac_save_CPPFLAGS=$CPPFLAGS
11694 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11695 for ac_header in libxslt/pattern.h libxslt/transform.h
11696 do :
11697 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11698 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11699 # include <libxslt/pattern.h>
11700 #endif
11702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11703 cat >>confdefs.h <<_ACEOF
11704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11705 _ACEOF
11709 done
11711 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11712 then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11714 $as_echo_n "checking for -lxslt... " >&6; }
11715 if ${ac_cv_lib_soname_xslt+:} false; then :
11716 $as_echo_n "(cached) " >&6
11717 else
11718 ac_check_soname_save_LIBS=$LIBS
11719 LIBS="-lxslt $XSLT_LIBS $LIBS"
11720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11726 #ifdef __cplusplus
11727 extern "C"
11728 #endif
11729 char xsltCompilePattern ();
11731 main ()
11733 return xsltCompilePattern ();
11735 return 0;
11737 _ACEOF
11738 if ac_fn_c_try_link "$LINENO"; then :
11739 case "$LIBEXT" in
11740 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11741 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'` ;;
11742 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11743 if ${ac_cv_lib_soname_xslt:+false} :; then :
11744 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11745 fi ;;
11746 esac
11748 rm -f core conftest.err conftest.$ac_objext \
11749 conftest$ac_exeext conftest.$ac_ext
11750 LIBS=$ac_check_soname_save_LIBS
11752 if ${ac_cv_lib_soname_xslt:+false} :; then :
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11754 $as_echo "not found" >&6; }
11756 else
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11758 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11760 cat >>confdefs.h <<_ACEOF
11761 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11762 _ACEOF
11766 else
11767 XSLT_CFLAGS=""
11769 CPPFLAGS=$ac_save_CPPFLAGS
11770 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11771 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11774 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11775 case "x$with_xslt" in
11776 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11777 xno) ;;
11778 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11779 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11780 esac
11784 if test "x$with_dbus" != "xno"
11785 then
11786 if ${DBUS_CFLAGS:+false} :; then :
11787 if ${PKG_CONFIG+:} false; then :
11788 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11792 if ${DBUS_LIBS:+false} :; then :
11793 if ${PKG_CONFIG+:} false; then :
11794 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11799 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11800 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11801 ac_save_CPPFLAGS=$CPPFLAGS
11802 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11803 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11804 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11806 $as_echo_n "checking for -ldbus-1... " >&6; }
11807 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11808 $as_echo_n "(cached) " >&6
11809 else
11810 ac_check_soname_save_LIBS=$LIBS
11811 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11818 #ifdef __cplusplus
11819 extern "C"
11820 #endif
11821 char dbus_connection_close ();
11823 main ()
11825 return dbus_connection_close ();
11827 return 0;
11829 _ACEOF
11830 if ac_fn_c_try_link "$LINENO"; then :
11831 case "$LIBEXT" in
11832 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11833 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'` ;;
11834 *) 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'`
11835 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11836 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11837 fi ;;
11838 esac
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_soname_save_LIBS
11844 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11846 $as_echo "not found" >&6; }
11847 DBUS_CFLAGS=""
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11850 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11852 cat >>confdefs.h <<_ACEOF
11853 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11854 _ACEOF
11858 else
11859 DBUS_CFLAGS=""
11863 CPPFLAGS=$ac_save_CPPFLAGS
11864 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11865 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11868 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11869 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11870 case "x$with_dbus" in
11871 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11872 xno) ;;
11873 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11874 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11875 esac
11879 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11880 then
11881 if ${HAL_CFLAGS:+false} :; then :
11882 if ${PKG_CONFIG+:} false; then :
11883 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11887 if ${HAL_LIBS:+false} :; then :
11888 if ${PKG_CONFIG+:} false; then :
11889 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11893 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11894 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11895 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11896 ac_save_CPPFLAGS=$CPPFLAGS
11897 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11898 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11899 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11901 $as_echo_n "checking for -lhal... " >&6; }
11902 if ${ac_cv_lib_soname_hal+:} false; then :
11903 $as_echo_n "(cached) " >&6
11904 else
11905 ac_check_soname_save_LIBS=$LIBS
11906 LIBS="-lhal $HAL_LIBS $LIBS"
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11913 #ifdef __cplusplus
11914 extern "C"
11915 #endif
11916 char libhal_ctx_new ();
11918 main ()
11920 return libhal_ctx_new ();
11922 return 0;
11924 _ACEOF
11925 if ac_fn_c_try_link "$LINENO"; then :
11926 case "$LIBEXT" in
11927 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11928 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'` ;;
11929 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11930 if ${ac_cv_lib_soname_hal:+false} :; then :
11931 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11932 fi ;;
11933 esac
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 LIBS=$ac_check_soname_save_LIBS
11939 if ${ac_cv_lib_soname_hal:+false} :; then :
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11941 $as_echo "not found" >&6; }
11942 HAL_CFLAGS=""
11943 else
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11945 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11947 cat >>confdefs.h <<_ACEOF
11948 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11949 _ACEOF
11953 else
11954 HAL_CFLAGS=""
11958 CPPFLAGS=$ac_save_CPPFLAGS
11959 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11960 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11962 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11963 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11964 case "x$with_hal" in
11965 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11966 xno) ;;
11967 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11968 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11969 esac
11974 if test "x$with_gnutls" != "xno"
11975 then
11976 if ${GNUTLS_CFLAGS:+false} :; then :
11977 if ${PKG_CONFIG+:} false; then :
11978 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11982 if ${GNUTLS_LIBS:+false} :; then :
11983 if ${PKG_CONFIG+:} false; then :
11984 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11989 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11990 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11991 ac_save_CPPFLAGS=$CPPFLAGS
11992 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11993 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11994 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11997 #include <gnutls/gnutls.h>
11998 #include <gnutls/crypto.h>
12000 main ()
12002 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_compile "$LINENO"; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12009 $as_echo_n "checking for -lgnutls... " >&6; }
12010 if ${ac_cv_lib_soname_gnutls+:} false; then :
12011 $as_echo_n "(cached) " >&6
12012 else
12013 ac_check_soname_save_LIBS=$LIBS
12014 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12018 /* Override any GCC internal prototype to avoid an error.
12019 Use char because int might match the return type of a GCC
12020 builtin and then its argument prototype would still apply. */
12021 #ifdef __cplusplus
12022 extern "C"
12023 #endif
12024 char gnutls_global_init ();
12026 main ()
12028 return gnutls_global_init ();
12030 return 0;
12032 _ACEOF
12033 if ac_fn_c_try_link "$LINENO"; then :
12034 case "$LIBEXT" in
12035 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12036 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'` ;;
12037 *) 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'`
12038 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12039 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'`
12040 fi ;;
12041 esac
12043 rm -f core conftest.err conftest.$ac_objext \
12044 conftest$ac_exeext conftest.$ac_ext
12045 LIBS=$ac_check_soname_save_LIBS
12047 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12049 $as_echo "not found" >&6; }
12050 GNUTLS_CFLAGS=""
12051 else
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12053 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12055 cat >>confdefs.h <<_ACEOF
12056 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12057 _ACEOF
12061 ac_wine_check_funcs_save_LIBS="$LIBS"
12062 LIBS="$LIBS $GNUTLS_LIBS"
12063 for ac_func in gnutls_cipher_init
12064 do :
12065 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12066 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12067 cat >>confdefs.h <<_ACEOF
12068 #define HAVE_GNUTLS_CIPHER_INIT 1
12069 _ACEOF
12071 else
12072 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12074 done
12076 LIBS="$ac_wine_check_funcs_save_LIBS"
12078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12079 else
12080 GNUTLS_CFLAGS=""
12084 CPPFLAGS=$ac_save_CPPFLAGS
12085 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12086 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12089 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12090 case "x$with_gnutls" in
12091 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12092 xno) ;;
12093 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12094 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12095 esac
12099 CURSES_LIBS=""
12100 if test "$ac_cv_header_ncurses_h" = "yes"
12101 then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12103 $as_echo_n "checking for -lncurses... " >&6; }
12104 if ${ac_cv_lib_soname_ncurses+:} false; then :
12105 $as_echo_n "(cached) " >&6
12106 else
12107 ac_check_soname_save_LIBS=$LIBS
12108 LIBS="-lncurses $LIBS"
12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12112 /* Override any GCC internal prototype to avoid an error.
12113 Use char because int might match the return type of a GCC
12114 builtin and then its argument prototype would still apply. */
12115 #ifdef __cplusplus
12116 extern "C"
12117 #endif
12118 char waddch ();
12120 main ()
12122 return waddch ();
12124 return 0;
12126 _ACEOF
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 case "$LIBEXT" in
12129 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12130 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'` ;;
12131 *) 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'`
12132 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12133 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12134 fi ;;
12135 esac
12137 rm -f core conftest.err conftest.$ac_objext \
12138 conftest$ac_exeext conftest.$ac_ext
12139 LIBS=$ac_check_soname_save_LIBS
12141 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12143 $as_echo "not found" >&6; }
12145 else
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12147 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12149 cat >>confdefs.h <<_ACEOF
12150 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12151 _ACEOF
12153 CURSES_LIBS="-lncurses"
12155 elif test "$ac_cv_header_curses_h" = "yes"
12156 then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12158 $as_echo_n "checking for -lcurses... " >&6; }
12159 if ${ac_cv_lib_soname_curses+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_soname_save_LIBS=$LIBS
12163 LIBS="-lcurses $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char waddch ();
12175 main ()
12177 return waddch ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 case "$LIBEXT" in
12184 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12185 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'` ;;
12186 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12187 if ${ac_cv_lib_soname_curses:+false} :; then :
12188 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12189 fi ;;
12190 esac
12192 rm -f core conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12194 LIBS=$ac_check_soname_save_LIBS
12196 if ${ac_cv_lib_soname_curses:+false} :; then :
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12198 $as_echo "not found" >&6; }
12200 else
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12202 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12204 cat >>confdefs.h <<_ACEOF
12205 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12206 _ACEOF
12208 CURSES_LIBS="-lcurses"
12211 ac_save_LIBS="$LIBS"
12212 LIBS="$LIBS $CURSES_LIBS"
12213 for ac_func in mousemask
12214 do :
12215 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12216 if test "x$ac_cv_func_mousemask" = xyes; then :
12217 cat >>confdefs.h <<_ACEOF
12218 #define HAVE_MOUSEMASK 1
12219 _ACEOF
12222 done
12224 LIBS="$ac_save_LIBS"
12225 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12226 case "x$with_curses" in
12227 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12228 xno) ;;
12229 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12230 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12231 esac
12235 if test "x$with_sane" != "xno"
12236 then
12237 if ${SANE_CFLAGS:+false} :; then :
12238 if ${PKG_CONFIG+:} false; then :
12239 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12242 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12243 if ${SANE_LIBS:+false} :; then :
12244 if ${PKG_CONFIG+:} false; then :
12245 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12248 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12250 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12251 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12252 ac_save_CPPFLAGS=$CPPFLAGS
12253 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12254 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12255 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12257 $as_echo_n "checking for -lsane... " >&6; }
12258 if ${ac_cv_lib_soname_sane+:} false; then :
12259 $as_echo_n "(cached) " >&6
12260 else
12261 ac_check_soname_save_LIBS=$LIBS
12262 LIBS="-lsane $SANE_LIBS $LIBS"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12269 #ifdef __cplusplus
12270 extern "C"
12271 #endif
12272 char sane_init ();
12274 main ()
12276 return sane_init ();
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_link "$LINENO"; then :
12282 case "$LIBEXT" in
12283 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12284 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'` ;;
12285 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12286 if ${ac_cv_lib_soname_sane:+false} :; then :
12287 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12288 fi ;;
12289 esac
12291 rm -f core conftest.err conftest.$ac_objext \
12292 conftest$ac_exeext conftest.$ac_ext
12293 LIBS=$ac_check_soname_save_LIBS
12295 if ${ac_cv_lib_soname_sane:+false} :; then :
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12297 $as_echo "not found" >&6; }
12298 SANE_CFLAGS=""
12299 else
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12301 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12303 cat >>confdefs.h <<_ACEOF
12304 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12305 _ACEOF
12309 else
12310 SANE_CFLAGS=""
12314 CPPFLAGS=$ac_save_CPPFLAGS
12315 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12316 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12319 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12320 case "x$with_sane" in
12321 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12322 xno) ;;
12323 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12324 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12325 esac
12329 if test "x$with_v4l" != "xno"
12330 then
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12332 $as_echo_n "checking for -lv4l1... " >&6; }
12333 if ${ac_cv_lib_soname_v4l1+:} false; then :
12334 $as_echo_n "(cached) " >&6
12335 else
12336 ac_check_soname_save_LIBS=$LIBS
12337 LIBS="-lv4l1 $LIBS"
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 #ifdef __cplusplus
12345 extern "C"
12346 #endif
12347 char v4l1_open ();
12349 main ()
12351 return v4l1_open ();
12353 return 0;
12355 _ACEOF
12356 if ac_fn_c_try_link "$LINENO"; then :
12357 case "$LIBEXT" in
12358 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12359 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'` ;;
12360 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12361 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12362 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12363 fi ;;
12364 esac
12366 rm -f core conftest.err conftest.$ac_objext \
12367 conftest$ac_exeext conftest.$ac_ext
12368 LIBS=$ac_check_soname_save_LIBS
12370 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12372 $as_echo "not found" >&6; }
12374 else
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12376 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12378 cat >>confdefs.h <<_ACEOF
12379 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12380 _ACEOF
12385 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12386 case "x$with_v4l" in
12387 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12388 xno) ;;
12389 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12390 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12391 esac
12395 if test "x$with_gphoto" != "xno"
12396 then
12397 if ${GPHOTO2_CFLAGS:+false} :; then :
12398 if ${PKG_CONFIG+:} false; then :
12399 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12402 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12403 if ${GPHOTO2_LIBS:+false} :; then :
12404 if ${PKG_CONFIG+:} false; then :
12405 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12408 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12409 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12410 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12411 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12412 ac_save_CPPFLAGS=$CPPFLAGS
12413 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12414 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12415 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12417 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12418 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12419 $as_echo_n "(cached) " >&6
12420 else
12421 ac_check_lib_save_LIBS=$LIBS
12422 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char gp_camera_new ();
12434 main ()
12436 return gp_camera_new ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 ac_cv_lib_gphoto2_gp_camera_new=yes
12443 else
12444 ac_cv_lib_gphoto2_gp_camera_new=no
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_lib_save_LIBS
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12451 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12452 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12454 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12456 else
12457 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12460 else
12461 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12465 CPPFLAGS=$ac_save_CPPFLAGS
12466 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12467 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12469 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12470 if ${PKG_CONFIG+:} false; then :
12471 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12474 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12475 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12476 if ${PKG_CONFIG+:} false; then :
12477 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12480 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12481 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12482 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12483 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12484 ac_save_CPPFLAGS=$CPPFLAGS
12485 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12486 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12487 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12489 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12490 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12491 $as_echo_n "(cached) " >&6
12492 else
12493 ac_check_lib_save_LIBS=$LIBS
12494 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12501 #ifdef __cplusplus
12502 extern "C"
12503 #endif
12504 char gp_port_info_list_new ();
12506 main ()
12508 return gp_port_info_list_new ();
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_link "$LINENO"; then :
12514 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12515 else
12516 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12518 rm -f core conftest.err conftest.$ac_objext \
12519 conftest$ac_exeext conftest.$ac_ext
12520 LIBS=$ac_check_lib_save_LIBS
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12523 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12524 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12526 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12528 else
12529 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12532 else
12533 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12537 CPPFLAGS=$ac_save_CPPFLAGS
12538 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12539 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12542 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12543 case "x$with_gphoto" in
12544 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12545 xno) ;;
12546 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12547 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12548 esac
12551 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12552 case "x$with_gphoto" in
12553 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12554 xno) ;;
12555 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12556 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12557 esac
12562 if test "$ac_cv_header_resolv_h" = "yes"
12563 then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12565 $as_echo_n "checking for resolver library... " >&6; }
12566 if ${ac_cv_have_resolv+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 ac_save_LIBS="$LIBS"
12570 for lib in '' -lresolv
12572 LIBS="$lib $ac_save_LIBS"
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12575 #ifdef HAVE_NETINET_IN_H
12576 #include <netinet/in.h>
12577 #endif
12578 #include <resolv.h>
12580 main ()
12582 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 ac_cv_have_resolv=${lib:-"none required"}
12589 else
12590 ac_cv_have_resolv="not found"
12592 rm -f core conftest.err conftest.$ac_objext \
12593 conftest$ac_exeext conftest.$ac_ext
12594 test "x$ac_cv_have_resolv" = "xnot found" || break
12595 done
12596 LIBS="$ac_save_LIBS"
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12599 $as_echo "$ac_cv_have_resolv" >&6; }
12601 case "$ac_cv_have_resolv" in
12602 "not found") ;;
12603 "none required")
12605 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12608 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12610 RESOLV_LIBS=$ac_cv_have_resolv
12612 esac
12615 if test "x$with_cms" != "xno"
12616 then
12617 if ${LCMS2_CFLAGS:+false} :; then :
12618 if ${PKG_CONFIG+:} false; then :
12619 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12623 if ${LCMS2_LIBS:+false} :; then :
12624 if ${PKG_CONFIG+:} false; then :
12625 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12629 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12630 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12631 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12632 ac_save_CPPFLAGS=$CPPFLAGS
12633 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12634 for ac_header in lcms2.h
12635 do :
12636 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12637 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12638 cat >>confdefs.h <<_ACEOF
12639 #define HAVE_LCMS2_H 1
12640 _ACEOF
12644 done
12646 if test "$ac_cv_header_lcms2_h" = "yes"
12647 then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12649 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12650 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12651 $as_echo_n "(cached) " >&6
12652 else
12653 ac_check_lib_save_LIBS=$LIBS
12654 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 #ifdef __cplusplus
12662 extern "C"
12663 #endif
12664 char cmsOpenProfileFromFile ();
12666 main ()
12668 return cmsOpenProfileFromFile ();
12670 return 0;
12672 _ACEOF
12673 if ac_fn_c_try_link "$LINENO"; then :
12674 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12675 else
12676 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12678 rm -f core conftest.err conftest.$ac_objext \
12679 conftest$ac_exeext conftest.$ac_ext
12680 LIBS=$ac_check_lib_save_LIBS
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12683 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12684 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12686 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12688 else
12689 LCMS2_LIBS=""
12692 else
12693 LCMS2_CFLAGS=""
12694 LCMS2_LIBS=""
12696 CPPFLAGS=$ac_save_CPPFLAGS
12697 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12698 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12701 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12702 case "x$with_cms" in
12703 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12704 xno) ;;
12705 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12706 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12707 esac
12711 if test "x$with_freetype" != "xno"
12712 then
12713 if ${FREETYPE_CFLAGS:+false} :; then :
12714 if ${PKG_CONFIG+:} false; then :
12715 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12718 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12719 if ${FREETYPE_LIBS:+false} :; then :
12720 if ${PKG_CONFIG+:} false; then :
12721 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12724 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12725 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12726 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12727 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12728 ac_save_CPPFLAGS=$CPPFLAGS
12729 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12730 for ac_header in ft2build.h
12731 do :
12732 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12733 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12734 cat >>confdefs.h <<_ACEOF
12735 #define HAVE_FT2BUILD_H 1
12736 _ACEOF
12740 done
12742 if test "$ac_cv_header_ft2build_h" = "yes"
12743 then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12745 $as_echo_n "checking for -lfreetype... " >&6; }
12746 if ${ac_cv_lib_soname_freetype+:} false; then :
12747 $as_echo_n "(cached) " >&6
12748 else
12749 ac_check_soname_save_LIBS=$LIBS
12750 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12757 #ifdef __cplusplus
12758 extern "C"
12759 #endif
12760 char FT_Init_FreeType ();
12762 main ()
12764 return FT_Init_FreeType ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"; then :
12770 case "$LIBEXT" in
12771 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12772 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'` ;;
12773 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12774 if ${ac_cv_lib_soname_freetype:+false} :; then :
12775 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12776 fi ;;
12777 esac
12779 rm -f core conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_soname_save_LIBS
12783 if ${ac_cv_lib_soname_freetype:+false} :; then :
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12785 $as_echo "not found" >&6; }
12786 FREETYPE_LIBS=""
12787 else
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12789 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12791 cat >>confdefs.h <<_ACEOF
12792 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12793 _ACEOF
12796 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12798 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12799 #include FT_MODULE_H
12801 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12803 cat >>confdefs.h <<_ACEOF
12804 #define HAVE_FT_TRUETYPEENGINETYPE 1
12805 _ACEOF
12811 else
12812 FREETYPE_CFLAGS=""
12813 FREETYPE_LIBS=""
12815 CPPFLAGS=$ac_save_CPPFLAGS
12816 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12817 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12820 if test "x$ac_cv_lib_soname_freetype" = x; then :
12821 case "x$with_freetype" in
12822 xno) ;;
12823 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12824 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12825 esac
12826 enable_fonts=${enable_fonts:-no}
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12830 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12831 if ${ac_cv_c_ppdev+:} false; then :
12832 $as_echo_n "(cached) " >&6
12833 else
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12836 #ifdef HAVE_SYS_IOCTL_H
12837 # include <sys/ioctl.h>
12838 #endif
12839 #include <linux/ppdev.h>
12841 main ()
12843 ioctl (1,PPCLAIM,0)
12845 return 0;
12847 _ACEOF
12848 if ac_fn_c_try_compile "$LINENO"; then :
12849 ac_cv_c_ppdev="yes"
12850 else
12851 ac_cv_c_ppdev="no"
12853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12856 $as_echo "$ac_cv_c_ppdev" >&6; }
12857 if test "$ac_cv_c_ppdev" = "yes"
12858 then
12860 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12864 ac_wine_check_funcs_save_LIBS="$LIBS"
12865 LIBS="$LIBS $PTHREAD_LIBS"
12866 for ac_func in \
12867 pthread_attr_get_np \
12868 pthread_getattr_np \
12869 pthread_getthreadid_np \
12870 pthread_get_stackaddr_np \
12871 pthread_get_stacksize_np
12872 do :
12873 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12875 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12876 cat >>confdefs.h <<_ACEOF
12877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12878 _ACEOF
12881 done
12883 LIBS="$ac_wine_check_funcs_save_LIBS"
12885 if test "$ac_cv_header_zlib_h" = "yes"
12886 then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12888 $as_echo_n "checking for inflate in -lz... " >&6; }
12889 if ${ac_cv_lib_z_inflate+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lz $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char inflate ();
12905 main ()
12907 return inflate ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_z_inflate=yes
12914 else
12915 ac_cv_lib_z_inflate=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12922 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12923 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12925 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12927 Z_LIBS="-lz"
12932 if test "x$Z_LIBS" = "x"; then :
12933 case "x$with_zlib" in
12934 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12935 xno) ;;
12936 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12937 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12938 esac
12942 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12943 then
12944 if test "$ac_cv_header_gettext_po_h" = "yes"
12945 then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12947 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12948 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12949 $as_echo_n "(cached) " >&6
12950 else
12951 ac_check_lib_save_LIBS=$LIBS
12952 LIBS="-lgettextpo $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 #ifdef __cplusplus
12960 extern "C"
12961 #endif
12962 char po_message_msgctxt ();
12964 main ()
12966 return po_message_msgctxt ();
12968 return 0;
12970 _ACEOF
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12973 else
12974 ac_cv_lib_gettextpo_po_message_msgctxt=no
12976 rm -f core conftest.err conftest.$ac_objext \
12977 conftest$ac_exeext conftest.$ac_ext
12978 LIBS=$ac_check_lib_save_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12981 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12982 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12984 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12986 GETTEXTPO_LIBS="-lgettextpo"
12991 if test "x$GETTEXTPO_LIBS" = "x"; then :
12992 case "x$with_gettextpo" in
12993 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12994 xno) ;;
12995 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12996 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12997 esac
13000 if test "$srcdir" != .; then :
13001 case "x$with_gettextpo" in
13002 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13003 xno) ;;
13004 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13005 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13006 esac
13011 if test "x$with_pulse" != "xno";
13012 then
13013 if ${PULSE_CFLAGS:+false} :; then :
13014 if ${PKG_CONFIG+:} false; then :
13015 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13019 if ${PULSE_LIBS:+false} :; then :
13020 if ${PKG_CONFIG+:} false; then :
13021 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13026 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13027 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13028 ac_save_CPPFLAGS=$CPPFLAGS
13029 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13030 for ac_header in pulse/pulseaudio.h
13031 do :
13032 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13033 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13034 cat >>confdefs.h <<_ACEOF
13035 #define HAVE_PULSE_PULSEAUDIO_H 1
13036 _ACEOF
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13038 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13039 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13040 $as_echo_n "(cached) " >&6
13041 else
13042 ac_check_lib_save_LIBS=$LIBS
13043 LIBS="-lpulse $PULSE_LIBS $LIBS"
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13047 /* Override any GCC internal prototype to avoid an error.
13048 Use char because int might match the return type of a GCC
13049 builtin and then its argument prototype would still apply. */
13050 #ifdef __cplusplus
13051 extern "C"
13052 #endif
13053 char pa_stream_is_corked ();
13055 main ()
13057 return pa_stream_is_corked ();
13059 return 0;
13061 _ACEOF
13062 if ac_fn_c_try_link "$LINENO"; then :
13063 ac_cv_lib_pulse_pa_stream_is_corked=yes
13064 else
13065 ac_cv_lib_pulse_pa_stream_is_corked=no
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 LIBS=$ac_check_lib_save_LIBS
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13072 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13073 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13075 else
13076 PULSE_LIBS=""
13079 else
13080 PULSE_LIBS=""
13083 done
13085 CPPFLAGS=$ac_save_CPPFLAGS
13086 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13087 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13090 if test -z "$PULSE_LIBS"; then :
13091 case "x$with_pulse" in
13092 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13093 xno) ;;
13094 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13095 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13096 esac
13097 enable_winepulse_drv=${enable_winepulse_drv:-no}
13100 if test "x$with_gstreamer" != "xno"
13101 then
13102 if ${GSTREAMER_CFLAGS:+false} :; then :
13103 if ${PKG_CONFIG+:} false; then :
13104 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13108 if ${GSTREAMER_LIBS:+false} :; then :
13109 if ${PKG_CONFIG+:} false; then :
13110 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13115 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13116 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13117 ac_save_CPPFLAGS=$CPPFLAGS
13118 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13119 ac_gst_incl=""
13120 for i in $GSTREAMER_CFLAGS
13122 case "$i" in
13123 -I*) ac_gst_incl="$ac_gst_incl $i";;
13124 esac
13125 done
13126 GSTREAMER_CFLAGS=$ac_gst_incl
13127 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13128 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13129 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13131 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13134 #include <gst/gst.h>
13136 main ()
13138 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13140 return 0;
13142 _ACEOF
13143 if ac_fn_c_try_compile "$LINENO"; then :
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13145 $as_echo "yes" >&6; }
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13147 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13148 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13149 $as_echo_n "(cached) " >&6
13150 else
13151 ac_check_lib_save_LIBS=$LIBS
13152 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13159 #ifdef __cplusplus
13160 extern "C"
13161 #endif
13162 char gst_pad_new ();
13164 main ()
13166 return gst_pad_new ();
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_link "$LINENO"; then :
13172 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13173 else
13174 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13176 rm -f core conftest.err conftest.$ac_objext \
13177 conftest$ac_exeext conftest.$ac_ext
13178 LIBS=$ac_check_lib_save_LIBS
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13181 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13182 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13186 else
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13188 $as_echo "no" >&6; }
13189 ac_glib2_broken=yes
13190 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13196 CPPFLAGS=$ac_save_CPPFLAGS
13197 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13198 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13201 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 :
13202 case "x$with_gstreamer" in
13203 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13204 xno) ;;
13205 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13206 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13207 esac
13210 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13212 ALSA_LIBS=""
13214 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13215 then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13217 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13218 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13219 $as_echo_n "(cached) " >&6
13220 else
13221 ac_check_lib_save_LIBS=$LIBS
13222 LIBS="-lasound $LIBS"
13223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h. */
13226 /* Override any GCC internal prototype to avoid an error.
13227 Use char because int might match the return type of a GCC
13228 builtin and then its argument prototype would still apply. */
13229 #ifdef __cplusplus
13230 extern "C"
13231 #endif
13232 char snd_pcm_hw_params_get_access_mask ();
13234 main ()
13236 return snd_pcm_hw_params_get_access_mask ();
13238 return 0;
13240 _ACEOF
13241 if ac_fn_c_try_link "$LINENO"; then :
13242 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13243 else
13244 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13246 rm -f core conftest.err conftest.$ac_objext \
13247 conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_check_lib_save_LIBS
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13251 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13252 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13255 #ifdef HAVE_ALSA_ASOUNDLIB_H
13256 #include <alsa/asoundlib.h>
13257 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13258 #include <sys/asoundlib.h>
13259 #endif
13261 main ()
13263 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13265 return 0;
13267 _ACEOF
13268 if ac_fn_c_try_compile "$LINENO"; then :
13269 ALSA_LIBS="-lasound"
13271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13275 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13277 if test "x$with_oss" != xno
13278 then
13279 ac_save_CPPFLAGS="$CPPFLAGS"
13280 if test -f /etc/oss.conf
13281 then
13282 . /etc/oss.conf
13284 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13285 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13286 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13287 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13288 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13290 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13292 cat >>confdefs.h <<_ACEOF
13293 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13294 _ACEOF
13296 OSS4_CFLAGS="$ac_oss_incl"
13303 CPPFLAGS="$ac_save_CPPFLAGS"
13305 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13306 case "x$with_oss" in
13307 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13308 xno) ;;
13309 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13310 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13311 esac
13312 enable_wineoss_drv=${enable_wineoss_drv:-no}
13315 if test "x$with_udev" != "xno"
13316 then
13317 if ${UDEV_CFLAGS:+false} :; then :
13318 if ${PKG_CONFIG+:} false; then :
13319 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13323 if ${UDEV_LIBS:+false} :; then :
13324 if ${PKG_CONFIG+:} false; then :
13325 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13329 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13330 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13331 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13332 ac_save_CPPFLAGS=$CPPFLAGS
13333 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13334 for ac_header in libudev.h
13335 do :
13336 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13337 if test "x$ac_cv_header_libudev_h" = xyes; then :
13338 cat >>confdefs.h <<_ACEOF
13339 #define HAVE_LIBUDEV_H 1
13340 _ACEOF
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13342 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13343 if ${ac_cv_lib_udev_udev_new+:} false; then :
13344 $as_echo_n "(cached) " >&6
13345 else
13346 ac_check_lib_save_LIBS=$LIBS
13347 LIBS="-ludev $UDEV_LIBS $LIBS"
13348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13349 /* end confdefs.h. */
13351 /* Override any GCC internal prototype to avoid an error.
13352 Use char because int might match the return type of a GCC
13353 builtin and then its argument prototype would still apply. */
13354 #ifdef __cplusplus
13355 extern "C"
13356 #endif
13357 char udev_new ();
13359 main ()
13361 return udev_new ();
13363 return 0;
13365 _ACEOF
13366 if ac_fn_c_try_link "$LINENO"; then :
13367 ac_cv_lib_udev_udev_new=yes
13368 else
13369 ac_cv_lib_udev_udev_new=no
13371 rm -f core conftest.err conftest.$ac_objext \
13372 conftest$ac_exeext conftest.$ac_ext
13373 LIBS=$ac_check_lib_save_LIBS
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13376 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13377 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13379 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13381 else
13382 UDEV_LIBS=""
13385 else
13386 UDEV_LIBS=""
13389 done
13391 CPPFLAGS=$ac_save_CPPFLAGS
13392 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13393 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13396 if test "x$UDEV_LIBS" = "x"; then :
13397 case "x$with_udev" in
13398 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13399 xno) ;;
13400 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13401 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13402 esac
13406 if test "x$with_capi" != "xno"
13407 then
13408 if ${CAPI20_CFLAGS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13414 if ${CAPI20_LIBS:+false} :; then :
13415 if ${PKG_CONFIG+:} false; then :
13416 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13421 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13422 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13423 ac_save_CPPFLAGS=$CPPFLAGS
13424 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13425 for ac_header in capi20.h linux/capi.h
13426 do :
13427 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13428 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13430 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13431 cat >>confdefs.h <<_ACEOF
13432 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13433 _ACEOF
13437 done
13439 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13440 then
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13442 $as_echo_n "checking for -lcapi20... " >&6; }
13443 if ${ac_cv_lib_soname_capi20+:} false; then :
13444 $as_echo_n "(cached) " >&6
13445 else
13446 ac_check_soname_save_LIBS=$LIBS
13447 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13451 /* Override any GCC internal prototype to avoid an error.
13452 Use char because int might match the return type of a GCC
13453 builtin and then its argument prototype would still apply. */
13454 #ifdef __cplusplus
13455 extern "C"
13456 #endif
13457 char capi20_register ();
13459 main ()
13461 return capi20_register ();
13463 return 0;
13465 _ACEOF
13466 if ac_fn_c_try_link "$LINENO"; then :
13467 case "$LIBEXT" in
13468 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13469 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'` ;;
13470 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13471 if ${ac_cv_lib_soname_capi20:+false} :; then :
13472 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13473 fi ;;
13474 esac
13476 rm -f core conftest.err conftest.$ac_objext \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_soname_save_LIBS
13480 if ${ac_cv_lib_soname_capi20:+false} :; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13482 $as_echo "not found" >&6; }
13484 else
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13486 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13488 cat >>confdefs.h <<_ACEOF
13489 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13490 _ACEOF
13495 CPPFLAGS=$ac_save_CPPFLAGS
13496 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13497 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13500 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13501 case "x$with_capi" in
13502 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13503 xno) ;;
13504 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13505 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13506 esac
13510 if test "x$with_cups" != "xno"
13511 then
13512 if ${CUPS_CFLAGS:+false} :; then :
13513 if ${PKG_CONFIG+:} false; then :
13514 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13517 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13518 if ${CUPS_LIBS:+false} :; then :
13519 if ${PKG_CONFIG+:} false; then :
13520 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13523 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13524 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13525 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13526 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13527 ac_save_CPPFLAGS=$CPPFLAGS
13528 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13529 for ac_header in cups/cups.h cups/ppd.h
13530 do :
13531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13532 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13533 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13534 cat >>confdefs.h <<_ACEOF
13535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13536 _ACEOF
13540 done
13542 if test "$ac_cv_header_cups_cups_h" = "yes"
13543 then
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13545 $as_echo_n "checking for -lcups... " >&6; }
13546 if ${ac_cv_lib_soname_cups+:} false; then :
13547 $as_echo_n "(cached) " >&6
13548 else
13549 ac_check_soname_save_LIBS=$LIBS
13550 LIBS="-lcups $CUPS_LIBS $LIBS"
13551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13554 /* Override any GCC internal prototype to avoid an error.
13555 Use char because int might match the return type of a GCC
13556 builtin and then its argument prototype would still apply. */
13557 #ifdef __cplusplus
13558 extern "C"
13559 #endif
13560 char cupsGetDefault ();
13562 main ()
13564 return cupsGetDefault ();
13566 return 0;
13568 _ACEOF
13569 if ac_fn_c_try_link "$LINENO"; then :
13570 case "$LIBEXT" in
13571 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13572 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'` ;;
13573 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13574 if ${ac_cv_lib_soname_cups:+false} :; then :
13575 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13576 fi ;;
13577 esac
13579 rm -f core conftest.err conftest.$ac_objext \
13580 conftest$ac_exeext conftest.$ac_ext
13581 LIBS=$ac_check_soname_save_LIBS
13583 if ${ac_cv_lib_soname_cups:+false} :; then :
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13585 $as_echo "not found" >&6; }
13586 CUPS_LIBS=""
13587 else
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13589 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13591 cat >>confdefs.h <<_ACEOF
13592 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13593 _ACEOF
13597 else
13598 CUPS_CFLAGS=""
13599 CUPS_LIBS=""
13601 CPPFLAGS=$ac_save_CPPFLAGS
13602 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13603 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13606 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13607 case "x$with_cups" in
13608 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13609 xno) ;;
13610 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13611 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13612 esac
13616 if test "x$with_fontconfig" != "xno"
13617 then
13618 if ${FONTCONFIG_CFLAGS:+false} :; then :
13619 if ${PKG_CONFIG+:} false; then :
13620 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13623 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13624 if ${FONTCONFIG_LIBS:+false} :; then :
13625 if ${PKG_CONFIG+:} false; then :
13626 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13629 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13631 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13632 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13633 ac_save_CPPFLAGS=$CPPFLAGS
13634 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13635 for ac_header in fontconfig/fontconfig.h
13636 do :
13637 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13638 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13639 cat >>confdefs.h <<_ACEOF
13640 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13641 _ACEOF
13645 done
13647 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13648 then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13650 $as_echo_n "checking for -lfontconfig... " >&6; }
13651 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13652 $as_echo_n "(cached) " >&6
13653 else
13654 ac_check_soname_save_LIBS=$LIBS
13655 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13659 /* Override any GCC internal prototype to avoid an error.
13660 Use char because int might match the return type of a GCC
13661 builtin and then its argument prototype would still apply. */
13662 #ifdef __cplusplus
13663 extern "C"
13664 #endif
13665 char FcInit ();
13667 main ()
13669 return FcInit ();
13671 return 0;
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"; then :
13675 case "$LIBEXT" in
13676 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13677 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'` ;;
13678 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13679 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13680 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13681 fi ;;
13682 esac
13684 rm -f core conftest.err conftest.$ac_objext \
13685 conftest$ac_exeext conftest.$ac_ext
13686 LIBS=$ac_check_soname_save_LIBS
13688 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13690 $as_echo "not found" >&6; }
13691 FONTCONFIG_CFLAGS=""
13692 else
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13694 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13696 cat >>confdefs.h <<_ACEOF
13697 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13698 _ACEOF
13702 else
13703 FONTCONFIG_CFLAGS=""
13705 CPPFLAGS=$ac_save_CPPFLAGS
13706 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13707 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13710 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13711 case "x$with_fontconfig" in
13712 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13713 xno) ;;
13714 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13715 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13716 esac
13720 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13721 then
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13723 $as_echo_n "checking for -lgsm... " >&6; }
13724 if ${ac_cv_lib_soname_gsm+:} false; then :
13725 $as_echo_n "(cached) " >&6
13726 else
13727 ac_check_soname_save_LIBS=$LIBS
13728 LIBS="-lgsm $LIBS"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13732 /* Override any GCC internal prototype to avoid an error.
13733 Use char because int might match the return type of a GCC
13734 builtin and then its argument prototype would still apply. */
13735 #ifdef __cplusplus
13736 extern "C"
13737 #endif
13738 char gsm_create ();
13740 main ()
13742 return gsm_create ();
13744 return 0;
13746 _ACEOF
13747 if ac_fn_c_try_link "$LINENO"; then :
13748 case "$LIBEXT" in
13749 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13750 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'` ;;
13751 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13752 if ${ac_cv_lib_soname_gsm:+false} :; then :
13753 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13754 fi ;;
13755 esac
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 LIBS=$ac_check_soname_save_LIBS
13761 if ${ac_cv_lib_soname_gsm:+false} :; then :
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13763 $as_echo "not found" >&6; }
13765 else
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13767 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13769 cat >>confdefs.h <<_ACEOF
13770 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13771 _ACEOF
13776 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13777 case "x$with_gsm" in
13778 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13779 xno) ;;
13780 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13781 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13782 esac
13786 if test "x$with_krb5" != "xno"
13787 then
13788 if ${KRB5_CFLAGS:+false} :; then :
13789 if ${PKG_CONFIG+:} false; then :
13790 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13793 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13794 if ${KRB5_LIBS:+false} :; then :
13795 if ${PKG_CONFIG+:} false; then :
13796 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13799 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13801 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13802 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13803 ac_save_CPPFLAGS=$CPPFLAGS
13804 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13805 for ac_header in krb5/krb5.h
13806 do :
13807 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13808 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13809 cat >>confdefs.h <<_ACEOF
13810 #define HAVE_KRB5_KRB5_H 1
13811 _ACEOF
13815 done
13817 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13818 then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13820 $as_echo_n "checking for -lkrb5... " >&6; }
13821 if ${ac_cv_lib_soname_krb5+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_check_soname_save_LIBS=$LIBS
13825 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13832 #ifdef __cplusplus
13833 extern "C"
13834 #endif
13835 char krb5_init_context ();
13837 main ()
13839 return krb5_init_context ();
13841 return 0;
13843 _ACEOF
13844 if ac_fn_c_try_link "$LINENO"; then :
13845 case "$LIBEXT" in
13846 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13847 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'` ;;
13848 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13849 if ${ac_cv_lib_soname_krb5:+false} :; then :
13850 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13851 fi ;;
13852 esac
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 LIBS=$ac_check_soname_save_LIBS
13858 if ${ac_cv_lib_soname_krb5:+false} :; then :
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13860 $as_echo "not found" >&6; }
13861 KRB5_CFLAGS=""
13862 else
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13864 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13866 cat >>confdefs.h <<_ACEOF
13867 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13868 _ACEOF
13872 else
13873 KRB5_CFLAGS=""
13875 CPPFLAGS=$ac_save_CPPFLAGS
13876 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13877 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13880 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13881 case "x$with_krb5" in
13882 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13883 xno) ;;
13884 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13885 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13886 esac
13890 if test "x$with_gssapi" != "xno"
13891 then
13892 if ${GSSAPI_CFLAGS:+false} :; then :
13893 if ${PKG_CONFIG+:} false; then :
13894 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13897 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13898 if ${GSSAPI_LIBS:+false} :; then :
13899 if ${PKG_CONFIG+:} false; then :
13900 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13903 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13905 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13906 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13907 ac_save_CPPFLAGS=$CPPFLAGS
13908 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13909 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13910 do :
13911 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13912 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13913 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13914 cat >>confdefs.h <<_ACEOF
13915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13916 _ACEOF
13920 done
13922 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13923 then
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13925 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13926 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13927 $as_echo_n "(cached) " >&6
13928 else
13929 ac_check_soname_save_LIBS=$LIBS
13930 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13934 /* Override any GCC internal prototype to avoid an error.
13935 Use char because int might match the return type of a GCC
13936 builtin and then its argument prototype would still apply. */
13937 #ifdef __cplusplus
13938 extern "C"
13939 #endif
13940 char gss_init_sec_context ();
13942 main ()
13944 return gss_init_sec_context ();
13946 return 0;
13948 _ACEOF
13949 if ac_fn_c_try_link "$LINENO"; then :
13950 case "$LIBEXT" in
13951 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13952 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'` ;;
13953 *) 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'`
13954 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13955 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13956 fi ;;
13957 esac
13959 rm -f core conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13961 LIBS=$ac_check_soname_save_LIBS
13963 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13965 $as_echo "not found" >&6; }
13966 GSSAPI_CFLAGS=""
13967 else
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13969 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13971 cat >>confdefs.h <<_ACEOF
13972 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13973 _ACEOF
13977 else
13978 GSSAPI_CFLAGS=""
13980 CPPFLAGS=$ac_save_CPPFLAGS
13981 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13982 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13985 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13986 case "x$with_gssapi" in
13987 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13988 xno) ;;
13989 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13990 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13991 esac
13995 if test "x$with_jpeg" != "xno"
13996 then
13997 if ${JPEG_CFLAGS:+false} :; then :
13998 if ${PKG_CONFIG+:} false; then :
13999 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14003 if ${JPEG_LIBS:+false} :; then :
14004 if ${PKG_CONFIG+:} false; then :
14005 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14010 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14011 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14012 ac_save_CPPFLAGS=$CPPFLAGS
14013 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14014 for ac_header in jpeglib.h
14015 do :
14016 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14017 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14018 cat >>confdefs.h <<_ACEOF
14019 #define HAVE_JPEGLIB_H 1
14020 _ACEOF
14024 done
14026 if test "$ac_cv_header_jpeglib_h" = "yes"
14027 then
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14029 $as_echo_n "checking for -ljpeg... " >&6; }
14030 if ${ac_cv_lib_soname_jpeg+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 ac_check_soname_save_LIBS=$LIBS
14034 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14038 /* Override any GCC internal prototype to avoid an error.
14039 Use char because int might match the return type of a GCC
14040 builtin and then its argument prototype would still apply. */
14041 #ifdef __cplusplus
14042 extern "C"
14043 #endif
14044 char jpeg_start_decompress ();
14046 main ()
14048 return jpeg_start_decompress ();
14050 return 0;
14052 _ACEOF
14053 if ac_fn_c_try_link "$LINENO"; then :
14054 case "$LIBEXT" in
14055 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14056 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'` ;;
14057 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14058 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14059 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14060 fi ;;
14061 esac
14063 rm -f core conftest.err conftest.$ac_objext \
14064 conftest$ac_exeext conftest.$ac_ext
14065 LIBS=$ac_check_soname_save_LIBS
14067 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14069 $as_echo "not found" >&6; }
14070 JPEG_CFLAGS=""
14071 else
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14073 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14075 cat >>confdefs.h <<_ACEOF
14076 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14077 _ACEOF
14081 else
14082 JPEG_CFLAGS=""
14084 CPPFLAGS=$ac_save_CPPFLAGS
14085 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14086 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14089 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14090 case "x$with_jpeg" in
14091 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14092 xno) ;;
14093 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14094 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14095 esac
14099 if test "x$with_png" != "xno"
14100 then
14101 if ${PNG_CFLAGS:+false} :; then :
14102 if ${PKG_CONFIG+:} false; then :
14103 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14106 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14107 if ${PNG_LIBS:+false} :; then :
14108 if ${PKG_CONFIG+:} false; then :
14109 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14112 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14114 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14115 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14116 ac_save_CPPFLAGS=$CPPFLAGS
14117 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14118 for ac_header in png.h
14119 do :
14120 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14121 if test "x$ac_cv_header_png_h" = xyes; then :
14122 cat >>confdefs.h <<_ACEOF
14123 #define HAVE_PNG_H 1
14124 _ACEOF
14128 done
14130 if test "$ac_cv_header_png_h" = "yes"
14131 then
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14133 $as_echo_n "checking for -lpng... " >&6; }
14134 if ${ac_cv_lib_soname_png+:} false; then :
14135 $as_echo_n "(cached) " >&6
14136 else
14137 ac_check_soname_save_LIBS=$LIBS
14138 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14142 /* Override any GCC internal prototype to avoid an error.
14143 Use char because int might match the return type of a GCC
14144 builtin and then its argument prototype would still apply. */
14145 #ifdef __cplusplus
14146 extern "C"
14147 #endif
14148 char png_create_read_struct ();
14150 main ()
14152 return png_create_read_struct ();
14154 return 0;
14156 _ACEOF
14157 if ac_fn_c_try_link "$LINENO"; then :
14158 case "$LIBEXT" in
14159 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14160 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'` ;;
14161 *) 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'`
14162 if ${ac_cv_lib_soname_png:+false} :; then :
14163 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14164 fi ;;
14165 esac
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 LIBS=$ac_check_soname_save_LIBS
14171 if ${ac_cv_lib_soname_png:+false} :; then :
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14173 $as_echo "not found" >&6; }
14174 PNG_CFLAGS=""
14175 else
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14177 $as_echo "$ac_cv_lib_soname_png" >&6; }
14179 cat >>confdefs.h <<_ACEOF
14180 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14181 _ACEOF
14185 else
14186 PNG_CFLAGS=""
14188 CPPFLAGS=$ac_save_CPPFLAGS
14189 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14190 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14193 if test "x$ac_cv_lib_soname_png" = "x"; then :
14194 case "x$with_png" in
14195 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14196 xno) ;;
14197 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14198 This is an error since --with-png was requested." "$LINENO" 5 ;;
14199 esac
14203 if test "x$with_tiff" != "xno"
14204 then
14205 if ${TIFF_CFLAGS:+false} :; then :
14206 if ${PKG_CONFIG+:} false; then :
14207 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14211 if ${TIFF_LIBS:+false} :; then :
14212 if ${PKG_CONFIG+:} false; then :
14213 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14218 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14219 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14220 ac_save_CPPFLAGS=$CPPFLAGS
14221 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14222 for ac_header in tiffio.h
14223 do :
14224 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14225 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14226 cat >>confdefs.h <<_ACEOF
14227 #define HAVE_TIFFIO_H 1
14228 _ACEOF
14232 done
14234 if test "$ac_cv_header_tiffio_h" = "yes"
14235 then
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14237 $as_echo_n "checking for -ltiff... " >&6; }
14238 if ${ac_cv_lib_soname_tiff+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 ac_check_soname_save_LIBS=$LIBS
14242 LIBS="-ltiff $TIFF_LIBS $LIBS"
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14246 /* Override any GCC internal prototype to avoid an error.
14247 Use char because int might match the return type of a GCC
14248 builtin and then its argument prototype would still apply. */
14249 #ifdef __cplusplus
14250 extern "C"
14251 #endif
14252 char TIFFClientOpen ();
14254 main ()
14256 return TIFFClientOpen ();
14258 return 0;
14260 _ACEOF
14261 if ac_fn_c_try_link "$LINENO"; then :
14262 case "$LIBEXT" in
14263 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14264 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'` ;;
14265 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14266 if ${ac_cv_lib_soname_tiff:+false} :; then :
14267 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14268 fi ;;
14269 esac
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 LIBS=$ac_check_soname_save_LIBS
14275 if ${ac_cv_lib_soname_tiff:+false} :; then :
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14277 $as_echo "not found" >&6; }
14279 else
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14281 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14283 cat >>confdefs.h <<_ACEOF
14284 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14285 _ACEOF
14290 CPPFLAGS=$ac_save_CPPFLAGS
14291 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14292 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14295 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14296 case "x$with_tiff" in
14297 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14298 xno) ;;
14299 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14300 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14301 esac
14305 if test "x$with_mpg123" != "xno"
14306 then
14307 if ${MPG123_CFLAGS:+false} :; then :
14308 if ${PKG_CONFIG+:} false; then :
14309 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14313 if ${MPG123_LIBS:+false} :; then :
14314 if ${PKG_CONFIG+:} false; then :
14315 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14319 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14320 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14321 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14322 ac_save_CPPFLAGS=$CPPFLAGS
14323 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14324 for ac_header in mpg123.h
14325 do :
14326 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14327 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14328 cat >>confdefs.h <<_ACEOF
14329 #define HAVE_MPG123_H 1
14330 _ACEOF
14334 done
14336 if test "$ac_cv_header_mpg123_h" = "yes"
14337 then
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14339 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14340 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14341 $as_echo_n "(cached) " >&6
14342 else
14343 ac_check_lib_save_LIBS=$LIBS
14344 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14348 /* Override any GCC internal prototype to avoid an error.
14349 Use char because int might match the return type of a GCC
14350 builtin and then its argument prototype would still apply. */
14351 #ifdef __cplusplus
14352 extern "C"
14353 #endif
14354 char mpg123_feed ();
14356 main ()
14358 return mpg123_feed ();
14360 return 0;
14362 _ACEOF
14363 if ac_fn_c_try_link "$LINENO"; then :
14364 ac_cv_lib_mpg123_mpg123_feed=yes
14365 else
14366 ac_cv_lib_mpg123_mpg123_feed=no
14368 rm -f core conftest.err conftest.$ac_objext \
14369 conftest$ac_exeext conftest.$ac_ext
14370 LIBS=$ac_check_lib_save_LIBS
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14373 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14374 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14376 else
14377 MPG123_LIBS=""
14380 else
14381 MPG123_CFLAGS=""
14382 MPG123_LIBS=""
14384 CPPFLAGS=$ac_save_CPPFLAGS
14385 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14386 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14389 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14390 case "x$with_mpg123" in
14391 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14392 xno) ;;
14393 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14394 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14395 esac
14396 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14399 if test "$ac_cv_header_AL_al_h" = "yes"
14400 then
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14402 $as_echo_n "checking for -lopenal... " >&6; }
14403 if ${ac_cv_lib_soname_openal+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_check_soname_save_LIBS=$LIBS
14407 LIBS="-lopenal $LIBS"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14411 /* Override any GCC internal prototype to avoid an error.
14412 Use char because int might match the return type of a GCC
14413 builtin and then its argument prototype would still apply. */
14414 #ifdef __cplusplus
14415 extern "C"
14416 #endif
14417 char alGetSource3i ();
14419 main ()
14421 return alGetSource3i ();
14423 return 0;
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 case "$LIBEXT" in
14428 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14429 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'` ;;
14430 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14431 if ${ac_cv_lib_soname_openal:+false} :; then :
14432 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14433 fi ;;
14434 esac
14436 rm -f core conftest.err conftest.$ac_objext \
14437 conftest$ac_exeext conftest.$ac_ext
14438 LIBS=$ac_check_soname_save_LIBS
14440 if ${ac_cv_lib_soname_openal:+false} :; then :
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14442 $as_echo "not found" >&6; }
14444 else
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14446 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14448 cat >>confdefs.h <<_ACEOF
14449 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14450 _ACEOF
14452 OPENAL_LIBS="-lopenal"
14454 ac_cv_lib_openal=yes
14456 cat >>confdefs.h <<_ACEOF
14457 #define HAVE_OPENAL 1
14458 _ACEOF
14462 if test "x$ac_cv_lib_openal" != xyes; then :
14463 case "x$with_openal" in
14464 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14465 xno) ;;
14466 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14467 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14468 esac
14469 enable_openal32=${enable_openal32:-no}
14472 if test "x$ac_cv_lib_openal" = xyes
14473 then
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14475 $as_echo_n "checking for openal-soft... " >&6; }
14476 if ${ac_cv_have_openalsoft+:} false; then :
14477 $as_echo_n "(cached) " >&6
14478 else
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14481 #include <AL/al.h>
14482 #include <AL/alc.h>
14483 #include <AL/alext.h>
14484 LPALCRENDERSAMPLESSOFT x;
14486 main ()
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_compile "$LINENO"; then :
14494 ac_cv_have_openalsoft=yes
14495 else
14496 ac_cv_have_openalsoft=no
14498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14501 $as_echo "$ac_cv_have_openalsoft" >&6; }
14503 if test "x$ac_cv_have_openalsoft" != xyes
14504 then
14505 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14506 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14507 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14508 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14509 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14510 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14511 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14512 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14513 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14514 enable_xapofx1_1=${enable_xapofx1_1:-no}
14515 enable_xapofx1_2=${enable_xapofx1_2:-no}
14516 enable_xapofx1_3=${enable_xapofx1_3:-no}
14517 enable_xapofx1_4=${enable_xapofx1_4:-no}
14518 enable_xapofx1_5=${enable_xapofx1_5:-no}
14519 enable_xaudio2_0=${enable_xaudio2_0:-no}
14520 enable_xaudio2_1=${enable_xaudio2_1:-no}
14521 enable_xaudio2_2=${enable_xaudio2_2:-no}
14522 enable_xaudio2_3=${enable_xaudio2_3:-no}
14523 enable_xaudio2_4=${enable_xaudio2_4:-no}
14524 enable_xaudio2_5=${enable_xaudio2_5:-no}
14525 enable_xaudio2_6=${enable_xaudio2_6:-no}
14526 enable_xaudio2_7=${enable_xaudio2_7:-no}
14527 enable_xaudio2_8=${enable_xaudio2_8:-no}
14528 enable_xaudio2_9=${enable_xaudio2_9:-no}
14531 if test "$ac_cv_header_kstat_h" = "yes"
14532 then
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14534 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14535 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14536 $as_echo_n "(cached) " >&6
14537 else
14538 ac_check_lib_save_LIBS=$LIBS
14539 LIBS="-lkstat $LIBS"
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14543 /* Override any GCC internal prototype to avoid an error.
14544 Use char because int might match the return type of a GCC
14545 builtin and then its argument prototype would still apply. */
14546 #ifdef __cplusplus
14547 extern "C"
14548 #endif
14549 char kstat_open ();
14551 main ()
14553 return kstat_open ();
14555 return 0;
14557 _ACEOF
14558 if ac_fn_c_try_link "$LINENO"; then :
14559 ac_cv_lib_kstat_kstat_open=yes
14560 else
14561 ac_cv_lib_kstat_kstat_open=no
14563 rm -f core conftest.err conftest.$ac_objext \
14564 conftest$ac_exeext conftest.$ac_ext
14565 LIBS=$ac_check_lib_save_LIBS
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14568 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14569 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14571 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14573 KSTAT_LIBS="-lkstat"
14579 if test "$ac_cv_header_libprocstat_h" = "yes"
14580 then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14582 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14583 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_check_lib_save_LIBS=$LIBS
14587 LIBS="-lprocstat $LIBS"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14594 #ifdef __cplusplus
14595 extern "C"
14596 #endif
14597 char procstat_open_sysctl ();
14599 main ()
14601 return procstat_open_sysctl ();
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"; then :
14607 ac_cv_lib_procstat_procstat_open_sysctl=yes
14608 else
14609 ac_cv_lib_procstat_procstat_open_sysctl=no
14611 rm -f core conftest.err conftest.$ac_objext \
14612 conftest$ac_exeext conftest.$ac_ext
14613 LIBS=$ac_check_lib_save_LIBS
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14616 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14617 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14619 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14621 PROCSTAT_LIBS="-lprocstat"
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14628 $as_echo_n "checking for -lodbc... " >&6; }
14629 if ${ac_cv_lib_soname_odbc+:} false; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 ac_check_soname_save_LIBS=$LIBS
14633 LIBS="-lodbc $LIBS"
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14637 /* Override any GCC internal prototype to avoid an error.
14638 Use char because int might match the return type of a GCC
14639 builtin and then its argument prototype would still apply. */
14640 #ifdef __cplusplus
14641 extern "C"
14642 #endif
14643 char SQLConnect ();
14645 main ()
14647 return SQLConnect ();
14649 return 0;
14651 _ACEOF
14652 if ac_fn_c_try_link "$LINENO"; then :
14653 case "$LIBEXT" in
14654 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14655 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'` ;;
14656 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14657 if ${ac_cv_lib_soname_odbc:+false} :; then :
14658 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14659 fi ;;
14660 esac
14662 rm -f core conftest.err conftest.$ac_objext \
14663 conftest$ac_exeext conftest.$ac_ext
14664 LIBS=$ac_check_soname_save_LIBS
14666 if ${ac_cv_lib_soname_odbc:+false} :; then :
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14668 $as_echo "not found" >&6; }
14669 cat >>confdefs.h <<_ACEOF
14670 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14671 _ACEOF
14673 else
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14675 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14677 cat >>confdefs.h <<_ACEOF
14678 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14679 _ACEOF
14684 if test "x$with_netapi" != "xno"
14685 then
14686 if ${NETAPI_CFLAGS:+false} :; then :
14687 if ${PKG_CONFIG+:} false; then :
14688 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14692 if ${NETAPI_LIBS:+false} :; then :
14693 if ${PKG_CONFIG+:} false; then :
14694 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14699 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14700 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14701 ac_save_CPPFLAGS=$CPPFLAGS
14702 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14704 $as_echo_n "checking for -lnetapi... " >&6; }
14705 if ${ac_cv_lib_soname_netapi+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 ac_check_soname_save_LIBS=$LIBS
14709 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14713 /* Override any GCC internal prototype to avoid an error.
14714 Use char because int might match the return type of a GCC
14715 builtin and then its argument prototype would still apply. */
14716 #ifdef __cplusplus
14717 extern "C"
14718 #endif
14719 char libnetapi_init ();
14721 main ()
14723 return libnetapi_init ();
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 case "$LIBEXT" in
14730 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14731 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'` ;;
14732 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14733 if ${ac_cv_lib_soname_netapi:+false} :; then :
14734 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14735 fi ;;
14736 esac
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 LIBS=$ac_check_soname_save_LIBS
14742 if ${ac_cv_lib_soname_netapi:+false} :; then :
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14744 $as_echo "not found" >&6; }
14745 cat >>confdefs.h <<_ACEOF
14746 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14747 _ACEOF
14749 else
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14751 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14753 cat >>confdefs.h <<_ACEOF
14754 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14755 _ACEOF
14759 CPPFLAGS=$ac_save_CPPFLAGS
14760 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14761 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14765 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14766 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14767 then
14768 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14772 EXTRACFLAGS=""
14774 if test "x${GCC}" = "xyes"
14775 then
14776 EXTRACFLAGS="-Wall -pipe"
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14779 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14780 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14781 $as_echo_n "(cached) " >&6
14782 else
14783 if test "$cross_compiling" = yes; then :
14784 ac_cv_c_gcc_strength_bug="no"
14785 else
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14788 int L[4] = {0,1,2,3};
14790 main ()
14792 static int Array[3];
14793 unsigned int B = 3;
14794 int i;
14795 for(i=0; i<B; i++) Array[i] = i - 3;
14796 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14797 L[i] = 4;
14798 return (Array[1] != -2 || L[2] != 3)
14800 return 0;
14802 _ACEOF
14803 if ac_fn_c_try_run "$LINENO"; then :
14804 ac_cv_c_gcc_strength_bug="no"
14805 else
14806 ac_cv_c_gcc_strength_bug="yes"
14808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14809 conftest.$ac_objext conftest.beam conftest.$ac_ext
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14814 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14815 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14816 then
14817 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14821 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14822 if ${ac_cv_cflags__fno_builtin+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 ac_wine_try_cflags_saved=$CFLAGS
14826 CFLAGS="$CFLAGS -fno-builtin"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14829 int main(int argc, char **argv) { return 0; }
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_cflags__fno_builtin=yes
14833 else
14834 ac_cv_cflags__fno_builtin=no
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext conftest.$ac_ext
14838 CFLAGS=$ac_wine_try_cflags_saved
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14841 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14842 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14843 BUILTINFLAG="-fno-builtin"
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14847 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14848 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14849 $as_echo_n "(cached) " >&6
14850 else
14851 ac_wine_try_cflags_saved=$CFLAGS
14852 CFLAGS="$CFLAGS -fno-strict-aliasing"
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14855 int main(int argc, char **argv) { return 0; }
14856 _ACEOF
14857 if ac_fn_c_try_link "$LINENO"; then :
14858 ac_cv_cflags__fno_strict_aliasing=yes
14859 else
14860 ac_cv_cflags__fno_strict_aliasing=no
14862 rm -f core conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14864 CFLAGS=$ac_wine_try_cflags_saved
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14867 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14868 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14869 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14872 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14873 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 ac_wine_try_cflags_saved=$CFLAGS
14877 CFLAGS="$CFLAGS -fexcess-precision=standard"
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14880 int main(int argc, char **argv) { return 0; }
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"; then :
14883 ac_cv_cflags__fexcess_precision_standard=yes
14884 else
14885 ac_cv_cflags__fexcess_precision_standard=no
14887 rm -f core conftest.err conftest.$ac_objext \
14888 conftest$ac_exeext conftest.$ac_ext
14889 CFLAGS=$ac_wine_try_cflags_saved
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14892 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14893 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14894 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14897 saved_CFLAGS=$CFLAGS
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14899 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14900 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 ac_wine_try_cflags_saved=$CFLAGS
14904 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14907 int main(int argc, char **argv) { return 0; }
14908 _ACEOF
14909 if ac_fn_c_try_link "$LINENO"; then :
14910 ac_cv_cflags__Werror_unknown_warning_option=yes
14911 else
14912 ac_cv_cflags__Werror_unknown_warning_option=no
14914 rm -f core conftest.err conftest.$ac_objext \
14915 conftest$ac_exeext conftest.$ac_ext
14916 CFLAGS=$ac_wine_try_cflags_saved
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14919 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14920 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14921 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14924 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14925 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14926 $as_echo_n "(cached) " >&6
14927 else
14928 ac_wine_try_cflags_saved=$CFLAGS
14929 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 int main(int argc, char **argv) { return 0; }
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 ac_cv_cflags__Wdeclaration_after_statement=yes
14936 else
14937 ac_cv_cflags__Wdeclaration_after_statement=no
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14941 CFLAGS=$ac_wine_try_cflags_saved
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14944 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14945 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14946 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14949 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14950 if ${ac_cv_cflags__Wempty_body+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_wine_try_cflags_saved=$CFLAGS
14954 CFLAGS="$CFLAGS -Wempty-body"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 int main(int argc, char **argv) { return 0; }
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 ac_cv_cflags__Wempty_body=yes
14961 else
14962 ac_cv_cflags__Wempty_body=no
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14966 CFLAGS=$ac_wine_try_cflags_saved
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14969 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14970 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14971 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14974 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14975 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 ac_wine_try_cflags_saved=$CFLAGS
14979 CFLAGS="$CFLAGS -Wignored-qualifiers"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14982 int main(int argc, char **argv) { return 0; }
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 ac_cv_cflags__Wignored_qualifiers=yes
14986 else
14987 ac_cv_cflags__Wignored_qualifiers=no
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext conftest.$ac_ext
14991 CFLAGS=$ac_wine_try_cflags_saved
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14994 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14995 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14996 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14999 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15000 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 ac_wine_try_cflags_saved=$CFLAGS
15004 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 int main(int argc, char **argv) { return 0; }
15008 _ACEOF
15009 if ac_fn_c_try_link "$LINENO"; then :
15010 ac_cv_cflags__Wpacked_not_aligned=yes
15011 else
15012 ac_cv_cflags__Wpacked_not_aligned=no
15014 rm -f core conftest.err conftest.$ac_objext \
15015 conftest$ac_exeext conftest.$ac_ext
15016 CFLAGS=$ac_wine_try_cflags_saved
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15019 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15020 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15021 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15024 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15025 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_wine_try_cflags_saved=$CFLAGS
15029 CFLAGS="$CFLAGS -Wpragma-pack"
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15032 int main(int argc, char **argv) { return 0; }
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 ac_cv_cflags__Wpragma_pack=yes
15036 else
15037 ac_cv_cflags__Wpragma_pack=no
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 CFLAGS=$ac_wine_try_cflags_saved
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15044 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15045 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15046 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15049 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15050 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 ac_wine_try_cflags_saved=$CFLAGS
15054 CFLAGS="$CFLAGS -Wshift-overflow=2"
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15057 int main(int argc, char **argv) { return 0; }
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 ac_cv_cflags__Wshift_overflow_2=yes
15061 else
15062 ac_cv_cflags__Wshift_overflow_2=no
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 CFLAGS=$ac_wine_try_cflags_saved
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15069 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15070 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15071 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15074 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15075 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 ac_wine_try_cflags_saved=$CFLAGS
15079 CFLAGS="$CFLAGS -Wstrict-prototypes"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 int main(int argc, char **argv) { return 0; }
15083 _ACEOF
15084 if ac_fn_c_try_link "$LINENO"; then :
15085 ac_cv_cflags__Wstrict_prototypes=yes
15086 else
15087 ac_cv_cflags__Wstrict_prototypes=no
15089 rm -f core conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15091 CFLAGS=$ac_wine_try_cflags_saved
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15094 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15095 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15096 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15099 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15100 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15101 $as_echo_n "(cached) " >&6
15102 else
15103 ac_wine_try_cflags_saved=$CFLAGS
15104 CFLAGS="$CFLAGS -Wtype-limits"
15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15107 int main(int argc, char **argv) { return 0; }
15108 _ACEOF
15109 if ac_fn_c_try_link "$LINENO"; then :
15110 ac_cv_cflags__Wtype_limits=yes
15111 else
15112 ac_cv_cflags__Wtype_limits=no
15114 rm -f core conftest.err conftest.$ac_objext \
15115 conftest$ac_exeext conftest.$ac_ext
15116 CFLAGS=$ac_wine_try_cflags_saved
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15119 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15120 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15121 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15124 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15125 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15128 ac_wine_try_cflags_saved=$CFLAGS
15129 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132 int main(int argc, char **argv) { return 0; }
15133 _ACEOF
15134 if ac_fn_c_try_link "$LINENO"; then :
15135 ac_cv_cflags__Wunused_but_set_parameter=yes
15136 else
15137 ac_cv_cflags__Wunused_but_set_parameter=no
15139 rm -f core conftest.err conftest.$ac_objext \
15140 conftest$ac_exeext conftest.$ac_ext
15141 CFLAGS=$ac_wine_try_cflags_saved
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15144 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15145 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15146 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15149 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15150 if ${ac_cv_cflags__Wvla+:} false; then :
15151 $as_echo_n "(cached) " >&6
15152 else
15153 ac_wine_try_cflags_saved=$CFLAGS
15154 CFLAGS="$CFLAGS -Wvla"
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 int main(int argc, char **argv) { return 0; }
15158 _ACEOF
15159 if ac_fn_c_try_link "$LINENO"; then :
15160 ac_cv_cflags__Wvla=yes
15161 else
15162 ac_cv_cflags__Wvla=no
15164 rm -f core conftest.err conftest.$ac_objext \
15165 conftest$ac_exeext conftest.$ac_ext
15166 CFLAGS=$ac_wine_try_cflags_saved
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15169 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15170 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15171 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15174 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15175 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 ac_wine_try_cflags_saved=$CFLAGS
15179 CFLAGS="$CFLAGS -Wwrite-strings"
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15182 int main(int argc, char **argv) { return 0; }
15183 _ACEOF
15184 if ac_fn_c_try_link "$LINENO"; then :
15185 ac_cv_cflags__Wwrite_strings=yes
15186 else
15187 ac_cv_cflags__Wwrite_strings=no
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15191 CFLAGS=$ac_wine_try_cflags_saved
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15194 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15195 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15196 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15200 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15201 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15202 $as_echo_n "(cached) " >&6
15203 else
15204 ac_wine_try_cflags_saved=$CFLAGS
15205 CFLAGS="$CFLAGS -Wpointer-arith"
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15208 int main(int argc, char **argv) { return 0; }
15209 _ACEOF
15210 if ac_fn_c_try_link "$LINENO"; then :
15211 ac_cv_cflags__Wpointer_arith=yes
15212 else
15213 ac_cv_cflags__Wpointer_arith=no
15215 rm -f core conftest.err conftest.$ac_objext \
15216 conftest$ac_exeext conftest.$ac_ext
15217 CFLAGS=$ac_wine_try_cflags_saved
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15220 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15221 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15222 saved_string_h_CFLAGS=$CFLAGS
15223 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15225 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15226 if ${ac_cv_c_string_h_warnings+:} false; then :
15227 $as_echo_n "(cached) " >&6
15228 else
15229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15231 #include <string.h>
15233 main ()
15237 return 0;
15239 _ACEOF
15240 if ac_fn_c_try_compile "$LINENO"; then :
15241 ac_cv_c_string_h_warnings=no
15242 else
15243 ac_cv_c_string_h_warnings=yes
15245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15248 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15249 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15250 CFLAGS=$saved_string_h_CFLAGS
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15254 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15255 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15258 ac_wine_try_cflags_saved=$CFLAGS
15259 CFLAGS="$CFLAGS -Wlogical-op"
15260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15261 /* end confdefs.h. */
15262 int main(int argc, char **argv) { return 0; }
15263 _ACEOF
15264 if ac_fn_c_try_link "$LINENO"; then :
15265 ac_cv_cflags__Wlogical_op=yes
15266 else
15267 ac_cv_cflags__Wlogical_op=no
15269 rm -f core conftest.err conftest.$ac_objext \
15270 conftest$ac_exeext conftest.$ac_ext
15271 CFLAGS=$ac_wine_try_cflags_saved
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15274 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15275 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15276 saved_string_h_CFLAGS=$CFLAGS
15277 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15279 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15280 if ${ac_cv_c_logicalop_noisy+:} false; then :
15281 $as_echo_n "(cached) " >&6
15282 else
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15285 #include <string.h>
15286 char*f(const char *h,char n) {return strchr(h,n);}
15288 main ()
15292 return 0;
15294 _ACEOF
15295 if ac_fn_c_try_compile "$LINENO"; then :
15296 ac_cv_c_logicalop_noisy=no
15297 else
15298 ac_cv_c_logicalop_noisy=yes
15300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15303 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15304 CFLAGS=$saved_string_h_CFLAGS
15305 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15308 CFLAGS=$saved_CFLAGS
15310 for ac_flag in $CFLAGS; do
15311 case $ac_flag in
15312 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15313 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15314 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15315 $as_echo_n "(cached) " >&6
15316 else
15317 ac_wine_try_cflags_saved=$CFLAGS
15318 CFLAGS="$CFLAGS -gdwarf-2"
15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 int main(int argc, char **argv) { return 0; }
15322 _ACEOF
15323 if ac_fn_c_try_link "$LINENO"; then :
15324 ac_cv_cflags__gdwarf_2=yes
15325 else
15326 ac_cv_cflags__gdwarf_2=no
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext conftest.$ac_ext
15330 CFLAGS=$ac_wine_try_cflags_saved
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15333 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15334 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15335 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15338 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15339 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15342 ac_wine_try_cflags_saved=$CFLAGS
15343 CFLAGS="$CFLAGS -gstrict-dwarf"
15344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15346 int main(int argc, char **argv) { return 0; }
15347 _ACEOF
15348 if ac_fn_c_try_link "$LINENO"; then :
15349 ac_cv_cflags__gstrict_dwarf=yes
15350 else
15351 ac_cv_cflags__gstrict_dwarf=no
15353 rm -f core conftest.err conftest.$ac_objext \
15354 conftest$ac_exeext conftest.$ac_ext
15355 CFLAGS=$ac_wine_try_cflags_saved
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15358 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15359 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15360 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15361 fi ;;
15362 esac
15363 done
15365 case $host_cpu in
15366 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15367 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15368 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 ac_wine_try_cflags_saved=$CFLAGS
15372 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15375 int main(int argc, char **argv) { return 0; }
15376 _ACEOF
15377 if ac_fn_c_try_link "$LINENO"; then :
15378 ac_cv_cflags__fno_omit_frame_pointer=yes
15379 else
15380 ac_cv_cflags__fno_omit_frame_pointer=no
15382 rm -f core conftest.err conftest.$ac_objext \
15383 conftest$ac_exeext conftest.$ac_ext
15384 CFLAGS=$ac_wine_try_cflags_saved
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15387 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15388 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15389 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15390 fi ;;
15391 esac
15393 case $host in
15394 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15395 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15396 if ${ac_cv_cflags__Wno_format+:} false; then :
15397 $as_echo_n "(cached) " >&6
15398 else
15399 ac_wine_try_cflags_saved=$CFLAGS
15400 CFLAGS="$CFLAGS -Wno-format"
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15403 int main(int argc, char **argv) { return 0; }
15404 _ACEOF
15405 if ac_fn_c_try_link "$LINENO"; then :
15406 ac_cv_cflags__Wno_format=yes
15407 else
15408 ac_cv_cflags__Wno_format=no
15410 rm -f core conftest.err conftest.$ac_objext \
15411 conftest$ac_exeext conftest.$ac_ext
15412 CFLAGS=$ac_wine_try_cflags_saved
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15415 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15416 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15417 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15418 fi ;;
15419 esac
15421 if test "x$enable_maintainer_mode" = "xyes"
15422 then
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15424 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15425 if ${ac_cv_cflags__Werror+:} false; then :
15426 $as_echo_n "(cached) " >&6
15427 else
15428 ac_wine_try_cflags_saved=$CFLAGS
15429 CFLAGS="$CFLAGS -Werror"
15430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15432 int main(int argc, char **argv) { return 0; }
15433 _ACEOF
15434 if ac_fn_c_try_link "$LINENO"; then :
15435 ac_cv_cflags__Werror=yes
15436 else
15437 ac_cv_cflags__Werror=no
15439 rm -f core conftest.err conftest.$ac_objext \
15440 conftest$ac_exeext conftest.$ac_ext
15441 CFLAGS=$ac_wine_try_cflags_saved
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15444 $as_echo "$ac_cv_cflags__Werror" >&6; }
15445 if test "x$ac_cv_cflags__Werror" = xyes; then :
15446 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15450 saved_CFLAGS="$CFLAGS"
15451 CFLAGS="$CFLAGS -Werror"
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15453 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15454 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15455 $as_echo_n "(cached) " >&6
15456 else
15457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15459 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15461 main ()
15465 return 0;
15467 _ACEOF
15468 if ac_fn_c_try_compile "$LINENO"; then :
15469 ac_cv_have_ms_hook_prologue="yes"
15470 else
15471 ac_cv_have_ms_hook_prologue="no"
15473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15476 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15477 CFLAGS="$saved_CFLAGS"
15478 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15479 then
15481 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15483 else
15484 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15491 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15492 if ${ac_cv_c_fortify_enabled+:} false; then :
15493 $as_echo_n "(cached) " >&6
15494 else
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15497 #include <string.h>
15499 main ()
15501 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15502 #error Fortify enabled
15503 #endif
15505 return 0;
15507 _ACEOF
15508 if ac_fn_c_try_compile "$LINENO"; then :
15509 ac_cv_c_fortify_enabled=no
15510 else
15511 ac_cv_c_fortify_enabled=yes
15513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15516 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15517 if test "$ac_cv_c_fortify_enabled" = yes
15518 then
15519 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15524 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15525 if ${ac_cv_c_extern_prefix+:} false; then :
15526 $as_echo_n "(cached) " >&6
15527 else
15528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15529 /* end confdefs.h. */
15530 extern int ac_test;
15532 main ()
15534 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15536 return 0;
15538 _ACEOF
15539 if ac_fn_c_try_link "$LINENO"; then :
15540 ac_cv_c_extern_prefix="yes"
15541 else
15542 ac_cv_c_extern_prefix="no"
15544 rm -f core conftest.err conftest.$ac_objext \
15545 conftest$ac_exeext conftest.$ac_ext
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15548 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15550 case $host_cpu in
15551 *i[3456789]86*)
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15553 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15554 if ${ac_cv_c_stdcall_suffix+:} false; then :
15555 $as_echo_n "(cached) " >&6
15556 else
15557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15558 /* end confdefs.h. */
15559 #ifndef _MSC_VER
15560 #define __stdcall __attribute__((__stdcall__))
15561 #endif
15562 int __stdcall ac_test(int i) { return i; }
15564 main ()
15566 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15568 return 0;
15570 _ACEOF
15571 if ac_fn_c_try_link "$LINENO"; then :
15572 ac_cv_c_stdcall_suffix="yes"
15573 else
15574 ac_cv_c_stdcall_suffix="no"
15576 rm -f core conftest.err conftest.$ac_objext \
15577 conftest$ac_exeext conftest.$ac_ext
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15580 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15581 *) ac_cv_c_stdcall_suffix="no" ;;
15582 esac
15585 if test "$ac_cv_c_extern_prefix" = "yes"
15586 then
15587 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15589 asm_name_prefix="_"
15590 else
15591 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15593 asm_name_prefix=""
15597 if test "$ac_cv_c_stdcall_suffix" = "yes"
15598 then
15599 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15601 else
15602 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15608 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15609 if ${ac_cv_asm_func_def+:} false; then :
15610 $as_echo_n "(cached) " >&6
15611 else
15612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h. */
15616 main ()
15618 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15620 return 0;
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"; then :
15624 ac_cv_asm_func_def=".def"
15625 else
15626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15630 main ()
15632 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15634 return 0;
15636 _ACEOF
15637 if ac_fn_c_try_link "$LINENO"; then :
15638 ac_cv_asm_func_def=".type @function"
15639 else
15640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15644 main ()
15646 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15648 return 0;
15650 _ACEOF
15651 if ac_fn_c_try_link "$LINENO"; then :
15652 ac_cv_asm_func_def=".type 2"
15653 else
15654 ac_cv_asm_func_def="unknown"
15656 rm -f core conftest.err conftest.$ac_objext \
15657 conftest$ac_exeext conftest.$ac_ext
15659 rm -f core conftest.err conftest.$ac_objext \
15660 conftest$ac_exeext conftest.$ac_ext
15662 rm -f core conftest.err conftest.$ac_objext \
15663 conftest$ac_exeext conftest.$ac_ext
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15666 $as_echo "$ac_cv_asm_func_def" >&6; }
15669 case "$ac_cv_asm_func_def" in
15670 ".def")
15671 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15673 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15674 ".type @function")
15675 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15677 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15678 ".type 2")
15679 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15681 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15683 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15685 asm_func_header="" ;;
15686 esac
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15689 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15690 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15691 $as_echo_n "(cached) " >&6
15692 else
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15695 asm(".text\n\t.long 0");
15697 main ()
15701 return 0;
15703 _ACEOF
15704 if ac_fn_c_try_compile "$LINENO"; then :
15705 ac_cv_c_asm_outside_funcs="yes"
15706 else
15707 ac_cv_c_asm_outside_funcs="no"
15709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15712 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15715 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15716 if ${ac_cv_c_dot_previous+:} false; then :
15717 $as_echo_n "(cached) " >&6
15718 else
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15723 main ()
15725 asm(".text\nac_test:\t.long 0\n\t.previous");
15727 return 0;
15729 _ACEOF
15730 if ac_fn_c_try_link "$LINENO"; then :
15731 ac_cv_c_dot_previous="yes"
15732 else
15733 ac_cv_c_dot_previous="no"
15735 rm -f core conftest.err conftest.$ac_objext \
15736 conftest$ac_exeext conftest.$ac_ext
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15739 $as_echo "$ac_cv_c_dot_previous" >&6; }
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15742 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15743 if ${ac_cv_c_cfi_support+:} false; then :
15744 $as_echo_n "(cached) " >&6
15745 else
15746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h. */
15748 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15750 main ()
15754 return 0;
15756 _ACEOF
15757 if ac_fn_c_try_compile "$LINENO"; then :
15758 ac_cv_c_cfi_support="yes"
15759 else
15760 ac_cv_c_cfi_support="no"
15762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15765 $as_echo "$ac_cv_c_cfi_support" >&6; }
15767 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15768 asm_func_trailer=""
15769 if test "$ac_cv_c_dot_previous" = "yes"
15770 then
15771 asm_func_trailer="\\n\\t.previous"
15773 if test "$ac_cv_c_cfi_support" = "yes"
15774 then
15775 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15776 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15778 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15780 UNWINDFLAGS=-fasynchronous-unwind-tables
15782 else
15783 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15785 if test "x$enable_win64" = "xyes"
15786 then
15787 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15791 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15794 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15795 then
15796 cat >>confdefs.h <<_ACEOF
15797 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15798 _ACEOF
15800 else
15801 cat >>confdefs.h <<_ACEOF
15802 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15803 _ACEOF
15807 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15810 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15814 case $build_os in
15815 cygwin*|mingw32*) TOOLSEXT=".exe"
15817 esac
15819 case $host_os in
15820 linux*)
15821 case $host_cpu in
15822 *i[3456789]86*|x86_64*|*aarch64*)
15823 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15824 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15826 esac
15828 esac
15831 ac_save_CFLAGS="$CFLAGS"
15832 CFLAGS="$CFLAGS $BUILTINFLAG"
15833 for ac_func in \
15834 __res_get_state \
15835 __res_getservers \
15836 _finite \
15837 _isnan \
15838 _pclose \
15839 _popen \
15840 _snprintf \
15841 _spawnvp \
15842 _strdup \
15843 _stricmp \
15844 _strnicmp \
15845 _strtoi64 \
15846 _strtoui64 \
15847 _vsnprintf \
15848 asctime_r \
15849 chsize \
15850 dlopen \
15851 epoll_create \
15852 ffs \
15853 finitef \
15854 fnmatch \
15855 fork \
15856 fpclass \
15857 fstatfs \
15858 fstatvfs \
15859 ftruncate \
15860 futimens \
15861 futimes \
15862 futimesat \
15863 getattrlist \
15864 getauxval \
15865 getifaddrs \
15866 getopt_long_only \
15867 getpwuid \
15868 gettimeofday \
15869 getuid \
15870 isnanf \
15871 kqueue \
15872 lstat \
15873 memmove \
15874 mmap \
15875 pclose \
15876 pipe2 \
15877 poll \
15878 popen \
15879 port_create \
15880 prctl \
15881 pread \
15882 proc_pidinfo \
15883 pwrite \
15884 readdir \
15885 readlink \
15886 sched_yield \
15887 select \
15888 setproctitle \
15889 setprogname \
15890 setrlimit \
15891 settimeofday \
15892 sigaltstack \
15893 sigprocmask \
15894 snprintf \
15895 statfs \
15896 statvfs \
15897 strcasecmp \
15898 strdup \
15899 strerror \
15900 strncasecmp \
15901 strnlen \
15902 strtold \
15903 strtoll \
15904 strtoull \
15905 symlink \
15906 sysinfo \
15907 tcdrain \
15908 thr_kill2 \
15909 timegm \
15910 usleep \
15911 vsnprintf
15913 do :
15914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15917 cat >>confdefs.h <<_ACEOF
15918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15919 _ACEOF
15922 done
15924 CFLAGS="$ac_save_CFLAGS"
15926 if test "$ac_cv_func_dlopen" = no
15927 then
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15929 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15930 if ${ac_cv_lib_dl_dlopen+:} false; then :
15931 $as_echo_n "(cached) " >&6
15932 else
15933 ac_check_lib_save_LIBS=$LIBS
15934 LIBS="-ldl $LIBS"
15935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h. */
15938 /* Override any GCC internal prototype to avoid an error.
15939 Use char because int might match the return type of a GCC
15940 builtin and then its argument prototype would still apply. */
15941 #ifdef __cplusplus
15942 extern "C"
15943 #endif
15944 char dlopen ();
15946 main ()
15948 return dlopen ();
15950 return 0;
15952 _ACEOF
15953 if ac_fn_c_try_link "$LINENO"; then :
15954 ac_cv_lib_dl_dlopen=yes
15955 else
15956 ac_cv_lib_dl_dlopen=no
15958 rm -f core conftest.err conftest.$ac_objext \
15959 conftest$ac_exeext conftest.$ac_ext
15960 LIBS=$ac_check_lib_save_LIBS
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15963 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15964 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15965 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15966 DL_LIBS="-ldl"
15971 ac_wine_check_funcs_save_LIBS="$LIBS"
15972 LIBS="$LIBS $DL_LIBS"
15973 for ac_func in dladdr
15974 do :
15975 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15976 if test "x$ac_cv_func_dladdr" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_DLADDR 1
15979 _ACEOF
15982 done
15984 LIBS="$ac_wine_check_funcs_save_LIBS"
15986 if test "$ac_cv_func_poll" = no
15987 then
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15989 $as_echo_n "checking for poll in -lpoll... " >&6; }
15990 if ${ac_cv_lib_poll_poll+:} false; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 ac_check_lib_save_LIBS=$LIBS
15994 LIBS="-lpoll $LIBS"
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15998 /* Override any GCC internal prototype to avoid an error.
15999 Use char because int might match the return type of a GCC
16000 builtin and then its argument prototype would still apply. */
16001 #ifdef __cplusplus
16002 extern "C"
16003 #endif
16004 char poll ();
16006 main ()
16008 return poll ();
16010 return 0;
16012 _ACEOF
16013 if ac_fn_c_try_link "$LINENO"; then :
16014 ac_cv_lib_poll_poll=yes
16015 else
16016 ac_cv_lib_poll_poll=no
16018 rm -f core conftest.err conftest.$ac_objext \
16019 conftest$ac_exeext conftest.$ac_ext
16020 LIBS=$ac_check_lib_save_LIBS
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16023 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16024 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16025 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16026 POLL_LIBS="-lpoll"
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16033 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16034 if ${ac_cv_search_gethostbyname+:} false; then :
16035 $as_echo_n "(cached) " >&6
16036 else
16037 ac_func_search_save_LIBS=$LIBS
16038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16039 /* end confdefs.h. */
16041 /* Override any GCC internal prototype to avoid an error.
16042 Use char because int might match the return type of a GCC
16043 builtin and then its argument prototype would still apply. */
16044 #ifdef __cplusplus
16045 extern "C"
16046 #endif
16047 char gethostbyname ();
16049 main ()
16051 return gethostbyname ();
16053 return 0;
16055 _ACEOF
16056 for ac_lib in '' nsl; do
16057 if test -z "$ac_lib"; then
16058 ac_res="none required"
16059 else
16060 ac_res=-l$ac_lib
16061 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16063 if ac_fn_c_try_link "$LINENO"; then :
16064 ac_cv_search_gethostbyname=$ac_res
16066 rm -f core conftest.err conftest.$ac_objext \
16067 conftest$ac_exeext
16068 if ${ac_cv_search_gethostbyname+:} false; then :
16069 break
16071 done
16072 if ${ac_cv_search_gethostbyname+:} false; then :
16074 else
16075 ac_cv_search_gethostbyname=no
16077 rm conftest.$ac_ext
16078 LIBS=$ac_func_search_save_LIBS
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16081 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16082 ac_res=$ac_cv_search_gethostbyname
16083 if test "$ac_res" != no; then :
16084 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16090 $as_echo_n "checking for library containing connect... " >&6; }
16091 if ${ac_cv_search_connect+:} false; then :
16092 $as_echo_n "(cached) " >&6
16093 else
16094 ac_func_search_save_LIBS=$LIBS
16095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16096 /* end confdefs.h. */
16098 /* Override any GCC internal prototype to avoid an error.
16099 Use char because int might match the return type of a GCC
16100 builtin and then its argument prototype would still apply. */
16101 #ifdef __cplusplus
16102 extern "C"
16103 #endif
16104 char connect ();
16106 main ()
16108 return connect ();
16110 return 0;
16112 _ACEOF
16113 for ac_lib in '' socket; do
16114 if test -z "$ac_lib"; then
16115 ac_res="none required"
16116 else
16117 ac_res=-l$ac_lib
16118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16120 if ac_fn_c_try_link "$LINENO"; then :
16121 ac_cv_search_connect=$ac_res
16123 rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext
16125 if ${ac_cv_search_connect+:} false; then :
16126 break
16128 done
16129 if ${ac_cv_search_connect+:} false; then :
16131 else
16132 ac_cv_search_connect=no
16134 rm conftest.$ac_ext
16135 LIBS=$ac_func_search_save_LIBS
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16138 $as_echo "$ac_cv_search_connect" >&6; }
16139 ac_res=$ac_cv_search_connect
16140 if test "$ac_res" != no; then :
16141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16147 $as_echo_n "checking for library containing inet_aton... " >&6; }
16148 if ${ac_cv_search_inet_aton+:} false; then :
16149 $as_echo_n "(cached) " >&6
16150 else
16151 ac_func_search_save_LIBS=$LIBS
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16155 /* Override any GCC internal prototype to avoid an error.
16156 Use char because int might match the return type of a GCC
16157 builtin and then its argument prototype would still apply. */
16158 #ifdef __cplusplus
16159 extern "C"
16160 #endif
16161 char inet_aton ();
16163 main ()
16165 return inet_aton ();
16167 return 0;
16169 _ACEOF
16170 for ac_lib in '' resolv; do
16171 if test -z "$ac_lib"; then
16172 ac_res="none required"
16173 else
16174 ac_res=-l$ac_lib
16175 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16177 if ac_fn_c_try_link "$LINENO"; then :
16178 ac_cv_search_inet_aton=$ac_res
16180 rm -f core conftest.err conftest.$ac_objext \
16181 conftest$ac_exeext
16182 if ${ac_cv_search_inet_aton+:} false; then :
16183 break
16185 done
16186 if ${ac_cv_search_inet_aton+:} false; then :
16188 else
16189 ac_cv_search_inet_aton=no
16191 rm conftest.$ac_ext
16192 LIBS=$ac_func_search_save_LIBS
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16195 $as_echo "$ac_cv_search_inet_aton" >&6; }
16196 ac_res=$ac_cv_search_inet_aton
16197 if test "$ac_res" != no; then :
16198 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16203 for ac_func in \
16204 getaddrinfo \
16205 getnameinfo \
16206 getnetbyname \
16207 getprotobyname \
16208 getprotobynumber \
16209 getservbyport \
16210 inet_addr \
16211 inet_network \
16212 inet_ntop \
16213 inet_pton \
16214 sendmsg \
16215 socketpair \
16217 do :
16218 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16219 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16220 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16223 _ACEOF
16226 done
16229 ac_save_LIBS=$LIBS
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16231 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16232 if ${ac_cv_search_clock_gettime+:} false; then :
16233 $as_echo_n "(cached) " >&6
16234 else
16235 ac_func_search_save_LIBS=$LIBS
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16239 /* Override any GCC internal prototype to avoid an error.
16240 Use char because int might match the return type of a GCC
16241 builtin and then its argument prototype would still apply. */
16242 #ifdef __cplusplus
16243 extern "C"
16244 #endif
16245 char clock_gettime ();
16247 main ()
16249 return clock_gettime ();
16251 return 0;
16253 _ACEOF
16254 for ac_lib in '' rt; do
16255 if test -z "$ac_lib"; then
16256 ac_res="none required"
16257 else
16258 ac_res=-l$ac_lib
16259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16261 if ac_fn_c_try_link "$LINENO"; then :
16262 ac_cv_search_clock_gettime=$ac_res
16264 rm -f core conftest.err conftest.$ac_objext \
16265 conftest$ac_exeext
16266 if ${ac_cv_search_clock_gettime+:} false; then :
16267 break
16269 done
16270 if ${ac_cv_search_clock_gettime+:} false; then :
16272 else
16273 ac_cv_search_clock_gettime=no
16275 rm conftest.$ac_ext
16276 LIBS=$ac_func_search_save_LIBS
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16279 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16280 ac_res=$ac_cv_search_clock_gettime
16281 if test "$ac_res" != no; then :
16282 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16284 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16286 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16290 LIBS=$ac_save_LIBS
16292 if test "x$with_ldap" != "xno"
16293 then
16294 if ${LDAP_CFLAGS:+false} :; then :
16295 if ${PKG_CONFIG+:} false; then :
16296 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16300 if ${LDAP_LIBS:+false} :; then :
16301 if ${PKG_CONFIG+:} false; then :
16302 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16306 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16307 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16308 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16309 ac_save_CPPFLAGS=$CPPFLAGS
16310 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16311 for ac_header in ldap.h lber.h
16312 do :
16313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16314 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16315 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16318 _ACEOF
16322 done
16324 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16325 then
16326 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16328 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16330 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16331 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16332 $as_echo_n "(cached) " >&6
16333 else
16334 ac_check_lib_save_LIBS=$LIBS
16335 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16339 /* Override any GCC internal prototype to avoid an error.
16340 Use char because int might match the return type of a GCC
16341 builtin and then its argument prototype would still apply. */
16342 #ifdef __cplusplus
16343 extern "C"
16344 #endif
16345 char ldap_initialize ();
16347 main ()
16349 return ldap_initialize ();
16351 return 0;
16353 _ACEOF
16354 if ac_fn_c_try_link "$LINENO"; then :
16355 ac_cv_lib_ldap_r_ldap_initialize=yes
16356 else
16357 ac_cv_lib_ldap_r_ldap_initialize=no
16359 rm -f core conftest.err conftest.$ac_objext \
16360 conftest$ac_exeext conftest.$ac_ext
16361 LIBS=$ac_check_lib_save_LIBS
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16364 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16365 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16367 $as_echo_n "checking for ber_init in -llber... " >&6; }
16368 if ${ac_cv_lib_lber_ber_init+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 ac_check_lib_save_LIBS=$LIBS
16372 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16376 /* Override any GCC internal prototype to avoid an error.
16377 Use char because int might match the return type of a GCC
16378 builtin and then its argument prototype would still apply. */
16379 #ifdef __cplusplus
16380 extern "C"
16381 #endif
16382 char ber_init ();
16384 main ()
16386 return ber_init ();
16388 return 0;
16390 _ACEOF
16391 if ac_fn_c_try_link "$LINENO"; then :
16392 ac_cv_lib_lber_ber_init=yes
16393 else
16394 ac_cv_lib_lber_ber_init=no
16396 rm -f core conftest.err conftest.$ac_objext \
16397 conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_lib_save_LIBS
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16401 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16402 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16404 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16406 else
16407 LDAP_LIBS=""
16410 else
16411 LDAP_LIBS=""
16414 else
16415 LDAP_LIBS=""
16418 ac_wine_check_funcs_save_LIBS="$LIBS"
16419 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16420 for ac_func in \
16421 ldap_count_references \
16422 ldap_first_reference \
16423 ldap_next_reference \
16424 ldap_parse_reference \
16425 ldap_parse_sort_control \
16426 ldap_parse_sortresponse_control \
16427 ldap_parse_vlv_control \
16428 ldap_parse_vlvresponse_control
16429 do :
16430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16433 cat >>confdefs.h <<_ACEOF
16434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16435 _ACEOF
16438 done
16440 LIBS="$ac_wine_check_funcs_save_LIBS"
16441 else
16442 LDAP_LIBS=""
16444 CPPFLAGS=$ac_save_CPPFLAGS
16445 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16446 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16449 if test "x$LDAP_LIBS" = "x"; then :
16450 case "x$with_ldap" in
16451 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16452 xno) ;;
16453 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16454 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16455 esac
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16460 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16461 if ${wine_cv_one_arg_mkdir+:} false; then :
16462 $as_echo_n "(cached) " >&6
16463 else
16464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16466 #include <sys/stat.h>
16468 main ()
16470 mkdir("foo");
16472 return 0;
16474 _ACEOF
16475 if ac_fn_c_try_compile "$LINENO"; then :
16476 wine_cv_one_arg_mkdir=yes
16477 else
16478 wine_cv_one_arg_mkdir=no
16480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16483 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16484 if test "$wine_cv_one_arg_mkdir" = "yes"
16485 then
16487 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16492 $as_echo_n "checking for sched_setaffinity... " >&6; }
16493 if ${wine_cv_have_sched_setaffinity+:} false; then :
16494 $as_echo_n "(cached) " >&6
16495 else
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16498 #define _GNU_SOURCE
16499 #include <sched.h>
16501 main ()
16503 sched_setaffinity(0, 0, 0);
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_link "$LINENO"; then :
16509 wine_cv_have_sched_setaffinity=yes
16510 else
16511 wine_cv_have_sched_setaffinity=no
16513 rm -f core conftest.err conftest.$ac_objext \
16514 conftest$ac_exeext conftest.$ac_ext
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16517 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16518 if test "$wine_cv_have_sched_setaffinity" = "yes"
16519 then
16521 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16526 $as_echo_n "checking for fallocate... " >&6; }
16527 if ${wine_cv_have_fallocate+:} false; then :
16528 $as_echo_n "(cached) " >&6
16529 else
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 #define _GNU_SOURCE
16533 #include <fcntl.h>
16535 main ()
16537 fallocate(-1, 0, 0, 0);
16539 return 0;
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"; then :
16543 wine_cv_have_fallocate=yes
16544 else
16545 wine_cv_have_fallocate=no
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16551 $as_echo "$wine_cv_have_fallocate" >&6; }
16552 if test "$wine_cv_have_fallocate" = "yes"
16553 then
16555 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16561 $as_echo_n "checking for inline... " >&6; }
16562 if ${ac_cv_c_inline+:} false; then :
16563 $as_echo_n "(cached) " >&6
16564 else
16565 ac_cv_c_inline=no
16566 for ac_kw in inline __inline__ __inline; do
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16569 #ifndef __cplusplus
16570 typedef int foo_t;
16571 static $ac_kw foo_t static_foo () {return 0; }
16572 $ac_kw foo_t foo () {return 0; }
16573 #endif
16575 _ACEOF
16576 if ac_fn_c_try_compile "$LINENO"; then :
16577 ac_cv_c_inline=$ac_kw
16579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16580 test "$ac_cv_c_inline" != no && break
16581 done
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16585 $as_echo "$ac_cv_c_inline" >&6; }
16587 case $ac_cv_c_inline in
16588 inline | yes) ;;
16590 case $ac_cv_c_inline in
16591 no) ac_val=;;
16592 *) ac_val=$ac_cv_c_inline;;
16593 esac
16594 cat >>confdefs.h <<_ACEOF
16595 #ifndef __cplusplus
16596 #define inline $ac_val
16597 #endif
16598 _ACEOF
16600 esac
16602 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16603 if test "x$ac_cv_type_mode_t" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_MODE_T 1
16607 _ACEOF
16611 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16612 if test "x$ac_cv_type_off_t" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_OFF_T 1
16616 _ACEOF
16620 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16621 if test "x$ac_cv_type_pid_t" = xyes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_PID_T 1
16625 _ACEOF
16629 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16630 if test "x$ac_cv_type_size_t" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_SIZE_T 1
16634 _ACEOF
16638 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16639 if test "x$ac_cv_type_ssize_t" = xyes; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define HAVE_SSIZE_T 1
16643 _ACEOF
16647 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16648 if test "x$ac_cv_type_long_long" = xyes; then :
16650 cat >>confdefs.h <<_ACEOF
16651 #define HAVE_LONG_LONG 1
16652 _ACEOF
16656 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16657 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16659 cat >>confdefs.h <<_ACEOF
16660 #define HAVE_FSBLKCNT_T 1
16661 _ACEOF
16665 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16666 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_FSFILCNT_T 1
16670 _ACEOF
16675 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16676 #include <signal.h>
16678 if test "x$ac_cv_type_sigset_t" = xyes; then :
16680 cat >>confdefs.h <<_ACEOF
16681 #define HAVE_SIGSET_T 1
16682 _ACEOF
16687 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16689 if test "x$ac_cv_type_request_sense" = xyes; then :
16691 cat >>confdefs.h <<_ACEOF
16692 #define HAVE_REQUEST_SENSE 1
16693 _ACEOF
16699 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16700 #ifdef HAVE_SYS_SOCKET_H
16701 #include <sys/socket.h>
16702 #endif
16703 #ifdef HAVE_SYS_SOCKETVAR_H
16704 #include <sys/socketvar.h>
16705 #endif
16706 #ifdef HAVE_NET_ROUTE_H
16707 #include <net/route.h>
16708 #endif
16709 #ifdef HAVE_NETINET_IN_H
16710 #include <netinet/in.h>
16711 #endif
16712 #ifdef HAVE_NETINET_IN_SYSTM_H
16713 #include <netinet/in_systm.h>
16714 #endif
16715 #ifdef HAVE_NETINET_IP_H
16716 #include <netinet/ip.h>
16717 #endif
16718 #ifdef HAVE_NETINET_IN_PCB_H
16719 #include <netinet/in_pcb.h>
16720 #endif
16722 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_STRUCT_XINPGEN 1
16726 _ACEOF
16732 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16733 #include <link.h>
16734 #endif
16735 #ifdef HAVE_SYS_LINK_H
16736 #include <sys/link.h>
16737 #endif
16739 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_STRUCT_R_DEBUG 1
16743 _ACEOF
16747 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16748 #include <link.h>
16749 #endif
16750 #ifdef HAVE_SYS_LINK_H
16751 #include <sys/link.h>
16752 #endif
16754 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_STRUCT_LINK_MAP 1
16758 _ACEOF
16764 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16765 #include <linux/input.h>
16766 #endif
16768 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16770 cat >>confdefs.h <<_ACEOF
16771 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16772 _ACEOF
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16779 $as_echo_n "checking for if_nameindex... " >&6; }
16780 if ${wine_cv_have_if_nameindex+:} false; then :
16781 $as_echo_n "(cached) " >&6
16782 else
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16785 #ifdef HAVE_SYS_TYPES_H
16786 #include <sys/types.h>
16787 #endif
16788 #ifdef HAVE_SYS_SOCKET_H
16789 #include <sys/socket.h>
16790 #endif
16791 #ifdef HAVE_NET_IF_H
16792 # include <net/if.h>
16793 #endif
16795 main ()
16797 struct if_nameindex *p = if_nameindex(); return p->if_index;
16799 return 0;
16801 _ACEOF
16802 if ac_fn_c_try_link "$LINENO"; then :
16803 wine_cv_have_if_nameindex=yes
16804 else
16805 wine_cv_have_if_nameindex=no
16807 rm -f core conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16811 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16812 if test "$wine_cv_have_if_nameindex" = "yes"
16813 then
16815 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16820 $as_echo_n "checking for sigaddset... " >&6; }
16821 if ${wine_cv_have_sigaddset+:} false; then :
16822 $as_echo_n "(cached) " >&6
16823 else
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16826 #include <signal.h>
16828 main ()
16830 sigset_t set; sigaddset(&set,SIGTERM);
16832 return 0;
16834 _ACEOF
16835 if ac_fn_c_try_link "$LINENO"; then :
16836 wine_cv_have_sigaddset=yes
16837 else
16838 wine_cv_have_sigaddset=no
16840 rm -f core conftest.err conftest.$ac_objext \
16841 conftest$ac_exeext conftest.$ac_ext
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16844 $as_echo "$wine_cv_have_sigaddset" >&6; }
16845 if test "$wine_cv_have_sigaddset" = "yes"
16846 then
16848 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16854 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16855 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16856 $as_echo_n "(cached) " >&6
16857 else
16858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16860 #include <netdb.h>
16862 main ()
16865 char *name=0;
16866 struct hostent he;
16867 struct hostent *result;
16868 char *buf=0;
16869 int bufsize=0;
16870 int errnr;
16871 char *addr=0;
16872 int addrlen=0;
16873 int addrtype=0;
16874 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16875 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16878 return 0;
16880 _ACEOF
16881 if ac_fn_c_try_link "$LINENO"; then :
16882 wine_cv_linux_gethostbyname_r_6=yes
16883 else
16884 wine_cv_linux_gethostbyname_r_6=no
16887 rm -f core conftest.err conftest.$ac_objext \
16888 conftest$ac_exeext conftest.$ac_ext
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16892 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16893 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16894 then
16896 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16900 if test "$ac_cv_header_linux_joystick_h" = "yes"
16901 then
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16903 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16904 if ${wine_cv_linux_joystick_22_api+:} false; then :
16905 $as_echo_n "(cached) " >&6
16906 else
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16910 #include <sys/ioctl.h>
16911 #include <sys/types.h>
16912 #include <linux/joystick.h>
16914 struct js_event blub;
16915 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16916 #error "no 2.2 header"
16917 #endif
16920 main ()
16922 /*empty*/
16924 return 0;
16926 _ACEOF
16927 if ac_fn_c_try_compile "$LINENO"; then :
16928 wine_cv_linux_joystick_22_api=yes
16929 else
16930 wine_cv_linux_joystick_22_api=no
16932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16936 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16937 if test "$wine_cv_linux_joystick_22_api" = "yes"
16938 then
16940 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16946 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16947 #ifdef HAVE_SYS_PARAM_H
16948 # include <sys/param.h>
16949 #endif
16950 #ifdef HAVE_SYS_MOUNT_H
16951 # include <sys/mount.h>
16952 #endif
16953 #ifdef HAVE_SYS_VFS_H
16954 # include <sys/vfs.h>
16955 #endif
16956 #ifdef HAVE_SYS_STATFS_H
16957 # include <sys/statfs.h>
16958 #endif
16960 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16962 cat >>confdefs.h <<_ACEOF
16963 #define HAVE_STRUCT_STATFS_F_BFREE 1
16964 _ACEOF
16968 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16969 #ifdef HAVE_SYS_PARAM_H
16970 # include <sys/param.h>
16971 #endif
16972 #ifdef HAVE_SYS_MOUNT_H
16973 # include <sys/mount.h>
16974 #endif
16975 #ifdef HAVE_SYS_VFS_H
16976 # include <sys/vfs.h>
16977 #endif
16978 #ifdef HAVE_SYS_STATFS_H
16979 # include <sys/statfs.h>
16980 #endif
16982 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16984 cat >>confdefs.h <<_ACEOF
16985 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16986 _ACEOF
16990 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16991 #ifdef HAVE_SYS_PARAM_H
16992 # include <sys/param.h>
16993 #endif
16994 #ifdef HAVE_SYS_MOUNT_H
16995 # include <sys/mount.h>
16996 #endif
16997 #ifdef HAVE_SYS_VFS_H
16998 # include <sys/vfs.h>
16999 #endif
17000 #ifdef HAVE_SYS_STATFS_H
17001 # include <sys/statfs.h>
17002 #endif
17004 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17008 _ACEOF
17012 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17013 #ifdef HAVE_SYS_PARAM_H
17014 # include <sys/param.h>
17015 #endif
17016 #ifdef HAVE_SYS_MOUNT_H
17017 # include <sys/mount.h>
17018 #endif
17019 #ifdef HAVE_SYS_VFS_H
17020 # include <sys/vfs.h>
17021 #endif
17022 #ifdef HAVE_SYS_STATFS_H
17023 # include <sys/statfs.h>
17024 #endif
17026 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_STRUCT_STATFS_F_FFREE 1
17030 _ACEOF
17034 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17035 #ifdef HAVE_SYS_PARAM_H
17036 # include <sys/param.h>
17037 #endif
17038 #ifdef HAVE_SYS_MOUNT_H
17039 # include <sys/mount.h>
17040 #endif
17041 #ifdef HAVE_SYS_VFS_H
17042 # include <sys/vfs.h>
17043 #endif
17044 #ifdef HAVE_SYS_STATFS_H
17045 # include <sys/statfs.h>
17046 #endif
17048 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17050 cat >>confdefs.h <<_ACEOF
17051 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17052 _ACEOF
17056 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17057 #ifdef HAVE_SYS_PARAM_H
17058 # include <sys/param.h>
17059 #endif
17060 #ifdef HAVE_SYS_MOUNT_H
17061 # include <sys/mount.h>
17062 #endif
17063 #ifdef HAVE_SYS_VFS_H
17064 # include <sys/vfs.h>
17065 #endif
17066 #ifdef HAVE_SYS_STATFS_H
17067 # include <sys/statfs.h>
17068 #endif
17070 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17072 cat >>confdefs.h <<_ACEOF
17073 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17074 _ACEOF
17080 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17081 #include <sys/statvfs.h>
17082 #endif
17084 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17086 cat >>confdefs.h <<_ACEOF
17087 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17088 _ACEOF
17094 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17095 #include <dirent.h>
17096 #endif
17098 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17100 cat >>confdefs.h <<_ACEOF
17101 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17102 _ACEOF
17108 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17109 #ifdef HAVE_SYS_SOCKET_H
17110 # include <sys/socket.h>
17111 #endif
17112 #ifdef HAVE_SYS_UN_H
17113 # include <sys/un.h>
17114 #endif
17116 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17118 cat >>confdefs.h <<_ACEOF
17119 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17120 _ACEOF
17124 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17125 #ifdef HAVE_SYS_SOCKET_H
17126 # include <sys/socket.h>
17127 #endif
17128 #ifdef HAVE_SYS_UN_H
17129 # include <sys/un.h>
17130 #endif
17132 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17134 cat >>confdefs.h <<_ACEOF
17135 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17136 _ACEOF
17140 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17141 #ifdef HAVE_SYS_SOCKET_H
17142 # include <sys/socket.h>
17143 #endif
17144 #ifdef HAVE_SYS_UN_H
17145 # include <sys/un.h>
17146 #endif
17148 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17150 cat >>confdefs.h <<_ACEOF
17151 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17152 _ACEOF
17158 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17159 #ifdef HAVE_SCSI_SG_H
17160 #include <scsi/sg.h>
17161 #endif
17163 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_SCSIREQ_T_CMD 1
17167 _ACEOF
17171 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>
17172 #ifdef HAVE_SCSI_SG_H
17173 #include <scsi/sg.h>
17174 #endif
17176 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17178 cat >>confdefs.h <<_ACEOF
17179 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17180 _ACEOF
17186 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17188 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17190 cat >>confdefs.h <<_ACEOF
17191 #define HAVE_SIGINFO_T_SI_FD 1
17192 _ACEOF
17198 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17199 #ifdef HAVE_SYS_MTIO_H
17200 #include <sys/mtio.h>
17201 #endif
17203 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17205 cat >>confdefs.h <<_ACEOF
17206 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17207 _ACEOF
17211 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17212 #ifdef HAVE_SYS_MTIO_H
17213 #include <sys/mtio.h>
17214 #endif
17216 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17218 cat >>confdefs.h <<_ACEOF
17219 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17220 _ACEOF
17224 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17225 #ifdef HAVE_SYS_MTIO_H
17226 #include <sys/mtio.h>
17227 #endif
17229 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17231 cat >>confdefs.h <<_ACEOF
17232 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17233 _ACEOF
17239 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17240 #include <getopt.h>
17241 #endif
17243 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17245 cat >>confdefs.h <<_ACEOF
17246 #define HAVE_STRUCT_OPTION_NAME 1
17247 _ACEOF
17253 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17254 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17256 cat >>confdefs.h <<_ACEOF
17257 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17258 _ACEOF
17262 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17263 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17265 cat >>confdefs.h <<_ACEOF
17266 #define HAVE_STRUCT_STAT_ST_MTIM 1
17267 _ACEOF
17271 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17272 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17274 cat >>confdefs.h <<_ACEOF
17275 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17276 _ACEOF
17280 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17281 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17283 cat >>confdefs.h <<_ACEOF
17284 #define HAVE_STRUCT_STAT_ST_CTIM 1
17285 _ACEOF
17289 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17290 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17292 cat >>confdefs.h <<_ACEOF
17293 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17294 _ACEOF
17298 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17299 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17301 cat >>confdefs.h <<_ACEOF
17302 #define HAVE_STRUCT_STAT_ST_ATIM 1
17303 _ACEOF
17307 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17308 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17310 cat >>confdefs.h <<_ACEOF
17311 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17312 _ACEOF
17316 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17317 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17319 cat >>confdefs.h <<_ACEOF
17320 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17321 _ACEOF
17325 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17326 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17328 cat >>confdefs.h <<_ACEOF
17329 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17330 _ACEOF
17334 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17335 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17337 cat >>confdefs.h <<_ACEOF
17338 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17339 _ACEOF
17343 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17344 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17346 cat >>confdefs.h <<_ACEOF
17347 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17348 _ACEOF
17352 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17353 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17355 cat >>confdefs.h <<_ACEOF
17356 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17357 _ACEOF
17363 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
17364 #include <sys/types.h>
17365 #endif
17366 #ifdef HAVE_NETINET_IN_H
17367 #include <netinet/in.h>
17368 #endif
17370 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17372 cat >>confdefs.h <<_ACEOF
17373 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17374 _ACEOF
17380 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17381 #include <sys/types.h>
17382 #endif
17383 #ifdef HAVE_NETINET_IN_H
17384 #include <netinet/in.h>
17385 #endif
17386 #ifdef HAVE_RESOLV_H
17387 #include <resolv.h>
17388 #endif
17390 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_STRUCT___RES_STATE 1
17394 _ACEOF
17400 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
17401 #include <resolv.h>
17402 #endif
17404 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17408 _ACEOF
17414 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17415 #include <sys/types.h>
17416 #endif
17417 #ifdef HAVE_NETINET_IN_H
17418 # include <netinet/in.h>
17419 #endif
17420 #ifdef HAVE_ARPA_NAMESER_H
17421 # include <arpa/nameser.h>
17422 #endif
17424 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17426 cat >>confdefs.h <<_ACEOF
17427 #define HAVE_NS_MSG__MSG_PTR 1
17428 _ACEOF
17434 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17435 #include <sys/types.h>
17436 #endif
17437 #ifdef HAVE_NETINET_IN_H
17438 #include <netinet/in.h>
17439 #endif
17440 #ifdef HAVE_NETINET_IP_H
17441 #include <netinet/ip.h>
17442 #endif
17443 #ifdef HAVE_NETINET_IP_ICMP_H
17444 #include <netinet/ip_icmp.h>
17445 #endif
17446 #ifdef HAVE_NETINET_ICMP_VAR_H
17447 #include <netinet/icmp_var.h>
17448 #endif
17450 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17452 cat >>confdefs.h <<_ACEOF
17453 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17454 _ACEOF
17460 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17461 #include <sys/types.h>
17462 #endif
17463 #ifdef HAVE_ALIAS_H
17464 #include <alias.h>
17465 #endif
17466 #ifdef HAVE_SYS_SOCKET_H
17467 #include <sys/socket.h>
17468 #endif
17469 #ifdef HAVE_SYS_SOCKETVAR_H
17470 #include <sys/socketvar.h>
17471 #endif
17472 #ifdef HAVE_SYS_TIMEOUT_H
17473 #include <sys/timeout.h>
17474 #endif
17475 #ifdef HAVE_NETINET_IN_H
17476 #include <netinet/in.h>
17477 #endif
17478 #ifdef HAVE_NETINET_IN_SYSTM_H
17479 #include <netinet/in_systm.h>
17480 #endif
17481 #ifdef HAVE_NETINET_IP_H
17482 #include <netinet/ip.h>
17483 #endif
17484 #ifdef HAVE_NETINET_IP_VAR_H
17485 #include <netinet/ip_var.h>
17486 #endif
17487 #ifdef HAVE_NETINET_IP_ICMP_H
17488 #include <netinet/ip_icmp.h>
17489 #endif
17490 #ifdef HAVE_NETINET_ICMP_VAR_H
17491 #include <netinet/icmp_var.h>
17492 #endif
17494 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17496 cat >>confdefs.h <<_ACEOF
17497 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17498 _ACEOF
17504 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17505 #include <sys/types.h>
17506 #endif
17507 #ifdef HAVE_SYS_SOCKETVAR_H
17508 #include <sys/socketvar.h>
17509 #endif
17510 #ifdef HAVE_NETINET_IN_H
17511 #include <netinet/in.h>
17512 #endif
17513 #ifdef HAVE_NETINET_IP_VAR_H
17514 #include <netinet/ip_var.h>
17515 #endif
17517 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17519 cat >>confdefs.h <<_ACEOF
17520 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17521 _ACEOF
17527 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
17528 #include <netinet/ip_var.h>
17529 #endif
17531 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17533 cat >>confdefs.h <<_ACEOF
17534 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17535 _ACEOF
17541 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17542 #include <sys/types.h>
17543 #endif
17544 #ifdef HAVE_SYS_SOCKETVAR_H
17545 #include <sys/socketvar.h>
17546 #endif
17547 #ifdef HAVE_NETINET_IN_H
17548 #include <netinet/in.h>
17549 #endif
17550 #ifdef HAVE_NETINET_TCP_H
17551 #include <netinet/tcp.h>
17552 #endif
17553 #ifdef HAVE_NETINET_TCP_VAR_H
17554 #include <netinet/tcp_var.h>
17555 #endif
17557 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17559 cat >>confdefs.h <<_ACEOF
17560 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17561 _ACEOF
17567 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
17568 #include <netinet/tcp_var.h>
17569 #endif
17571 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17573 cat >>confdefs.h <<_ACEOF
17574 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17575 _ACEOF
17581 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17582 #include <sys/types.h>
17583 #endif
17584 #ifdef HAVE_NETINET_IN_H
17585 #include <netinet/in.h>
17586 #endif
17587 #ifdef HAVE_NETINET_IP_VAR_H
17588 #include <netinet/ip_var.h>
17589 #endif
17590 #ifdef HAVE_NETINET_UDP_H
17591 #include <netinet/udp.h>
17592 #endif
17593 #ifdef HAVE_NETINET_UDP_VAR_H
17594 #include <netinet/udp_var.h>
17595 #endif
17597 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17599 cat >>confdefs.h <<_ACEOF
17600 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17601 _ACEOF
17607 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17608 #include <sys/types.h>
17609 #endif
17610 #ifdef HAVE_NET_IF_H
17611 # include <net/if.h>
17612 #endif
17614 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17616 cat >>confdefs.h <<_ACEOF
17617 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17618 _ACEOF
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17625 $as_echo_n "checking for timezone variable... " >&6; }
17626 if ${ac_cv_have_timezone+:} false; then :
17627 $as_echo_n "(cached) " >&6
17628 else
17629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630 /* end confdefs.h. */
17631 #include <time.h>
17633 main ()
17635 timezone = 1
17637 return 0;
17639 _ACEOF
17640 if ac_fn_c_try_link "$LINENO"; then :
17641 ac_cv_have_timezone="yes"
17642 else
17643 ac_cv_have_timezone="no"
17645 rm -f core conftest.err conftest.$ac_objext \
17646 conftest$ac_exeext conftest.$ac_ext
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17649 $as_echo "$ac_cv_have_timezone" >&6; }
17650 if test "$ac_cv_have_timezone" = "yes"
17651 then
17653 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17657 $as_echo_n "checking for daylight variable... " >&6; }
17658 if ${ac_cv_have_daylight+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 #include <time.h>
17665 main ()
17667 daylight = 1
17669 return 0;
17671 _ACEOF
17672 if ac_fn_c_try_link "$LINENO"; then :
17673 ac_cv_have_daylight="yes"
17674 else
17675 ac_cv_have_daylight="no"
17677 rm -f core conftest.err conftest.$ac_objext \
17678 conftest$ac_exeext conftest.$ac_ext
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17681 $as_echo "$ac_cv_have_daylight" >&6; }
17682 if test "$ac_cv_have_daylight" = "yes"
17683 then
17685 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17689 ac_save_LIBS="$LIBS"
17690 LIBS="$LIBS -lm"
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17692 $as_echo_n "checking for isfinite... " >&6; }
17693 if ${ac_cv_have_isfinite+:} false; then :
17694 $as_echo_n "(cached) " >&6
17695 else
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 #define _GNU_SOURCE
17699 #include <math.h>
17701 main ()
17703 float f = 0.0; return isfinite(f)
17705 return 0;
17707 _ACEOF
17708 if ac_fn_c_try_link "$LINENO"; then :
17709 ac_cv_have_isfinite="yes"
17710 else
17711 ac_cv_have_isfinite="no"
17713 rm -f core conftest.err conftest.$ac_objext \
17714 conftest$ac_exeext conftest.$ac_ext
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17717 $as_echo "$ac_cv_have_isfinite" >&6; }
17718 if test "$ac_cv_have_isfinite" = "yes"
17719 then
17721 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17726 $as_echo_n "checking for isinf... " >&6; }
17727 if ${ac_cv_have_isinf+:} false; then :
17728 $as_echo_n "(cached) " >&6
17729 else
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17732 #include <math.h>
17734 main ()
17736 float f = 0.0; return isinf(f)
17738 return 0;
17740 _ACEOF
17741 if ac_fn_c_try_link "$LINENO"; then :
17742 ac_cv_have_isinf="yes"
17743 else
17744 ac_cv_have_isinf="no"
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17750 $as_echo "$ac_cv_have_isinf" >&6; }
17751 if test "$ac_cv_have_isinf" = "yes"
17752 then
17754 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17759 $as_echo_n "checking for isnan... " >&6; }
17760 if ${ac_cv_have_isnan+:} false; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17765 #include <math.h>
17767 main ()
17769 float f = 0.0; return isnan(f)
17771 return 0;
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"; then :
17775 ac_cv_have_isnan="yes"
17776 else
17777 ac_cv_have_isnan="no"
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext conftest.$ac_ext
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17783 $as_echo "$ac_cv_have_isnan" >&6; }
17784 if test "$ac_cv_have_isnan" = "yes"
17785 then
17787 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17791 for ac_func in \
17792 acosh \
17793 acoshf \
17794 asinh \
17795 asinhf \
17796 atanh \
17797 atanhf \
17798 cbrt \
17799 cbrtf \
17800 erf \
17801 erfc \
17802 erfcf \
17803 erff \
17804 exp2 \
17805 exp2f \
17806 expm1 \
17807 expm1f \
17808 lgamma \
17809 lgammaf \
17810 llrint \
17811 llrintf \
17812 llround \
17813 llroundf \
17814 log1p \
17815 log1pf \
17816 log2 \
17817 log2f \
17818 lrint \
17819 lrintf \
17820 lround \
17821 lroundf \
17822 nearbyint \
17823 nearbyintf \
17824 powl \
17825 remainder \
17826 remainderf \
17827 rint \
17828 rintf \
17829 round \
17830 roundf \
17831 trunc \
17832 truncf
17834 do :
17835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17838 cat >>confdefs.h <<_ACEOF
17839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17840 _ACEOF
17843 done
17845 LIBS="$ac_save_LIBS"
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17848 $as_echo_n "checking for __builtin_clz... " >&6; }
17849 if ${ac_cv_have___builtin_clz+:} false; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17856 main ()
17858 return __builtin_clz(1)
17860 return 0;
17862 _ACEOF
17863 if ac_fn_c_try_link "$LINENO"; then :
17864 ac_cv_have___builtin_clz="yes"
17865 else
17866 ac_cv_have___builtin_clz="no"
17868 rm -f core conftest.err conftest.$ac_objext \
17869 conftest$ac_exeext conftest.$ac_ext
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17872 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17873 if test "$ac_cv_have___builtin_clz" = "yes"
17874 then
17876 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17881 $as_echo_n "checking for __builtin_popcount... " >&6; }
17882 if ${ac_cv_have___builtin_popcount+:} false; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17889 main ()
17891 return __builtin_popcount(1)
17893 return 0;
17895 _ACEOF
17896 if ac_fn_c_try_link "$LINENO"; then :
17897 ac_cv_have___builtin_popcount="yes"
17898 else
17899 ac_cv_have___builtin_popcount="no"
17901 rm -f core conftest.err conftest.$ac_objext \
17902 conftest$ac_exeext conftest.$ac_ext
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17905 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17906 if test "$ac_cv_have___builtin_popcount" = "yes"
17907 then
17909 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17914 $as_echo_n "checking for __clear_cache... " >&6; }
17915 if ${ac_cv_have___clear_cache+:} false; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17922 main ()
17924 __clear_cache((void*)0, (void*)0); return 0;
17926 return 0;
17928 _ACEOF
17929 if ac_fn_c_try_link "$LINENO"; then :
17930 ac_cv_have___clear_cache="yes"
17931 else
17932 ac_cv_have___clear_cache="no"
17934 rm -f core conftest.err conftest.$ac_objext \
17935 conftest$ac_exeext conftest.$ac_ext
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17938 $as_echo "$ac_cv_have___clear_cache" >&6; }
17939 if test "$ac_cv_have___clear_cache" = "yes"
17940 then
17942 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17947 case $host_cpu in
17948 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17949 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17950 if ${ac_cv_cpp_def___i386__+:} false; then :
17951 $as_echo_n "(cached) " >&6
17952 else
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17955 #ifndef __i386__
17957 #endif
17958 _ACEOF
17959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17960 $EGREP "yes" >/dev/null 2>&1; then :
17961 ac_cv_cpp_def___i386__=yes
17962 else
17963 ac_cv_cpp_def___i386__=no
17965 rm -f conftest*
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17969 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17970 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17971 CFLAGS="$CFLAGS -D__i386__"
17972 LINTFLAGS="$LINTFLAGS -D__i386__"
17973 fi ;;
17974 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17975 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17976 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17977 $as_echo_n "(cached) " >&6
17978 else
17979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17980 /* end confdefs.h. */
17981 #ifndef __x86_64__
17983 #endif
17984 _ACEOF
17985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17986 $EGREP "yes" >/dev/null 2>&1; then :
17987 ac_cv_cpp_def___x86_64__=yes
17988 else
17989 ac_cv_cpp_def___x86_64__=no
17991 rm -f conftest*
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17995 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17996 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17997 CFLAGS="$CFLAGS -D__x86_64__"
17998 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17999 fi ;;
18000 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18001 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18002 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18003 $as_echo_n "(cached) " >&6
18004 else
18005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18006 /* end confdefs.h. */
18007 #ifndef __sparc64__
18009 #endif
18010 _ACEOF
18011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18012 $EGREP "yes" >/dev/null 2>&1; then :
18013 ac_cv_cpp_def___sparc64__=yes
18014 else
18015 ac_cv_cpp_def___sparc64__=no
18017 rm -f conftest*
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18021 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18022 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18023 CFLAGS="$CFLAGS -D__sparc64__"
18024 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18025 fi ;;
18026 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18027 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18028 if ${ac_cv_cpp_def___sparc__+:} false; then :
18029 $as_echo_n "(cached) " >&6
18030 else
18031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18033 #ifndef __sparc__
18035 #endif
18036 _ACEOF
18037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18038 $EGREP "yes" >/dev/null 2>&1; then :
18039 ac_cv_cpp_def___sparc__=yes
18040 else
18041 ac_cv_cpp_def___sparc__=no
18043 rm -f conftest*
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18047 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18048 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18049 CFLAGS="$CFLAGS -D__sparc__"
18050 LINTFLAGS="$LINTFLAGS -D__sparc__"
18051 fi ;;
18052 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18053 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18054 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18055 $as_echo_n "(cached) " >&6
18056 else
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18059 #ifndef __powerpc64__
18061 #endif
18062 _ACEOF
18063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18064 $EGREP "yes" >/dev/null 2>&1; then :
18065 ac_cv_cpp_def___powerpc64__=yes
18066 else
18067 ac_cv_cpp_def___powerpc64__=no
18069 rm -f conftest*
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18073 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18074 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18075 CFLAGS="$CFLAGS -D__powerpc64__"
18076 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18077 fi ;;
18078 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18079 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18080 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18081 $as_echo_n "(cached) " >&6
18082 else
18083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18084 /* end confdefs.h. */
18085 #ifndef __powerpc__
18087 #endif
18088 _ACEOF
18089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18090 $EGREP "yes" >/dev/null 2>&1; then :
18091 ac_cv_cpp_def___powerpc__=yes
18092 else
18093 ac_cv_cpp_def___powerpc__=no
18095 rm -f conftest*
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18099 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18100 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18101 CFLAGS="$CFLAGS -D__powerpc__"
18102 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18103 fi ;;
18104 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18105 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18106 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18107 $as_echo_n "(cached) " >&6
18108 else
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18111 #ifndef __aarch64__
18113 #endif
18114 _ACEOF
18115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18116 $EGREP "yes" >/dev/null 2>&1; then :
18117 ac_cv_cpp_def___aarch64__=yes
18118 else
18119 ac_cv_cpp_def___aarch64__=no
18121 rm -f conftest*
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18125 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18126 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18127 CFLAGS="$CFLAGS -D__aarch64__"
18128 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18129 fi ;;
18130 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18131 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18132 if ${ac_cv_cpp_def___arm__+:} false; then :
18133 $as_echo_n "(cached) " >&6
18134 else
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18137 #ifndef __arm__
18139 #endif
18140 _ACEOF
18141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18142 $EGREP "yes" >/dev/null 2>&1; then :
18143 ac_cv_cpp_def___arm__=yes
18144 else
18145 ac_cv_cpp_def___arm__=no
18147 rm -f conftest*
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18151 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18152 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18153 CFLAGS="$CFLAGS -D__arm__"
18154 LINTFLAGS="$LINTFLAGS -D__arm__"
18155 fi ;;
18156 esac
18158 case $host_vendor in
18159 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18160 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18161 if ${ac_cv_cpp_def___sun__+:} false; then :
18162 $as_echo_n "(cached) " >&6
18163 else
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #ifndef __sun__
18168 #endif
18169 _ACEOF
18170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18171 $EGREP "yes" >/dev/null 2>&1; then :
18172 ac_cv_cpp_def___sun__=yes
18173 else
18174 ac_cv_cpp_def___sun__=no
18176 rm -f conftest*
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18180 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18181 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18182 CFLAGS="$CFLAGS -D__sun__"
18183 LINTFLAGS="$LINTFLAGS -D__sun__"
18184 fi ;;
18185 esac
18191 ac_config_commands="$ac_config_commands include/stamp-h"
18193 $as_echo_n "creating Makefile rules..." >&6
18195 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18196 SOCKET_LIBS = $SOCKET_LIBS
18197 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18198 IOKIT_LIBS = $IOKIT_LIBS
18199 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18200 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18201 CORESERVICES_LIBS = $CORESERVICES_LIBS
18202 APPKIT_LIBS = $APPKIT_LIBS
18203 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18204 SECURITY_LIBS = $SECURITY_LIBS
18205 COREAUDIO_LIBS = $COREAUDIO_LIBS
18206 OPENAL_LIBS = $OPENAL_LIBS
18207 OPENCL_LIBS = $OPENCL_LIBS
18208 QUICKTIME_LIBS = $QUICKTIME_LIBS
18209 CARBON_LIBS = $CARBON_LIBS
18210 PTHREAD_LIBS = $PTHREAD_LIBS
18211 X_CFLAGS = $X_CFLAGS
18212 X_PRE_LIBS = $X_PRE_LIBS
18213 X_LIBS = $X_LIBS
18214 X_EXTRA_LIBS = $X_EXTRA_LIBS
18215 PCAP_LIBS = $PCAP_LIBS
18216 XML2_CFLAGS = $XML2_CFLAGS
18217 XML2_LIBS = $XML2_LIBS
18218 XSLT_CFLAGS = $XSLT_CFLAGS
18219 XSLT_LIBS = $XSLT_LIBS
18220 DBUS_CFLAGS = $DBUS_CFLAGS
18221 DBUS_LIBS = $DBUS_LIBS
18222 HAL_CFLAGS = $HAL_CFLAGS
18223 HAL_LIBS = $HAL_LIBS
18224 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18225 GNUTLS_LIBS = $GNUTLS_LIBS
18226 SANE_CFLAGS = $SANE_CFLAGS
18227 SANE_LIBS = $SANE_LIBS
18228 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18229 GPHOTO2_LIBS = $GPHOTO2_LIBS
18230 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18231 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18232 RESOLV_LIBS = $RESOLV_LIBS
18233 LCMS2_CFLAGS = $LCMS2_CFLAGS
18234 LCMS2_LIBS = $LCMS2_LIBS
18235 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18236 FREETYPE_LIBS = $FREETYPE_LIBS
18237 Z_LIBS = $Z_LIBS
18238 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18239 PULSE_CFLAGS = $PULSE_CFLAGS
18240 PULSE_LIBS = $PULSE_LIBS
18241 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18242 GSTREAMER_LIBS = $GSTREAMER_LIBS
18243 ALSA_LIBS = $ALSA_LIBS
18244 OSS4_CFLAGS = $OSS4_CFLAGS
18245 UDEV_CFLAGS = $UDEV_CFLAGS
18246 UDEV_LIBS = $UDEV_LIBS
18247 CAPI20_CFLAGS = $CAPI20_CFLAGS
18248 CAPI20_LIBS = $CAPI20_LIBS
18249 CUPS_CFLAGS = $CUPS_CFLAGS
18250 CUPS_LIBS = $CUPS_LIBS
18251 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18252 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18253 KRB5_CFLAGS = $KRB5_CFLAGS
18254 KRB5_LIBS = $KRB5_LIBS
18255 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18256 GSSAPI_LIBS = $GSSAPI_LIBS
18257 JPEG_CFLAGS = $JPEG_CFLAGS
18258 JPEG_LIBS = $JPEG_LIBS
18259 PNG_CFLAGS = $PNG_CFLAGS
18260 PNG_LIBS = $PNG_LIBS
18261 TIFF_CFLAGS = $TIFF_CFLAGS
18262 TIFF_LIBS = $TIFF_LIBS
18263 MPG123_CFLAGS = $MPG123_CFLAGS
18264 MPG123_LIBS = $MPG123_LIBS
18265 KSTAT_LIBS = $KSTAT_LIBS
18266 PROCSTAT_LIBS = $PROCSTAT_LIBS
18267 NETAPI_CFLAGS = $NETAPI_CFLAGS
18268 NETAPI_LIBS = $NETAPI_LIBS
18269 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18270 DL_LIBS = $DL_LIBS
18271 POLL_LIBS = $POLL_LIBS
18272 RT_LIBS = $RT_LIBS
18273 LDAP_CFLAGS = $LDAP_CFLAGS
18274 LDAP_LIBS = $LDAP_LIBS
18279 wine_fn_append_rule "
18280 # Rules automatically generated by configure
18282 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18284 .INIT: Makefile
18285 .MAKEFILEDEPS:
18286 all: Makefile
18287 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18288 @./config.status Make.tmp Makefile
18289 depend: \$(MAKEDEP) dummy
18290 \$(MAKEDEP)"
18292 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18293 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18295 if test "x$enable_fonts" != xno; then
18296 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18297 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18298 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18299 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18300 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18301 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18303 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18304 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18305 ac_config_links="$ac_config_links wine:tools/winewrapper"
18306 wine_fn_config_symlink wine
18307 if test "x$enable_win64" != xno; then
18308 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18309 wine_fn_config_symlink wine64
18312 wine_fn_config_dll acledit enable_acledit
18313 wine_fn_config_dll aclui enable_aclui implib
18314 wine_fn_config_dll activeds enable_activeds implib
18315 wine_fn_config_dll actxprxy enable_actxprxy clean
18316 wine_fn_config_lib adsiid
18317 wine_fn_config_dll adsldpc enable_adsldpc
18318 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18319 wine_fn_config_test dlls/advapi32/tests advapi32_test
18320 wine_fn_config_dll advpack enable_advpack implib
18321 wine_fn_config_test dlls/advpack/tests advpack_test
18322 wine_fn_config_dll amstream enable_amstream clean
18323 wine_fn_config_test dlls/amstream/tests amstream_test
18324 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18325 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18326 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18327 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18328 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18329 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18330 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18331 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18332 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18333 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18334 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18335 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18336 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18337 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18338 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18339 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18340 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18341 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18342 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18343 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18344 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18345 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18346 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18347 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18348 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18349 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18350 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18351 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18352 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18353 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18354 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18355 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18356 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18357 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18358 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18359 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18360 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18361 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18362 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18363 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18364 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18365 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18366 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18367 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18368 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18369 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18370 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18371 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18372 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18373 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18374 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18375 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18376 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18377 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18378 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18379 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18380 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18381 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18382 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18383 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18384 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18385 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18386 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18387 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18388 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18389 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18390 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18391 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18392 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18393 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18394 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18395 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18396 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18397 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18398 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18399 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18400 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18401 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18402 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18403 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18404 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18405 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18406 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18407 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18408 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18409 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18410 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18411 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18412 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18413 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18414 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18415 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18416 wine_fn_config_dll api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18417 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18418 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18419 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18420 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18421 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18422 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18423 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18424 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18425 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18426 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18427 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18428 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18429 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18430 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18431 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18432 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18433 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18434 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18435 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18436 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18437 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18438 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18439 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18440 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18441 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18442 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18443 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18444 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18445 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18446 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18447 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18448 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18449 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18450 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18451 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18452 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18453 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18454 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18455 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18456 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18457 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18458 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18459 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18460 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18461 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18462 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18463 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18464 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18465 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18466 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18467 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18468 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18469 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18470 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18471 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18472 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18473 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18474 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18475 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18476 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18477 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18478 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18479 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18480 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18481 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18482 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18483 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18484 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18485 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18486 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18487 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18488 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18489 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18490 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18491 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18492 wine_fn_config_dll api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18493 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18494 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18495 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18496 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18497 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18498 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18499 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18500 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18501 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18502 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18503 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18504 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18505 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18506 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18507 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18508 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18509 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18510 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18511 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18512 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18513 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18514 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18515 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18516 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18517 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18518 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18519 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18520 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18521 wine_fn_config_dll apphelp enable_apphelp
18522 wine_fn_config_test dlls/apphelp/tests apphelp_test
18523 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18524 wine_fn_config_dll atl enable_atl clean,implib
18525 wine_fn_config_test dlls/atl/tests atl_test
18526 wine_fn_config_dll atl100 enable_atl100 clean,implib
18527 wine_fn_config_test dlls/atl100/tests atl100_test
18528 wine_fn_config_dll atl110 enable_atl110 clean
18529 wine_fn_config_dll atl80 enable_atl80 clean,implib
18530 wine_fn_config_test dlls/atl80/tests atl80_test
18531 wine_fn_config_dll atl90 enable_atl90 clean
18532 wine_fn_config_dll authz enable_authz
18533 wine_fn_config_dll avicap32 enable_avicap32 implib
18534 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18535 wine_fn_config_test dlls/avifil32/tests avifil32_test
18536 wine_fn_config_dll avifile.dll16 enable_win16
18537 wine_fn_config_dll avrt enable_avrt implib
18538 wine_fn_config_dll bcrypt enable_bcrypt implib
18539 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18540 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18541 wine_fn_config_dll browseui enable_browseui clean
18542 wine_fn_config_test dlls/browseui/tests browseui_test
18543 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18544 wine_fn_config_dll cabinet enable_cabinet implib
18545 wine_fn_config_test dlls/cabinet/tests cabinet_test
18546 wine_fn_config_dll capi2032 enable_capi2032 implib
18547 wine_fn_config_dll cards enable_cards implib
18548 wine_fn_config_dll cdosys enable_cdosys
18549 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18550 wine_fn_config_dll clusapi enable_clusapi implib
18551 wine_fn_config_dll combase enable_combase
18552 wine_fn_config_test dlls/combase/tests combase_test
18553 wine_fn_config_dll comcat enable_comcat
18554 wine_fn_config_test dlls/comcat/tests comcat_test
18555 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18556 wine_fn_config_test dlls/comctl32/tests comctl32_test
18557 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18558 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18559 wine_fn_config_dll comm.drv16 enable_win16
18560 wine_fn_config_dll commdlg.dll16 enable_win16
18561 wine_fn_config_dll compobj.dll16 enable_win16
18562 wine_fn_config_dll compstui enable_compstui implib
18563 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18564 wine_fn_config_dll concrt140 enable_concrt140
18565 wine_fn_config_dll connect enable_connect
18566 wine_fn_config_dll credui enable_credui clean,implib
18567 wine_fn_config_test dlls/credui/tests credui_test
18568 wine_fn_config_dll crtdll enable_crtdll
18569 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18570 wine_fn_config_test dlls/crypt32/tests crypt32_test
18571 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18572 wine_fn_config_dll cryptdll enable_cryptdll implib
18573 wine_fn_config_dll cryptext enable_cryptext
18574 wine_fn_config_dll cryptnet enable_cryptnet implib
18575 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18576 wine_fn_config_dll cryptui enable_cryptui clean,implib
18577 wine_fn_config_test dlls/cryptui/tests cryptui_test
18578 wine_fn_config_dll ctapi32 enable_ctapi32
18579 wine_fn_config_dll ctl3d.dll16 enable_win16
18580 wine_fn_config_dll ctl3d32 enable_ctl3d32
18581 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18582 wine_fn_config_dll d2d1 enable_d2d1 implib
18583 wine_fn_config_test dlls/d2d1/tests d2d1_test
18584 wine_fn_config_dll d3d10 enable_d3d10 implib
18585 wine_fn_config_test dlls/d3d10/tests d3d10_test
18586 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18587 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18588 wine_fn_config_dll d3d10core enable_d3d10core implib
18589 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18590 wine_fn_config_dll d3d11 enable_d3d11 implib
18591 wine_fn_config_test dlls/d3d11/tests d3d11_test
18592 wine_fn_config_dll d3d12 enable_d3d12 implib
18593 wine_fn_config_test dlls/d3d12/tests d3d12_test
18594 wine_fn_config_dll d3d8 enable_d3d8 implib
18595 wine_fn_config_test dlls/d3d8/tests d3d8_test
18596 wine_fn_config_dll d3d9 enable_d3d9 implib
18597 wine_fn_config_test dlls/d3d9/tests d3d9_test
18598 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18599 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18600 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18601 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18602 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18603 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18604 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18605 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18606 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18607 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18608 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18609 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18610 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18611 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18612 wine_fn_config_dll d3dim enable_d3dim
18613 wine_fn_config_dll d3drm enable_d3drm implib
18614 wine_fn_config_test dlls/d3drm/tests d3drm_test
18615 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18616 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18617 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18618 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18619 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18620 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18621 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18622 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18623 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18624 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18625 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18626 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18627 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18628 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18629 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18630 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18631 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18632 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18633 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18634 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18635 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18636 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18637 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18638 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18639 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18640 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18641 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18642 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18643 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18644 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18645 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18646 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18647 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18648 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18649 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18650 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18651 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18652 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18653 wine_fn_config_dll davclnt enable_davclnt
18654 wine_fn_config_dll dbgeng enable_dbgeng implib
18655 wine_fn_config_dll dbghelp enable_dbghelp implib
18656 wine_fn_config_dll dciman32 enable_dciman32 implib
18657 wine_fn_config_dll ddeml.dll16 enable_win16
18658 wine_fn_config_dll ddraw enable_ddraw clean,implib
18659 wine_fn_config_test dlls/ddraw/tests ddraw_test
18660 wine_fn_config_dll ddrawex enable_ddrawex clean
18661 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18662 wine_fn_config_dll devenum enable_devenum clean
18663 wine_fn_config_test dlls/devenum/tests devenum_test
18664 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18665 wine_fn_config_dll dhtmled.ocx enable_dhtmled_ocx clean
18666 wine_fn_config_dll difxapi enable_difxapi
18667 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18668 wine_fn_config_test dlls/dinput/tests dinput_test
18669 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18670 wine_fn_config_test dlls/dinput8/tests dinput8_test
18671 wine_fn_config_dll dispdib.dll16 enable_win16
18672 wine_fn_config_dll dispex enable_dispex clean
18673 wine_fn_config_test dlls/dispex/tests dispex_test
18674 wine_fn_config_dll display.drv16 enable_win16
18675 wine_fn_config_dll dmband enable_dmband clean
18676 wine_fn_config_test dlls/dmband/tests dmband_test
18677 wine_fn_config_dll dmcompos enable_dmcompos clean
18678 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18679 wine_fn_config_dll dmime enable_dmime clean
18680 wine_fn_config_test dlls/dmime/tests dmime_test
18681 wine_fn_config_dll dmloader enable_dmloader clean
18682 wine_fn_config_test dlls/dmloader/tests dmloader_test
18683 wine_fn_config_dll dmscript enable_dmscript clean
18684 wine_fn_config_test dlls/dmscript/tests dmscript_test
18685 wine_fn_config_dll dmstyle enable_dmstyle clean
18686 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18687 wine_fn_config_dll dmsynth enable_dmsynth clean
18688 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18689 wine_fn_config_dll dmusic enable_dmusic clean
18690 wine_fn_config_test dlls/dmusic/tests dmusic_test
18691 wine_fn_config_dll dmusic32 enable_dmusic32
18692 wine_fn_config_dll dnsapi enable_dnsapi implib
18693 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18694 wine_fn_config_dll dplay enable_dplay
18695 wine_fn_config_dll dplayx enable_dplayx clean,implib
18696 wine_fn_config_test dlls/dplayx/tests dplayx_test
18697 wine_fn_config_dll dpnaddr enable_dpnaddr
18698 wine_fn_config_dll dpnet enable_dpnet clean,implib
18699 wine_fn_config_test dlls/dpnet/tests dpnet_test
18700 wine_fn_config_dll dpnhpast enable_dpnhpast
18701 wine_fn_config_dll dpnlobby enable_dpnlobby
18702 wine_fn_config_dll dpvoice enable_dpvoice clean
18703 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18704 wine_fn_config_dll dpwsockx enable_dpwsockx
18705 wine_fn_config_dll drmclien enable_drmclien
18706 wine_fn_config_dll dsound enable_dsound clean,implib
18707 wine_fn_config_test dlls/dsound/tests dsound_test
18708 wine_fn_config_dll dsquery enable_dsquery clean
18709 wine_fn_config_dll dssenh enable_dssenh
18710 wine_fn_config_test dlls/dssenh/tests dssenh_test
18711 wine_fn_config_dll dswave enable_dswave clean
18712 wine_fn_config_test dlls/dswave/tests dswave_test
18713 wine_fn_config_dll dwmapi enable_dwmapi implib
18714 wine_fn_config_dll dwrite enable_dwrite implib
18715 wine_fn_config_test dlls/dwrite/tests dwrite_test
18716 wine_fn_config_dll dx8vb enable_dx8vb clean
18717 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18718 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18719 wine_fn_config_lib dxerr8
18720 wine_fn_config_lib dxerr9
18721 wine_fn_config_dll dxgi enable_dxgi implib
18722 wine_fn_config_test dlls/dxgi/tests dxgi_test
18723 wine_fn_config_lib dxguid
18724 wine_fn_config_dll dxva2 enable_dxva2
18725 wine_fn_config_dll esent enable_esent
18726 wine_fn_config_dll evr enable_evr clean
18727 wine_fn_config_test dlls/evr/tests evr_test
18728 wine_fn_config_dll explorerframe enable_explorerframe clean
18729 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18730 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18731 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18732 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18733 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18734 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18735 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18736 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18737 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18738 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18739 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18740 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18741 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18742 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18743 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18744 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18745 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18746 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18747 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18748 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
18749 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18750 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18751 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18752 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18753 wine_fn_config_dll faultrep enable_faultrep implib
18754 wine_fn_config_test dlls/faultrep/tests faultrep_test
18755 wine_fn_config_dll fltlib enable_fltlib
18756 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18757 wine_fn_config_dll fntcache enable_fntcache
18758 wine_fn_config_dll fontsub enable_fontsub
18759 wine_fn_config_dll fusion enable_fusion
18760 wine_fn_config_test dlls/fusion/tests fusion_test
18761 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18762 wine_fn_config_dll gameux enable_gameux clean
18763 wine_fn_config_test dlls/gameux/tests gameux_test
18764 wine_fn_config_dll gdi.exe16 enable_win16
18765 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18766 wine_fn_config_test dlls/gdi32/tests gdi32_test
18767 wine_fn_config_dll gdiplus enable_gdiplus implib
18768 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18769 wine_fn_config_dll glu32 enable_glu32 implib
18770 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18771 wine_fn_config_dll gpkcsp enable_gpkcsp
18772 wine_fn_config_dll hal enable_hal
18773 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18774 wine_fn_config_dll hid enable_hid implib
18775 wine_fn_config_test dlls/hid/tests hid_test
18776 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18777 wine_fn_config_dll hlink enable_hlink clean,implib
18778 wine_fn_config_test dlls/hlink/tests hlink_test
18779 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18780 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18781 wine_fn_config_dll httpapi enable_httpapi implib
18782 wine_fn_config_test dlls/httpapi/tests httpapi_test
18783 wine_fn_config_dll iccvid enable_iccvid clean
18784 wine_fn_config_dll icmp enable_icmp
18785 wine_fn_config_dll ieframe enable_ieframe clean,implib
18786 wine_fn_config_test dlls/ieframe/tests ieframe_test
18787 wine_fn_config_dll ieproxy enable_ieproxy clean
18788 wine_fn_config_dll ifsmgr.vxd enable_win16
18789 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18790 wine_fn_config_dll imagehlp enable_imagehlp implib
18791 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18792 wine_fn_config_dll imm.dll16 enable_win16
18793 wine_fn_config_dll imm32 enable_imm32 implib
18794 wine_fn_config_test dlls/imm32/tests imm32_test
18795 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18796 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18797 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18798 wine_fn_config_dll inetmib1 enable_inetmib1
18799 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18800 wine_fn_config_dll infosoft enable_infosoft clean
18801 wine_fn_config_test dlls/infosoft/tests infosoft_test
18802 wine_fn_config_dll initpki enable_initpki
18803 wine_fn_config_dll inkobj enable_inkobj
18804 wine_fn_config_dll inseng enable_inseng clean
18805 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18806 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18807 wine_fn_config_dll iprop enable_iprop
18808 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18809 wine_fn_config_dll itircl enable_itircl
18810 wine_fn_config_dll itss enable_itss clean
18811 wine_fn_config_test dlls/itss/tests itss_test
18812 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18813 wine_fn_config_dll jscript enable_jscript clean
18814 wine_fn_config_test dlls/jscript/tests jscript_test
18815 wine_fn_config_dll jsproxy enable_jsproxy implib
18816 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18817 wine_fn_config_dll kerberos enable_kerberos
18818 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18819 wine_fn_config_test dlls/kernel32/tests kernel32_test
18820 wine_fn_config_dll kernelbase enable_kernelbase
18821 wine_fn_config_dll keyboard.drv16 enable_win16
18822 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18823 wine_fn_config_dll ksuser enable_ksuser
18824 wine_fn_config_dll ktmw32 enable_ktmw32
18825 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18826 wine_fn_config_dll loadperf enable_loadperf implib
18827 wine_fn_config_dll localspl enable_localspl clean
18828 wine_fn_config_test dlls/localspl/tests localspl_test
18829 wine_fn_config_dll localui enable_localui clean
18830 wine_fn_config_test dlls/localui/tests localui_test
18831 wine_fn_config_dll lz32 enable_lz32 implib
18832 wine_fn_config_test dlls/lz32/tests lz32_test
18833 wine_fn_config_dll lzexpand.dll16 enable_win16
18834 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18835 wine_fn_config_test dlls/mapi32/tests mapi32_test
18836 wine_fn_config_dll mapistub enable_mapistub
18837 wine_fn_config_dll mciavi32 enable_mciavi32
18838 wine_fn_config_dll mcicda enable_mcicda
18839 wine_fn_config_dll mciqtz32 enable_mciqtz32
18840 wine_fn_config_dll mciseq enable_mciseq
18841 wine_fn_config_dll mciwave enable_mciwave
18842 wine_fn_config_dll mf enable_mf implib
18843 wine_fn_config_test dlls/mf/tests mf_test
18844 wine_fn_config_dll mf3216 enable_mf3216
18845 wine_fn_config_dll mfplat enable_mfplat implib
18846 wine_fn_config_test dlls/mfplat/tests mfplat_test
18847 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18848 wine_fn_config_lib mfuuid
18849 wine_fn_config_dll mgmtapi enable_mgmtapi
18850 wine_fn_config_dll midimap enable_midimap
18851 wine_fn_config_dll mlang enable_mlang clean,implib
18852 wine_fn_config_test dlls/mlang/tests mlang_test
18853 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18854 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18855 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18856 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18857 wine_fn_config_dll mmdevldr.vxd enable_win16
18858 wine_fn_config_dll mmsystem.dll16 enable_win16
18859 wine_fn_config_dll monodebg.vxd enable_win16
18860 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18861 wine_fn_config_dll mouse.drv16 enable_win16
18862 wine_fn_config_dll mpr enable_mpr clean,implib
18863 wine_fn_config_test dlls/mpr/tests mpr_test
18864 wine_fn_config_dll mprapi enable_mprapi implib
18865 wine_fn_config_dll msacm.dll16 enable_win16
18866 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18867 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18868 wine_fn_config_test dlls/msacm32/tests msacm32_test
18869 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18870 wine_fn_config_dll msasn1 enable_msasn1 implib
18871 wine_fn_config_dll mscat32 enable_mscat32
18872 wine_fn_config_dll mscms enable_mscms implib
18873 wine_fn_config_test dlls/mscms/tests mscms_test
18874 wine_fn_config_dll mscoree enable_mscoree clean
18875 wine_fn_config_test dlls/mscoree/tests mscoree_test
18876 wine_fn_config_dll msctf enable_msctf clean
18877 wine_fn_config_test dlls/msctf/tests msctf_test
18878 wine_fn_config_dll msctfp enable_msctfp clean
18879 wine_fn_config_dll msdaps enable_msdaps clean
18880 wine_fn_config_dll msdelta enable_msdelta
18881 wine_fn_config_dll msdmo enable_msdmo implib
18882 wine_fn_config_test dlls/msdmo/tests msdmo_test
18883 wine_fn_config_dll msdrm enable_msdrm
18884 wine_fn_config_dll msftedit enable_msftedit
18885 wine_fn_config_dll msg711.acm enable_msg711_acm
18886 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18887 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18888 wine_fn_config_dll mshtml enable_mshtml clean,implib
18889 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18890 wine_fn_config_dll msi enable_msi clean,implib
18891 wine_fn_config_test dlls/msi/tests msi_test
18892 wine_fn_config_dll msident enable_msident clean
18893 wine_fn_config_dll msimg32 enable_msimg32 implib
18894 wine_fn_config_dll msimsg enable_msimsg
18895 wine_fn_config_dll msimtf enable_msimtf clean
18896 wine_fn_config_dll msisip enable_msisip
18897 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18898 wine_fn_config_dll msls31 enable_msls31
18899 wine_fn_config_dll msnet32 enable_msnet32
18900 wine_fn_config_dll mspatcha enable_mspatcha implib
18901 wine_fn_config_dll msports enable_msports
18902 wine_fn_config_dll msrle32 enable_msrle32 clean
18903 wine_fn_config_test dlls/msrle32/tests msrle32_test
18904 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18905 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18906 wine_fn_config_dll mssign32 enable_mssign32
18907 wine_fn_config_dll mssip32 enable_mssip32
18908 wine_fn_config_dll mstask enable_mstask clean
18909 wine_fn_config_test dlls/mstask/tests mstask_test
18910 wine_fn_config_dll msvcirt enable_msvcirt
18911 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18912 wine_fn_config_dll msvcm80 enable_msvcm80
18913 wine_fn_config_dll msvcm90 enable_msvcm90
18914 wine_fn_config_dll msvcp100 enable_msvcp100
18915 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18916 wine_fn_config_dll msvcp110 enable_msvcp110
18917 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18918 wine_fn_config_dll msvcp120 enable_msvcp120
18919 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18920 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18921 wine_fn_config_dll msvcp140 enable_msvcp140
18922 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18923 wine_fn_config_dll msvcp60 enable_msvcp60
18924 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18925 wine_fn_config_dll msvcp70 enable_msvcp70
18926 wine_fn_config_dll msvcp71 enable_msvcp71
18927 wine_fn_config_dll msvcp80 enable_msvcp80
18928 wine_fn_config_dll msvcp90 enable_msvcp90
18929 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18930 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18931 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18932 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18933 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18934 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18935 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18936 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18937 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18938 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18939 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18940 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18941 wine_fn_config_dll msvcrt enable_msvcrt implib
18942 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18943 wine_fn_config_dll msvcrt20 enable_msvcrt20
18944 wine_fn_config_dll msvcrt40 enable_msvcrt40
18945 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18946 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18947 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18948 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18949 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18950 wine_fn_config_dll msvideo.dll16 enable_win16
18951 wine_fn_config_dll mswsock enable_mswsock implib
18952 wine_fn_config_dll msxml enable_msxml clean
18953 wine_fn_config_dll msxml2 enable_msxml2 clean
18954 wine_fn_config_dll msxml3 enable_msxml3 clean
18955 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18956 wine_fn_config_dll msxml4 enable_msxml4 clean
18957 wine_fn_config_dll msxml6 enable_msxml6 clean
18958 wine_fn_config_dll mtxdm enable_mtxdm
18959 wine_fn_config_dll ncrypt enable_ncrypt
18960 wine_fn_config_dll nddeapi enable_nddeapi implib
18961 wine_fn_config_dll ndis.sys enable_ndis_sys
18962 wine_fn_config_dll netapi32 enable_netapi32 implib
18963 wine_fn_config_test dlls/netapi32/tests netapi32_test
18964 wine_fn_config_dll netcfgx enable_netcfgx clean
18965 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18966 wine_fn_config_dll netprofm enable_netprofm clean
18967 wine_fn_config_test dlls/netprofm/tests netprofm_test
18968 wine_fn_config_dll newdev enable_newdev implib
18969 wine_fn_config_dll normaliz enable_normaliz implib
18970 wine_fn_config_dll npmshtml enable_npmshtml
18971 wine_fn_config_dll npptools enable_npptools
18972 wine_fn_config_dll ntdll enable_ntdll implib
18973 wine_fn_config_test dlls/ntdll/tests ntdll_test
18974 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18975 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18976 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18977 wine_fn_config_dll ntprint enable_ntprint
18978 wine_fn_config_test dlls/ntprint/tests ntprint_test
18979 wine_fn_config_dll objsel enable_objsel clean
18980 wine_fn_config_dll odbc32 enable_odbc32 implib
18981 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18982 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18983 wine_fn_config_dll odbccu32 enable_odbccu32
18984 wine_fn_config_dll ole2.dll16 enable_win16
18985 wine_fn_config_dll ole2conv.dll16 enable_win16
18986 wine_fn_config_dll ole2disp.dll16 enable_win16
18987 wine_fn_config_dll ole2nls.dll16 enable_win16
18988 wine_fn_config_dll ole2prox.dll16 enable_win16
18989 wine_fn_config_dll ole2thk.dll16 enable_win16
18990 wine_fn_config_dll ole32 enable_ole32 clean,implib
18991 wine_fn_config_test dlls/ole32/tests ole32_test
18992 wine_fn_config_dll oleacc enable_oleacc clean,implib
18993 wine_fn_config_test dlls/oleacc/tests oleacc_test
18994 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18995 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18996 wine_fn_config_dll olecli.dll16 enable_win16
18997 wine_fn_config_dll olecli32 enable_olecli32 implib
18998 wine_fn_config_dll oledb32 enable_oledb32 clean
18999 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
19000 wine_fn_config_dll oledlg enable_oledlg clean,implib
19001 wine_fn_config_test dlls/oledlg/tests oledlg_test
19002 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
19003 wine_fn_config_dll olesvr.dll16 enable_win16
19004 wine_fn_config_dll olesvr32 enable_olesvr32 implib
19005 wine_fn_config_dll olethk32 enable_olethk32
19006 wine_fn_config_dll openal32 enable_openal32
19007 wine_fn_config_dll opencl enable_opencl
19008 wine_fn_config_dll opengl32 enable_opengl32 implib
19009 wine_fn_config_test dlls/opengl32/tests opengl32_test
19010 wine_fn_config_dll packager enable_packager clean
19011 wine_fn_config_test dlls/packager/tests packager_test
19012 wine_fn_config_dll pdh enable_pdh implib
19013 wine_fn_config_test dlls/pdh/tests pdh_test
19014 wine_fn_config_dll photometadatahandler enable_photometadatahandler
19015 wine_fn_config_dll pidgen enable_pidgen
19016 wine_fn_config_dll powrprof enable_powrprof implib
19017 wine_fn_config_dll printui enable_printui
19018 wine_fn_config_dll prntvpt enable_prntvpt
19019 wine_fn_config_dll propsys enable_propsys clean,implib
19020 wine_fn_config_test dlls/propsys/tests propsys_test
19021 wine_fn_config_dll psapi enable_psapi implib
19022 wine_fn_config_test dlls/psapi/tests psapi_test
19023 wine_fn_config_dll pstorec enable_pstorec clean
19024 wine_fn_config_test dlls/pstorec/tests pstorec_test
19025 wine_fn_config_dll qcap enable_qcap
19026 wine_fn_config_test dlls/qcap/tests qcap_test
19027 wine_fn_config_dll qedit enable_qedit clean
19028 wine_fn_config_test dlls/qedit/tests qedit_test
19029 wine_fn_config_dll qmgr enable_qmgr clean
19030 wine_fn_config_test dlls/qmgr/tests qmgr_test
19031 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
19032 wine_fn_config_dll quartz enable_quartz clean,implib
19033 wine_fn_config_test dlls/quartz/tests quartz_test clean
19034 wine_fn_config_dll query enable_query
19035 wine_fn_config_dll rasapi16.dll16 enable_win16
19036 wine_fn_config_dll rasapi32 enable_rasapi32 implib
19037 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
19038 wine_fn_config_dll rasdlg enable_rasdlg implib
19039 wine_fn_config_dll regapi enable_regapi
19040 wine_fn_config_dll resutils enable_resutils implib
19041 wine_fn_config_dll riched20 enable_riched20 clean,implib
19042 wine_fn_config_test dlls/riched20/tests riched20_test
19043 wine_fn_config_dll riched32 enable_riched32
19044 wine_fn_config_test dlls/riched32/tests riched32_test
19045 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
19046 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
19047 wine_fn_config_dll rsabase enable_rsabase
19048 wine_fn_config_dll rsaenh enable_rsaenh implib
19049 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
19050 wine_fn_config_dll rstrtmgr enable_rstrtmgr
19051 wine_fn_config_dll rtutils enable_rtutils implib
19052 wine_fn_config_dll samlib enable_samlib
19053 wine_fn_config_dll sane.ds enable_sane_ds clean
19054 wine_fn_config_dll sapi enable_sapi clean
19055 wine_fn_config_test dlls/sapi/tests sapi_test
19056 wine_fn_config_dll scarddlg enable_scarddlg
19057 wine_fn_config_dll sccbase enable_sccbase
19058 wine_fn_config_dll schannel enable_schannel
19059 wine_fn_config_test dlls/schannel/tests schannel_test
19060 wine_fn_config_dll schedsvc enable_schedsvc clean
19061 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
19062 wine_fn_config_dll scrobj enable_scrobj clean
19063 wine_fn_config_dll scrrun enable_scrrun clean
19064 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
19065 wine_fn_config_dll scsiport.sys enable_scsiport_sys
19066 wine_fn_config_dll secur32 enable_secur32 implib
19067 wine_fn_config_test dlls/secur32/tests secur32_test
19068 wine_fn_config_dll security enable_security
19069 wine_fn_config_dll sensapi enable_sensapi implib
19070 wine_fn_config_dll serialui enable_serialui clean
19071 wine_fn_config_test dlls/serialui/tests serialui_test
19072 wine_fn_config_dll setupapi enable_setupapi clean,implib
19073 wine_fn_config_test dlls/setupapi/tests setupapi_test
19074 wine_fn_config_dll setupx.dll16 enable_win16
19075 wine_fn_config_dll sfc enable_sfc implib
19076 wine_fn_config_dll sfc_os enable_sfc_os implib
19077 wine_fn_config_dll shcore enable_shcore
19078 wine_fn_config_dll shdoclc enable_shdoclc clean
19079 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
19080 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
19081 wine_fn_config_dll shell.dll16 enable_win16
19082 wine_fn_config_dll shell32 enable_shell32 clean,implib
19083 wine_fn_config_test dlls/shell32/tests shell32_test
19084 wine_fn_config_dll shfolder enable_shfolder implib
19085 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
19086 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
19087 wine_fn_config_dll slbcsp enable_slbcsp
19088 wine_fn_config_dll slc enable_slc implib
19089 wine_fn_config_test dlls/slc/tests slc_test
19090 wine_fn_config_dll snmpapi enable_snmpapi implib
19091 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
19092 wine_fn_config_dll softpub enable_softpub
19093 wine_fn_config_dll sound.drv16 enable_win16
19094 wine_fn_config_dll spoolss enable_spoolss implib
19095 wine_fn_config_test dlls/spoolss/tests spoolss_test
19096 wine_fn_config_dll sspicli enable_sspicli
19097 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
19098 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
19099 wine_fn_config_dll sti enable_sti clean,implib
19100 wine_fn_config_test dlls/sti/tests sti_test
19101 wine_fn_config_dll storage.dll16 enable_win16
19102 wine_fn_config_dll stress.dll16 enable_win16
19103 wine_fn_config_lib strmbase
19104 wine_fn_config_lib strmiids
19105 wine_fn_config_dll svrapi enable_svrapi
19106 wine_fn_config_dll sxs enable_sxs implib
19107 wine_fn_config_test dlls/sxs/tests sxs_test
19108 wine_fn_config_dll system.drv16 enable_win16
19109 wine_fn_config_dll t2embed enable_t2embed implib
19110 wine_fn_config_test dlls/t2embed/tests t2embed_test
19111 wine_fn_config_dll tapi32 enable_tapi32 implib
19112 wine_fn_config_dll taskschd enable_taskschd clean
19113 wine_fn_config_test dlls/taskschd/tests taskschd_test
19114 wine_fn_config_dll tdh enable_tdh
19115 wine_fn_config_dll tdi.sys enable_tdi_sys
19116 wine_fn_config_dll toolhelp.dll16 enable_win16
19117 wine_fn_config_dll traffic enable_traffic
19118 wine_fn_config_dll twain.dll16 enable_win16
19119 wine_fn_config_dll twain_32 enable_twain_32 clean
19120 wine_fn_config_test dlls/twain_32/tests twain_32_test
19121 wine_fn_config_dll typelib.dll16 enable_win16
19122 wine_fn_config_dll ucrtbase enable_ucrtbase implib
19123 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
19124 wine_fn_config_dll uiautomationcore enable_uiautomationcore
19125 wine_fn_config_dll uiribbon enable_uiribbon clean
19126 wine_fn_config_dll unicows enable_unicows implib
19127 wine_fn_config_dll updspapi enable_updspapi
19128 wine_fn_config_dll url enable_url implib
19129 wine_fn_config_dll urlmon enable_urlmon clean,implib
19130 wine_fn_config_test dlls/urlmon/tests urlmon_test
19131 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
19132 wine_fn_config_dll user.exe16 enable_win16
19133 wine_fn_config_dll user32 enable_user32 clean,implib
19134 wine_fn_config_test dlls/user32/tests user32_test
19135 wine_fn_config_dll userenv enable_userenv implib
19136 wine_fn_config_test dlls/userenv/tests userenv_test
19137 wine_fn_config_dll usp10 enable_usp10 implib
19138 wine_fn_config_test dlls/usp10/tests usp10_test
19139 wine_fn_config_lib uuid
19140 wine_fn_config_dll uxtheme enable_uxtheme implib
19141 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
19142 wine_fn_config_dll vbscript enable_vbscript clean
19143 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
19144 wine_fn_config_dll vcomp enable_vcomp
19145 wine_fn_config_test dlls/vcomp/tests vcomp_test
19146 wine_fn_config_dll vcomp100 enable_vcomp100
19147 wine_fn_config_dll vcomp110 enable_vcomp110
19148 wine_fn_config_dll vcomp120 enable_vcomp120
19149 wine_fn_config_dll vcomp140 enable_vcomp140
19150 wine_fn_config_dll vcomp90 enable_vcomp90
19151 wine_fn_config_dll vcruntime140 enable_vcruntime140
19152 wine_fn_config_dll vdhcp.vxd enable_win16
19153 wine_fn_config_dll vdmdbg enable_vdmdbg implib
19154 wine_fn_config_dll ver.dll16 enable_win16
19155 wine_fn_config_dll version enable_version implib
19156 wine_fn_config_test dlls/version/tests version_test
19157 wine_fn_config_dll virtdisk enable_virtdisk
19158 wine_fn_config_dll vmm.vxd enable_win16
19159 wine_fn_config_dll vnbt.vxd enable_win16
19160 wine_fn_config_dll vnetbios.vxd enable_win16
19161 wine_fn_config_dll vssapi enable_vssapi
19162 wine_fn_config_dll vtdapi.vxd enable_win16
19163 wine_fn_config_dll vwin32.vxd enable_win16
19164 wine_fn_config_dll w32skrnl enable_win16
19165 wine_fn_config_dll w32sys.dll16 enable_win16
19166 wine_fn_config_dll wbemdisp enable_wbemdisp clean
19167 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
19168 wine_fn_config_dll wbemprox enable_wbemprox clean
19169 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
19170 wine_fn_config_dll wdscore enable_wdscore
19171 wine_fn_config_dll webservices enable_webservices implib
19172 wine_fn_config_test dlls/webservices/tests webservices_test
19173 wine_fn_config_dll wer enable_wer implib
19174 wine_fn_config_test dlls/wer/tests wer_test
19175 wine_fn_config_dll wevtapi enable_wevtapi
19176 wine_fn_config_dll wiaservc enable_wiaservc clean
19177 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
19178 wine_fn_config_dll wimgapi enable_wimgapi
19179 wine_fn_config_dll win32s16.dll16 enable_win16
19180 wine_fn_config_dll win87em.dll16 enable_win16
19181 wine_fn_config_dll winaspi.dll16 enable_win16
19182 wine_fn_config_dll windebug.dll16 enable_win16
19183 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
19184 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
19185 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
19186 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
19187 wine_fn_config_dll winealsa.drv enable_winealsa_drv
19188 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
19189 wine_fn_config_dll winebus.sys enable_winebus_sys
19190 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19191 wine_fn_config_lib winecrt0
19192 wine_fn_config_dll wined3d enable_wined3d implib
19193 wine_fn_config_dll winegstreamer enable_winegstreamer
19194 wine_fn_config_dll winehid.sys enable_winehid_sys
19195 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19196 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19197 wine_fn_config_dll winemapi enable_winemapi
19198 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19199 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19200 wine_fn_config_dll wineps16.drv16 enable_win16
19201 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19202 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19203 wine_fn_config_dll winex11.drv enable_winex11_drv
19204 wine_fn_config_dll wing.dll16 enable_win16
19205 wine_fn_config_dll wing32 enable_wing32
19206 wine_fn_config_dll winhttp enable_winhttp clean,implib
19207 wine_fn_config_test dlls/winhttp/tests winhttp_test
19208 wine_fn_config_dll wininet enable_wininet clean,implib
19209 wine_fn_config_test dlls/wininet/tests wininet_test
19210 wine_fn_config_dll winmm enable_winmm clean,implib
19211 wine_fn_config_test dlls/winmm/tests winmm_test
19212 wine_fn_config_dll winnls.dll16 enable_win16
19213 wine_fn_config_dll winnls32 enable_winnls32 implib
19214 wine_fn_config_dll winscard enable_winscard implib
19215 wine_fn_config_dll winsock.dll16 enable_win16
19216 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19217 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19218 wine_fn_config_dll winsta enable_winsta
19219 wine_fn_config_dll wintab.dll16 enable_win16
19220 wine_fn_config_dll wintab32 enable_wintab32 implib
19221 wine_fn_config_test dlls/wintab32/tests wintab32_test
19222 wine_fn_config_dll wintrust enable_wintrust implib
19223 wine_fn_config_test dlls/wintrust/tests wintrust_test
19224 wine_fn_config_dll winusb enable_winusb
19225 wine_fn_config_dll wlanapi enable_wlanapi implib
19226 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19227 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19228 wine_fn_config_test dlls/wldap32/tests wldap32_test
19229 wine_fn_config_dll wmasf enable_wmasf
19230 wine_fn_config_dll wmi enable_wmi
19231 wine_fn_config_dll wmiutils enable_wmiutils clean
19232 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19233 wine_fn_config_dll wmp enable_wmp clean
19234 wine_fn_config_test dlls/wmp/tests wmp_test
19235 wine_fn_config_dll wmphoto enable_wmphoto clean
19236 wine_fn_config_dll wmvcore enable_wmvcore implib
19237 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19238 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19239 wine_fn_config_dll wow32 enable_win16 implib
19240 wine_fn_config_dll wpc enable_wpc clean
19241 wine_fn_config_test dlls/wpc/tests wpc_test
19242 wine_fn_config_dll wpcap enable_wpcap
19243 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19244 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19245 wine_fn_config_dll wsdapi enable_wsdapi implib
19246 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19247 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19248 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19249 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19250 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19251 wine_fn_config_dll wsock32 enable_wsock32 implib
19252 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19253 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19254 wine_fn_config_dll wuapi enable_wuapi clean
19255 wine_fn_config_dll wuaueng enable_wuaueng
19256 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19257 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19258 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19259 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19260 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19261 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19262 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19263 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19264 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19265 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19266 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19267 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19268 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19269 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19270 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19271 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19272 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19273 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19274 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19275 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19276 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19277 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19278 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19279 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19280 wine_fn_config_dll xinput1_1 enable_xinput1_1
19281 wine_fn_config_dll xinput1_2 enable_xinput1_2
19282 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19283 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19284 wine_fn_config_dll xinput1_4 enable_xinput1_4
19285 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19286 wine_fn_config_dll xmllite enable_xmllite implib
19287 wine_fn_config_test dlls/xmllite/tests xmllite_test
19288 wine_fn_config_dll xolehlp enable_xolehlp
19289 wine_fn_config_dll xpsprint enable_xpsprint
19290 wine_fn_config_dll xpssvcs enable_xpssvcs
19291 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19292 wine_fn_config_makefile include enable_include clean,install-dev
19293 wine_fn_config_makefile libs/port enable_libs_port
19294 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19295 wine_fn_config_makefile libs/wpp enable_libs_wpp
19296 wine_fn_config_makefile loader enable_loader clean,install-lib
19297 wine_fn_config_makefile po enable_po clean
19298 wine_fn_config_program arp enable_arp install
19299 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19300 wine_fn_config_program attrib enable_attrib clean,install
19301 wine_fn_config_program cabarc enable_cabarc install
19302 wine_fn_config_program cacls enable_cacls install
19303 wine_fn_config_program clock enable_clock clean,install
19304 wine_fn_config_program cmd enable_cmd clean,install
19305 wine_fn_config_test programs/cmd/tests cmd.exe_test
19306 wine_fn_config_program conhost enable_conhost install
19307 wine_fn_config_program control enable_control install
19308 wine_fn_config_program cscript enable_cscript clean,install
19309 wine_fn_config_program dpnsvr enable_dpnsvr install
19310 wine_fn_config_program dxdiag enable_dxdiag clean,install
19311 wine_fn_config_program eject enable_eject install
19312 wine_fn_config_program expand enable_expand install
19313 wine_fn_config_program explorer enable_explorer clean,install
19314 wine_fn_config_program extrac32 enable_extrac32 install
19315 wine_fn_config_program findstr enable_findstr install
19316 wine_fn_config_program fsutil enable_fsutil install
19317 wine_fn_config_program hh enable_hh install
19318 wine_fn_config_program hostname enable_hostname clean,install
19319 wine_fn_config_program icacls enable_icacls install
19320 wine_fn_config_program icinfo enable_icinfo install
19321 wine_fn_config_program iexplore enable_iexplore install
19322 wine_fn_config_program ipconfig enable_ipconfig clean,install
19323 wine_fn_config_program lodctr enable_lodctr install
19324 wine_fn_config_program mofcomp enable_mofcomp install
19325 wine_fn_config_program mshta enable_mshta install
19326 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19327 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19328 wine_fn_config_program net enable_net clean,install
19329 wine_fn_config_program netsh enable_netsh install
19330 wine_fn_config_program netstat enable_netstat clean,install
19331 wine_fn_config_program ngen enable_ngen install
19332 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19333 wine_fn_config_program oleview enable_oleview clean,install
19334 wine_fn_config_program ping enable_ping install
19335 wine_fn_config_program plugplay enable_plugplay install
19336 wine_fn_config_program powershell enable_powershell install
19337 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19338 wine_fn_config_program progman enable_progman clean,install
19339 wine_fn_config_program reg enable_reg clean,install
19340 wine_fn_config_test programs/reg/tests reg.exe_test
19341 wine_fn_config_program regasm enable_regasm install
19342 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19343 wine_fn_config_test programs/regedit/tests regedit.exe_test
19344 wine_fn_config_program regsvcs enable_regsvcs install
19345 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19346 wine_fn_config_program rpcss enable_rpcss clean,install
19347 wine_fn_config_program rundll.exe16 enable_win16 install
19348 wine_fn_config_program rundll32 enable_rundll32 install
19349 wine_fn_config_program sc enable_sc install
19350 wine_fn_config_program schtasks enable_schtasks install
19351 wine_fn_config_test programs/schtasks/tests schtasks.exe_test
19352 wine_fn_config_program sdbinst enable_sdbinst install
19353 wine_fn_config_program secedit enable_secedit install
19354 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19355 wine_fn_config_program services enable_services clean,install
19356 wine_fn_config_test programs/services/tests services.exe_test
19357 wine_fn_config_program shutdown enable_shutdown install
19358 wine_fn_config_program spoolsv enable_spoolsv install
19359 wine_fn_config_program start enable_start clean,install
19360 wine_fn_config_program subst enable_subst install
19361 wine_fn_config_program svchost enable_svchost install
19362 wine_fn_config_program systeminfo enable_systeminfo install
19363 wine_fn_config_program taskkill enable_taskkill clean,install
19364 wine_fn_config_program tasklist enable_tasklist install
19365 wine_fn_config_program taskmgr enable_taskmgr clean,install
19366 wine_fn_config_program termsv enable_termsv install
19367 wine_fn_config_program uninstaller enable_uninstaller clean,install
19368 wine_fn_config_program unlodctr enable_unlodctr install
19369 wine_fn_config_program view enable_view clean,install
19370 wine_fn_config_program wevtutil enable_wevtutil install
19371 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19372 wine_fn_config_program winebrowser enable_winebrowser install
19373 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19374 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19375 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19376 wine_fn_config_program winedevice enable_winedevice install
19377 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19378 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19379 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19380 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19381 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19382 wine_fn_config_program winetest enable_winetest clean
19383 wine_fn_config_program winevdm enable_win16 install
19384 wine_fn_config_program winhelp.exe16 enable_win16 install
19385 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19386 wine_fn_config_program winoldap.mod16 enable_win16 install
19387 wine_fn_config_program winver enable_winver install
19388 wine_fn_config_program wmic enable_wmic clean,install
19389 wine_fn_config_program wmplayer enable_wmplayer install
19390 wine_fn_config_program wordpad enable_wordpad clean,install
19391 wine_fn_config_program write enable_write clean,install
19392 wine_fn_config_program wscript enable_wscript clean,install
19393 wine_fn_config_test programs/wscript/tests wscript.exe_test
19394 wine_fn_config_program wusa enable_wusa install
19395 wine_fn_config_program xcopy enable_xcopy clean,install
19396 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19397 wine_fn_config_makefile server enable_server clean,install-lib
19398 wine_fn_config_tool tools clean
19399 wine_fn_config_tool tools/sfnt2fon clean
19400 wine_fn_config_tool tools/widl clean,install-dev
19401 wine_fn_config_tool tools/winebuild clean,install-dev
19402 wine_fn_config_tool tools/winedump clean,install-dev
19403 wine_fn_config_tool tools/winegcc clean,install-dev
19404 wine_fn_config_tool tools/winemaker clean,install-dev
19405 wine_fn_config_tool tools/wmc clean,install-dev
19406 wine_fn_config_tool tools/wrc clean,install-dev
19409 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19410 wine_fn_append_file CONFIGURE_TARGETS "tags"
19411 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19412 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19413 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19414 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19415 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19416 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19418 if test "x$enable_tools" != xno
19419 then
19420 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19421 ac_config_commands="$ac_config_commands tools/makedep"
19425 ac_config_commands="$ac_config_commands Makefile"
19428 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19432 if test "x$enable_maintainer_mode" = xyes
19433 then
19434 wine_fn_append_rule "configure: configure.ac aclocal.m4
19435 autoconf --warnings=all
19436 include/config.h.in: include/stamp-h.in
19437 include/stamp-h.in: configure.ac aclocal.m4
19438 autoheader --warnings=all
19439 @echo timestamp > \$@"
19442 if test "x$enable_tools" != xno
19443 then
19444 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19445 @./config.status tools/makedep
19446 Makefile: tools/makedep$ac_exeext"
19447 else
19448 wine_fn_append_rule "\$(MAKEDEP):
19449 @echo \"You need to run make in $TOOLSDIR first\" && false"
19452 if test -n "$with_wine64"
19453 then
19454 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19455 fonts server:
19456 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19457 $with_wine64/loader/wine:
19458 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19459 $with_wine64/loader/wine-preloader:
19460 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19461 clean::
19462 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19463 else
19464 WINELOADER_INSTALL="wine.inf"
19466 wine_fn_append_rule "install install-lib::
19467 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19468 .PHONY: l_intl.nls/uninstall
19469 l_intl.nls/uninstall::
19470 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19471 __uninstall__: l_intl.nls/uninstall"
19472 case $host_os in
19473 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19474 *) wine_fn_append_rule "install install-lib::
19475 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19476 uninstall::
19477 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19478 esac
19481 $as_echo " done" >&6
19482 cat >confcache <<\_ACEOF
19483 # This file is a shell script that caches the results of configure
19484 # tests run on this system so they can be shared between configure
19485 # scripts and configure runs, see configure's option --config-cache.
19486 # It is not useful on other systems. If it contains results you don't
19487 # want to keep, you may remove or edit it.
19489 # config.status only pays attention to the cache file if you give it
19490 # the --recheck option to rerun configure.
19492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19494 # following values.
19496 _ACEOF
19498 # The following way of writing the cache mishandles newlines in values,
19499 # but we know of no workaround that is simple, portable, and efficient.
19500 # So, we kill variables containing newlines.
19501 # Ultrix sh set writes to stderr and can't be redirected directly,
19502 # and sets the high bit in the cache file unless we assign to the vars.
19504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19505 eval ac_val=\$$ac_var
19506 case $ac_val in #(
19507 *${as_nl}*)
19508 case $ac_var in #(
19509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19511 esac
19512 case $ac_var in #(
19513 _ | IFS | as_nl) ;; #(
19514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19515 *) { eval $ac_var=; unset $ac_var;} ;;
19516 esac ;;
19517 esac
19518 done
19520 (set) 2>&1 |
19521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19522 *${as_nl}ac_space=\ *)
19523 # `set' does not quote correctly, so add quotes: double-quote
19524 # substitution turns \\\\ into \\, and sed turns \\ into \.
19525 sed -n \
19526 "s/'/'\\\\''/g;
19527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19528 ;; #(
19530 # `set' quotes correctly as required by POSIX, so do not add quotes.
19531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19533 esac |
19534 sort
19536 sed '
19537 /^ac_cv_env_/b end
19538 t clear
19539 :clear
19540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19541 t end
19542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19543 :end' >>confcache
19544 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19545 if test -w "$cache_file"; then
19546 if test "x$cache_file" != "x/dev/null"; then
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19548 $as_echo "$as_me: updating cache $cache_file" >&6;}
19549 if test ! -f "$cache_file" || test -h "$cache_file"; then
19550 cat confcache >"$cache_file"
19551 else
19552 case $cache_file in #(
19553 */* | ?:*)
19554 mv -f confcache "$cache_file"$$ &&
19555 mv -f "$cache_file"$$ "$cache_file" ;; #(
19557 mv -f confcache "$cache_file" ;;
19558 esac
19561 else
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19566 rm -f confcache
19568 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19569 # Let make expand exec_prefix.
19570 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19572 DEFS=-DHAVE_CONFIG_H
19574 ac_libobjs=
19575 ac_ltlibobjs=
19577 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19578 # 1. Remove the extension, and $U if already installed.
19579 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19580 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19581 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19582 # will be set to the directory where LIBOBJS objects are built.
19583 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19584 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19585 done
19586 LIBOBJS=$ac_libobjs
19588 LTLIBOBJS=$ac_ltlibobjs
19592 : "${CONFIG_STATUS=./config.status}"
19593 ac_write_fail=0
19594 ac_clean_files_save=$ac_clean_files
19595 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19597 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19598 as_write_fail=0
19599 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19600 #! $SHELL
19601 # Generated by $as_me.
19602 # Run this file to recreate the current configuration.
19603 # Compiler output produced by configure, useful for debugging
19604 # configure, is in config.log if it exists.
19606 debug=false
19607 ac_cs_recheck=false
19608 ac_cs_silent=false
19610 SHELL=\${CONFIG_SHELL-$SHELL}
19611 export SHELL
19612 _ASEOF
19613 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19614 ## -------------------- ##
19615 ## M4sh Initialization. ##
19616 ## -------------------- ##
19618 # Be more Bourne compatible
19619 DUALCASE=1; export DUALCASE # for MKS sh
19620 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19621 emulate sh
19622 NULLCMD=:
19623 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19624 # is contrary to our usage. Disable this feature.
19625 alias -g '${1+"$@"}'='"$@"'
19626 setopt NO_GLOB_SUBST
19627 else
19628 case `(set -o) 2>/dev/null` in #(
19629 *posix*) :
19630 set -o posix ;; #(
19631 *) :
19633 esac
19637 as_nl='
19639 export as_nl
19640 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19641 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19643 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19644 # Prefer a ksh shell builtin over an external printf program on Solaris,
19645 # but without wasting forks for bash or zsh.
19646 if test -z "$BASH_VERSION$ZSH_VERSION" \
19647 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19648 as_echo='print -r --'
19649 as_echo_n='print -rn --'
19650 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19651 as_echo='printf %s\n'
19652 as_echo_n='printf %s'
19653 else
19654 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19655 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19656 as_echo_n='/usr/ucb/echo -n'
19657 else
19658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19659 as_echo_n_body='eval
19660 arg=$1;
19661 case $arg in #(
19662 *"$as_nl"*)
19663 expr "X$arg" : "X\\(.*\\)$as_nl";
19664 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19665 esac;
19666 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19668 export as_echo_n_body
19669 as_echo_n='sh -c $as_echo_n_body as_echo'
19671 export as_echo_body
19672 as_echo='sh -c $as_echo_body as_echo'
19675 # The user is always right.
19676 if test "${PATH_SEPARATOR+set}" != set; then
19677 PATH_SEPARATOR=:
19678 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19679 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19680 PATH_SEPARATOR=';'
19685 # IFS
19686 # We need space, tab and new line, in precisely that order. Quoting is
19687 # there to prevent editors from complaining about space-tab.
19688 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19689 # splitting by setting IFS to empty value.)
19690 IFS=" "" $as_nl"
19692 # Find who we are. Look in the path if we contain no directory separator.
19693 as_myself=
19694 case $0 in #((
19695 *[\\/]* ) as_myself=$0 ;;
19696 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19697 for as_dir in $PATH
19699 IFS=$as_save_IFS
19700 test -z "$as_dir" && as_dir=.
19701 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19702 done
19703 IFS=$as_save_IFS
19706 esac
19707 # We did not find ourselves, most probably we were run as `sh COMMAND'
19708 # in which case we are not to be found in the path.
19709 if test "x$as_myself" = x; then
19710 as_myself=$0
19712 if test ! -f "$as_myself"; then
19713 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19714 exit 1
19717 # Unset variables that we do not need and which cause bugs (e.g. in
19718 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19719 # suppresses any "Segmentation fault" message there. '((' could
19720 # trigger a bug in pdksh 5.2.14.
19721 for as_var in BASH_ENV ENV MAIL MAILPATH
19722 do eval test x\${$as_var+set} = xset \
19723 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19724 done
19725 PS1='$ '
19726 PS2='> '
19727 PS4='+ '
19729 # NLS nuisances.
19730 LC_ALL=C
19731 export LC_ALL
19732 LANGUAGE=C
19733 export LANGUAGE
19735 # CDPATH.
19736 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19739 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19740 # ----------------------------------------
19741 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19742 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19743 # script with STATUS, using 1 if that was 0.
19744 as_fn_error ()
19746 as_status=$1; test $as_status -eq 0 && as_status=1
19747 if test "$4"; then
19748 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19749 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19751 $as_echo "$as_me: error: $2" >&2
19752 as_fn_exit $as_status
19753 } # as_fn_error
19756 # as_fn_set_status STATUS
19757 # -----------------------
19758 # Set $? to STATUS, without forking.
19759 as_fn_set_status ()
19761 return $1
19762 } # as_fn_set_status
19764 # as_fn_exit STATUS
19765 # -----------------
19766 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19767 as_fn_exit ()
19769 set +e
19770 as_fn_set_status $1
19771 exit $1
19772 } # as_fn_exit
19774 # as_fn_unset VAR
19775 # ---------------
19776 # Portably unset VAR.
19777 as_fn_unset ()
19779 { eval $1=; unset $1;}
19781 as_unset=as_fn_unset
19782 # as_fn_append VAR VALUE
19783 # ----------------------
19784 # Append the text in VALUE to the end of the definition contained in VAR. Take
19785 # advantage of any shell optimizations that allow amortized linear growth over
19786 # repeated appends, instead of the typical quadratic growth present in naive
19787 # implementations.
19788 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19789 eval 'as_fn_append ()
19791 eval $1+=\$2
19793 else
19794 as_fn_append ()
19796 eval $1=\$$1\$2
19798 fi # as_fn_append
19800 # as_fn_arith ARG...
19801 # ------------------
19802 # Perform arithmetic evaluation on the ARGs, and store the result in the
19803 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19804 # must be portable across $(()) and expr.
19805 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19806 eval 'as_fn_arith ()
19808 as_val=$(( $* ))
19810 else
19811 as_fn_arith ()
19813 as_val=`expr "$@" || test $? -eq 1`
19815 fi # as_fn_arith
19818 if expr a : '\(a\)' >/dev/null 2>&1 &&
19819 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19820 as_expr=expr
19821 else
19822 as_expr=false
19825 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19826 as_basename=basename
19827 else
19828 as_basename=false
19831 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19832 as_dirname=dirname
19833 else
19834 as_dirname=false
19837 as_me=`$as_basename -- "$0" ||
19838 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19839 X"$0" : 'X\(//\)$' \| \
19840 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19841 $as_echo X/"$0" |
19842 sed '/^.*\/\([^/][^/]*\)\/*$/{
19843 s//\1/
19846 /^X\/\(\/\/\)$/{
19847 s//\1/
19850 /^X\/\(\/\).*/{
19851 s//\1/
19854 s/.*/./; q'`
19856 # Avoid depending upon Character Ranges.
19857 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19858 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19859 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19860 as_cr_digits='0123456789'
19861 as_cr_alnum=$as_cr_Letters$as_cr_digits
19863 ECHO_C= ECHO_N= ECHO_T=
19864 case `echo -n x` in #(((((
19865 -n*)
19866 case `echo 'xy\c'` in
19867 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19868 xy) ECHO_C='\c';;
19869 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19870 ECHO_T=' ';;
19871 esac;;
19873 ECHO_N='-n';;
19874 esac
19876 rm -f conf$$ conf$$.exe conf$$.file
19877 if test -d conf$$.dir; then
19878 rm -f conf$$.dir/conf$$.file
19879 else
19880 rm -f conf$$.dir
19881 mkdir conf$$.dir 2>/dev/null
19883 if (echo >conf$$.file) 2>/dev/null; then
19884 if ln -s conf$$.file conf$$ 2>/dev/null; then
19885 as_ln_s='ln -s'
19886 # ... but there are two gotchas:
19887 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19888 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19889 # In both cases, we have to default to `cp -pR'.
19890 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19891 as_ln_s='cp -pR'
19892 elif ln conf$$.file conf$$ 2>/dev/null; then
19893 as_ln_s=ln
19894 else
19895 as_ln_s='cp -pR'
19897 else
19898 as_ln_s='cp -pR'
19900 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19901 rmdir conf$$.dir 2>/dev/null
19904 # as_fn_mkdir_p
19905 # -------------
19906 # Create "$as_dir" as a directory, including parents if necessary.
19907 as_fn_mkdir_p ()
19910 case $as_dir in #(
19911 -*) as_dir=./$as_dir;;
19912 esac
19913 test -d "$as_dir" || eval $as_mkdir_p || {
19914 as_dirs=
19915 while :; do
19916 case $as_dir in #(
19917 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19918 *) as_qdir=$as_dir;;
19919 esac
19920 as_dirs="'$as_qdir' $as_dirs"
19921 as_dir=`$as_dirname -- "$as_dir" ||
19922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19923 X"$as_dir" : 'X\(//\)[^/]' \| \
19924 X"$as_dir" : 'X\(//\)$' \| \
19925 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19926 $as_echo X"$as_dir" |
19927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19928 s//\1/
19931 /^X\(\/\/\)[^/].*/{
19932 s//\1/
19935 /^X\(\/\/\)$/{
19936 s//\1/
19939 /^X\(\/\).*/{
19940 s//\1/
19943 s/.*/./; q'`
19944 test -d "$as_dir" && break
19945 done
19946 test -z "$as_dirs" || eval "mkdir $as_dirs"
19947 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19950 } # as_fn_mkdir_p
19951 if mkdir -p . 2>/dev/null; then
19952 as_mkdir_p='mkdir -p "$as_dir"'
19953 else
19954 test -d ./-p && rmdir ./-p
19955 as_mkdir_p=false
19959 # as_fn_executable_p FILE
19960 # -----------------------
19961 # Test if FILE is an executable regular file.
19962 as_fn_executable_p ()
19964 test -f "$1" && test -x "$1"
19965 } # as_fn_executable_p
19966 as_test_x='test -x'
19967 as_executable_p=as_fn_executable_p
19969 # Sed expression to map a string onto a valid CPP name.
19970 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19972 # Sed expression to map a string onto a valid variable name.
19973 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19976 exec 6>&1
19977 ## ----------------------------------- ##
19978 ## Main body of $CONFIG_STATUS script. ##
19979 ## ----------------------------------- ##
19980 _ASEOF
19981 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19984 # Save the log message, to keep $0 and so on meaningful, and to
19985 # report actual input values of CONFIG_FILES etc. instead of their
19986 # values after options handling.
19987 ac_log="
19988 This file was extended by Wine $as_me 3.1, which was
19989 generated by GNU Autoconf 2.69. Invocation command line was
19991 CONFIG_FILES = $CONFIG_FILES
19992 CONFIG_HEADERS = $CONFIG_HEADERS
19993 CONFIG_LINKS = $CONFIG_LINKS
19994 CONFIG_COMMANDS = $CONFIG_COMMANDS
19995 $ $0 $@
19997 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20000 _ACEOF
20002 case $ac_config_files in *"
20003 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20004 esac
20006 case $ac_config_headers in *"
20007 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20008 esac
20011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20012 # Files that config.status was made for.
20013 config_files="$ac_config_files"
20014 config_headers="$ac_config_headers"
20015 config_links="$ac_config_links"
20016 config_commands="$ac_config_commands"
20018 _ACEOF
20020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20021 ac_cs_usage="\
20022 \`$as_me' instantiates files and other configuration actions
20023 from templates according to the current configuration. Unless the files
20024 and actions are specified as TAGs, all are instantiated by default.
20026 Usage: $0 [OPTION]... [TAG]...
20028 -h, --help print this help, then exit
20029 -V, --version print version number and configuration settings, then exit
20030 --config print configuration, then exit
20031 -q, --quiet, --silent
20032 do not print progress messages
20033 -d, --debug don't remove temporary files
20034 --recheck update $as_me by reconfiguring in the same conditions
20035 --file=FILE[:TEMPLATE]
20036 instantiate the configuration file FILE
20037 --header=FILE[:TEMPLATE]
20038 instantiate the configuration header FILE
20040 Configuration files:
20041 $config_files
20043 Configuration headers:
20044 $config_headers
20046 Configuration links:
20047 $config_links
20049 Configuration commands:
20050 $config_commands
20052 Report bugs to <wine-devel@winehq.org>.
20053 Wine home page: <https://www.winehq.org>."
20055 _ACEOF
20056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20057 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20058 ac_cs_version="\\
20059 Wine config.status 3.1
20060 configured by $0, generated by GNU Autoconf 2.69,
20061 with options \\"\$ac_cs_config\\"
20063 Copyright (C) 2012 Free Software Foundation, Inc.
20064 This config.status script is free software; the Free Software Foundation
20065 gives unlimited permission to copy, distribute and modify it."
20067 ac_pwd='$ac_pwd'
20068 srcdir='$srcdir'
20069 test -n "\$AWK" || AWK=awk
20070 _ACEOF
20072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20073 # The default lists apply if the user does not specify any file.
20074 ac_need_defaults=:
20075 while test $# != 0
20077 case $1 in
20078 --*=?*)
20079 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20080 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20081 ac_shift=:
20083 --*=)
20084 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20085 ac_optarg=
20086 ac_shift=:
20089 ac_option=$1
20090 ac_optarg=$2
20091 ac_shift=shift
20093 esac
20095 case $ac_option in
20096 # Handling of the options.
20097 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20098 ac_cs_recheck=: ;;
20099 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20100 $as_echo "$ac_cs_version"; exit ;;
20101 --config | --confi | --conf | --con | --co | --c )
20102 $as_echo "$ac_cs_config"; exit ;;
20103 --debug | --debu | --deb | --de | --d | -d )
20104 debug=: ;;
20105 --file | --fil | --fi | --f )
20106 $ac_shift
20107 case $ac_optarg in
20108 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20109 '') as_fn_error $? "missing file argument" ;;
20110 esac
20111 as_fn_append CONFIG_FILES " '$ac_optarg'"
20112 ac_need_defaults=false;;
20113 --header | --heade | --head | --hea )
20114 $ac_shift
20115 case $ac_optarg in
20116 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20117 esac
20118 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20119 ac_need_defaults=false;;
20120 --he | --h)
20121 # Conflict between --help and --header
20122 as_fn_error $? "ambiguous option: \`$1'
20123 Try \`$0 --help' for more information.";;
20124 --help | --hel | -h )
20125 $as_echo "$ac_cs_usage"; exit ;;
20126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20127 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20128 ac_cs_silent=: ;;
20130 # This is an error.
20131 -*) as_fn_error $? "unrecognized option: \`$1'
20132 Try \`$0 --help' for more information." ;;
20134 *) as_fn_append ac_config_targets " $1"
20135 ac_need_defaults=false ;;
20137 esac
20138 shift
20139 done
20141 ac_configure_extra_args=
20143 if $ac_cs_silent; then
20144 exec 6>/dev/null
20145 ac_configure_extra_args="$ac_configure_extra_args --silent"
20148 _ACEOF
20149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20150 if \$ac_cs_recheck; then
20151 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20152 shift
20153 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20154 CONFIG_SHELL='$SHELL'
20155 export CONFIG_SHELL
20156 exec "\$@"
20159 _ACEOF
20160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20161 exec 5>>config.log
20163 echo
20164 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20165 ## Running $as_me. ##
20166 _ASBOX
20167 $as_echo "$ac_log"
20168 } >&5
20170 _ACEOF
20171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20173 # INIT-COMMANDS
20175 wine_fn_output_makedep ()
20177 as_dir=tools; as_fn_mkdir_p
20178 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20180 wine_fn_output_makefile ()
20182 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20183 `cat $wine_rules_file`
20184 _WINE_EOF
20185 as_fn_error $? "could not create Makefile" "$LINENO" 5
20188 _ACEOF
20190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20192 # Handling of arguments.
20193 for ac_config_target in $ac_config_targets
20195 case $ac_config_target in
20196 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20197 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20198 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20199 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20200 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20201 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20202 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20203 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20204 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20205 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20206 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20207 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20208 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20210 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20211 esac
20212 done
20215 # If the user did not use the arguments to specify the items to instantiate,
20216 # then the envvar interface is used. Set only those that are not.
20217 # We use the long form for the default assignment because of an extremely
20218 # bizarre bug on SunOS 4.1.3.
20219 if $ac_need_defaults; then
20220 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20221 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20222 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20223 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20226 # Have a temporary directory for convenience. Make it in the build tree
20227 # simply because there is no reason against having it here, and in addition,
20228 # creating and moving files from /tmp can sometimes cause problems.
20229 # Hook for its removal unless debugging.
20230 # Note that there is a small window in which the directory will not be cleaned:
20231 # after its creation but before its name has been assigned to `$tmp'.
20232 $debug ||
20234 tmp= ac_tmp=
20235 trap 'exit_status=$?
20236 : "${ac_tmp:=$tmp}"
20237 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20239 trap 'as_fn_exit 1' 1 2 13 15
20241 # Create a (secure) tmp directory for tmp files.
20244 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20245 test -d "$tmp"
20246 } ||
20248 tmp=./conf$$-$RANDOM
20249 (umask 077 && mkdir "$tmp")
20250 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20251 ac_tmp=$tmp
20253 # Set up the scripts for CONFIG_FILES section.
20254 # No need to generate them if there are no CONFIG_FILES.
20255 # This happens for instance with `./config.status config.h'.
20256 if test -n "$CONFIG_FILES"; then
20259 ac_cr=`echo X | tr X '\015'`
20260 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20261 # But we know of no other shell where ac_cr would be empty at this
20262 # point, so we can use a bashism as a fallback.
20263 if test "x$ac_cr" = x; then
20264 eval ac_cr=\$\'\\r\'
20266 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20267 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20268 ac_cs_awk_cr='\\r'
20269 else
20270 ac_cs_awk_cr=$ac_cr
20273 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20274 _ACEOF
20278 echo "cat >conf$$subs.awk <<_ACEOF" &&
20279 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20280 echo "_ACEOF"
20281 } >conf$$subs.sh ||
20282 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20283 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20284 ac_delim='%!_!# '
20285 for ac_last_try in false false false false false :; do
20286 . ./conf$$subs.sh ||
20287 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20289 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20290 if test $ac_delim_n = $ac_delim_num; then
20291 break
20292 elif $ac_last_try; then
20293 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20294 else
20295 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20297 done
20298 rm -f conf$$subs.sh
20300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20301 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20302 _ACEOF
20303 sed -n '
20305 s/^/S["/; s/!.*/"]=/
20308 s/^[^!]*!//
20309 :repl
20310 t repl
20311 s/'"$ac_delim"'$//
20312 t delim
20315 s/\(.\{148\}\)..*/\1/
20316 t more1
20317 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20320 b repl
20321 :more1
20322 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20325 s/.\{148\}//
20326 t nl
20327 :delim
20329 s/\(.\{148\}\)..*/\1/
20330 t more2
20331 s/["\\]/\\&/g; s/^/"/; s/$/"/
20334 :more2
20335 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20338 s/.\{148\}//
20339 t delim
20340 ' <conf$$subs.awk | sed '
20341 /^[^""]/{
20343 s/\n//
20345 ' >>$CONFIG_STATUS || ac_write_fail=1
20346 rm -f conf$$subs.awk
20347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20348 _ACAWK
20349 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20350 for (key in S) S_is_set[key] = 1
20351 FS = "\a"
20355 line = $ 0
20356 nfields = split(line, field, "@")
20357 substed = 0
20358 len = length(field[1])
20359 for (i = 2; i < nfields; i++) {
20360 key = field[i]
20361 keylen = length(key)
20362 if (S_is_set[key]) {
20363 value = S[key]
20364 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20365 len += length(value) + length(field[++i])
20366 substed = 1
20367 } else
20368 len += 1 + keylen
20371 print line
20374 _ACAWK
20375 _ACEOF
20376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20377 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20378 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20379 else
20381 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20382 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20383 _ACEOF
20385 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20386 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20387 # trailing colons and then remove the whole line if VPATH becomes empty
20388 # (actually we leave an empty line to preserve line numbers).
20389 if test "x$srcdir" = x.; then
20390 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20392 s///
20393 s/^/:/
20394 s/[ ]*$/:/
20395 s/:\$(srcdir):/:/g
20396 s/:\${srcdir}:/:/g
20397 s/:@srcdir@:/:/g
20398 s/^:*//
20399 s/:*$//
20401 s/\(=[ ]*\).*/\1/
20403 s/\n//
20404 s/^[^=]*=[ ]*$//
20408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20409 fi # test -n "$CONFIG_FILES"
20411 # Set up the scripts for CONFIG_HEADERS section.
20412 # No need to generate them if there are no CONFIG_HEADERS.
20413 # This happens for instance with `./config.status Makefile'.
20414 if test -n "$CONFIG_HEADERS"; then
20415 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20416 BEGIN {
20417 _ACEOF
20419 # Transform confdefs.h into an awk script `defines.awk', embedded as
20420 # here-document in config.status, that substitutes the proper values into
20421 # config.h.in to produce config.h.
20423 # Create a delimiter string that does not exist in confdefs.h, to ease
20424 # handling of long lines.
20425 ac_delim='%!_!# '
20426 for ac_last_try in false false :; do
20427 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20428 if test -z "$ac_tt"; then
20429 break
20430 elif $ac_last_try; then
20431 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20432 else
20433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20435 done
20437 # For the awk script, D is an array of macro values keyed by name,
20438 # likewise P contains macro parameters if any. Preserve backslash
20439 # newline sequences.
20441 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20442 sed -n '
20443 s/.\{148\}/&'"$ac_delim"'/g
20444 t rset
20445 :rset
20446 s/^[ ]*#[ ]*define[ ][ ]*/ /
20447 t def
20449 :def
20450 s/\\$//
20451 t bsnl
20452 s/["\\]/\\&/g
20453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20454 D["\1"]=" \3"/p
20455 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20457 :bsnl
20458 s/["\\]/\\&/g
20459 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20460 D["\1"]=" \3\\\\\\n"\\/p
20461 t cont
20462 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20463 t cont
20465 :cont
20467 s/.\{148\}/&'"$ac_delim"'/g
20468 t clear
20469 :clear
20470 s/\\$//
20471 t bsnlc
20472 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20474 :bsnlc
20475 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20476 b cont
20477 ' <confdefs.h | sed '
20478 s/'"$ac_delim"'/"\\\
20479 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20482 for (key in D) D_is_set[key] = 1
20483 FS = "\a"
20485 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20486 line = \$ 0
20487 split(line, arg, " ")
20488 if (arg[1] == "#") {
20489 defundef = arg[2]
20490 mac1 = arg[3]
20491 } else {
20492 defundef = substr(arg[1], 2)
20493 mac1 = arg[2]
20495 split(mac1, mac2, "(") #)
20496 macro = mac2[1]
20497 prefix = substr(line, 1, index(line, defundef) - 1)
20498 if (D_is_set[macro]) {
20499 # Preserve the white space surrounding the "#".
20500 print prefix "define", macro P[macro] D[macro]
20501 next
20502 } else {
20503 # Replace #undef with comments. This is necessary, for example,
20504 # in the case of _POSIX_SOURCE, which is predefined and required
20505 # on some systems where configure will not decide to define it.
20506 if (defundef == "undef") {
20507 print "/*", prefix defundef, macro, "*/"
20508 next
20512 { print }
20513 _ACAWK
20514 _ACEOF
20515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20516 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20517 fi # test -n "$CONFIG_HEADERS"
20520 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20521 shift
20522 for ac_tag
20524 case $ac_tag in
20525 :[FHLC]) ac_mode=$ac_tag; continue;;
20526 esac
20527 case $ac_mode$ac_tag in
20528 :[FHL]*:*);;
20529 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20530 :[FH]-) ac_tag=-:-;;
20531 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20532 esac
20533 ac_save_IFS=$IFS
20534 IFS=:
20535 set x $ac_tag
20536 IFS=$ac_save_IFS
20537 shift
20538 ac_file=$1
20539 shift
20541 case $ac_mode in
20542 :L) ac_source=$1;;
20543 :[FH])
20544 ac_file_inputs=
20545 for ac_f
20547 case $ac_f in
20548 -) ac_f="$ac_tmp/stdin";;
20549 *) # Look for the file first in the build tree, then in the source tree
20550 # (if the path is not absolute). The absolute path cannot be DOS-style,
20551 # because $ac_f cannot contain `:'.
20552 test -f "$ac_f" ||
20553 case $ac_f in
20554 [\\/$]*) false;;
20555 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20556 esac ||
20557 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20558 esac
20559 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20560 as_fn_append ac_file_inputs " '$ac_f'"
20561 done
20563 # Let's still pretend it is `configure' which instantiates (i.e., don't
20564 # use $as_me), people would be surprised to read:
20565 # /* config.h. Generated by config.status. */
20566 configure_input='Generated from '`
20567 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20568 `' by configure.'
20569 if test x"$ac_file" != x-; then
20570 configure_input="$ac_file. $configure_input"
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20572 $as_echo "$as_me: creating $ac_file" >&6;}
20574 # Neutralize special characters interpreted by sed in replacement strings.
20575 case $configure_input in #(
20576 *\&* | *\|* | *\\* )
20577 ac_sed_conf_input=`$as_echo "$configure_input" |
20578 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20579 *) ac_sed_conf_input=$configure_input;;
20580 esac
20582 case $ac_tag in
20583 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20585 esac
20587 esac
20589 ac_dir=`$as_dirname -- "$ac_file" ||
20590 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20591 X"$ac_file" : 'X\(//\)[^/]' \| \
20592 X"$ac_file" : 'X\(//\)$' \| \
20593 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20594 $as_echo X"$ac_file" |
20595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20596 s//\1/
20599 /^X\(\/\/\)[^/].*/{
20600 s//\1/
20603 /^X\(\/\/\)$/{
20604 s//\1/
20607 /^X\(\/\).*/{
20608 s//\1/
20611 s/.*/./; q'`
20612 as_dir="$ac_dir"; as_fn_mkdir_p
20613 ac_builddir=.
20615 case "$ac_dir" in
20616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20618 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20619 # A ".." for each directory in $ac_dir_suffix.
20620 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20621 case $ac_top_builddir_sub in
20622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20624 esac ;;
20625 esac
20626 ac_abs_top_builddir=$ac_pwd
20627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20628 # for backward compatibility:
20629 ac_top_builddir=$ac_top_build_prefix
20631 case $srcdir in
20632 .) # We are building in place.
20633 ac_srcdir=.
20634 ac_top_srcdir=$ac_top_builddir_sub
20635 ac_abs_top_srcdir=$ac_pwd ;;
20636 [\\/]* | ?:[\\/]* ) # Absolute name.
20637 ac_srcdir=$srcdir$ac_dir_suffix;
20638 ac_top_srcdir=$srcdir
20639 ac_abs_top_srcdir=$srcdir ;;
20640 *) # Relative name.
20641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20642 ac_top_srcdir=$ac_top_build_prefix$srcdir
20643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20644 esac
20645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20648 case $ac_mode in
20651 # CONFIG_FILE
20654 _ACEOF
20656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20657 # If the template does not know about datarootdir, expand it.
20658 # FIXME: This hack should be removed a few years after 2.60.
20659 ac_datarootdir_hack=; ac_datarootdir_seen=
20660 ac_sed_dataroot='
20661 /datarootdir/ {
20665 /@datadir@/p
20666 /@docdir@/p
20667 /@infodir@/p
20668 /@localedir@/p
20669 /@mandir@/p'
20670 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20671 *datarootdir*) ac_datarootdir_seen=yes;;
20672 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20674 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20675 _ACEOF
20676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20677 ac_datarootdir_hack='
20678 s&@datadir@&$datadir&g
20679 s&@docdir@&$docdir&g
20680 s&@infodir@&$infodir&g
20681 s&@localedir@&$localedir&g
20682 s&@mandir@&$mandir&g
20683 s&\\\${datarootdir}&$datarootdir&g' ;;
20684 esac
20685 _ACEOF
20687 # Neutralize VPATH when `$srcdir' = `.'.
20688 # Shell code in configure.ac might set extrasub.
20689 # FIXME: do we really want to maintain this feature?
20690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20691 ac_sed_extra="$ac_vpsub
20692 $extrasub
20693 _ACEOF
20694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20697 s|@configure_input@|$ac_sed_conf_input|;t t
20698 s&@top_builddir@&$ac_top_builddir_sub&;t t
20699 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20700 s&@srcdir@&$ac_srcdir&;t t
20701 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20702 s&@top_srcdir@&$ac_top_srcdir&;t t
20703 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20704 s&@builddir@&$ac_builddir&;t t
20705 s&@abs_builddir@&$ac_abs_builddir&;t t
20706 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20707 $ac_datarootdir_hack
20709 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20710 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20712 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20713 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20714 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20715 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20717 which seems to be undefined. Please make sure it is defined" >&5
20718 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20719 which seems to be undefined. Please make sure it is defined" >&2;}
20721 rm -f "$ac_tmp/stdin"
20722 case $ac_file in
20723 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20724 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20725 esac \
20726 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20730 # CONFIG_HEADER
20732 if test x"$ac_file" != x-; then
20734 $as_echo "/* $configure_input */" \
20735 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20736 } >"$ac_tmp/config.h" \
20737 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20738 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20740 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20741 else
20742 rm -f "$ac_file"
20743 mv "$ac_tmp/config.h" "$ac_file" \
20744 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20746 else
20747 $as_echo "/* $configure_input */" \
20748 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20749 || as_fn_error $? "could not create -" "$LINENO" 5
20754 # CONFIG_LINK
20757 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20759 else
20760 # Prefer the file from the source tree if names are identical.
20761 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20762 ac_source=$srcdir/$ac_source
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20766 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20768 if test ! -r "$ac_source"; then
20769 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20771 rm -f "$ac_file"
20773 # Try a relative symlink, then a hard link, then a copy.
20774 case $ac_source in
20775 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20776 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20777 esac
20778 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20779 ln "$ac_source" "$ac_file" 2>/dev/null ||
20780 cp -p "$ac_source" "$ac_file" ||
20781 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20784 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20785 $as_echo "$as_me: executing $ac_file commands" >&6;}
20787 esac
20790 case $ac_file$ac_mode in
20791 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20792 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20793 "Makefile":C) wine_fn_output_makefile Makefile ;;
20795 esac
20796 done # for ac_tag
20799 as_fn_exit 0
20800 _ACEOF
20801 ac_clean_files=$ac_clean_files_save
20803 test $ac_write_fail = 0 ||
20804 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20807 # configure is writing to config.log, and then calls config.status.
20808 # config.status does its own redirection, appending to config.log.
20809 # Unfortunately, on DOS this fails, as config.log is still kept open
20810 # by configure, so config.status won't be able to write to it; its
20811 # output is simply discarded. So we exec the FD to /dev/null,
20812 # effectively closing config.log, so it can be properly (re)opened and
20813 # appended to by config.status. When coming back to configure, we
20814 # need to make the FD available again.
20815 if test "$no_create" != yes; then
20816 ac_cs_success=:
20817 ac_config_status_args=
20818 test "$silent" = yes &&
20819 ac_config_status_args="$ac_config_status_args --quiet"
20820 exec 5>/dev/null
20821 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20822 exec 5>>config.log
20823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20824 # would make configure fail if this is the last instruction.
20825 $ac_cs_success || as_fn_exit 1
20827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20829 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20833 if test "$no_create" = "yes"
20834 then
20835 exit 0
20838 ac_save_IFS="$IFS"
20839 if test "x$wine_notices" != x; then
20840 echo >&6
20841 IFS="|"
20842 for msg in $wine_notices; do
20843 IFS="$ac_save_IFS"
20844 if ${msg:+false} :; then :
20846 else
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20848 $as_echo "$as_me: $msg" >&6;}
20850 done
20852 IFS="|"
20853 for msg in $wine_warnings; do
20854 IFS="$ac_save_IFS"
20855 if ${msg:+false} :; then :
20857 else
20858 echo >&2
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20860 $as_echo "$as_me: WARNING: $msg" >&2;}
20862 done
20863 IFS="$ac_save_IFS"
20865 $as_echo "
20866 $as_me: Finished. Do '${ac_make}' to compile Wine.
20867 " >&6